@smals-belgium-shared/vidis-delivered-medication-detail 2.0.2-snapshot.4 → 2.0.2-snapshot.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,37 +1,37 @@
1
- var yz=Object.defineProperty;var nh=e=>{throw TypeError(e)};var _z=(e,t,r)=>t in e?yz(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var s=(e,t,r)=>_z(e,typeof t!="symbol"?t+"":t,r),rh=(e,t,r)=>t.has(e)||nh("Cannot "+r);var er=(e,t,r)=>(rh(e,t,"read from private field"),r?r.call(e):t.get(e)),ah=(e,t,r)=>t.has(e)?nh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),ih=(e,t,r,n)=>(rh(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var wz=Object.create,Ps=Object.defineProperty,xz=Object.defineProperties,Ez=Object.getOwnPropertyDescriptor,Sz=Object.getOwnPropertyDescriptors,kz=Object.getOwnPropertyNames,ns=Object.getOwnPropertySymbols,Cz=Object.getPrototypeOf,hc=Object.prototype.hasOwnProperty,vm=Object.prototype.propertyIsEnumerable,oh=(e,t,r)=>t in e?Ps(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ge=(e,t)=>{for(var r in t||(t={}))hc.call(t,r)&&oh(e,r,t[r]);if(ns)for(var r of ns(t))vm.call(t,r)&&oh(e,r,t[r]);return e},Kt=(e,t)=>xz(e,Sz(t)),Iz=(e,t)=>{var r={};for(var n in e)hc.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&ns)for(var n of ns(e))t.indexOf(n)<0&&vm.call(e,n)&&(r[n]=e[n]);return r},te=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),re=(e,t)=>{for(var r in t)Ps(e,r,{get:t[r],enumerable:!0})},Dz=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of kz(t))!hc.call(e,a)&&a!==r&&Ps(e,a,{get:()=>t[a],enumerable:!(n=Ez(t,a))||n.enumerable});return e},bm=(e,t,r)=>(r=e!=null?wz(Cz(e)):{},Dz(t||!e||!e.__esModule?Ps(r,"default",{value:e,enumerable:!0}):r,e)),Mn=(e,t,r)=>new Promise((n,a)=>{var i=h=>{try{l(r.next(h))}catch(u){a(u)}},o=h=>{try{l(r.throw(h))}catch(u){a(u)}},l=h=>h.done?n(h.value):Promise.resolve(h.value).then(i,o);l((r=r.apply(e,t)).next())}),Nz=te((e,t)=>{(function(r,n){typeof e=="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):(r=typeof globalThis<"u"?globalThis:r||self,r.MessageFormat=n())})(e,function(){var r=function(){return r=Object.assign||function(p){for(var f,v=1,y=arguments.length;v<y;v++){f=arguments[v];for(var _ in f)Object.prototype.hasOwnProperty.call(f,_)&&(p[_]=f[_])}return p},r.apply(this,arguments)};function n(p){var f=typeof Symbol=="function"&&Symbol.iterator,v=f&&p[f],y=0;if(v)return v.call(p);if(p&&typeof p.length=="number")return{next:function(){return p&&y>=p.length&&(p=void 0),{value:p&&p[y++],done:!p}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")}function a(p,f){var v=typeof Symbol=="function"&&p[Symbol.iterator];if(!v)return p;var y=v.call(p),_,E=[],k;try{for(;(f===void 0||f-- >0)&&!(_=y.next()).done;)E.push(_.value)}catch(C){k={error:C}}finally{try{_&&!_.done&&(v=y.return)&&v.call(y)}finally{if(k)throw k.error}}return E}function i(p,f,v){if(arguments.length===2)for(var y=0,_=f.length,E;y<_;y++)(E||!(y in f))&&(E||(E=Array.prototype.slice.call(f,0,y)),E[y]=f[y]);return p.concat(E||Array.prototype.slice.call(f))}typeof SuppressedError=="function"&&SuppressedError;class o extends Error{constructor(f,v,y){super(f),this.token=v,this.type=y||"error"}}let l=p=>p<4?"short":p===4?"long":"narrow",h=p=>p%2===0?"2-digit":"numeric";function u(p,f){switch(p.char){case"y":return{year:h(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 c(p,f){switch(p.width){case 1:return"numeric";case 2:return"2-digit";case 3:return"short";case 4:return"long";case 5:return"narrow";default:f(`${p.desc} is not supported with width ${p.width}`);return}}function m(p,f){let{char:v,desc:y,width:_}=p;if(v==="d")return h(_);f(`${y} is not supported`)}function b(p,f){let{char:v,desc:y,width:_}=p;if((v==="c"||v==="e")&&_<3){let E=`Numeric value is not supported for ${y}; falling back to weekday:short`;f(E,o.WARNING)}return l(_)}function g(p){let f=h(p.width),v;switch(p.char){case"h":v="h12";break;case"H":v="h23";break;case"k":v="h24";break;case"K":v="h11";break}return v?{hour:f,hourCycle:v}:{hour:f}}function w(p,f){let{char:v,desc:y,width:_}=p;switch(v){case"v":case"z":return _===4?"long":"short";case"V":if(_===4)return"long";f(`${y} is not supported with width ${_}`);return;case"X":f(`${y} is not supported`);return}return"short"}function x(p,f){switch(p.field){case"era":return{era:l(p.width)};case"year":return u(p,f);case"month":return{month:c(p,f)};case"day":return{day:m(p,f)};case"weekday":return{weekday:b(p,f)};case"period":return;case"hour":return g(p);case"min":return{minute:h(p.width)};case"sec":return{second:h(p.width)};case"tz":return{timeZoneName:w(p,f)};case"quarter":case"week":case"sec-frac":case"ms":f(`${p.desc} is not supported`)}}function S(p,f){let v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:E=>{throw E},y={timeZone:f},_=[];for(let E of p){let{error:k,field:C,str:T}=E;if(k){let J=new o(k.message,E);J.stack=k.stack,v(J)}if(T){let J=`Ignoring string part: ${T}`;v(new o(J,E,o.WARNING))}C&&(_.indexOf(C)===-1?_.push(C):v(new o(`Duplicate ${C} token`,E)));let F=x(E,(J,ie)=>v(new o(J,E,ie)));F&&Object.assign(y,F)}return y}let N={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 A(p,f){let v=p[f],y=1;for(;p[++f]===v;)++y;let _=N[v];if(!_){let E=`The letter ${v} is not a valid field identifier`;return{char:v,error:new Error(E),width:y}}return{char:v,field:_.field,desc:_.desc,width:y}}function Y(p,f){let v=p[++f],y=2;if(v==="'")return{char:"'",str:v,width:y};for(;;){let _=p[++f];if(++y,_===void 0){let E=`Unterminated quoted literal in pattern: ${v||p}`;return{char:"'",error:new Error(E),str:v,width:y}}else if(_==="'"){if(p[++f]!=="'")return{char:"'",str:v,width:y};++y}v+=_}}function ne(p,f){let v=p[f];if(!v)return null;if(L(v))return A(p,f);if(v==="'")return Y(p,f);let y=v,_=1;for(;;){let E=p[++f];if(!E||L(E)||E==="'")return{char:v,str:y,width:_};y+=E,_+=1}}function ue(p){let f=[],v=0;for(;;){let y=ne(p,v);if(!y)return f;f.push(y),v+=y.width}}function dt(p,f,v,y){typeof f=="string"&&(f=ue(f)),typeof v=="function"&&(y=v,v=void 0);let _=S(f,v,y),E=new Intl.DateTimeFormat(p,_);return k=>E.format(k)}function tt(p,f,v,y){typeof f=="string"&&(f=ue(f)),typeof v=="function"&&(y=v,v=void 0);let _=S(f,v,y);return["(function() {",`var opt = ${JSON.stringify(_)};`,`var dtf = new Intl.DateTimeFormat(${JSON.stringify(p)}, opt);`,"return function(value) { return dtf.format(value); }"].join(`
1
+ var _3=Object.defineProperty;var nh=e=>{throw TypeError(e)};var w3=(e,t,r)=>t in e?_3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var s=(e,t,r)=>w3(e,typeof t!="symbol"?t+"":t,r),rh=(e,t,r)=>t.has(e)||nh("Cannot "+r);var er=(e,t,r)=>(rh(e,t,"read from private field"),r?r.call(e):t.get(e)),ah=(e,t,r)=>t.has(e)?nh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),ih=(e,t,r,n)=>(rh(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var x3=Object.create,Ps=Object.defineProperty,E3=Object.defineProperties,S3=Object.getOwnPropertyDescriptor,k3=Object.getOwnPropertyDescriptors,C3=Object.getOwnPropertyNames,ts=Object.getOwnPropertySymbols,I3=Object.getPrototypeOf,hc=Object.prototype.hasOwnProperty,vm=Object.prototype.propertyIsEnumerable,oh=(e,t,r)=>t in e?Ps(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ge=(e,t)=>{for(var r in t||(t={}))hc.call(t,r)&&oh(e,r,t[r]);if(ts)for(var r of ts(t))vm.call(t,r)&&oh(e,r,t[r]);return e},Qt=(e,t)=>E3(e,k3(t)),D3=(e,t)=>{var r={};for(var n in e)hc.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&ts)for(var n of ts(e))t.indexOf(n)<0&&vm.call(e,n)&&(r[n]=e[n]);return r},te=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),re=(e,t)=>{for(var r in t)Ps(e,r,{get:t[r],enumerable:!0})},N3=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of C3(t))!hc.call(e,a)&&a!==r&&Ps(e,a,{get:()=>t[a],enumerable:!(n=S3(t,a))||n.enumerable});return e},bm=(e,t,r)=>(r=e!=null?x3(I3(e)):{},N3(t||!e||!e.__esModule?Ps(r,"default",{value:e,enumerable:!0}):r,e)),Ct=(e,t,r)=>new Promise((n,a)=>{var i=h=>{try{l(r.next(h))}catch(u){a(u)}},o=h=>{try{l(r.throw(h))}catch(u){a(u)}},l=h=>h.done?n(h.value):Promise.resolve(h.value).then(i,o);l((r=r.apply(e,t)).next())}),T3=te((e,t)=>{(function(r,n){typeof e=="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):(r=typeof globalThis<"u"?globalThis:r||self,r.MessageFormat=n())})(e,function(){var r=function(){return r=Object.assign||function(p){for(var f,v=1,y=arguments.length;v<y;v++){f=arguments[v];for(var _ in f)Object.prototype.hasOwnProperty.call(f,_)&&(p[_]=f[_])}return p},r.apply(this,arguments)};function n(p){var f=typeof Symbol=="function"&&Symbol.iterator,v=f&&p[f],y=0;if(v)return v.call(p);if(p&&typeof p.length=="number")return{next:function(){return p&&y>=p.length&&(p=void 0),{value:p&&p[y++],done:!p}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")}function a(p,f){var v=typeof Symbol=="function"&&p[Symbol.iterator];if(!v)return p;var y=v.call(p),_,E=[],k;try{for(;(f===void 0||f-- >0)&&!(_=y.next()).done;)E.push(_.value)}catch(C){k={error:C}}finally{try{_&&!_.done&&(v=y.return)&&v.call(y)}finally{if(k)throw k.error}}return E}function i(p,f,v){if(arguments.length===2)for(var y=0,_=f.length,E;y<_;y++)(E||!(y in f))&&(E||(E=Array.prototype.slice.call(f,0,y)),E[y]=f[y]);return p.concat(E||Array.prototype.slice.call(f))}typeof SuppressedError=="function"&&SuppressedError;class o extends Error{constructor(f,v,y){super(f),this.token=v,this.type=y||"error"}}let l=p=>p<4?"short":p===4?"long":"narrow",h=p=>p%2===0?"2-digit":"numeric";function u(p,f){switch(p.char){case"y":return{year:h(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 c(p,f){switch(p.width){case 1:return"numeric";case 2:return"2-digit";case 3:return"short";case 4:return"long";case 5:return"narrow";default:f(`${p.desc} is not supported with width ${p.width}`);return}}function m(p,f){let{char:v,desc:y,width:_}=p;if(v==="d")return h(_);f(`${y} is not supported`)}function b(p,f){let{char:v,desc:y,width:_}=p;if((v==="c"||v==="e")&&_<3){let E=`Numeric value is not supported for ${y}; falling back to weekday:short`;f(E,o.WARNING)}return l(_)}function g(p){let f=h(p.width),v;switch(p.char){case"h":v="h12";break;case"H":v="h23";break;case"k":v="h24";break;case"K":v="h11";break}return v?{hour:f,hourCycle:v}:{hour:f}}function w(p,f){let{char:v,desc:y,width:_}=p;switch(v){case"v":case"z":return _===4?"long":"short";case"V":if(_===4)return"long";f(`${y} is not supported with width ${_}`);return;case"X":f(`${y} is not supported`);return}return"short"}function x(p,f){switch(p.field){case"era":return{era:l(p.width)};case"year":return u(p,f);case"month":return{month:c(p,f)};case"day":return{day:m(p,f)};case"weekday":return{weekday:b(p,f)};case"period":return;case"hour":return g(p);case"min":return{minute:h(p.width)};case"sec":return{second:h(p.width)};case"tz":return{timeZoneName:w(p,f)};case"quarter":case"week":case"sec-frac":case"ms":f(`${p.desc} is not supported`)}}function S(p,f){let v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:E=>{throw E},y={timeZone:f},_=[];for(let E of p){let{error:k,field:C,str:T}=E;if(k){let J=new o(k.message,E);J.stack=k.stack,v(J)}if(T){let J=`Ignoring string part: ${T}`;v(new o(J,E,o.WARNING))}C&&(_.indexOf(C)===-1?_.push(C):v(new o(`Duplicate ${C} token`,E)));let F=x(E,(J,ie)=>v(new o(J,E,ie)));F&&Object.assign(y,F)}return y}let N={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 A(p,f){let v=p[f],y=1;for(;p[++f]===v;)++y;let _=N[v];if(!_){let E=`The letter ${v} is not a valid field identifier`;return{char:v,error:new Error(E),width:y}}return{char:v,field:_.field,desc:_.desc,width:y}}function Y(p,f){let v=p[++f],y=2;if(v==="'")return{char:"'",str:v,width:y};for(;;){let _=p[++f];if(++y,_===void 0){let E=`Unterminated quoted literal in pattern: ${v||p}`;return{char:"'",error:new Error(E),str:v,width:y}}else if(_==="'"){if(p[++f]!=="'")return{char:"'",str:v,width:y};++y}v+=_}}function ne(p,f){let v=p[f];if(!v)return null;if(L(v))return A(p,f);if(v==="'")return Y(p,f);let y=v,_=1;for(;;){let E=p[++f];if(!E||L(E)||E==="'")return{char:v,str:y,width:_};y+=E,_+=1}}function ue(p){let f=[],v=0;for(;;){let y=ne(p,v);if(!y)return f;f.push(y),v+=y.width}}function dt(p,f,v,y){typeof f=="string"&&(f=ue(f)),typeof v=="function"&&(y=v,v=void 0);let _=S(f,v,y),E=new Intl.DateTimeFormat(p,_);return k=>E.format(k)}function tt(p,f,v,y){typeof f=="string"&&(f=ue(f)),typeof v=="function"&&(y=v,v=void 0);let _=S(f,v,y);return["(function() {",`var opt = ${JSON.stringify(_)};`,`var dtf = new Intl.DateTimeFormat(${JSON.stringify(p)}, opt);`,"return function(value) { return dtf.format(value); }"].join(`
2
2
  `)+`
3
- })()`}class ze extends Error{constructor(f,v){super(v),this.code=f}}class ot extends ze{constructor(f,v){super("BAD_OPTION",`Unknown ${f} option: ${v}`),this.stem=f,this.option=v}}class Z extends ze{constructor(f){super("BAD_STEM",`Unknown stem: ${f}`),this.stem=f}}class z extends ze{constructor(f,v){super("MASKED_VALUE",`Value for ${f} is set multiple times`),this.type=f,this.prev=v}}class de extends ze{constructor(f){super("MISSING_OPTION",`Required option missing for ${f}`),this.stem=f}}class P extends ze{constructor(f,v){super("BAD_PATTERN",v),this.char=f}}class j extends ze{constructor(f,v,y){let _=y>1?`${y} options`:"one option";super("TOO_MANY_OPTIONS",`Token ${f} only supports ${_} (got ${v.length})`),this.stem=f,this.options=v}}function G(p,f){let{numberingSystem:v}=f;return Array.isArray(p)||(p=[p]),v?p.map(y=>{let _=y.indexOf("-u-")===-1?"u-nu":"nu";return`${y}-${_}-${v}`}).concat(p):p}function ve(p,f){let v=+p+f/2;return v-v%+f}function Ve(p){let{scale:f,unit:v}=p,y=typeof f=="number"&&f>=0?f:1;return v&&v.style==="percent"&&(y*=.01),y}function Dt(p){let f=Ve(p),{precision:v}=p;return v&&v.style==="precision-increment"?y=>ve(y,v.increment)*f:y=>y*f}function Ee(p){let f=Ve(p),{precision:v}=p;if(v&&v.style==="precision-increment"){let y=`+n + ${v.increment/2}`,_=`x - (x % +${v.increment})`;return f!==1&&(_=`(${_}) * ${f}`),`function(n) { var x = ${y}; return ${_}; }`}return f!==1?`function(n) { return n * ${f}; }`:null}function De(p,f){let{decimal:v,group:y,integerWidth:_,notation:E,precision:k,roundingMode:C,sign:T,unit:F,unitPer:J,unitWidth:ie}=p,ye=(qe,nt)=>{},W={};if(F)switch(F.style){case"base-unit":W.style="decimal";break;case"currency":W.style="currency",W.currency=F.currency;break;case"measure-unit":W.style="unit",W.unit=F.unit.replace(/.*-/,""),J&&(W.unit+="-per-"+J.replace(/.*-/,""));break;case"percent":W.style="percent";break}switch(ie){case"unit-width-full-name":W.currencyDisplay="name",W.unitDisplay="long";break;case"unit-width-hidden":break;case"unit-width-iso-code":W.currencyDisplay="code";break;case"unit-width-narrow":W.currencyDisplay="narrowSymbol",W.unitDisplay="narrow";break;case"unit-width-short":W.currencyDisplay="symbol",W.unitDisplay="short";break}switch(y){case"group-off":W.useGrouping=!1;break;case"group-auto":W.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":W.useGrouping=!0;break}if(k)switch(k.style){case"precision-fraction":{let{minFraction:qe,maxFraction:nt,minSignificant:pt,maxSignificant:Pt,source:mn}=k;typeof qe=="number"&&(W.minimumFractionDigits=qe,typeof pt=="number"&&ye()),typeof nt=="number"&&(W.maximumFractionDigits=nt),typeof pt=="number"&&(W.minimumSignificantDigits=pt),typeof Pt=="number"&&(W.maximumSignificantDigits=Pt);break}case"precision-integer":W.maximumFractionDigits=0;break;case"precision-unlimited":W.maximumFractionDigits=20;break;case"precision-increment":break;case"precision-currency-standard":W.trailingZeroDisplay=k.trailingZero;break;case"precision-currency-cash":ye(k.style);break}if(E)switch(E.style){case"compact-short":W.notation="compact",W.compactDisplay="short";break;case"compact-long":W.notation="compact",W.compactDisplay="long";break;case"notation-simple":W.notation="standard";break;case"scientific":case"engineering":{let{expDigits:qe,expSign:nt,source:pt,style:Pt}=E;W.notation=Pt;break}}if(_){let{min:qe,max:nt,source:pt}=_;if(qe>0&&(W.minimumIntegerDigits=qe),Number(nt)>0){let Pt=W.notation==="engineering"||W.notation==="scientific";nt===3&&Pt?W.notation="engineering":ye()}}switch(T){case"sign-auto":W.signDisplay="auto";break;case"sign-always":W.signDisplay="always";break;case"sign-except-zero":W.signDisplay="exceptZero";break;case"sign-never":W.signDisplay="never";break;case"sign-accounting":W.currencySign="accounting";break;case"sign-accounting-always":W.currencySign="accounting",W.signDisplay="always";break;case"sign-accounting-except-zero":W.currencySign="accounting",W.signDisplay="exceptZero";break}return W}function Ye(p,f,v){let y=p[f];switch(y){case"%":return{char:"%",style:"percent",width:1};case"‰":return{char:"%",style:"permille",width:1};case"¤":{let _=1;for(;p[++f]==="¤";)++_;switch(_){case 1:return{char:y,currency:"default",width:_};case 2:return{char:y,currency:"iso-code",width:_};case 3:return{char:y,currency:"full-name",width:_};case 5:return{char:y,currency:"narrow",width:_};default:{let E=`Invalid number (${_}) of ¤ chars in pattern`;return v(new P("¤",E)),null}}}case"*":{let _=p[f+1];if(_)return{char:y,pad:_,width:2};break}case"+":case"-":return{char:y,width:1};case"'":{let _=p[++f],E=2;if(_==="'")return{char:y,str:_,width:E};for(;;){let k=p[++f];if(++E,k===void 0){let C=`Unterminated quoted literal in pattern: ${_}`;return v(new P("'",C)),{char:y,str:_,width:E}}else if(k==="'"){if(p[++f]!=="'")return{char:y,str:_,width:E};++E}_+=k}}}return null}let pn=p=>p>="0"&&p<="9";function He(p,f){let v=p[f];if(pn(v)){let y=v;for(;;){let _=p[++f];if(pn(_))y+=_;else return{char:"0",digits:y,width:y.length}}}switch(v){case"#":{let y=1;for(;p[++f]==="#";)++y;return{char:v,width:y}}case"@":{let y=1;for(;p[++f]==="@";)++y;let _=y;for(f-=1;p[++f]==="#";)++_;return{char:v,min:y,width:_}}case"E":{let y=p[f+1]==="+";y&&++f;let _=0;for(;p[++f]==="0";)++_;let E=(y?2:1)+_;if(_)return{char:v,expDigits:_,plus:y,width:E};break}case".":case",":return{char:v,width:1}}return null}function Nt(p,f,v){let y;(function(F){F[F.Prefix=0]="Prefix",F[F.Number=1]="Number",F[F.Suffix=2]="Suffix"})(y||(y={}));let _=[],E=[],k=[],C=y.Prefix,T="";for(;f<p.length;){let F=p[f];if(F===";"){f+=1;break}switch(C){case y.Prefix:{let J=Ye(p,f,v);if(J)T&&(_.push({char:"'",str:T,width:T.length}),T=""),_.push(J),f+=J.width;else{let ie=He(p,f);ie?(T&&(_.push({char:"'",str:T,width:T.length}),T=""),C=y.Number,E.push(ie),f+=ie.width):(T+=F,f+=1)}break}case y.Number:{let J=He(p,f);J?(E.push(J),f+=J.width):C=y.Suffix;break}case y.Suffix:{let J=Ye(p,f,v);J?(T&&(k.push({char:"'",str:T,width:T.length}),T=""),k.push(J),f+=J.width):(T+=F,f+=1);break}}}return T&&k.push({char:"'",str:T,width:T.length}),{pattern:{prefix:_,number:E,suffix:k},pos:f}}function ht(p,f){let{pattern:v,pos:y}=Nt(p,0,f);if(y<p.length){let{pattern:_}=Nt(p,y,f);return{tokens:v,negative:_}}return{tokens:v}}function Cn(p,f){let v={},y=!1,_=!1,E=0,k="",C=-1,T="",F=0;for(let ie=0;ie<p.length;++ie){let ye=p[ie];switch(ye.char){case"#":{if(C===-1){if(k){let W="Pattern has # after integer digits";f(new P("#",W))}E+=ye.width}else F+=ye.width;break}case"0":{if(C===-1)k+=ye.digits;else{if(F){let W="Pattern has digits after # in fraction";f(new P("0",W))}T+=ye.digits}break}case"@":{v.precision&&f(new z("precision",v.precision)),v.precision={style:"precision-fraction",minSignificant:ye.min,maxSignificant:ye.width};break}case",":y=!0;break;case".":if(C===1){let W="Pattern has more than one decimal separator";f(new P(".",W))}C=ie;break;case"E":{if(_&&f(new z("exponent",v.notation)),y){let W="Exponential patterns may not contain grouping separators";f(new P("E",W))}v.notation={style:"scientific"},ye.expDigits>1&&(v.notation.expDigits=ye.expDigits),ye.plus&&(v.notation.expSign="sign-always"),_=!0}}}y?v.group="group-auto":E+k.length>3&&(v.group="group-off");let J=+`${k||"0"}.${T}`;if(J&&(v.precision={style:"precision-increment",increment:J}),!_)k.length>1&&(v.integerWidth={min:k.length}),!v.precision&&(T.length||F)&&(v.precision={style:"precision-fraction",minFraction:T.length,maxFraction:T.length+F});else if((!v.precision||J)&&(v.integerWidth=E?{min:1,max:E+k.length}:{min:Math.max(1,k.length)}),v.precision)J||(v.integerWidth={min:1,max:1});else{let ie=k.length+T.length;C===-1?ie>0&&(v.precision={style:"precision-fraction",maxSignificant:ie}):(v.precision={style:"precision-fraction",maxSignificant:Math.max(1,ie)+F},ie>1&&(v.precision.minSignificant=ie))}return v}function pr(p,f,v,y,_){let E=!1,k="";for(let C of p)switch(C.char){case"%":f.unit={style:C.style},_?E=!0:k="";break;case"¤":if(!v){let T="The ¤ pattern requires a currency";y(new P("¤",T));break}switch(f.unit={style:"currency",currency:v},C.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+=C.str);break}return k}function oo(p,f){let v=!1,y="";for(let _ of p)switch(_.char){case"%":case"¤":f?v=!0:y="";break;case"-":v||(y+="-");break;case"'":v||(y+=_.str);break}return y}function so(p,f){let v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:T=>{throw T},{tokens:y,negative:_}=ht(p,v),E=Cn(y.number,v),k=pr(y.prefix,E,f,v,!0),C=pr(y.suffix,E,f,v,!1);if(_){let T=oo(_.prefix,!0),F=oo(_.suffix,!1);E.affix={pos:[k,C],neg:[T,F]},E.sign="sign-never"}else(k||C)&&(E.affix={pos:[k,C]});return E}function M3(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 $d(p){let f=["acceleration","angle","area","concentr","consumption","digital","duration","electric","energy","force","frequency","graphics","length","light","mass","power","pressure","speed","temperature","torque","volume"],[v]=p.split("-",1);return f.indexOf(v)!==-1}let Gd={"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},Ud={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function R3(p){return p in Gd}function O3(p){return p in Ud}function P3(p,f,v){if(R3(p)){let y=Gd[p];if(f.length>y){if(y===0)for(let _ of f)v(new ot(p,_));else v(new j(p,f,y));return!1}else if(O3(p)&&f.length<Ud[p])return v(new de(p)),!1}return!0}function ll(p,f){let v=f==="fraction"?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/,y=p&&p.match(v);if(y){let _=y[1].length;switch(y[2].charAt(0)){case"":return{min:_,max:_};case"+":return{min:_,max:null};case"#":return{min:_,max:_+y[2].length}}}return null}function A3(p,f,v){let y=ll(p,"fraction");if(y){f.length>1&&v(new j(p,f,1));let E={style:"precision-fraction",source:p,minFraction:y.min};y.max!=null&&(E.maxFraction=y.max);let k=f[0],C=ll(k,"significant");return C?(E.source=`${p}/${k}`,E.minSignificant=C.min,C.max!=null&&(E.maxSignificant=C.max)):k&&v(new ot(p,k)),E}let _=ll(p,"significant");if(_){for(let k of f)v(new ot(p,k));let E={style:"precision-fraction",source:p,minSignificant:_.min};return _.max!=null&&(E.maxSignificant=_.max),E}return null}class L3{constructor(f){this.skeleton={},this.onError=f}badOption(f,v){this.onError(new ot(f,v))}assertEmpty(f){let v=this.skeleton[f];v&&this.onError(new z(f,v))}parseToken(f,v){if(!P3(f,v,this.onError))return;let y=v[0],_=this.skeleton;switch(f){case"compact-short":case"compact-long":case"notation-simple":this.assertEmpty("notation"),_.notation={style:f};break;case"scientific":case"engineering":{let E=null,k;for(let T of v)switch(T){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=T;break;default:/^\+e+$/.test(T)?E=T.length-1:this.badOption(f,T)}this.assertEmpty("notation");let C=v.join("/");_.notation=E&&k?{style:f,source:C,expDigits:E,expSign:k}:E?{style:f,source:C,expDigits:E}:k?{style:f,source:C,expSign:k}:{style:f,source:C};break}case"percent":case"permille":case"base-unit":this.assertEmpty("unit"),_.unit={style:f};break;case"currency":/^[A-Z]{3}$/.test(y)?(this.assertEmpty("unit"),_.unit={style:f,currency:y}):this.badOption(f,y);break;case"measure-unit":{$d(y)?(this.assertEmpty("unit"),_.unit={style:f,unit:y}):this.badOption(f,y);break}case"per-measure-unit":{$d(y)?(this.assertEmpty("unitPer"),_.unitPer=y):this.badOption(f,y);break}case"unit-width-narrow":case"unit-width-short":case"unit-width-full-name":case"unit-width-iso-code":case"unit-width-hidden":this.assertEmpty("unitWidth"),_.unitWidth=f;break;case"precision-integer":case"precision-unlimited":case"precision-currency-cash":this.assertEmpty("precision"),_.precision={style:f};break;case"precision-currency-standard":this.assertEmpty("precision"),y==="w"?_.precision={style:f,trailingZero:"stripIfInteger"}:_.precision={style:f};break;case"precision-increment":{let E=Number(y);E>0?(this.assertEmpty("precision"),_.precision={style:f,increment:E}):this.badOption(f,y);break}case"rounding-mode-ceiling":case"rounding-mode-floor":case"rounding-mode-down":case"rounding-mode-up":case"rounding-mode-half-even":case"rounding-mode-half-odd":case"rounding-mode-half-ceiling":case"rounding-mode-half-floor":case"rounding-mode-half-down":case"rounding-mode-half-up":case"rounding-mode-unnecessary":this.assertEmpty("roundingMode"),_.roundingMode=f;break;case"integer-width":{if(/^\+0*$/.test(y))this.assertEmpty("integerWidth"),_.integerWidth={source:y,min:y.length-1};else{let E=y.match(/^#*(0*)$/);E?(this.assertEmpty("integerWidth"),_.integerWidth={source:y,min:E[1].length,max:E[0].length}):this.badOption(f,y)}break}case"scale":{let E=Number(y);E>0?(this.assertEmpty("scale"),_.scale=E):this.badOption(f,y);break}case"group-off":case"group-min2":case"group-auto":case"group-on-aligned":case"group-thousands":this.assertEmpty("group"),_.group=f;break;case"latin":this.assertEmpty("numberingSystem"),_.numberingSystem="latn";break;case"numbering-system":{M3(y)?(this.assertEmpty("numberingSystem"),_.numberingSystem=y):this.badOption(f,y);break}case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":this.assertEmpty("sign"),_.sign=f;break;case"decimal-auto":case"decimal-always":this.assertEmpty("decimal"),_.decimal=f;break;default:{let E=A3(f,v,this.onError);E?(this.assertEmpty("precision"),_.precision=E):this.onError(new Z(f))}}}}function Wd(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_=>{throw _},v=[];for(let _ of p.split(" "))if(_){let E=_.split("/"),k=E.shift()||"";v.push({stem:k,options:E})}let y=new L3(f);for(let{stem:_,options:E}of v)y.parseToken(_,E);return y.skeleton}function F3(p,f,v,y){typeof f=="string"&&(f=f.indexOf("::")===0?Wd(f.slice(2),y):so(f,v,y));let _=G(p,f),E=De(f),k=Dt(f),C=new Intl.NumberFormat(_,E);if(f.affix){let[T,F]=f.affix.pos,[J,ie]=f.affix.neg||["",""];return ye=>{let W=C.format(k(ye));return ye<0?`${J}${W}${ie}`:`${T}${W}${F}`}}return T=>C.format(k(T))}function j3(p,f,v,y){typeof f=="string"&&(f=f.indexOf("::")===0?Wd(f.slice(2),y):so(f,v,y));let _=G(p,f),E=De(f),k=Ee(f),C=["(function() {",`var opt = ${JSON.stringify(E)};`,`var nf = new Intl.NumberFormat(${JSON.stringify(_)}, opt);`],T="nf.format(value)";if(k&&(C.push(`var mod = ${k};`),T="nf.format(mod(value))"),f.affix){let[F,J]=f.affix.pos.map(ie=>JSON.stringify(ie));if(f.affix.neg){let[ie,ye]=f.affix.neg.map(W=>JSON.stringify(W));T=`value < 0 ? ${ie} + ${T} + ${ye} : ${F} + ${T} + ${J}`}else T=`${F} + ${T} + ${J}`}return C.push(`return function(value) { return ${T}; }`),C.join(`
3
+ })()`}class Be extends Error{constructor(f,v){super(v),this.code=f}}class ot extends Be{constructor(f,v){super("BAD_OPTION",`Unknown ${f} option: ${v}`),this.stem=f,this.option=v}}class Z extends Be{constructor(f){super("BAD_STEM",`Unknown stem: ${f}`),this.stem=f}}class B extends Be{constructor(f,v){super("MASKED_VALUE",`Value for ${f} is set multiple times`),this.type=f,this.prev=v}}class de extends Be{constructor(f){super("MISSING_OPTION",`Required option missing for ${f}`),this.stem=f}}class P extends Be{constructor(f,v){super("BAD_PATTERN",v),this.char=f}}class j extends Be{constructor(f,v,y){let _=y>1?`${y} options`:"one option";super("TOO_MANY_OPTIONS",`Token ${f} only supports ${_} (got ${v.length})`),this.stem=f,this.options=v}}function G(p,f){let{numberingSystem:v}=f;return Array.isArray(p)||(p=[p]),v?p.map(y=>{let _=y.indexOf("-u-")===-1?"u-nu":"nu";return`${y}-${_}-${v}`}).concat(p):p}function ve(p,f){let v=+p+f/2;return v-v%+f}function Ve(p){let{scale:f,unit:v}=p,y=typeof f=="number"&&f>=0?f:1;return v&&v.style==="percent"&&(y*=.01),y}function Nt(p){let f=Ve(p),{precision:v}=p;return v&&v.style==="precision-increment"?y=>ve(y,v.increment)*f:y=>y*f}function Ee(p){let f=Ve(p),{precision:v}=p;if(v&&v.style==="precision-increment"){let y=`+n + ${v.increment/2}`,_=`x - (x % +${v.increment})`;return f!==1&&(_=`(${_}) * ${f}`),`function(n) { var x = ${y}; return ${_}; }`}return f!==1?`function(n) { return n * ${f}; }`:null}function De(p,f){let{decimal:v,group:y,integerWidth:_,notation:E,precision:k,roundingMode:C,sign:T,unit:F,unitPer:J,unitWidth:ie}=p,ye=(qe,nt)=>{},W={};if(F)switch(F.style){case"base-unit":W.style="decimal";break;case"currency":W.style="currency",W.currency=F.currency;break;case"measure-unit":W.style="unit",W.unit=F.unit.replace(/.*-/,""),J&&(W.unit+="-per-"+J.replace(/.*-/,""));break;case"percent":W.style="percent";break}switch(ie){case"unit-width-full-name":W.currencyDisplay="name",W.unitDisplay="long";break;case"unit-width-hidden":break;case"unit-width-iso-code":W.currencyDisplay="code";break;case"unit-width-narrow":W.currencyDisplay="narrowSymbol",W.unitDisplay="narrow";break;case"unit-width-short":W.currencyDisplay="symbol",W.unitDisplay="short";break}switch(y){case"group-off":W.useGrouping=!1;break;case"group-auto":W.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":W.useGrouping=!0;break}if(k)switch(k.style){case"precision-fraction":{let{minFraction:qe,maxFraction:nt,minSignificant:pt,maxSignificant:At,source:fn}=k;typeof qe=="number"&&(W.minimumFractionDigits=qe,typeof pt=="number"&&ye()),typeof nt=="number"&&(W.maximumFractionDigits=nt),typeof pt=="number"&&(W.minimumSignificantDigits=pt),typeof At=="number"&&(W.maximumSignificantDigits=At);break}case"precision-integer":W.maximumFractionDigits=0;break;case"precision-unlimited":W.maximumFractionDigits=20;break;case"precision-increment":break;case"precision-currency-standard":W.trailingZeroDisplay=k.trailingZero;break;case"precision-currency-cash":ye(k.style);break}if(E)switch(E.style){case"compact-short":W.notation="compact",W.compactDisplay="short";break;case"compact-long":W.notation="compact",W.compactDisplay="long";break;case"notation-simple":W.notation="standard";break;case"scientific":case"engineering":{let{expDigits:qe,expSign:nt,source:pt,style:At}=E;W.notation=At;break}}if(_){let{min:qe,max:nt,source:pt}=_;if(qe>0&&(W.minimumIntegerDigits=qe),Number(nt)>0){let At=W.notation==="engineering"||W.notation==="scientific";nt===3&&At?W.notation="engineering":ye()}}switch(T){case"sign-auto":W.signDisplay="auto";break;case"sign-always":W.signDisplay="always";break;case"sign-except-zero":W.signDisplay="exceptZero";break;case"sign-never":W.signDisplay="never";break;case"sign-accounting":W.currencySign="accounting";break;case"sign-accounting-always":W.currencySign="accounting",W.signDisplay="always";break;case"sign-accounting-except-zero":W.currencySign="accounting",W.signDisplay="exceptZero";break}return W}function Ye(p,f,v){let y=p[f];switch(y){case"%":return{char:"%",style:"percent",width:1};case"‰":return{char:"%",style:"permille",width:1};case"¤":{let _=1;for(;p[++f]==="¤";)++_;switch(_){case 1:return{char:y,currency:"default",width:_};case 2:return{char:y,currency:"iso-code",width:_};case 3:return{char:y,currency:"full-name",width:_};case 5:return{char:y,currency:"narrow",width:_};default:{let E=`Invalid number (${_}) of ¤ chars in pattern`;return v(new P("¤",E)),null}}}case"*":{let _=p[f+1];if(_)return{char:y,pad:_,width:2};break}case"+":case"-":return{char:y,width:1};case"'":{let _=p[++f],E=2;if(_==="'")return{char:y,str:_,width:E};for(;;){let k=p[++f];if(++E,k===void 0){let C=`Unterminated quoted literal in pattern: ${_}`;return v(new P("'",C)),{char:y,str:_,width:E}}else if(k==="'"){if(p[++f]!=="'")return{char:y,str:_,width:E};++E}_+=k}}}return null}let mn=p=>p>="0"&&p<="9";function He(p,f){let v=p[f];if(mn(v)){let y=v;for(;;){let _=p[++f];if(mn(_))y+=_;else return{char:"0",digits:y,width:y.length}}}switch(v){case"#":{let y=1;for(;p[++f]==="#";)++y;return{char:v,width:y}}case"@":{let y=1;for(;p[++f]==="@";)++y;let _=y;for(f-=1;p[++f]==="#";)++_;return{char:v,min:y,width:_}}case"E":{let y=p[f+1]==="+";y&&++f;let _=0;for(;p[++f]==="0";)++_;let E=(y?2:1)+_;if(_)return{char:v,expDigits:_,plus:y,width:E};break}case".":case",":return{char:v,width:1}}return null}function Tt(p,f,v){let y;(function(F){F[F.Prefix=0]="Prefix",F[F.Number=1]="Number",F[F.Suffix=2]="Suffix"})(y||(y={}));let _=[],E=[],k=[],C=y.Prefix,T="";for(;f<p.length;){let F=p[f];if(F===";"){f+=1;break}switch(C){case y.Prefix:{let J=Ye(p,f,v);if(J)T&&(_.push({char:"'",str:T,width:T.length}),T=""),_.push(J),f+=J.width;else{let ie=He(p,f);ie?(T&&(_.push({char:"'",str:T,width:T.length}),T=""),C=y.Number,E.push(ie),f+=ie.width):(T+=F,f+=1)}break}case y.Number:{let J=He(p,f);J?(E.push(J),f+=J.width):C=y.Suffix;break}case y.Suffix:{let J=Ye(p,f,v);J?(T&&(k.push({char:"'",str:T,width:T.length}),T=""),k.push(J),f+=J.width):(T+=F,f+=1);break}}}return T&&k.push({char:"'",str:T,width:T.length}),{pattern:{prefix:_,number:E,suffix:k},pos:f}}function ht(p,f){let{pattern:v,pos:y}=Tt(p,0,f);if(y<p.length){let{pattern:_}=Tt(p,y,f);return{tokens:v,negative:_}}return{tokens:v}}function In(p,f){let v={},y=!1,_=!1,E=0,k="",C=-1,T="",F=0;for(let ie=0;ie<p.length;++ie){let ye=p[ie];switch(ye.char){case"#":{if(C===-1){if(k){let W="Pattern has # after integer digits";f(new P("#",W))}E+=ye.width}else F+=ye.width;break}case"0":{if(C===-1)k+=ye.digits;else{if(F){let W="Pattern has digits after # in fraction";f(new P("0",W))}T+=ye.digits}break}case"@":{v.precision&&f(new B("precision",v.precision)),v.precision={style:"precision-fraction",minSignificant:ye.min,maxSignificant:ye.width};break}case",":y=!0;break;case".":if(C===1){let W="Pattern has more than one decimal separator";f(new P(".",W))}C=ie;break;case"E":{if(_&&f(new B("exponent",v.notation)),y){let W="Exponential patterns may not contain grouping separators";f(new P("E",W))}v.notation={style:"scientific"},ye.expDigits>1&&(v.notation.expDigits=ye.expDigits),ye.plus&&(v.notation.expSign="sign-always"),_=!0}}}y?v.group="group-auto":E+k.length>3&&(v.group="group-off");let J=+`${k||"0"}.${T}`;if(J&&(v.precision={style:"precision-increment",increment:J}),!_)k.length>1&&(v.integerWidth={min:k.length}),!v.precision&&(T.length||F)&&(v.precision={style:"precision-fraction",minFraction:T.length,maxFraction:T.length+F});else if((!v.precision||J)&&(v.integerWidth=E?{min:1,max:E+k.length}:{min:Math.max(1,k.length)}),v.precision)J||(v.integerWidth={min:1,max:1});else{let ie=k.length+T.length;C===-1?ie>0&&(v.precision={style:"precision-fraction",maxSignificant:ie}):(v.precision={style:"precision-fraction",maxSignificant:Math.max(1,ie)+F},ie>1&&(v.precision.minSignificant=ie))}return v}function pr(p,f,v,y,_){let E=!1,k="";for(let C of p)switch(C.char){case"%":f.unit={style:C.style},_?E=!0:k="";break;case"¤":if(!v){let T="The ¤ pattern requires a currency";y(new P("¤",T));break}switch(f.unit={style:"currency",currency:v},C.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+=C.str);break}return k}function oo(p,f){let v=!1,y="";for(let _ of p)switch(_.char){case"%":case"¤":f?v=!0:y="";break;case"-":v||(y+="-");break;case"'":v||(y+=_.str);break}return y}function so(p,f){let v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:T=>{throw T},{tokens:y,negative:_}=ht(p,v),E=In(y.number,v),k=pr(y.prefix,E,f,v,!0),C=pr(y.suffix,E,f,v,!1);if(_){let T=oo(_.prefix,!0),F=oo(_.suffix,!1);E.affix={pos:[k,C],neg:[T,F]},E.sign="sign-never"}else(k||C)&&(E.affix={pos:[k,C]});return E}function OB(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 $d(p){let f=["acceleration","angle","area","concentr","consumption","digital","duration","electric","energy","force","frequency","graphics","length","light","mass","power","pressure","speed","temperature","torque","volume"],[v]=p.split("-",1);return f.indexOf(v)!==-1}let Gd={"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},Ud={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function RB(p){return p in Gd}function PB(p){return p in Ud}function AB(p,f,v){if(RB(p)){let y=Gd[p];if(f.length>y){if(y===0)for(let _ of f)v(new ot(p,_));else v(new j(p,f,y));return!1}else if(PB(p)&&f.length<Ud[p])return v(new de(p)),!1}return!0}function ll(p,f){let v=f==="fraction"?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/,y=p&&p.match(v);if(y){let _=y[1].length;switch(y[2].charAt(0)){case"":return{min:_,max:_};case"+":return{min:_,max:null};case"#":return{min:_,max:_+y[2].length}}}return null}function LB(p,f,v){let y=ll(p,"fraction");if(y){f.length>1&&v(new j(p,f,1));let E={style:"precision-fraction",source:p,minFraction:y.min};y.max!=null&&(E.maxFraction=y.max);let k=f[0],C=ll(k,"significant");return C?(E.source=`${p}/${k}`,E.minSignificant=C.min,C.max!=null&&(E.maxSignificant=C.max)):k&&v(new ot(p,k)),E}let _=ll(p,"significant");if(_){for(let k of f)v(new ot(p,k));let E={style:"precision-fraction",source:p,minSignificant:_.min};return _.max!=null&&(E.maxSignificant=_.max),E}return null}class FB{constructor(f){this.skeleton={},this.onError=f}badOption(f,v){this.onError(new ot(f,v))}assertEmpty(f){let v=this.skeleton[f];v&&this.onError(new B(f,v))}parseToken(f,v){if(!AB(f,v,this.onError))return;let y=v[0],_=this.skeleton;switch(f){case"compact-short":case"compact-long":case"notation-simple":this.assertEmpty("notation"),_.notation={style:f};break;case"scientific":case"engineering":{let E=null,k;for(let T of v)switch(T){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=T;break;default:/^\+e+$/.test(T)?E=T.length-1:this.badOption(f,T)}this.assertEmpty("notation");let C=v.join("/");_.notation=E&&k?{style:f,source:C,expDigits:E,expSign:k}:E?{style:f,source:C,expDigits:E}:k?{style:f,source:C,expSign:k}:{style:f,source:C};break}case"percent":case"permille":case"base-unit":this.assertEmpty("unit"),_.unit={style:f};break;case"currency":/^[A-Z]{3}$/.test(y)?(this.assertEmpty("unit"),_.unit={style:f,currency:y}):this.badOption(f,y);break;case"measure-unit":{$d(y)?(this.assertEmpty("unit"),_.unit={style:f,unit:y}):this.badOption(f,y);break}case"per-measure-unit":{$d(y)?(this.assertEmpty("unitPer"),_.unitPer=y):this.badOption(f,y);break}case"unit-width-narrow":case"unit-width-short":case"unit-width-full-name":case"unit-width-iso-code":case"unit-width-hidden":this.assertEmpty("unitWidth"),_.unitWidth=f;break;case"precision-integer":case"precision-unlimited":case"precision-currency-cash":this.assertEmpty("precision"),_.precision={style:f};break;case"precision-currency-standard":this.assertEmpty("precision"),y==="w"?_.precision={style:f,trailingZero:"stripIfInteger"}:_.precision={style:f};break;case"precision-increment":{let E=Number(y);E>0?(this.assertEmpty("precision"),_.precision={style:f,increment:E}):this.badOption(f,y);break}case"rounding-mode-ceiling":case"rounding-mode-floor":case"rounding-mode-down":case"rounding-mode-up":case"rounding-mode-half-even":case"rounding-mode-half-odd":case"rounding-mode-half-ceiling":case"rounding-mode-half-floor":case"rounding-mode-half-down":case"rounding-mode-half-up":case"rounding-mode-unnecessary":this.assertEmpty("roundingMode"),_.roundingMode=f;break;case"integer-width":{if(/^\+0*$/.test(y))this.assertEmpty("integerWidth"),_.integerWidth={source:y,min:y.length-1};else{let E=y.match(/^#*(0*)$/);E?(this.assertEmpty("integerWidth"),_.integerWidth={source:y,min:E[1].length,max:E[0].length}):this.badOption(f,y)}break}case"scale":{let E=Number(y);E>0?(this.assertEmpty("scale"),_.scale=E):this.badOption(f,y);break}case"group-off":case"group-min2":case"group-auto":case"group-on-aligned":case"group-thousands":this.assertEmpty("group"),_.group=f;break;case"latin":this.assertEmpty("numberingSystem"),_.numberingSystem="latn";break;case"numbering-system":{OB(y)?(this.assertEmpty("numberingSystem"),_.numberingSystem=y):this.badOption(f,y);break}case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":this.assertEmpty("sign"),_.sign=f;break;case"decimal-auto":case"decimal-always":this.assertEmpty("decimal"),_.decimal=f;break;default:{let E=LB(f,v,this.onError);E?(this.assertEmpty("precision"),_.precision=E):this.onError(new Z(f))}}}}function Wd(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_=>{throw _},v=[];for(let _ of p.split(" "))if(_){let E=_.split("/"),k=E.shift()||"";v.push({stem:k,options:E})}let y=new FB(f);for(let{stem:_,options:E}of v)y.parseToken(_,E);return y.skeleton}function jB(p,f,v,y){typeof f=="string"&&(f=f.indexOf("::")===0?Wd(f.slice(2),y):so(f,v,y));let _=G(p,f),E=De(f),k=Nt(f),C=new Intl.NumberFormat(_,E);if(f.affix){let[T,F]=f.affix.pos,[J,ie]=f.affix.neg||["",""];return ye=>{let W=C.format(k(ye));return ye<0?`${J}${W}${ie}`:`${T}${W}${F}`}}return T=>C.format(k(T))}function VB(p,f,v,y){typeof f=="string"&&(f=f.indexOf("::")===0?Wd(f.slice(2),y):so(f,v,y));let _=G(p,f),E=De(f),k=Ee(f),C=["(function() {",`var opt = ${JSON.stringify(E)};`,`var nf = new Intl.NumberFormat(${JSON.stringify(_)}, opt);`],T="nf.format(value)";if(k&&(C.push(`var mod = ${k};`),T="nf.format(mod(value))"),f.affix){let[F,J]=f.affix.pos.map(ie=>JSON.stringify(ie));if(f.affix.neg){let[ie,ye]=f.affix.neg.map(W=>JSON.stringify(W));T=`value < 0 ? ${ie} + ${T} + ${ye} : ${F} + ${T} + ${J}`}else T=`${F} + ${T} + ${J}`}return C.push(`return function(value) { return ${T}; }`),C.join(`
4
4
  `)+`
5
- })()`}var ul=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function V3(p){return p&&p.__esModule&&Object.prototype.hasOwnProperty.call(p,"default")?p.default:p}var Ua={},Zd={},Yd={exports:{}};(function(p){(function(f,v){p.exports?p.exports=v():f.moo=v()})(ul,function(){var f=Object.prototype.hasOwnProperty,v=Object.prototype.toString,y=typeof new RegExp().sticky=="boolean";function _(M){return M&&v.call(M)==="[object RegExp]"}function E(M){return M&&typeof M=="object"&&!_(M)&&!Array.isArray(M)}function k(M){return M.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function C(M){var B=new RegExp("|"+M);return B.exec("").length-1}function T(M){return"("+M+")"}function F(M){if(!M.length)return"(?!)";var B=M.map(function(K){return"(?:"+K+")"}).join("|");return"(?:"+B+")"}function J(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 ie(M,B){return M.length>B?M:Array(B-M.length+1).join(" ")+M}function ye(M,B){for(var K=M.length,X=0;;){var ce=M.lastIndexOf(`
6
- `,K-1);if(ce===-1||(X++,K=ce,X===B)||K===0)break}var ae=X<B?0:K+1;return M.substring(ae).split(`
7
- `)}function W(M){for(var B=Object.getOwnPropertyNames(M),K=[],X=0;X<B.length;X++){var ce=B[X],ae=M[ce],Se=[].concat(ae);if(ce==="include"){for(var We=0;We<Se.length;We++)K.push({include:Se[We]});continue}var Re=[];Se.forEach(function(se){E(se)?(Re.length&&K.push(nt(ce,Re)),K.push(nt(ce,se)),Re=[]):Re.push(se)}),Re.length&&K.push(nt(ce,Re))}return K}function qe(M){for(var B=[],K=0;K<M.length;K++){var X=M[K];if(X.include){for(var ce=[].concat(X.include),ae=0;ae<ce.length;ae++)B.push({include:ce[ae]});continue}if(!X.type)throw new Error("Rule has no type: "+JSON.stringify(X));B.push(nt(X.type,X))}return B}function nt(M,B){if(E(B)||(B={match:B}),B.include)throw new Error("Matching rules cannot also include states");var K={defaultType:M,lineBreaks:!!B.error||!!B.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var X in B)f.call(B,X)&&(K[X]=B[X]);if(typeof K.type=="string"&&M!==K.type)throw new Error("Type transform cannot be a string (type '"+K.type+"' for token '"+M+"')");var ce=K.match;return K.match=Array.isArray(ce)?ce:ce?[ce]:[],K.match.sort(function(ae,Se){return _(ae)&&_(Se)?0:_(Se)?-1:_(ae)?1:Se.length-ae.length}),K}function pt(M){return Array.isArray(M)?qe(M):W(M)}var Pt=nt("error",{lineBreaks:!0,shouldThrow:!0});function mn(M,B){for(var K=null,X=Object.create(null),ce=!0,ae=null,Se=[],We=[],Re=0;Re<M.length;Re++)M[Re].fallback&&(ce=!1);for(var Re=0;Re<M.length;Re++){var se=M[Re];if(se.include)throw new Error("Inheritance is not allowed in stateless lexers");if(se.error||se.fallback){if(K)throw!se.fallback==!K.fallback?new Error("Multiple "+(se.fallback?"fallback":"error")+" rules not allowed (for token '"+se.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+se.defaultType+"')");K=se}var st=se.match.slice();if(ce)for(;st.length&&typeof st[0]=="string"&&st[0].length===1;){var ia=st.shift();X[ia.charCodeAt(0)]=se}if(se.pop||se.push||se.next){if(!B)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+se.defaultType+"')");if(se.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+se.defaultType+"')")}if(st.length!==0){ce=!1,Se.push(se);for(var Nn=0;Nn<st.length;Nn++){var Rr=st[Nn];if(_(Rr)){if(ae===null)ae=Rr.unicode;else if(ae!==Rr.unicode&&se.fallback===!1)throw new Error("If one rule is /u then all must be")}}var oa=F(st.map(J)),fn=new RegExp(oa);if(fn.test(""))throw new Error("RegExp matches empty string: "+fn);var Za=C(oa);if(Za>0)throw new Error("RegExp has capture groups: "+fn+`
8
- Use (?: … ) instead`);if(!se.lineBreaks&&fn.test(`
9
- `))throw new Error("Rule should declare lineBreaks: "+fn);We.push(T(oa))}}var sa=K&&K.fallback,Ya=y&&!sa?"ym":"gm",fo=y||sa?"":"|";ae===!0&&(Ya+="u");var bz=new RegExp(F(We)+fo,Ya);return{regexp:bz,groups:Se,fast:X,error:K||Pt}}function fr(M){var B=mn(pt(M));return new Je({start:B},"start")}function Kn(M,B,K){var X=M&&(M.push||M.next);if(X&&!K[X])throw new Error("Missing state '"+X+"' (in token '"+M.defaultType+"' of state '"+B+"')");if(M&&M.pop&&+M.pop!=1)throw new Error("pop must be 1 (in token '"+M.defaultType+"' of state '"+B+"')")}function Qn(M,B){var K=M.$all?pt(M.$all):[];delete M.$all;var X=Object.getOwnPropertyNames(M);B||(B=X[0]);for(var ce=Object.create(null),ae=0;ae<X.length;ae++){var Se=X[ae];ce[Se]=pt(M[Se]).concat(K)}for(var ae=0;ae<X.length;ae++)for(var Se=X[ae],We=ce[Se],Re=Object.create(null),se=0;se<We.length;se++){var st=We[se];if(st.include){var ia=[se,1];if(st.include!==Se&&!Re[st.include]){Re[st.include]=!0;var Nn=ce[st.include];if(!Nn)throw new Error("Cannot include nonexistent state '"+st.include+"' (in state '"+Se+"')");for(var Rr=0;Rr<Nn.length;Rr++){var oa=Nn[Rr];We.indexOf(oa)===-1&&ia.push(oa)}}We.splice.apply(We,ia),se--}}for(var fn=Object.create(null),ae=0;ae<X.length;ae++){var Se=X[ae];fn[Se]=mn(ce[Se],!0)}for(var ae=0;ae<X.length;ae++){for(var Za=X[ae],sa=fn[Za],Ya=sa.groups,se=0;se<Ya.length;se++)Kn(Ya[se],Za,fn);for(var fo=Object.getOwnPropertyNames(sa.fast),se=0;se<fo.length;se++)Kn(sa.fast[fo[se]],Za,fn)}return new Je(fn,B)}function Jn(M){for(var B=typeof Map<"u",K=B?new Map:Object.create(null),X=Object.getOwnPropertyNames(M),ce=0;ce<X.length;ce++){var ae=X[ce],Se=M[ae],We=Array.isArray(Se)?Se:[Se];We.forEach(function(Re){if(typeof Re!="string")throw new Error("keyword must be string (in keyword '"+ae+"')");B?K.set(Re,ae):K[Re]=ae})}return function(Re){return B?K.get(Re):K[Re]}}var Je=function(M,B){this.startState=B,this.states=M,this.buffer="",this.stack=[],this.reset()};Je.prototype.reset=function(M,B){return this.buffer=M||"",this.index=0,this.line=B?B.line:1,this.col=B?B.col:1,this.queuedToken=B?B.queuedToken:null,this.queuedText=B?B.queuedText:"",this.queuedThrow=B?B.queuedThrow:null,this.setState(B?B.state:this.startState),this.stack=B&&B.stack?B.stack.slice():[],this},Je.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}},Je.prototype.setState=function(M){if(!(!M||this.state===M)){this.state=M;var B=this.states[M];this.groups=B.groups,this.error=B.error,this.re=B.regexp,this.fast=B.fast}},Je.prototype.popState=function(){this.setState(this.stack.pop())},Je.prototype.pushState=function(M){this.stack.push(this.state),this.setState(M)};var po=y?function(M,B){return M.exec(B)}:function(M,B){var K=M.exec(B);return K[0].length===0?null:K};Je.prototype._getGroup=function(M){for(var B=this.groups.length,K=0;K<B;K++)if(M[K+1]!==void 0)return this.groups[K];throw new Error("Cannot find token type for matched text")};function mo(){return this.value}if(Je.prototype.next=function(){var M=this.index;if(this.queuedGroup){var B=this._token(this.queuedGroup,this.queuedText,M);return this.queuedGroup=null,this.queuedText="",B}var K=this.buffer;if(M!==K.length){var Se=this.fast[K.charCodeAt(M)];if(Se)return this._token(Se,K.charAt(M),M);var X=this.re;X.lastIndex=M;var ce=po(X,K),ae=this.error;if(ce==null)return this._token(ae,K.slice(M,K.length),M);var Se=this._getGroup(ce),We=ce[0];return ae.fallback&&ce.index!==M?(this.queuedGroup=Se,this.queuedText=We,this._token(ae,K.slice(M,ce.index),M)):this._token(Se,We,M)}},Je.prototype._token=function(M,B,K){var X=0;if(M.lineBreaks){var ce=/\n/g,ae=1;if(B===`
10
- `)X=1;else for(;ce.exec(B);)X++,ae=ce.lastIndex}var Se={type:typeof M.type=="function"&&M.type(B)||M.defaultType,value:typeof M.value=="function"?M.value(B):B,text:B,toString:mo,offset:K,lineBreaks:X,line:this.line,col:this.col},We=B.length;if(this.index+=We,this.line+=X,X!==0?this.col=We-ae+1:this.col+=We,M.shouldThrow){var Re=new Error(this.formatError(Se,"invalid syntax"));throw Re}return M.pop?this.popState():M.push?this.pushState(M.push):M.next&&this.setState(M.next),Se},typeof Symbol<"u"&&Symbol.iterator){var Xn=function(M){this.lexer=M};Xn.prototype.next=function(){var M=this.lexer.next();return{value:M,done:!M}},Xn.prototype[Symbol.iterator]=function(){return this},Je.prototype[Symbol.iterator]=function(){return new Xn(this)}}return Je.prototype.formatError=function(X,B){if(X==null)var K=this.buffer.slice(this.index),X={text:K,offset:this.index,lineBreaks:K.indexOf(`
11
- `)===-1?0:1,line:this.line,col:this.col};var ce=2,ae=Math.max(X.line-ce,1),Se=X.line+ce,We=String(Se).length,Re=ye(this.buffer,this.line-X.line+ce+1).slice(0,5),se=[];se.push(B+" at line "+X.line+" col "+X.col+":"),se.push("");for(var st=0;st<Re.length;st++){var ia=Re[st],Nn=ae+st;se.push(ie(String(Nn),We)+" "+ia),Nn===X.line&&se.push(ie("",We+X.col+1)+"^")}return se.join(`
12
- `)},Je.prototype.clone=function(){return new Je(this.states,this.state)},Je.prototype.has=function(M){return!0},{compile:fr,states:Qn,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:Jn}})})(Yd);var B3=Yd.exports;(function(p){var f=ul&&ul.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(p,"__esModule",{value:!0}),p.lexer=p.states=void 0;let v=f(B3);p.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^]*?[^'])?'(?!')/u,value:y=>y.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:y=>y.substring(1).trim()},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/[^][^{}#']*/u}},arg:{select:{lineBreaks:!0,match:/,\s*(?:plural|select|selectordinal)\s*,\s*/u,next:"select",value:y=>y.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:y=>y.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:y=>y.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:y=>y.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:y=>y.substring(0,y.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},p.lexer=v.default.states(p.states)})(Zd),Object.defineProperty(Ua,"__esModule",{value:!0});var Kd=Ua.parse=Ua.ParseError=void 0;let Qd=Zd,lo=p=>({offset:p.offset,line:p.line,col:p.col,text:p.text,lineBreaks:p.lineBreaks}),cl=p=>p==="plural"||p==="select"||p==="selectordinal";function z3(p,f){let v="",y="";for(let _ of f){let E=_.ctx.text;switch(y+=E,_.type){case"content":v+=_.value;break;case"argument":case"function":case"octothorpe":v+=E;break;default:throw new yt(p,`Unsupported part in strict mode function arg style: ${E}`)}}return[{type:"content",value:v.trim(),ctx:Object.assign({},f[0].ctx,{text:y})}]}let H3=["number","date","time","spellout","ordinal","duration"],Jd=["zero","one","two","few","many","other"];class yt extends Error{constructor(f,v){super(Qd.lexer.formatError(f,v))}}Ua.ParseError=yt;class q3{constructor(f,v){var y,_,E,k;this.lexer=Qd.lexer.reset(f),this.cardinalKeys=(y=v==null?void 0:v.cardinal)!==null&&y!==void 0?y:Jd,this.ordinalKeys=(_=v==null?void 0:v.ordinal)!==null&&_!==void 0?_:Jd,this.strict=(E=v==null?void 0:v.strict)!==null&&E!==void 0?E:!1,this.strictPluralKeys=(k=v==null?void 0:v.strictPluralKeys)!==null&&k!==void 0?k:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(f,v,y){if(y[0]==="="){if(v==="select")throw new yt(f,`The case ${y} is not valid with select`)}else if(v!=="select"){let _=v==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&_.length>0&&!_.includes(y)){let E=`The ${v} case ${y} is not valid in this locale`;throw new yt(f,E)}}}parseSelect(f,v,y,_){let{value:E}=f,k={type:_,arg:E,cases:[],ctx:y};_==="plural"||_==="selectordinal"?v=!0:this.strict&&(v=!1);for(let C of this.lexer)switch(C.type){case"offset":if(_==="select")throw new yt(C,"Unexpected plural offset for select");if(k.cases.length>0)throw new yt(C,"Plural offset must be set before cases");k.pluralOffset=Number(C.value),y.text+=C.text,y.lineBreaks+=C.lineBreaks;break;case"case":{this.checkSelectKey(C,_,C.value),k.cases.push({key:C.value,tokens:this.parseBody(v),ctx:lo(C)});break}case"end":return k;default:throw new yt(C,`Unexpected lexer token: ${C.type}`)}throw new yt(null,"Unexpected message end")}parseArgToken(f,v){let y=lo(f),_=this.lexer.next();if(!_)throw new yt(null,"Unexpected message end");if(y.text+=_.text,y.lineBreaks+=_.lineBreaks,this.strict&&(_.type==="func-simple"||_.type==="func-args")&&!H3.includes(_.value)){let E=`Invalid strict mode function arg type: ${_.value}`;throw new yt(f,E)}switch(_.type){case"end":return{type:"argument",arg:f.value,ctx:y};case"func-simple":{let E=this.lexer.next();if(!E)throw new yt(null,"Unexpected message end");if(E.type!=="end")throw new yt(E,`Unexpected lexer token: ${E.type}`);if(y.text+=E.text,cl(_.value.toLowerCase()))throw new yt(_,`Invalid type identifier: ${_.value}`);return{type:"function",arg:f.value,key:_.value,ctx:y}}case"func-args":{if(cl(_.value.toLowerCase())){let k=`Invalid type identifier: ${_.value}`;throw new yt(_,k)}let E=this.parseBody(this.strict?!1:v);return this.strict&&E.length>0&&(E=z3(f,E)),{type:"function",arg:f.value,key:_.value,param:E,ctx:y}}case"select":if(cl(_.value))return this.parseSelect(f,v,y,_.value);throw new yt(_,`Unexpected select type ${_.value}`);default:throw new yt(_,`Unexpected lexer token: ${_.type}`)}}parseBody(f,v){let y=[],_=null;for(let E of this.lexer)if(E.type==="argument")_&&(_=null),y.push(this.parseArgToken(E,f));else if(E.type==="octothorpe"&&f)_&&(_=null),y.push({type:"octothorpe",ctx:lo(E)});else{if(E.type==="end"&&!v)return y;{let k=E.value;if(!f&&E.type==="quoted"&&k[0]==="#"){if(k.includes("{")){let C=`Unsupported escape pattern: ${k}`;throw new yt(E,C)}k=E.text}_?(_.value+=k,_.ctx.text+=E.text,_.ctx.lineBreaks+=E.lineBreaks):(_={type:"content",value:k,ctx:lo(E)},y.push(_))}}if(v)return y;throw new yt(null,"Unexpected message end")}}function $3(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new q3(p,f).parse()}Kd=Ua.parse=$3;function Wa(p){return Wa[p]||(Wa[p]=new Intl.NumberFormat(p))}function G3(p,f,v){return Wa(p).format(f-v)}function U3(p,f,v,y){var _=f-v;if(isNaN(_))throw new Error("`"+y+"` or its offset is not a number");return Wa(p).format(_)}function W3(p,f,v,y,_){if({}.hasOwnProperty.call(y,p))return y[p];f&&(p-=f);var E=v(p,_);return E in y?y[E]:y.other}function Z3(p,f){return{}.hasOwnProperty.call(f,p)?f[p]:f.other}function Y3(p,f){for(var v=0;v<p.length;++v)if(!f||f[p[v]]===void 0)throw new Error("Message requires argument '".concat(p[v],"'"))}var K3=Object.freeze({__proto__:null,_nf:Wa,number:G3,plural:W3,reqArgs:Y3,select:Z3,strictNumber:U3});function Q3(p,f,v){var y={day:"numeric",month:"short",year:"numeric"};switch(v){case"full":y.weekday="long";case"long":y.month="long";break;case"short":y.month="numeric"}return new Date(p).toLocaleDateString(f,y)}function J3(p){if(typeof p!="number"&&(p=Number(p)),!isFinite(p))return String(p);var f="";p<0?(f="-",p=Math.abs(p)):p=Number(p);var v=p%60,y=[Math.round(v)===v?v:v.toFixed(3)];p<60?y.unshift(0):(p=Math.round((p-Number(y[0]))/60),y.unshift(p%60),p>=60&&(p=Math.round((p-Number(y[0]))/60),y.unshift(p)));var _=y.shift();return f+_+":"+y.map(function(E){return Number(E)<10?"0"+String(E):String(E)}).join(":")}var dl={};function uo(p,f){var v=String(p)+JSON.stringify(f);return dl[v]||(dl[v]=new Intl.NumberFormat(p,f)),dl[v]}function X3(p,f,v,y){var _=v&&v.split(":")||[],E=_[0],k=_[1],C={integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:k&&k.trim()||y,minimumFractionDigits:2,maximumFractionDigits:2}};return uo(f,C[E]||{}).format(p)}var ez=function(p,f,v){return uo(f,{style:"currency",currency:v,minimumFractionDigits:2,maximumFractionDigits:2}).format(p)},tz=function(p,f){return uo(f,{maximumFractionDigits:0}).format(p)},nz=function(p,f){return uo(f,{style:"percent"}).format(p)};function rz(p,f,v){var y={second:"numeric",minute:"numeric",hour:"numeric"};switch(v){case"full":case"long":y.timeZoneName="short";break;case"short":delete y.second}return new Date(p).toLocaleTimeString(f,y)}var hl=Object.freeze({__proto__:null,date:Q3,duration:J3,numberCurrency:ez,numberFmt:X3,numberInteger:tz,numberPercent:nz,time:rz}),az={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}},pl=V3(az);function iz(p){let f=0;for(let v=0;v<p.length;++v){let y=p.charCodeAt(v);f=(f<<5)-f+y,f|=0}return f}function mr(p,f){f&&(p+=" "+iz(p).toString(36));let v=p.trim().replace(/\W+/g,"_");return pl.ES3[v]||pl.ESnext[v]||/^\d/.test(v)?"_"+v:v}function ml(p,f){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(f)&&!pl.ES3[f])return p?p+"."+f:f;{let v=JSON.stringify(f);return p?p+"["+v+"]":v}}var oz=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],sz=new RegExp("^"+oz.join("|^"));function lz(p,f){var v=sz.test(f),y=JSON.stringify(v?"‏":"‎");return"".concat(y," + ").concat(p," + ").concat(y)}var uz="@messageformat/runtime",cz="@messageformat/runtime/lib/cardinals",Xd="@messageformat/runtime/lib/plurals",dz="@messageformat/runtime/lib/formatters",hz=function(){function p(f){this.arguments=[],this.runtime={},this.options=f}return p.prototype.compile=function(f,v,y){var _,E,k=this,C=this.options,T=C.localeCodeFromKey,F=C.requireAllArguments,J=C.strict,ie=C.strictPluralKeys;if(typeof f=="object"){var ye={};try{for(var W=n(Object.keys(f)),qe=W.next();!qe.done;qe=W.next()){var nt=qe.value,pt=T?T(nt):nt,Pt=y&&pt&&y[pt]||v;ye[nt]=this.compile(f[nt],Pt,y)}}catch(Je){_={error:Je}}finally{try{qe&&!qe.done&&(E=W.return)&&E.call(W)}finally{if(_)throw _.error}}return ye}this.plural=v;var mn={cardinal:v.cardinals,ordinal:v.ordinals,strict:J,strictPluralKeys:ie};this.arguments=[];var fr=Kd(f,mn).map(function(Je){return k.token(Je,null)}),Kn=this.arguments.length>0,Qn=this.concatenate(fr,!0);if(F&&Kn){this.setRuntimeFn("reqArgs");var Jn=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(Jn,", d); return ").concat(Qn,"; }")}return"(".concat(Kn?"d":"",") => ").concat(Qn)},p.prototype.cases=function(f,v){var y=this,_=!0,E=f.cases.map(function(J){var ie=J.key,ye=J.tokens;ie==="other"&&(_=!1);var W=ye.map(function(qe){return y.token(qe,v)});return"".concat(ml(null,ie.replace(/^=/,"")),": ").concat(y.concatenate(W,!1))});if(_){var k=f.type,C=this.plural,T=C.cardinals,F=C.ordinals;if(k==="select"||k==="plural"&&T.includes("other")||k==="selectordinal"&&F.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(f)))}return"{ ".concat(E.join(", ")," }")},p.prototype.concatenate=function(f,v){var y=this.options.returnType==="values";return y&&(v||f.length>1)?"["+f.join(", ")+"]":f.join(" + ")||'""'},p.prototype.token=function(f,v){if(f.type==="content")return JSON.stringify(f.value);var y=this.plural,_=y.id,E=y.lc,k,C;switch("arg"in f?(this.arguments.push(f.arg),k=[ml("d",f.arg)]):k=[],f.type){case"argument":return this.options.biDiSupport?lz(String(k[0]),E):String(k[0]);case"select":C="select",v&&this.options.strict&&(v=null),k.push(this.cases(f,v)),this.setRuntimeFn("select");break;case"selectordinal":C="plural",k.push(f.pluralOffset||0,_,this.cases(f,f),1),this.setLocale(_,!0),this.setRuntimeFn("plural");break;case"plural":C="plural",k.push(f.pluralOffset||0,_,this.cases(f,f)),this.setLocale(_,!1),this.setRuntimeFn("plural");break;case"function":{var T=this.options.customFormatters[f.key],F=T&&"module"in T&&typeof T.module=="function";if(!T){if(f.key==="date"){C=this.setDateFormatter(f,k,v);break}else if(f.key==="number"){C=this.setNumberFormatter(f,k,v);break}}if(k.push(JSON.stringify(this.plural.locale)),f.param){v&&this.options.strict&&(v=null);var J=this.getFormatterArg(f,v);J&&k.push(J)}C=F?mr("".concat(f.key,"__").concat(this.plural.locale)):f.key,this.setFormatter(C,f.key);break}case"octothorpe":if(!v)return'"#"';k=[JSON.stringify(this.plural.locale),ml("d",v.arg),v.pluralOffset||0],this.options.strict?(C="strictNumber",k.push(JSON.stringify(v.arg)),this.setRuntimeFn("strictNumber")):(C="number",this.setRuntimeFn("number"));break}if(!C)throw new Error("Parser error for token "+JSON.stringify(f));return"".concat(C,"(").concat(k.join(", "),")")},p.prototype.runtimeIncludes=function(f,v){if(mr(f)!==f)throw new SyntaxError("Reserved word used as ".concat(v," identifier: ").concat(f));var y=this.runtime[f];if(!y||y.type===v)return y;throw new TypeError("Cannot override ".concat(y.type," runtime function as ").concat(v,": ").concat(f))},p.prototype.setLocale=function(f,v){var y=this.runtimeIncludes(f,"locale"),_=this.plural,E=_.getCardinal,k=_.getPlural,C=_.isDefault,T,F,J;if(!v&&C&&E){if(y)return;T=function(ie){return E(ie)},F=cz,J=function(){return String(E)}}else{if(y&&(!C||y.module===Xd))return;T=function(ie,ye){return k(ie,ye)},F=C?Xd:k.module||null,J=function(){return String(k)}}this.runtime[f]=Object.assign(T,{id:f,module:F,toString:J,type:"locale"})},p.prototype.setRuntimeFn=function(f){this.runtimeIncludes(f,"runtime")||(this.runtime[f]=Object.assign(K3[f],{id:f,module:uz,type:"runtime"}))},p.prototype.getFormatterArg=function(f,v){var y,_,E,k,C=this,T=f.key,F=f.param,J=this.options.customFormatters[T]||eh(T)&&hl[T];if(!J||!F)return null;var ie="arg"in J&&J.arg||"string";if(ie==="options"){var ye="";try{for(var W=n(F),qe=W.next();!qe.done;qe=W.next()){var nt=qe.value;if(nt.type==="content")ye+=nt.value;else throw new SyntaxError("Expected literal options for ".concat(T," formatter"))}}catch(Xn){y={error:Xn}}finally{try{qe&&!qe.done&&(_=W.return)&&_.call(W)}finally{if(y)throw y.error}}var pt={};try{for(var Pt=n(ye.split(",")),mn=Pt.next();!mn.done;mn=Pt.next()){var fr=mn.value,Kn=fr.indexOf(":");if(Kn===-1)pt[fr.trim()]=null;else{var Qn=fr.substring(0,Kn).trim(),Jn=fr.substring(Kn+1).trim();if(Jn==="true")pt[Qn]=!0;else if(Jn==="false")pt[Qn]=!1;else if(Jn==="null")pt[Qn]=null;else{var Je=Number(Jn);pt[Qn]=Number.isFinite(Je)?Je:Jn}}}}catch(Xn){E={error:Xn}}finally{try{mn&&!mn.done&&(k=Pt.return)&&k.call(Pt)}finally{if(E)throw E.error}}return JSON.stringify(pt)}else{var po=F.map(function(Xn){return C.token(Xn,v)});if(ie==="raw")return"[".concat(po.join(", "),"]");var mo=po.join(" + ");return mo?"(".concat(mo,").trim()"):'""'}},p.prototype.setFormatter=function(f,v){if(!this.runtimeIncludes(f,"formatter")){var y=this.options.customFormatters[v||f];if(y){var _=typeof y=="function"?{formatter:y}:y;this.runtime[f]=Object.assign(_.formatter.bind({}),r(r({},_.formatter.prototype),{toString:function(){return String(_.formatter)}}),{type:"formatter"},"module"in y&&y.module&&y.id?{id:mr(y.id),module:typeof y.module=="function"?y.module(this.plural.locale):y.module}:{id:null,module:null})}else if(eh(f))this.runtime[f]=Object.assign(hl[f],{type:"formatter"},{id:f,module:dz});else throw new Error("Formatting function not found: ".concat(f))}},p.prototype.setDateFormatter=function(f,v,y){var _=this,E=f.param,k=this.plural.locale,C=E&&E.length===1&&E[0];if(C&&C.type==="content"&&/^\s*::/.test(C.value)){var T=C.value.trim().substr(2),F=mr("date_".concat(k,"_").concat(T),!0);if(!this.runtimeIncludes(F,"formatter")){var J=dt(k,T,this.options.timeZone);this.runtime[F]=Object.assign(J,{id:F,module:null,toString:function(){return tt(k,T,_.options.timeZone)},type:"formatter"})}return F}if(v.push(JSON.stringify(k)),E&&E.length>0){y&&this.options.strict&&(y=null);var ie=E.map(function(ye){return _.token(ye,y)});v.push("("+(ie.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},p.prototype.setNumberFormatter=function(f,v,y){var _=this,E=f.param,k=this.plural.locale;if(!E||E.length===0)return v.unshift(JSON.stringify(k)),v.push("0"),this.setRuntimeFn("number"),"number";if(v.push(JSON.stringify(k)),E.length===1&&E[0].type==="content"){var C=E[0].value.trim();switch(C){case"currency":return v.push(JSON.stringify(this.options.currency)),this.setFormatter("numberCurrency"),"numberCurrency";case"integer":return this.setFormatter("numberInteger"),"numberInteger";case"percent":return this.setFormatter("numberPercent"),"numberPercent"}var T=C.match(/^currency:([A-Z]+)$/);if(T)return v.push(JSON.stringify(T[1])),this.setFormatter("numberCurrency"),"numberCurrency";var F=mr("number_".concat(k,"_").concat(C),!0);if(!this.runtimeIncludes(F,"formatter")){var J=this.options.currency,ie=F3(k,C,J);this.runtime[F]=Object.assign(ie,{id:null,module:null,toString:function(){return j3(k,C,J)},type:"formatter"})}return F}y&&this.options.strict&&(y=null);var ye=E.map(function(W){return _.token(W,y)});return v.push("("+(ye.join(" + ")||'""')+").trim()"),v.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},p}();function eh(p){return p in hl}let V=p=>p==1?"one":"other",Gn=p=>p==0||p==1?"one":"other",In=p=>p>=0&&p<=1?"one":"other",kt=p=>{let f=String(p).split("."),v=!f[1];return p==1&&v?"one":"other"},Ie=p=>"other",Un=p=>p==1?"one":p==2?"two":"other";var pz=Object.freeze({__proto__:null,af:V,ak:Gn,am:In,an:V,ar:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-2);return p==0?"zero":p==1?"one":p==2?"two":y>=3&&y<=10?"few":y>=11&&y<=99?"many":"other"},ars:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-2);return p==0?"zero":p==1?"one":p==2?"two":y>=3&&y<=10?"few":y>=11&&y<=99?"many":"other"},as:In,asa:V,ast:kt,az:V,bal:V,be:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-1),_=v&&f[0].slice(-2);return y==1&&_!=11?"one":y>=2&&y<=4&&(_<12||_>14)?"few":v&&y==0||y>=5&&y<=9||_>=11&&_<=14?"many":"other"},bem:V,bez:V,bg:V,bho:Gn,bm:Ie,bn:In,bo:Ie,br:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-1),_=v&&f[0].slice(-2),E=v&&f[0].slice(-6);return y==1&&_!=11&&_!=71&&_!=91?"one":y==2&&_!=12&&_!=72&&_!=92?"two":(y==3||y==4||y==9)&&(_<10||_>19)&&(_<70||_>79)&&(_<90||_>99)?"few":p!=0&&v&&E==0?"many":"other"},brx:V,bs:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=v.slice(-2),C=y.slice(-1),T=y.slice(-2);return _&&E==1&&k!=11||C==1&&T!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||C>=2&&C<=4&&(T<12||T>14)?"few":"other"},ca:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p==1&&y?"one":v!=0&&_==0&&y?"many":"other"},ce:V,ceb:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=y.slice(-1);return _&&(v==1||v==2||v==3)||_&&E!=4&&E!=6&&E!=9||!_&&k!=4&&k!=6&&k!=9?"one":"other"},cgg:V,chr:V,ckb:V,cs:p=>{let f=String(p).split("."),v=f[0],y=!f[1];return p==1&&y?"one":v>=2&&v<=4&&y?"few":y?"other":"many"},cy:p=>p==0?"zero":p==1?"one":p==2?"two":p==3?"few":p==6?"many":"other",da:p=>{let f=String(p).split("."),v=f[0],y=Number(f[0])==p;return p==1||!y&&(v==0||v==1)?"one":"other"},de:kt,doi:In,dsb:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-2),k=y.slice(-2);return _&&E==1||k==1?"one":_&&E==2||k==2?"two":_&&(E==3||E==4)||k==3||k==4?"few":"other"},dv:V,dz:Ie,ee:V,el:V,en:kt,eo:V,es:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p==1?"one":v!=0&&_==0&&y?"many":"other"},et:kt,eu:V,fa:In,ff:p=>p>=0&&p<2?"one":"other",fi:kt,fil:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=y.slice(-1);return _&&(v==1||v==2||v==3)||_&&E!=4&&E!=6&&E!=9||!_&&k!=4&&k!=6&&k!=9?"one":"other"},fo:V,fr:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p>=0&&p<2?"one":v!=0&&_==0&&y?"many":"other"},fur:V,fy:kt,ga:p=>{let f=String(p).split("."),v=Number(f[0])==p;return p==1?"one":p==2?"two":v&&p>=3&&p<=6?"few":v&&p>=7&&p<=10?"many":"other"},gd:p=>{let f=String(p).split("."),v=Number(f[0])==p;return p==1||p==11?"one":p==2||p==12?"two":v&&p>=3&&p<=10||v&&p>=13&&p<=19?"few":"other"},gl:kt,gsw:V,gu:In,guw:Gn,gv:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-1),E=v.slice(-2);return y&&_==1?"one":y&&_==2?"two":y&&(E==0||E==20||E==40||E==60||E==80)?"few":y?"other":"many"},ha:V,haw:V,he:p=>{let f=String(p).split("."),v=f[0],y=!f[1];return v==1&&y||v==0&&!y?"one":v==2&&y?"two":"other"},hi:In,hnj:Ie,hr:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=v.slice(-2),C=y.slice(-1),T=y.slice(-2);return _&&E==1&&k!=11||C==1&&T!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||C>=2&&C<=4&&(T<12||T>14)?"few":"other"},hsb:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-2),k=y.slice(-2);return _&&E==1||k==1?"one":_&&E==2||k==2?"two":_&&(E==3||E==4)||k==3||k==4?"few":"other"},hu:V,hy:p=>p>=0&&p<2?"one":"other",ia:kt,id:Ie,ig:Ie,ii:Ie,io:kt,is:p=>{let f=String(p).split("."),v=f[0],y=(f[1]||"").replace(/0+$/,""),_=Number(f[0])==p,E=v.slice(-1),k=v.slice(-2);return _&&E==1&&k!=11||y%10==1&&y%100!=11?"one":"other"},it:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p==1&&y?"one":v!=0&&_==0&&y?"many":"other"},iu:Un,ja:Ie,jbo:Ie,jgo:V,jmc:V,jv:Ie,jw:Ie,ka:V,kab:p=>p>=0&&p<2?"one":"other",kaj:V,kcg:V,kde:Ie,kea:Ie,kk:V,kkj:V,kl:V,km:Ie,kn:In,ko:Ie,ks:V,ksb:V,ksh:p=>p==0?"zero":p==1?"one":"other",ku:V,kw:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-2),_=v&&f[0].slice(-3),E=v&&f[0].slice(-5),k=v&&f[0].slice(-6);return p==0?"zero":p==1?"one":y==2||y==22||y==42||y==62||y==82||v&&_==0&&(E>=1e3&&E<=2e4||E==4e4||E==6e4||E==8e4)||p!=0&&k==1e5?"two":y==3||y==23||y==43||y==63||y==83?"few":p!=1&&(y==1||y==21||y==41||y==61||y==81)?"many":"other"},ky:V,lag:p=>{let f=String(p).split("."),v=f[0];return p==0?"zero":(v==0||v==1)&&p!=0?"one":"other"},lb:V,lg:V,lij:kt,lkt:Ie,ln:Gn,lo:Ie,lt:p=>{let f=String(p).split("."),v=f[1]||"",y=Number(f[0])==p,_=y&&f[0].slice(-1),E=y&&f[0].slice(-2);return _==1&&(E<11||E>19)?"one":_>=2&&_<=9&&(E<11||E>19)?"few":v!=0?"many":"other"},lv:p=>{let f=String(p).split("."),v=f[1]||"",y=v.length,_=Number(f[0])==p,E=_&&f[0].slice(-1),k=_&&f[0].slice(-2),C=v.slice(-2),T=v.slice(-1);return _&&E==0||k>=11&&k<=19||y==2&&C>=11&&C<=19?"zero":E==1&&k!=11||y==2&&T==1&&C!=11||y!=2&&T==1?"one":"other"},mas:V,mg:Gn,mgo:V,mk:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=v.slice(-2),C=y.slice(-1),T=y.slice(-2);return _&&E==1&&k!=11||C==1&&T!=11?"one":"other"},ml:V,mn:V,mo:p=>{let f=String(p).split("."),v=!f[1],y=Number(f[0])==p,_=y&&f[0].slice(-2);return p==1&&v?"one":!v||p==0||p!=1&&_>=1&&_<=19?"few":"other"},mr:V,ms:Ie,mt:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-2);return p==1?"one":p==2?"two":p==0||y>=3&&y<=10?"few":y>=11&&y<=19?"many":"other"},my:Ie,nah:V,naq:Un,nb:V,nd:V,ne:V,nl:kt,nn:V,nnh:V,no:V,nqo:Ie,nr:V,nso:Gn,ny:V,nyn:V,om:V,or:V,os:V,osa:Ie,pa:Gn,pap:V,pcm:In,pl:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-1),E=v.slice(-2);return p==1&&y?"one":y&&_>=2&&_<=4&&(E<12||E>14)?"few":y&&v!=1&&(_==0||_==1)||y&&_>=5&&_<=9||y&&E>=12&&E<=14?"many":"other"},prg:p=>{let f=String(p).split("."),v=f[1]||"",y=v.length,_=Number(f[0])==p,E=_&&f[0].slice(-1),k=_&&f[0].slice(-2),C=v.slice(-2),T=v.slice(-1);return _&&E==0||k>=11&&k<=19||y==2&&C>=11&&C<=19?"zero":E==1&&k!=11||y==2&&T==1&&C!=11||y!=2&&T==1?"one":"other"},ps:V,pt:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return v==0||v==1?"one":v!=0&&_==0&&y?"many":"other"},pt_PT:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p==1&&y?"one":v!=0&&_==0&&y?"many":"other"},rm:V,ro:p=>{let f=String(p).split("."),v=!f[1],y=Number(f[0])==p,_=y&&f[0].slice(-2);return p==1&&v?"one":!v||p==0||p!=1&&_>=1&&_<=19?"few":"other"},rof:V,ru:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-1),E=v.slice(-2);return y&&_==1&&E!=11?"one":y&&_>=2&&_<=4&&(E<12||E>14)?"few":y&&_==0||y&&_>=5&&_<=9||y&&E>=11&&E<=14?"many":"other"},rwk:V,sah:Ie,saq:V,sat:Un,sc:kt,scn:kt,sd:V,sdh:V,se:Un,seh:V,ses:Ie,sg:Ie,sh:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=v.slice(-2),C=y.slice(-1),T=y.slice(-2);return _&&E==1&&k!=11||C==1&&T!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||C>=2&&C<=4&&(T<12||T>14)?"few":"other"},shi:p=>{let f=String(p).split("."),v=Number(f[0])==p;return p>=0&&p<=1?"one":v&&p>=2&&p<=10?"few":"other"},si:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"";return p==0||p==1||v==0&&y==1?"one":"other"},sk:p=>{let f=String(p).split("."),v=f[0],y=!f[1];return p==1&&y?"one":v>=2&&v<=4&&y?"few":y?"other":"many"},sl:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-2);return y&&_==1?"one":y&&_==2?"two":y&&(_==3||_==4)||!y?"few":"other"},sma:Un,smi:Un,smj:Un,smn:Un,sms:Un,sn:V,so:V,sq:V,sr:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=v.slice(-2),C=y.slice(-1),T=y.slice(-2);return _&&E==1&&k!=11||C==1&&T!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||C>=2&&C<=4&&(T<12||T>14)?"few":"other"},ss:V,ssy:V,st:V,su:Ie,sv:kt,sw:kt,syr:V,ta:V,te:V,teo:V,th:Ie,ti:Gn,tig:V,tk:V,tl:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=y.slice(-1);return _&&(v==1||v==2||v==3)||_&&E!=4&&E!=6&&E!=9||!_&&k!=4&&k!=6&&k!=9?"one":"other"},tn:V,to:Ie,tpi:Ie,tr:V,ts:V,tzm:p=>{let f=String(p).split("."),v=Number(f[0])==p;return p==0||p==1||v&&p>=11&&p<=99?"one":"other"},ug:V,uk:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-1),E=v.slice(-2);return y&&_==1&&E!=11?"one":y&&_>=2&&_<=4&&(E<12||E>14)?"few":y&&_==0||y&&_>=5&&_<=9||y&&E>=11&&E<=14?"many":"other"},und:Ie,ur:kt,uz:V,ve:V,vec:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p==1&&y?"one":v!=0&&_==0&&y?"many":"other"},vi:Ie,vo:V,vun:V,wa:Gn,wae:V,wo:Ie,xh:V,xog:V,yi:kt,yo:Ie,yue:Ie,zh:Ie,zu:In});let Wn="zero",H="one",Ue="two",pe="few",fe="many",R="other",O={cardinal:[H,R],ordinal:[R]},Mr={cardinal:[H,R],ordinal:[H,R]},Ne={cardinal:[R],ordinal:[R]},Dn={cardinal:[H,Ue,R],ordinal:[R]};var th=Object.freeze({__proto__:null,af:O,ak:O,am:O,an:O,ar:{cardinal:[Wn,H,Ue,pe,fe,R],ordinal:[R]},ars:{cardinal:[Wn,H,Ue,pe,fe,R],ordinal:[R]},as:{cardinal:[H,R],ordinal:[H,Ue,pe,fe,R]},asa:O,ast:O,az:{cardinal:[H,R],ordinal:[H,pe,fe,R]},bal:Mr,be:{cardinal:[H,pe,fe,R],ordinal:[pe,R]},bem:O,bez:O,bg:O,bho:O,bm:Ne,bn:{cardinal:[H,R],ordinal:[H,Ue,pe,fe,R]},bo:Ne,br:{cardinal:[H,Ue,pe,fe,R],ordinal:[R]},brx:O,bs:{cardinal:[H,pe,R],ordinal:[R]},ca:{cardinal:[H,fe,R],ordinal:[H,Ue,pe,R]},ce:O,ceb:O,cgg:O,chr:O,ckb:O,cs:{cardinal:[H,pe,fe,R],ordinal:[R]},cy:{cardinal:[Wn,H,Ue,pe,fe,R],ordinal:[Wn,H,Ue,pe,fe,R]},da:O,de:O,doi:O,dsb:{cardinal:[H,Ue,pe,R],ordinal:[R]},dv:O,dz:Ne,ee:O,el:O,en:{cardinal:[H,R],ordinal:[H,Ue,pe,R]},eo:O,es:{cardinal:[H,fe,R],ordinal:[R]},et:O,eu:O,fa:O,ff:O,fi:O,fil:Mr,fo:O,fr:{cardinal:[H,fe,R],ordinal:[H,R]},fur:O,fy:O,ga:{cardinal:[H,Ue,pe,fe,R],ordinal:[H,R]},gd:{cardinal:[H,Ue,pe,R],ordinal:[H,Ue,pe,R]},gl:O,gsw:O,gu:{cardinal:[H,R],ordinal:[H,Ue,pe,fe,R]},guw:O,gv:{cardinal:[H,Ue,pe,fe,R],ordinal:[R]},ha:O,haw:O,he:Dn,hi:{cardinal:[H,R],ordinal:[H,Ue,pe,fe,R]},hnj:Ne,hr:{cardinal:[H,pe,R],ordinal:[R]},hsb:{cardinal:[H,Ue,pe,R],ordinal:[R]},hu:Mr,hy:Mr,ia:O,id:Ne,ig:Ne,ii:Ne,io:O,is:O,it:{cardinal:[H,fe,R],ordinal:[fe,R]},iu:Dn,ja:Ne,jbo:Ne,jgo:O,jmc:O,jv:Ne,jw:Ne,ka:{cardinal:[H,R],ordinal:[H,fe,R]},kab:O,kaj:O,kcg:O,kde:Ne,kea:Ne,kk:{cardinal:[H,R],ordinal:[fe,R]},kkj:O,kl:O,km:Ne,kn:O,ko:Ne,ks:O,ksb:O,ksh:{cardinal:[Wn,H,R],ordinal:[R]},ku:O,kw:{cardinal:[Wn,H,Ue,pe,fe,R],ordinal:[H,fe,R]},ky:O,lag:{cardinal:[Wn,H,R],ordinal:[R]},lb:O,lg:O,lij:{cardinal:[H,R],ordinal:[fe,R]},lkt:Ne,ln:O,lo:{cardinal:[R],ordinal:[H,R]},lt:{cardinal:[H,pe,fe,R],ordinal:[R]},lv:{cardinal:[Wn,H,R],ordinal:[R]},mas:O,mg:O,mgo:O,mk:{cardinal:[H,R],ordinal:[H,Ue,fe,R]},ml:O,mn:O,mo:{cardinal:[H,pe,R],ordinal:[H,R]},mr:{cardinal:[H,R],ordinal:[H,Ue,pe,R]},ms:{cardinal:[R],ordinal:[H,R]},mt:{cardinal:[H,Ue,pe,fe,R],ordinal:[R]},my:Ne,nah:O,naq:Dn,nb:O,nd:O,ne:Mr,nl:O,nn:O,nnh:O,no:O,nqo:Ne,nr:O,nso:O,ny:O,nyn:O,om:O,or:{cardinal:[H,R],ordinal:[H,Ue,pe,fe,R]},os:O,osa:Ne,pa:O,pap:O,pcm:O,pl:{cardinal:[H,pe,fe,R],ordinal:[R]},prg:{cardinal:[Wn,H,R],ordinal:[R]},ps:O,pt:{cardinal:[H,fe,R],ordinal:[R]},pt_PT:{cardinal:[H,fe,R],ordinal:[R]},rm:O,ro:{cardinal:[H,pe,R],ordinal:[H,R]},rof:O,ru:{cardinal:[H,pe,fe,R],ordinal:[R]},rwk:O,sah:Ne,saq:O,sat:Dn,sc:{cardinal:[H,R],ordinal:[fe,R]},scn:{cardinal:[H,R],ordinal:[fe,R]},sd:O,sdh:O,se:Dn,seh:O,ses:Ne,sg:Ne,sh:{cardinal:[H,pe,R],ordinal:[R]},shi:{cardinal:[H,pe,R],ordinal:[R]},si:O,sk:{cardinal:[H,pe,fe,R],ordinal:[R]},sl:{cardinal:[H,Ue,pe,R],ordinal:[R]},sma:Dn,smi:Dn,smj:Dn,smn:Dn,sms:Dn,sn:O,so:O,sq:{cardinal:[H,R],ordinal:[H,fe,R]},sr:{cardinal:[H,pe,R],ordinal:[R]},ss:O,ssy:O,st:O,su:Ne,sv:Mr,sw:O,syr:O,ta:O,te:O,teo:O,th:Ne,ti:O,tig:O,tk:{cardinal:[H,R],ordinal:[pe,R]},tl:Mr,tn:O,to:Ne,tpi:Ne,tr:O,ts:O,tzm:O,ug:O,uk:{cardinal:[H,pe,fe,R],ordinal:[pe,R]},und:Ne,ur:O,uz:O,ve:O,vec:{cardinal:[H,fe,R],ordinal:[fe,R]},vi:{cardinal:[R],ordinal:[H,R]},vo:O,vun:O,wa:O,wae:O,wo:Ne,xh:O,xog:O,yi:O,yo:Ne,yue:Ne,zh:Ne,zu:O});let q=(p,f)=>f?"other":p==1?"one":"other",Zn=(p,f)=>f?"other":p==0||p==1?"one":"other",aa=(p,f)=>f?"other":p>=0&&p<=1?"one":"other",tn=(p,f)=>{let v=String(p).split("."),y=!v[1];return f?"other":p==1&&y?"one":"other"},Te=(p,f)=>"other",Yn=(p,f)=>f?"other":p==1?"one":p==2?"two":"other";var co=Object.freeze({__proto__:null,af:q,ak:Zn,am:aa,an:q,ar:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-2);return f?"other":p==0?"zero":p==1?"one":p==2?"two":_>=3&&_<=10?"few":_>=11&&_<=99?"many":"other"},ars:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-2);return f?"other":p==0?"zero":p==1?"one":p==2?"two":_>=3&&_<=10?"few":_>=11&&_<=99?"many":"other"},as:(p,f)=>f?p==1||p==5||p==7||p==8||p==9||p==10?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",asa:q,ast:tn,az:(p,f)=>{let v=String(p).split("."),y=v[0],_=y.slice(-1),E=y.slice(-2),k=y.slice(-3);return f?_==1||_==2||_==5||_==7||_==8||E==20||E==50||E==70||E==80?"one":_==3||_==4||k==100||k==200||k==300||k==400||k==500||k==600||k==700||k==800||k==900?"few":y==0||_==6||E==40||E==60||E==90?"many":"other":p==1?"one":"other"},bal:(p,f)=>p==1?"one":"other",be:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-1),E=y&&v[0].slice(-2);return f?(_==2||_==3)&&E!=12&&E!=13?"few":"other":_==1&&E!=11?"one":_>=2&&_<=4&&(E<12||E>14)?"few":y&&_==0||_>=5&&_<=9||E>=11&&E<=14?"many":"other"},bem:q,bez:q,bg:q,bho:Zn,bm:Te,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:Te,br:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-1),E=y&&v[0].slice(-2),k=y&&v[0].slice(-6);return f?"other":_==1&&E!=11&&E!=71&&E!=91?"one":_==2&&E!=12&&E!=72&&E!=92?"two":(_==3||_==4||_==9)&&(E<10||E>19)&&(E<70||E>79)&&(E<90||E>99)?"few":p!=0&&y&&k==0?"many":"other"},brx:q,bs:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),C=y.slice(-2),T=_.slice(-1),F=_.slice(-2);return f?"other":E&&k==1&&C!=11||T==1&&F!=11?"one":E&&k>=2&&k<=4&&(C<12||C>14)||T>=2&&T<=4&&(F<12||F>14)?"few":"other"},ca:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?p==1||p==3?"one":p==2?"two":p==4?"few":"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},ce:q,ceb:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),C=_.slice(-1);return f?"other":E&&(y==1||y==2||y==3)||E&&k!=4&&k!=6&&k!=9||!E&&C!=4&&C!=6&&C!=9?"one":"other"},cgg:q,chr:q,ckb:q,cs:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1];return f?"other":p==1&&_?"one":y>=2&&y<=4&&_?"few":_?"other":"many"},cy:(p,f)=>f?p==0||p==7||p==8||p==9?"zero":p==1?"one":p==2?"two":p==3||p==4?"few":p==5||p==6?"many":"other":p==0?"zero":p==1?"one":p==2?"two":p==3?"few":p==6?"many":"other",da:(p,f)=>{let v=String(p).split("."),y=v[0],_=Number(v[0])==p;return f?"other":p==1||!_&&(y==0||y==1)?"one":"other"},de:tn,doi:aa,dsb:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-2),C=_.slice(-2);return f?"other":E&&k==1||C==1?"one":E&&k==2||C==2?"two":E&&(k==3||k==4)||C==3||C==4?"few":"other"},dv:q,dz:Te,ee:q,el:q,en:(p,f)=>{let v=String(p).split("."),y=!v[1],_=Number(v[0])==p,E=_&&v[0].slice(-1),k=_&&v[0].slice(-2);return f?E==1&&k!=11?"one":E==2&&k!=12?"two":E==3&&k!=13?"few":"other":p==1&&y?"one":"other"},eo:q,es:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?"other":p==1?"one":y!=0&&E==0&&_?"many":"other"},et:tn,eu:q,fa:aa,ff:(p,f)=>f?"other":p>=0&&p<2?"one":"other",fi:tn,fil:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),C=_.slice(-1);return f?p==1?"one":"other":E&&(y==1||y==2||y==3)||E&&k!=4&&k!=6&&k!=9||!E&&C!=4&&C!=6&&C!=9?"one":"other"},fo:q,fr:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?p==1?"one":"other":p>=0&&p<2?"one":y!=0&&E==0&&_?"many":"other"},fur:q,fy:tn,ga:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?p==1?"one":"other":p==1?"one":p==2?"two":y&&p>=3&&p<=6?"few":y&&p>=7&&p<=10?"many":"other"},gd:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?p==1||p==11?"one":p==2||p==12?"two":p==3||p==13?"few":"other":p==1||p==11?"one":p==2||p==12?"two":y&&p>=3&&p<=10||y&&p>=13&&p<=19?"few":"other"},gl:tn,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:Zn,gv:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-1),k=y.slice(-2);return f?"other":_&&E==1?"one":_&&E==2?"two":_&&(k==0||k==20||k==40||k==60||k==80)?"few":_?"other":"many"},ha:q,haw:q,he:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1];return f?"other":y==1&&_||y==0&&!_?"one":y==2&&_?"two":"other"},hi:(p,f)=>f?p==1?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",hnj:Te,hr:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),C=y.slice(-2),T=_.slice(-1),F=_.slice(-2);return f?"other":E&&k==1&&C!=11||T==1&&F!=11?"one":E&&k>=2&&k<=4&&(C<12||C>14)||T>=2&&T<=4&&(F<12||F>14)?"few":"other"},hsb:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-2),C=_.slice(-2);return f?"other":E&&k==1||C==1?"one":E&&k==2||C==2?"two":E&&(k==3||k==4)||C==3||C==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:tn,id:Te,ig:Te,ii:Te,io:tn,is:(p,f)=>{let v=String(p).split("."),y=v[0],_=(v[1]||"").replace(/0+$/,""),E=Number(v[0])==p,k=y.slice(-1),C=y.slice(-2);return f?"other":E&&k==1&&C!=11||_%10==1&&_%100!=11?"one":"other"},it:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},iu:Yn,ja:Te,jbo:Te,jgo:q,jmc:q,jv:Te,jw:Te,ka:(p,f)=>{let v=String(p).split("."),y=v[0],_=y.slice(-2);return f?y==1?"one":y==0||_>=2&&_<=20||_==40||_==60||_==80?"many":"other":p==1?"one":"other"},kab:(p,f)=>f?"other":p>=0&&p<2?"one":"other",kaj:q,kcg:q,kde:Te,kea:Te,kk:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-1);return f?_==6||_==9||y&&_==0&&p!=0?"many":"other":p==1?"one":"other"},kkj:q,kl:q,km:Te,kn:aa,ko:Te,ks:q,ksb:q,ksh:(p,f)=>f?"other":p==0?"zero":p==1?"one":"other",ku:q,kw:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-2),E=y&&v[0].slice(-3),k=y&&v[0].slice(-5),C=y&&v[0].slice(-6);return f?y&&p>=1&&p<=4||_>=1&&_<=4||_>=21&&_<=24||_>=41&&_<=44||_>=61&&_<=64||_>=81&&_<=84?"one":p==5||_==5?"many":"other":p==0?"zero":p==1?"one":_==2||_==22||_==42||_==62||_==82||y&&E==0&&(k>=1e3&&k<=2e4||k==4e4||k==6e4||k==8e4)||p!=0&&C==1e5?"two":_==3||_==23||_==43||_==63||_==83?"few":p!=1&&(_==1||_==21||_==41||_==61||_==81)?"many":"other"},ky:q,lag:(p,f)=>{let v=String(p).split("."),y=v[0];return f?"other":p==0?"zero":(y==0||y==1)&&p!=0?"one":"other"},lb:q,lg:q,lij:(p,f)=>{let v=String(p).split("."),y=!v[1],_=Number(v[0])==p;return f?p==11||p==8||_&&p>=80&&p<=89||_&&p>=800&&p<=899?"many":"other":p==1&&y?"one":"other"},lkt:Te,ln:Zn,lo:(p,f)=>f&&p==1?"one":"other",lt:(p,f)=>{let v=String(p).split("."),y=v[1]||"",_=Number(v[0])==p,E=_&&v[0].slice(-1),k=_&&v[0].slice(-2);return f?"other":E==1&&(k<11||k>19)?"one":E>=2&&E<=9&&(k<11||k>19)?"few":y!=0?"many":"other"},lv:(p,f)=>{let v=String(p).split("."),y=v[1]||"",_=y.length,E=Number(v[0])==p,k=E&&v[0].slice(-1),C=E&&v[0].slice(-2),T=y.slice(-2),F=y.slice(-1);return f?"other":E&&k==0||C>=11&&C<=19||_==2&&T>=11&&T<=19?"zero":k==1&&C!=11||_==2&&F==1&&T!=11||_!=2&&F==1?"one":"other"},mas:q,mg:Zn,mgo:q,mk:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),C=y.slice(-2),T=_.slice(-1),F=_.slice(-2);return f?k==1&&C!=11?"one":k==2&&C!=12?"two":(k==7||k==8)&&C!=17&&C!=18?"many":"other":E&&k==1&&C!=11||T==1&&F!=11?"one":"other"},ml:q,mn:q,mo:(p,f)=>{let v=String(p).split("."),y=!v[1],_=Number(v[0])==p,E=_&&v[0].slice(-2);return f?p==1?"one":"other":p==1&&y?"one":!y||p==0||p!=1&&E>=1&&E<=19?"few":"other"},mr:(p,f)=>f?p==1?"one":p==2||p==3?"two":p==4?"few":"other":p==1?"one":"other",ms:(p,f)=>f&&p==1?"one":"other",mt:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-2);return f?"other":p==1?"one":p==2?"two":p==0||_>=3&&_<=10?"few":_>=11&&_<=19?"many":"other"},my:Te,nah:q,naq:Yn,nb:q,nd:q,ne:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?y&&p>=1&&p<=4?"one":"other":p==1?"one":"other"},nl:tn,nn:q,nnh:q,no:q,nqo:Te,nr:q,nso:Zn,ny:q,nyn:q,om:q,or:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?p==1||p==5||y&&p>=7&&p<=9?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p==1?"one":"other"},os:q,osa:Te,pa:Zn,pap:q,pcm:aa,pl:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-1),k=y.slice(-2);return f?"other":p==1&&_?"one":_&&E>=2&&E<=4&&(k<12||k>14)?"few":_&&y!=1&&(E==0||E==1)||_&&E>=5&&E<=9||_&&k>=12&&k<=14?"many":"other"},prg:(p,f)=>{let v=String(p).split("."),y=v[1]||"",_=y.length,E=Number(v[0])==p,k=E&&v[0].slice(-1),C=E&&v[0].slice(-2),T=y.slice(-2),F=y.slice(-1);return f?"other":E&&k==0||C>=11&&C<=19||_==2&&T>=11&&T<=19?"zero":k==1&&C!=11||_==2&&F==1&&T!=11||_!=2&&F==1?"one":"other"},ps:q,pt:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?"other":y==0||y==1?"one":y!=0&&E==0&&_?"many":"other"},pt_PT:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},rm:q,ro:(p,f)=>{let v=String(p).split("."),y=!v[1],_=Number(v[0])==p,E=_&&v[0].slice(-2);return f?p==1?"one":"other":p==1&&y?"one":!y||p==0||p!=1&&E>=1&&E<=19?"few":"other"},rof:q,ru:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-1),k=y.slice(-2);return f?"other":_&&E==1&&k!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)?"few":_&&E==0||_&&E>=5&&E<=9||_&&k>=11&&k<=14?"many":"other"},rwk:q,sah:Te,saq:q,sat:Yn,sc:(p,f)=>{let v=String(p).split("."),y=!v[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&y?"one":"other"},scn:(p,f)=>{let v=String(p).split("."),y=!v[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&y?"one":"other"},sd:q,sdh:q,se:Yn,seh:q,ses:Te,sg:Te,sh:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),C=y.slice(-2),T=_.slice(-1),F=_.slice(-2);return f?"other":E&&k==1&&C!=11||T==1&&F!=11?"one":E&&k>=2&&k<=4&&(C<12||C>14)||T>=2&&T<=4&&(F<12||F>14)?"few":"other"},shi:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?"other":p>=0&&p<=1?"one":y&&p>=2&&p<=10?"few":"other"},si:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"";return f?"other":p==0||p==1||y==0&&_==1?"one":"other"},sk:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1];return f?"other":p==1&&_?"one":y>=2&&y<=4&&_?"few":_?"other":"many"},sl:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-2);return f?"other":_&&E==1?"one":_&&E==2?"two":_&&(E==3||E==4)||!_?"few":"other"},sma:Yn,smi:Yn,smj:Yn,smn:Yn,sms:Yn,sn:q,so:q,sq:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-1),E=y&&v[0].slice(-2);return f?p==1?"one":_==4&&E!=14?"many":"other":p==1?"one":"other"},sr:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),C=y.slice(-2),T=_.slice(-1),F=_.slice(-2);return f?"other":E&&k==1&&C!=11||T==1&&F!=11?"one":E&&k>=2&&k<=4&&(C<12||C>14)||T>=2&&T<=4&&(F<12||F>14)?"few":"other"},ss:q,ssy:q,st:q,su:Te,sv:(p,f)=>{let v=String(p).split("."),y=!v[1],_=Number(v[0])==p,E=_&&v[0].slice(-1),k=_&&v[0].slice(-2);return f?(E==1||E==2)&&k!=11&&k!=12?"one":"other":p==1&&y?"one":"other"},sw:tn,syr:q,ta:q,te:q,teo:q,th:Te,ti:Zn,tig:q,tk:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-1);return f?_==6||_==9||p==10?"few":"other":p==1?"one":"other"},tl:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),C=_.slice(-1);return f?p==1?"one":"other":E&&(y==1||y==2||y==3)||E&&k!=4&&k!=6&&k!=9||!E&&C!=4&&C!=6&&C!=9?"one":"other"},tn:q,to:Te,tpi:Te,tr:q,ts:q,tzm:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?"other":p==0||p==1||y&&p>=11&&p<=99?"one":"other"},ug:q,uk:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=Number(v[0])==p,k=E&&v[0].slice(-1),C=E&&v[0].slice(-2),T=y.slice(-1),F=y.slice(-2);return f?k==3&&C!=13?"few":"other":_&&T==1&&F!=11?"one":_&&T>=2&&T<=4&&(F<12||F>14)?"few":_&&T==0||_&&T>=5&&T<=9||_&&F>=11&&F<=14?"many":"other"},und:Te,ur:tn,uz:q,ve:q,vec:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},vi:(p,f)=>f&&p==1?"one":"other",vo:q,vun:q,wa:Zn,wae:q,wo:Te,xh:q,xog:q,yi:tn,yo:Te,yue:Te,zh:Te,zu:aa});function fl(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 ho(p){if(typeof p=="function"){var f=fl(p.name);return{isDefault:!1,id:mr(f),lc:f,locale:p.name,getPlural:p,cardinals:p.cardinals||[],ordinals:p.ordinals||[]}}var v=fl(p),y=mr(v);return gz(y)?{isDefault:!0,id:y,lc:v,locale:p,getCardinal:pz[y],getPlural:co[y],cardinals:th[y].cardinal,ordinals:th[y].ordinal}:null}function mz(p){var f=Object.keys(co).filter(function(v){return v!==p});return f.unshift(p),f.map(ho)}function fz(p){var f=fl(p);return mr(f)in co}function gz(p){return p in co}var vz=function(){function p(f,v){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:v&&v.strictNumberSign||!1,strictPluralKeys:!0},v),f==="*")this.plurals=mz(p.defaultLocale);else if(Array.isArray(f))this.plurals=f.map(ho).filter(Boolean);else if(f){var y=ho(f);y&&(this.plurals=[y])}if(this.plurals.length===0){var y=ho(p.defaultLocale);this.plurals=[y]}}return p.escape=function(f,v){var y=v?/[#{}]/g:/[{}]/g;return String(f).replace(y,"'$&'")},p.supportedLocalesOf=function(f){var v=Array.isArray(f)?f:[f];return v.filter(fz)},p.prototype.resolvedOptions=function(){return r(r({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},p.prototype.compile=function(f){var v,y,_=new hz(this.options),E="return "+_.compile(f,this.plurals[0]),k=[],C=[];try{for(var T=n(Object.entries(_.runtime)),F=T.next();!F.done;F=T.next()){var J=a(F.value,2),ie=J[0],ye=J[1];k.push(ie),C.push(ye)}}catch(qe){v={error:qe}}finally{try{F&&!F.done&&(y=T.return)&&y.call(T)}finally{if(v)throw v.error}}var W=new(Function.bind.apply(Function,i(i([void 0],a(k),!1),[E],!1)));return W.apply(void 0,i([],a(C),!1))},p.defaultLocale="en",p}();return vz})}),Qt=te(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 r=function n(a,i){t(this,n),this.data=a,this.text=i.text||a,this.options=i};e.default=r}),Tz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var t=function(){function S(N,L){for(var A=0;A<L.length;A++){var Y=L[A];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(N,Y.key,Y)}}return function(N,L,A){return L&&S(N.prototype,L),A&&S(N,A),N}}(),r=Qt(),n=a(r);function a(S){return S&&S.__esModule?S:{default:S}}function i(S,N){if(!(S instanceof N))throw new TypeError("Cannot call a class as a function")}function o(S,N){if(!S)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N&&(typeof N=="object"||typeof N=="function")?N:S}function l(S,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof N);S.prototype=Object.create(N&&N.prototype,{constructor:{value:S,enumerable:!1,writable:!0,configurable:!0}}),N&&(Object.setPrototypeOf?Object.setPrototypeOf(S,N):S.__proto__=N)}var h=function(S){l(N,S);function N(L,A){return i(this,N),L=L.toUpperCase(),A.mod43&&(L+=g(x(L))),o(this,(N.__proto__||Object.getPrototypeOf(N)).call(this,L,A))}return t(N,[{key:"encode",value:function(){for(var L=m("*"),A=0;A<this.data.length;A++)L+=m(this.data[A])+"0";return L+=m("*"),{data:L,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),N}(n.default),u=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","*"],c=[20957,29783,23639,30485,20951,29813,23669,20855,29789,23645,29975,23831,30533,22295,30149,24005,21623,29981,23837,22301,30023,23879,30545,22343,30161,24017,21959,30065,23921,22385,29015,18263,29141,17879,29045,18293,17783,29021,18269,17477,17489,17681,20753,35770];function m(S){return b(w(S))}function b(S){return c[S].toString(2)}function g(S){return u[S]}function w(S){return u.indexOf(S)}function x(S){for(var N=0,L=0;L<S.length;L++)N+=w(S[L]);return N=N%43,N}e.CODE39=h}),Ri=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t;function r(u,c,m){return c in u?Object.defineProperty(u,c,{value:m,enumerable:!0,configurable:!0,writable:!0}):u[c]=m,u}var n=e.SET_A=0,a=e.SET_B=1,i=e.SET_C=2;e.SHIFT=98;var o=e.START_A=103,l=e.START_B=104,h=e.START_C=105;e.MODULO=103,e.STOP=106,e.FNC1=207,e.SET_BY_CODE=(t={},r(t,o,n),r(t,l,a),r(t,h,i),t),e.SWAP={101:n,100:a,99:i},e.A_START_CHAR="Ð",e.B_START_CHAR="Ñ",e.C_START_CHAR="Ò",e.A_CHARS="[\0-_È-Ï]",e.B_CHARS="[ -È-Ï]",e.C_CHARS="(Ï*[0-9]{2}Ï*)",e.BARS=[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11011110110,11110110110,10101111e3,10100011110,10001011110,10111101e3,10111100010,11110101e3,11110100010,10111011110,10111101110,11101011110,11110101110,11010000100,1101001e4,11010011100,1100011101011]}),As=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&c(m.prototype,b),g&&c(m,g),m}}(),r=Qt(),n=i(r),a=Ri();function i(c){return c&&c.__esModule?c:{default:c}}function o(c,m){if(!(c instanceof m))throw new TypeError("Cannot call a class as a function")}function l(c,m){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:c}function h(c,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);c.prototype=Object.create(m&&m.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(c,m):c.__proto__=m)}var u=function(c){h(m,c);function m(b,g){o(this,m);var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b.substring(1),g));return w.bytes=b.split("").map(function(x){return x.charCodeAt(0)}),w}return t(m,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var b=this.bytes,g=b.shift()-105,w=a.SET_BY_CODE[g];if(w===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&b.unshift(a.FNC1);var x=m.next(b,1,w);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:m.getBar(g)+x.result+m.getBar((x.checksum+g)%a.MODULO)+m.getBar(a.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var b=this.options.ean128||!1;return typeof b=="string"&&(b=b.toLowerCase()==="true"),b}}],[{key:"getBar",value:function(b){return a.BARS[b]?a.BARS[b].toString():""}},{key:"correctIndex",value:function(b,g){if(g===a.SET_A){var w=b.shift();return w<32?w+64:w-32}else return g===a.SET_B?b.shift()-32:(b.shift()-48)*10+b.shift()-48}},{key:"next",value:function(b,g,w){if(!b.length)return{result:"",checksum:0};var x=void 0,S=void 0;if(b[0]>=200){S=b.shift()-105;var N=a.SWAP[S];N!==void 0?x=m.next(b,g+1,N):((w===a.SET_A||w===a.SET_B)&&S===a.SHIFT&&(b[0]=w===a.SET_A?b[0]>95?b[0]-96:b[0]:b[0]<32?b[0]+96:b[0]),x=m.next(b,g+1,w))}else S=m.correctIndex(b,w),x=m.next(b,g+1,w);var L=m.getBar(S),A=S*g;return{result:L+x.result,checksum:A+x.checksum}}}]),m}(n.default);e.default=u}),Mz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Ri(),r=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 i(l,h){var u=h?t.A_CHARS:t.B_CHARS,c=l.match(new RegExp("^("+u+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(c)return c[1]+"Ì"+o(l.substring(c[1].length));var m=l.match(new RegExp("^"+u+"+"))[0];return m.length===l.length?l:m+String.fromCharCode(h?205:206)+i(l.substring(m.length),!h)}function o(l){var h=a(l),u=h.length;if(u===l.length)return l;l=l.substring(u);var c=r(l)>=n(l);return h+String.fromCharCode(c?206:205)+i(l,c)}e.default=function(l){var h=void 0,u=a(l).length;if(u>=2)h=t.C_START_CHAR+o(l);else{var c=r(l)>n(l);h=(c?t.A_START_CHAR:t.B_START_CHAR)+i(l,c)}return h.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(m,b){return"Ë"+b})}}),Rz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=As(),r=i(t),n=Mz(),a=i(n);function i(c){return c&&c.__esModule?c:{default:c}}function o(c,m){if(!(c instanceof m))throw new TypeError("Cannot call a class as a function")}function l(c,m){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:c}function h(c,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);c.prototype=Object.create(m&&m.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(c,m):c.__proto__=m)}var u=function(c){h(m,c);function m(b,g){if(o(this,m),/^[\x00-\x7F\xC8-\xD3]+$/.test(b))var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,(0,a.default)(b),g));else var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b,g));return l(w)}return m}(r.default);e.default=u}),Oz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&c(m.prototype,b),g&&c(m,g),m}}(),r=As(),n=i(r),a=Ri();function i(c){return c&&c.__esModule?c:{default:c}}function o(c,m){if(!(c instanceof m))throw new TypeError("Cannot call a class as a function")}function l(c,m){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:c}function h(c,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);c.prototype=Object.create(m&&m.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(c,m):c.__proto__=m)}var u=function(c){h(m,c);function m(b,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.A_START_CHAR+b,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.A_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=u}),Pz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&c(m.prototype,b),g&&c(m,g),m}}(),r=As(),n=i(r),a=Ri();function i(c){return c&&c.__esModule?c:{default:c}}function o(c,m){if(!(c instanceof m))throw new TypeError("Cannot call a class as a function")}function l(c,m){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:c}function h(c,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);c.prototype=Object.create(m&&m.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(c,m):c.__proto__=m)}var u=function(c){h(m,c);function m(b,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.B_START_CHAR+b,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.B_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=u}),Az=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&c(m.prototype,b),g&&c(m,g),m}}(),r=As(),n=i(r),a=Ri();function i(c){return c&&c.__esModule?c:{default:c}}function o(c,m){if(!(c instanceof m))throw new TypeError("Cannot call a class as a function")}function l(c,m){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:c}function h(c,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);c.prototype=Object.create(m&&m.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(c,m):c.__proto__=m)}var u=function(c){h(m,c);function m(b,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.C_START_CHAR+b,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.C_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=u}),Lz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=Rz(),r=u(t),n=Oz(),a=u(n),i=Pz(),o=u(i),l=Az(),h=u(l);function u(c){return c&&c.__esModule?c:{default:c}}e.CODE128=r.default,e.CODE128A=a.default,e.CODE128B=o.default,e.CODE128C=h.default}),Oi=te(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"]}),Pi=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Oi(),r=function(n,a,i){var o=n.split("").map(function(h,u){return t.BINARIES[a[u]]}).map(function(h,u){return h?h[n[u]]:""});if(i){var l=n.length-1;o=o.map(function(h,u){return u<l?h+i:h})}return o.join("")};e.default=r}),ym=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var x=0;x<w.length;x++){var S=w[x];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,x){return w&&b(g.prototype,w),x&&b(g,x),g}}(),r=Oi(),n=Pi(),a=l(n),i=Qt(),o=l(i);function l(b){return b&&b.__esModule?b:{default:b}}function h(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function u(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function c(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var m=function(b){c(g,b);function g(w,x){h(this,g);var S=u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return S.fontSize=!x.flat&&x.fontSize>x.width*10?x.width*10:x.fontSize,S.guardHeight=x.height+S.fontSize/2+x.textMargin,S}return t(g,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(w,x){return this.text.substr(w,x)}},{key:"leftEncode",value:function(w,x){return(0,a.default)(w,x)}},{key:"rightText",value:function(w,x){return this.text.substr(w,x)}},{key:"rightEncode",value:function(w,x){return(0,a.default)(w,x)}},{key:"encodeGuarded",value:function(){var w={fontSize:this.fontSize},x={height:this.guardHeight};return[{data:r.SIDE_BIN,options:x},{data:this.leftEncode(),text:this.leftText(),options:w},{data:r.MIDDLE_BIN,options:x},{data:this.rightEncode(),text:this.rightText(),options:w},{data:r.SIDE_BIN,options:x}]}},{key:"encodeFlat",value:function(){var w=[r.SIDE_BIN,this.leftEncode(),r.MIDDLE_BIN,this.rightEncode(),r.SIDE_BIN];return{data:w.join(""),text:this.text}}}]),g}(o.default);e.default=m}),Fz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var x=0;x<w.length;x++){var S=w[x];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,x){return w&&b(g.prototype,w),x&&b(g,x),g}}(),r=function b(g,w,x){g===null&&(g=Function.prototype);var S=Object.getOwnPropertyDescriptor(g,w);if(S===void 0){var N=Object.getPrototypeOf(g);return N===null?void 0:b(N,w,x)}else{if("value"in S)return S.value;var L=S.get;return L===void 0?void 0:L.call(x)}},n=Oi(),a=ym(),i=o(a);function o(b){return b&&b.__esModule?b:{default:b}}function l(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function h(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function u(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var c=function(b){var g=b.substr(0,12).split("").map(function(w){return+w}).reduce(function(w,x,S){return S%2?w+x*3:w+x},0);return(10-g%10)%10},m=function(b){u(g,b);function g(w,x){l(this,g),w.search(/^[0-9]{12}$/)!==-1&&(w+=c(w));var S=h(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return S.lastChar=x.lastChar,S}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===c(this.data)}},{key:"leftText",value:function(){return r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var w=this.data.substr(1,6),x=n.EAN13_STRUCTURE[this.data[0]];return r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftEncode",this).call(this,w,x)}},{key:"rightText",value:function(){return r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var w=this.data.substr(7,6);return r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightEncode",this).call(this,w,"RRRRRR")}},{key:"encodeGuarded",value:function(){var w=r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(w.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(w.push({data:"00"}),w.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),w}}]),g}(i.default);e.default=m}),jz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function m(b,g){for(var w=0;w<g.length;w++){var x=g[w];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(b,x.key,x)}}return function(b,g,w){return g&&m(b.prototype,g),w&&m(b,w),b}}(),r=function m(b,g,w){b===null&&(b=Function.prototype);var x=Object.getOwnPropertyDescriptor(b,g);if(x===void 0){var S=Object.getPrototypeOf(b);return S===null?void 0:m(S,g,w)}else{if("value"in x)return x.value;var N=x.get;return N===void 0?void 0:N.call(w)}},n=ym(),a=i(n);function i(m){return m&&m.__esModule?m:{default:m}}function o(m,b){if(!(m instanceof b))throw new TypeError("Cannot call a class as a function")}function l(m,b){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:m}function h(m,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);m.prototype=Object.create(b&&b.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(m,b):m.__proto__=b)}var u=function(m){var b=m.substr(0,7).split("").map(function(g){return+g}).reduce(function(g,w,x){return x%2?g+w:g+w*3},0);return(10-b%10)%10},c=function(m){h(b,m);function b(g,w){return o(this,b),g.search(/^[0-9]{7}$/)!==-1&&(g+=u(g)),l(this,(b.__proto__||Object.getPrototypeOf(b)).call(this,g,w))}return t(b,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===u(this.data)}},{key:"leftText",value:function(){return r(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var g=this.data.substr(0,4);return r(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"leftEncode",this).call(this,g,"LLLL")}},{key:"rightText",value:function(){return r(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var g=this.data.substr(4,4);return r(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"rightEncode",this).call(this,g,"RRRR")}}]),b}(a.default);e.default=c}),Vz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function g(w,x){for(var S=0;S<x.length;S++){var N=x[S];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(w,N.key,N)}}return function(w,x,S){return x&&g(w.prototype,x),S&&g(w,S),w}}(),r=Oi(),n=Pi(),a=l(n),i=Qt(),o=l(i);function l(g){return g&&g.__esModule?g:{default:g}}function h(g,w){if(!(g instanceof w))throw new TypeError("Cannot call a class as a function")}function u(g,w){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w&&(typeof w=="object"||typeof w=="function")?w:g}function c(g,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);g.prototype=Object.create(w&&w.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(g,w):g.__proto__=w)}var m=function(g){var w=g.split("").map(function(x){return+x}).reduce(function(x,S,N){return N%2?x+S*9:x+S*3},0);return w%10},b=function(g){c(w,g);function w(x,S){return h(this,w),u(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,x,S))}return t(w,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var x=r.EAN5_STRUCTURE[m(this.data)];return{data:"1011"+(0,a.default)(this.data,x,"01"),text:this.text}}}]),w}(o.default);e.default=b}),Bz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var x=0;x<w.length;x++){var S=w[x];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,x){return w&&b(g.prototype,w),x&&b(g,x),g}}(),r=Oi(),n=Pi(),a=l(n),i=Qt(),o=l(i);function l(b){return b&&b.__esModule?b:{default:b}}function h(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function u(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function c(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var m=function(b){c(g,b);function g(w,x){return h(this,g),u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x))}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var w=r.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,a.default)(this.data,w,"01"),text:this.text}}}]),g}(o.default);e.default=m}),_m=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var x=0;x<w.length;x++){var S=w[x];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,x){return w&&b(g.prototype,w),x&&b(g,x),g}}();e.checksum=m;var r=Pi(),n=o(r),a=Qt(),i=o(a);function o(b){return b&&b.__esModule?b:{default:b}}function l(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function h(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function u(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var c=function(b){u(g,b);function g(w,x){l(this,g),w.search(/^[0-9]{11}$/)!==-1&&(w+=m(w));var S=h(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return S.displayValue=x.displayValue,x.fontSize>x.width*10?S.fontSize=x.width*10:S.fontSize=x.fontSize,S.guardHeight=x.height+S.fontSize/2+x.textMargin,S}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==m(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var w="";return w+="101",w+=(0,n.default)(this.data.substr(0,6),"LLLLLL"),w+="01010",w+=(0,n.default)(this.data.substr(6,6),"RRRRRR"),w+="101",{data:w,text:this.text}}},{key:"guardedEncoding",value:function(){var w=[];return this.displayValue&&w.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),w.push({data:"101"+(0,n.default)(this.data[0],"L"),options:{height:this.guardHeight}}),w.push({data:(0,n.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),w.push({data:"01010",options:{height:this.guardHeight}}),w.push({data:(0,n.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),w.push({data:(0,n.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&w.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),w}}]),g}(i.default);function m(b){var g=0,w;for(w=1;w<11;w+=2)g+=parseInt(b[w]);for(w=0;w<11;w+=2)g+=parseInt(b[w])*3;return(10-g%10)%10}e.default=c}),zz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function x(S,N){for(var L=0;L<N.length;L++){var A=N[L];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(S,A.key,A)}}return function(S,N,L){return N&&x(S.prototype,N),L&&x(S,L),S}}(),r=Pi(),n=l(r),a=Qt(),i=l(a),o=_m();function l(x){return x&&x.__esModule?x:{default:x}}function h(x,S){if(!(x instanceof S))throw new TypeError("Cannot call a class as a function")}function u(x,S){if(!x)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return S&&(typeof S=="object"||typeof S=="function")?S:x}function c(x,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof S);x.prototype=Object.create(S&&S.prototype,{constructor:{value:x,enumerable:!1,writable:!0,configurable:!0}}),S&&(Object.setPrototypeOf?Object.setPrototypeOf(x,S):x.__proto__=S)}var m=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],b=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],g=function(x){c(S,x);function S(N,L){h(this,S);var A=u(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,N,L));if(A.isValid=!1,N.search(/^[0-9]{6}$/)!==-1)A.middleDigits=N,A.upcA=w(N,"0"),A.text=L.text||""+A.upcA[0]+N+A.upcA[A.upcA.length-1],A.isValid=!0;else if(N.search(/^[01][0-9]{7}$/)!==-1)if(A.middleDigits=N.substring(1,N.length-1),A.upcA=w(A.middleDigits,N[0]),A.upcA[A.upcA.length-1]===N[N.length-1])A.isValid=!0;else return u(A);else return u(A);return A.displayValue=L.displayValue,L.fontSize>L.width*10?A.fontSize=L.width*10:A.fontSize=L.fontSize,A.guardHeight=L.height+A.fontSize/2+L.textMargin,A}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 N="";return N+="101",N+=this.encodeMiddleDigits(),N+="010101",{data:N,text:this.text}}},{key:"guardedEncoding",value:function(){var N=[];return this.displayValue&&N.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),N.push({data:"101",options:{height:this.guardHeight}}),N.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),N.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&N.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),N}},{key:"encodeMiddleDigits",value:function(){var N=this.upcA[0],L=this.upcA[this.upcA.length-1],A=b[parseInt(L)][parseInt(N)];return(0,n.default)(this.middleDigits,A)}}]),S}(i.default);function w(x,S){for(var N=parseInt(x[x.length-1]),L=m[N],A="",Y=0,ne=0;ne<L.length;ne++){var ue=L[ne];ue==="X"?A+=x[Y++]:A+=ue}return A=""+S+A,""+A+(0,o.checksum)(A)}e.default=g}),Hz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=Fz(),r=g(t),n=jz(),a=g(n),i=Vz(),o=g(i),l=Bz(),h=g(l),u=_m(),c=g(u),m=zz(),b=g(m);function g(w){return w&&w.__esModule?w:{default:w}}e.EAN13=r.default,e.EAN8=a.default,e.EAN5=o.default,e.EAN2=h.default,e.UPC=c.default,e.UPCE=b.default}),qz=te(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"]}),wm=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&c(m.prototype,b),g&&c(m,g),m}}(),r=qz(),n=Qt(),a=i(n);function i(c){return c&&c.__esModule?c:{default:c}}function o(c,m){if(!(c instanceof m))throw new TypeError("Cannot call a class as a function")}function l(c,m){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:c}function h(c,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);c.prototype=Object.create(m&&m.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(c,m):c.__proto__=m)}var u=function(c){h(m,c);function m(){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return t(m,[{key:"valid",value:function(){return this.data.search(/^([0-9]{2})+$/)!==-1}},{key:"encode",value:function(){var b=this,g=this.data.match(/.{2}/g).map(function(w){return b.encodePair(w)}).join("");return{data:r.START_BIN+g+r.END_BIN,text:this.text}}},{key:"encodePair",value:function(b){var g=r.BINARIES[b[1]];return r.BINARIES[b[0]].split("").map(function(w,x){return(w==="1"?"111":"1")+(g[x]==="1"?"000":"0")}).join("")}}]),m}(a.default);e.default=u}),$z=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&c(m.prototype,b),g&&c(m,g),m}}(),r=wm(),n=a(r);function a(c){return c&&c.__esModule?c:{default:c}}function i(c,m){if(!(c instanceof m))throw new TypeError("Cannot call a class as a function")}function o(c,m){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:c}function l(c,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);c.prototype=Object.create(m&&m.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(c,m):c.__proto__=m)}var h=function(c){var m=c.substr(0,13).split("").map(function(b){return parseInt(b,10)}).reduce(function(b,g,w){return b+g*(3-w%2*2)},0);return Math.ceil(m/10)*10-m},u=function(c){l(m,c);function m(b,g){return i(this,m),b.search(/^[0-9]{13}$/)!==-1&&(b+=h(b)),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b,g))}return t(m,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===h(this.data)}}]),m}(n.default);e.default=u}),Gz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=wm(),r=i(t),n=$z(),a=i(n);function i(o){return o&&o.__esModule?o:{default:o}}e.ITF=r.default,e.ITF14=a.default}),Ai=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&c(m.prototype,b),g&&c(m,g),m}}(),r=Qt(),n=a(r);function a(c){return c&&c.__esModule?c:{default:c}}function i(c,m){if(!(c instanceof m))throw new TypeError("Cannot call a class as a function")}function o(c,m){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:c}function l(c,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);c.prototype=Object.create(m&&m.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(c,m):c.__proto__=m)}var h=function(c){l(m,c);function m(b,g){return i(this,m),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b,g))}return t(m,[{key:"encode",value:function(){for(var b="110",g=0;g<this.data.length;g++){var w=parseInt(this.data[g]),x=w.toString(2);x=u(x,4-x.length);for(var S=0;S<x.length;S++)b+=x[S]=="0"?"100":"110"}return b+="1001",{data:b,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),m}(n.default);function u(c,m){for(var b=0;b<m;b++)c="0"+c;return c}e.default=h}),Ls=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.mod10=t,e.mod11=r;function t(n){for(var a=0,i=0;i<n.length;i++){var o=parseInt(n[i]);(i+n.length)%2===0?a+=o:a+=o*2%10+Math.floor(o*2/10)}return(10-a%10)%10}function r(n){for(var a=0,i=[2,3,4,5,6,7],o=0;o<n.length;o++){var l=parseInt(n[n.length-1-o]);a+=i[o%i.length]*l}return(11-a%11)%11}}),Uz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Ai(),r=a(t),n=Ls();function a(u){return u&&u.__esModule?u:{default:u}}function i(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function o(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function l(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var h=function(u){l(c,u);function c(m,b){return i(this,c),o(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,m+(0,n.mod10)(m),b))}return c}(r.default);e.default=h}),Wz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Ai(),r=a(t),n=Ls();function a(u){return u&&u.__esModule?u:{default:u}}function i(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function o(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function l(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var h=function(u){l(c,u);function c(m,b){return i(this,c),o(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,m+(0,n.mod11)(m),b))}return c}(r.default);e.default=h}),Zz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Ai(),r=a(t),n=Ls();function a(u){return u&&u.__esModule?u:{default:u}}function i(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function o(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function l(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var h=function(u){l(c,u);function c(m,b){return i(this,c),m+=(0,n.mod10)(m),m+=(0,n.mod10)(m),o(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,m,b))}return c}(r.default);e.default=h}),Yz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Ai(),r=a(t),n=Ls();function a(u){return u&&u.__esModule?u:{default:u}}function i(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function o(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function l(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var h=function(u){l(c,u);function c(m,b){return i(this,c),m+=(0,n.mod11)(m),m+=(0,n.mod10)(m),o(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,m,b))}return c}(r.default);e.default=h}),Kz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var t=Ai(),r=m(t),n=Uz(),a=m(n),i=Wz(),o=m(i),l=Zz(),h=m(l),u=Yz(),c=m(u);function m(b){return b&&b.__esModule?b:{default:b}}e.MSI=r.default,e.MSI10=a.default,e.MSI11=o.default,e.MSI1010=h.default,e.MSI1110=c.default}),Qz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.pharmacode=void 0;var t=function(){function u(c,m){for(var b=0;b<m.length;b++){var g=m[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(c,g.key,g)}}return function(c,m,b){return m&&u(c.prototype,m),b&&u(c,b),c}}(),r=Qt(),n=a(r);function a(u){return u&&u.__esModule?u:{default:u}}function i(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function o(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function l(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var h=function(u){l(c,u);function c(m,b){i(this,c);var g=o(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,m,b));return g.number=parseInt(m,10),g}return t(c,[{key:"encode",value:function(){for(var m=this.number,b="";!isNaN(m)&&m!=0;)m%2===0?(b="11100"+b,m=(m-2)/2):(b="100"+b,m=(m-1)/2);return b=b.slice(0,-2),{data:b,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),c}(n.default);e.pharmacode=h}),Jz=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codabar=void 0;var t=function(){function u(c,m){for(var b=0;b<m.length;b++){var g=m[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(c,g.key,g)}}return function(c,m,b){return m&&u(c.prototype,m),b&&u(c,b),c}}(),r=Qt(),n=a(r);function a(u){return u&&u.__esModule?u:{default:u}}function i(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function o(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function l(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var h=function(u){l(c,u);function c(m,b){i(this,c),m.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(m="A"+m+"A");var g=o(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,m.toUpperCase(),b));return g.text=g.options.text||g.text.replace(/[A-D]/g,""),g}return t(c,[{key:"valid",value:function(){return this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)!==-1}},{key:"encode",value:function(){for(var m=[],b=this.getEncodings(),g=0;g<this.data.length;g++)m.push(b[this.data.charAt(g)]),g!==this.data.length-1&&m.push("0");return{text:this.text,data:m.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"1011011011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),c}(n.default);e.codabar=h}),Xz=te(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"]}}),xm=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&c(m.prototype,b),g&&c(m,g),m}}(),r=Xz(),n=Qt(),a=i(n);function i(c){return c&&c.__esModule?c:{default:c}}function o(c,m){if(!(c instanceof m))throw new TypeError("Cannot call a class as a function")}function l(c,m){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:c}function h(c,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);c.prototype=Object.create(m&&m.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(c,m):c.__proto__=m)}var u=function(c){h(m,c);function m(b,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b,g))}return t(m,[{key:"valid",value:function(){return/^[0-9A-Z\-. $/+%]+$/.test(this.data)}},{key:"encode",value:function(){var b=this.data.split("").flatMap(function(S){return r.MULTI_SYMBOLS[S]||S}),g=b.map(function(S){return m.getEncoding(S)}).join(""),w=m.checksum(b,20),x=m.checksum(b.concat(w),15);return{text:this.text,data:m.getEncoding("ÿ")+g+m.getEncoding(w)+m.getEncoding(x)+m.getEncoding("ÿ")+"1"}}}],[{key:"getEncoding",value:function(b){return r.BINARIES[m.symbolValue(b)]}},{key:"getSymbol",value:function(b){return r.SYMBOLS[b]}},{key:"symbolValue",value:function(b){return r.SYMBOLS.indexOf(b)}},{key:"checksum",value:function(b,g){var w=b.slice().reverse().reduce(function(x,S,N){var L=N%g+1;return x+m.symbolValue(S)*L},0);return m.getSymbol(w%47)}}]),m}(a.default);e.default=u}),e4=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(c,m){for(var b=0;b<m.length;b++){var g=m[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(c,g.key,g)}}return function(c,m,b){return m&&u(c.prototype,m),b&&u(c,b),c}}(),r=xm(),n=a(r);function a(u){return u&&u.__esModule?u:{default:u}}function i(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function o(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function l(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var h=function(u){l(c,u);function c(m,b){return i(this,c),o(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,m,b))}return t(c,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),c}(n.default);e.default=h}),t4=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE93FullASCII=e.CODE93=void 0;var t=xm(),r=i(t),n=e4(),a=i(n);function i(o){return o&&o.__esModule?o:{default:o}}e.CODE93=r.default,e.CODE93FullASCII=a.default}),n4=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GenericBarcode=void 0;var t=function(){function u(c,m){for(var b=0;b<m.length;b++){var g=m[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(c,g.key,g)}}return function(c,m,b){return m&&u(c.prototype,m),b&&u(c,b),c}}(),r=Qt(),n=a(r);function a(u){return u&&u.__esModule?u:{default:u}}function i(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function o(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function l(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var h=function(u){l(c,u);function c(m,b){return i(this,c),o(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,m,b))}return t(c,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),c}(n.default);e.GenericBarcode=h}),r4=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Tz(),r=Lz(),n=Hz(),a=Gz(),i=Kz(),o=Qz(),l=Jz(),h=t4(),u=n4();e.default={CODE39:t.CODE39,CODE128:r.CODE128,CODE128A:r.CODE128A,CODE128B:r.CODE128B,CODE128C:r.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:i.MSI,MSI10:i.MSI10,MSI11:i.MSI11,MSI1010:i.MSI1010,MSI1110:i.MSI1110,pharmacode:o.pharmacode,codabar:l.codabar,CODE93:h.CODE93,CODE93FullASCII:h.CODE93FullASCII,GenericBarcode:u.GenericBarcode}}),Fs=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(r){for(var n=1;n<arguments.length;n++){var a=arguments[n];for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(r[i]=a[i])}return r};e.default=function(r,n){return t({},r,n)}}),a4=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){var n=[];function a(i){if(Array.isArray(i))for(var o=0;o<i.length;o++)a(i[o]);else i.text=i.text||"",i.data=i.data||"",n.push(i)}return a(r),n}}),i4=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.marginTop=r.marginTop||r.margin,r.marginBottom=r.marginBottom||r.margin,r.marginRight=r.marginRight||r.margin,r.marginLeft=r.marginLeft||r.margin,r}}),Em=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){var n=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var a in n)n.hasOwnProperty(a)&&(a=n[a],typeof r[a]=="string"&&(r[a]=parseInt(r[a],10)));return typeof r.displayValue=="string"&&(r.displayValue=r.displayValue!="false"),r}}),Sm=te(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}),o4=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Em(),r=i(t),n=Sm(),a=i(n);function i(l){return l&&l.__esModule?l:{default:l}}function o(l){var h={};for(var u in a.default)a.default.hasOwnProperty(u)&&(l.hasAttribute("jsbarcode-"+u.toLowerCase())&&(h[u]=l.getAttribute("jsbarcode-"+u.toLowerCase())),l.hasAttribute("data-"+u.toLowerCase())&&(h[u]=l.getAttribute("data-"+u.toLowerCase())));return h.value=l.getAttribute("jsbarcode-value")||l.getAttribute("data-value"),h=(0,r.default)(h),h}e.default=o}),km=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var t=Fs(),r=n(t);function n(c){return c&&c.__esModule?c:{default:c}}function a(c,m){return m.height+(m.displayValue&&c.text.length>0?m.fontSize+m.textMargin:0)+m.marginTop+m.marginBottom}function i(c,m,b){if(b.displayValue&&m<c){if(b.textAlign=="center")return Math.floor((c-m)/2);if(b.textAlign=="left")return 0;if(b.textAlign=="right")return Math.floor(c-m)}return 0}function o(c,m,b){for(var g=0;g<c.length;g++){var w=c[g],x=(0,r.default)(m,w.options),S;x.displayValue?S=u(w.text,x,b):S=0;var N=w.data.length*x.width;w.width=Math.ceil(Math.max(S,N)),w.height=a(w,x),w.barcodePadding=i(S,N,x)}}function l(c){for(var m=0,b=0;b<c.length;b++)m+=c[b].width;return m}function h(c){for(var m=0,b=0;b<c.length;b++)c[b].height>m&&(m=c[b].height);return m}function u(c,m,b){var g;if(b)g=b;else if(typeof document<"u")g=document.createElement("canvas").getContext("2d");else return 0;g.font=m.fontOptions+" "+m.fontSize+"px "+m.font;var w=g.measureText(c);if(!w)return 0;var x=w.width;return x}e.getMaximumHeightOfEncodings=h,e.getEncodingHeight=a,e.getBarcodePadding=i,e.calculateEncodingAttributes=o,e.getTotalWidthOfEncodings=l}),s4=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(u,c){for(var m=0;m<c.length;m++){var b=c[m];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(u,b.key,b)}}return function(u,c,m){return c&&h(u.prototype,c),m&&h(u,m),u}}(),r=Fs(),n=i(r),a=km();function i(h){return h&&h.__esModule?h:{default:h}}function o(h,u){if(!(h instanceof u))throw new TypeError("Cannot call a class as a function")}var l=function(){function h(u,c,m){o(this,h),this.canvas=u,this.encodings=c,this.options=m}return t(h,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var u=0;u<this.encodings.length;u++){var c=(0,n.default)(this.options,this.encodings[u].options);this.drawCanvasBarcode(c,this.encodings[u]),this.drawCanvasText(c,this.encodings[u]),this.moveCanvasDrawing(this.encodings[u])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var u=this.canvas.getContext("2d");u.save(),(0,a.calculateEncodingAttributes)(this.encodings,this.options,u);var c=(0,a.getTotalWidthOfEncodings)(this.encodings),m=(0,a.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=c+this.options.marginLeft+this.options.marginRight,this.canvas.height=m,u.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(u.fillStyle=this.options.background,u.fillRect(0,0,this.canvas.width,this.canvas.height)),u.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(u,c){var m=this.canvas.getContext("2d"),b=c.data,g;u.textPosition=="top"?g=u.marginTop+u.fontSize+u.textMargin:g=u.marginTop,m.fillStyle=u.lineColor;for(var w=0;w<b.length;w++){var x=w*u.width+c.barcodePadding;b[w]==="1"?m.fillRect(x,g,u.width,u.height):b[w]&&m.fillRect(x,g,u.width,u.height*b[w])}}},{key:"drawCanvasText",value:function(u,c){var m=this.canvas.getContext("2d"),b=u.fontOptions+" "+u.fontSize+"px "+u.font;if(u.displayValue){var g,w;u.textPosition=="top"?w=u.marginTop+u.fontSize-u.textMargin:w=u.height+u.textMargin+u.marginTop+u.fontSize,m.font=b,u.textAlign=="left"||c.barcodePadding>0?(g=0,m.textAlign="left"):u.textAlign=="right"?(g=c.width-1,m.textAlign="right"):(g=c.width/2,m.textAlign="center"),m.fillText(c.text,g,w)}}},{key:"moveCanvasDrawing",value:function(u){var c=this.canvas.getContext("2d");c.translate(u.width,0)}},{key:"restoreCanvas",value:function(){var u=this.canvas.getContext("2d");u.restore()}}]),h}();e.default=l}),l4=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(c,m){for(var b=0;b<m.length;b++){var g=m[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(c,g.key,g)}}return function(c,m,b){return m&&u(c.prototype,m),b&&u(c,b),c}}(),r=Fs(),n=i(r),a=km();function i(u){return u&&u.__esModule?u:{default:u}}function o(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}var l="http://www.w3.org/2000/svg",h=function(){function u(c,m,b){o(this,u),this.svg=c,this.encodings=m,this.options=b,this.document=b.xmlDocument||document}return t(u,[{key:"render",value:function(){var c=this.options.marginLeft;this.prepareSVG();for(var m=0;m<this.encodings.length;m++){var b=this.encodings[m],g=(0,n.default)(this.options,b.options),w=this.createGroup(c,g.marginTop,this.svg);this.setGroupOptions(w,g),this.drawSvgBarcode(w,g,b),this.drawSVGText(w,g,b),c+=b.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,a.calculateEncodingAttributes)(this.encodings,this.options);var c=(0,a.getTotalWidthOfEncodings)(this.encodings),m=(0,a.getMaximumHeightOfEncodings)(this.encodings),b=c+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(b,m),this.options.background&&this.drawRect(0,0,b,m,this.svg).setAttribute("style","fill:"+this.options.background+";")}},{key:"drawSvgBarcode",value:function(c,m,b){var g=b.data,w;m.textPosition=="top"?w=m.fontSize+m.textMargin:w=0;for(var x=0,S=0,N=0;N<g.length;N++)S=N*m.width+b.barcodePadding,g[N]==="1"?x++:x>0&&(this.drawRect(S-m.width*x,w,m.width*x,m.height,c),x=0);x>0&&this.drawRect(S-m.width*(x-1),w,m.width*x,m.height,c)}},{key:"drawSVGText",value:function(c,m,b){var g=this.document.createElementNS(l,"text");if(m.displayValue){var w,x;g.setAttribute("style","font:"+m.fontOptions+" "+m.fontSize+"px "+m.font),m.textPosition=="top"?x=m.fontSize-m.textMargin:x=m.height+m.textMargin+m.fontSize,m.textAlign=="left"||b.barcodePadding>0?(w=0,g.setAttribute("text-anchor","start")):m.textAlign=="right"?(w=b.width-1,g.setAttribute("text-anchor","end")):(w=b.width/2,g.setAttribute("text-anchor","middle")),g.setAttribute("x",w),g.setAttribute("y",x),g.appendChild(this.document.createTextNode(b.text)),c.appendChild(g)}}},{key:"setSvgAttributes",value:function(c,m){var b=this.svg;b.setAttribute("width",c+"px"),b.setAttribute("height",m+"px"),b.setAttribute("x","0px"),b.setAttribute("y","0px"),b.setAttribute("viewBox","0 0 "+c+" "+m),b.setAttribute("xmlns",l),b.setAttribute("version","1.1"),b.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(c,m,b){var g=this.document.createElementNS(l,"g");return g.setAttribute("transform","translate("+c+", "+m+")"),b.appendChild(g),g}},{key:"setGroupOptions",value:function(c,m){c.setAttribute("style","fill:"+m.lineColor+";")}},{key:"drawRect",value:function(c,m,b,g,w){var x=this.document.createElementNS(l,"rect");return x.setAttribute("x",c),x.setAttribute("y",m),x.setAttribute("width",b),x.setAttribute("height",g),w.appendChild(x),x}}]),u}();e.default=h}),u4=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(i,o){for(var l=0;l<o.length;l++){var h=o[l];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(i,h.key,h)}}return function(i,o,l){return o&&a(i.prototype,o),l&&a(i,l),i}}();function r(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")}var n=function(){function a(i,o,l){r(this,a),this.object=i,this.encodings=o,this.options=l}return t(a,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),a}();e.default=n}),c4=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=s4(),r=l(t),n=l4(),a=l(n),i=u4(),o=l(i);function l(h){return h&&h.__esModule?h:{default:h}}e.default={CanvasRenderer:r.default,SVGRenderer:a.default,ObjectRenderer:o.default}}),Cm=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(l,h){if(!(l instanceof h))throw new TypeError("Cannot call a class as a function")}function r(l,h){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:l}function n(l,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);l.prototype=Object.create(h&&h.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(l,h):l.__proto__=h)}var a=function(l){n(h,l);function h(u,c){t(this,h);var m=r(this,(h.__proto__||Object.getPrototypeOf(h)).call(this));return m.name="InvalidInputException",m.symbology=u,m.input=c,m.message='"'+m.input+'" is not a valid input for '+m.symbology,m}return h}(Error),i=function(l){n(h,l);function h(){t(this,h);var u=r(this,(h.__proto__||Object.getPrototypeOf(h)).call(this));return u.name="InvalidElementException",u.message="Not supported type to render on",u}return h}(Error),o=function(l){n(h,l);function h(){t(this,h);var u=r(this,(h.__proto__||Object.getPrototypeOf(h)).call(this));return u.name="NoElementException",u.message="No element to render on.",u}return h}(Error);e.InvalidInputException=a,e.InvalidElementException=i,e.NoElementException=o}),d4=te(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},r=o4(),n=l(r),a=c4(),i=l(a),o=Cm();function l(m){return m&&m.__esModule?m:{default:m}}function h(m){if(typeof m=="string")return u(m);if(Array.isArray(m)){for(var b=[],g=0;g<m.length;g++)b.push(h(m[g]));return b}else{if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLImageElement)return c(m);if(m&&m.nodeName&&m.nodeName.toLowerCase()==="svg"||typeof SVGElement<"u"&&m instanceof SVGElement)return{element:m,options:(0,n.default)(m),renderer:i.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLCanvasElement)return{element:m,options:(0,n.default)(m),renderer:i.default.CanvasRenderer};if(m&&m.getContext)return{element:m,renderer:i.default.CanvasRenderer};if(m&&(typeof m>"u"?"undefined":t(m))==="object"&&!m.nodeName)return{element:m,renderer:i.default.ObjectRenderer};throw new o.InvalidElementException}}function u(m){var b=document.querySelectorAll(m);if(b.length!==0){for(var g=[],w=0;w<b.length;w++)g.push(h(b[w]));return g}}function c(m){var b=document.createElement("canvas");return{element:b,options:(0,n.default)(m),renderer:i.default.CanvasRenderer,afterRender:function(){m.setAttribute("src",b.toDataURL())}}}e.default=h}),h4=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(i,o){for(var l=0;l<o.length;l++){var h=o[l];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(i,h.key,h)}}return function(i,o,l){return o&&a(i.prototype,o),l&&a(i,l),i}}();function r(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")}var n=function(){function a(i){r(this,a),this.api=i}return t(a,[{key:"handleCatch",value:function(i){if(i.name==="InvalidInputException")if(this.api._options.valid!==this.api._defaults.valid)this.api._options.valid(!1);else throw i.message;else throw i;this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(i){try{var o=i.apply(void 0,arguments);return this.api._options.valid(!0),o}catch(l){return this.handleCatch(l),this.api}}}]),a}();e.default=n}),p4=te((e,t)=>{var r=r4(),n=A(r),a=Fs(),i=A(a),o=a4(),l=A(o),h=i4(),u=A(h),c=d4(),m=A(c),b=Em(),g=A(b),w=h4(),x=A(w),S=Cm(),N=Sm(),L=A(N);function A(Z){return Z&&Z.__esModule?Z:{default:Z}}var Y=function(){},ne=function(Z,z,de){var P=new Y;if(typeof Z>"u")throw Error("No element to render on was provided.");return P._renderProperties=(0,m.default)(Z),P._encodings=[],P._options=L.default,P._errorHandler=new x.default(P),typeof z<"u"&&(de=de||{},de.format||(de.format=ze()),P.options(de)[de.format](z,de).render()),P};ne.getModule=function(Z){return n.default[Z]};for(ue in n.default)n.default.hasOwnProperty(ue)&&dt(n.default,ue);var ue;function dt(Z,z){Y.prototype[z]=Y.prototype[z.toUpperCase()]=Y.prototype[z.toLowerCase()]=function(de,P){var j=this;return j._errorHandler.wrapBarcodeCall(function(){P.text=typeof P.text>"u"?void 0:""+P.text;var G=(0,i.default)(j._options,P);G=(0,g.default)(G);var ve=Z[z],Ve=tt(de,ve,G);return j._encodings.push(Ve),j})}}function tt(Z,z,de){Z=""+Z;var P=new z(Z,de);if(!P.valid())throw new S.InvalidInputException(P.constructor.name,Z);var j=P.encode();j=(0,l.default)(j);for(var G=0;G<j.length;G++)j[G].options=(0,i.default)(de,j[G].options);return j}function ze(){return n.default.CODE128?"CODE128":Object.keys(n.default)[0]}Y.prototype.options=function(Z){return this._options=(0,i.default)(this._options,Z),this},Y.prototype.blank=function(Z){var z=new Array(Z+1).join("0");return this._encodings.push({data:z}),this},Y.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var Z;for(var z in this._renderProperties){Z=this._renderProperties[z];var de=(0,i.default)(this._options,Z.options);de.format=="auto"&&(de.format=ze()),this._errorHandler.wrapBarcodeCall(function(){var P=de.value,j=n.default[de.format.toUpperCase()],G=tt(P,j,de);ot(Z,G,de)})}}},Y.prototype.render=function(){if(!this._renderProperties)throw new S.NoElementException;if(Array.isArray(this._renderProperties))for(var Z=0;Z<this._renderProperties.length;Z++)ot(this._renderProperties[Z],this._encodings,this._options);else ot(this._renderProperties,this._encodings,this._options);return this},Y.prototype._defaults=L.default;function ot(Z,z,de){z=(0,l.default)(z);for(var P=0;P<z.length;P++)z[P].options=(0,i.default)(de,z[P].options),(0,u.default)(z[P].options);(0,u.default)(de);var j=Z.renderer,G=new j(Z.element,z,de);G.render(),Z.afterRender&&Z.afterRender()}typeof window<"u"&&(window.JsBarcode=ne),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(Z,z){var de=[];return jQuery(this).each(function(){de.push(this)}),ne(de,Z,z)}),t.exports=ne});function Im(e,t){return Object.is(e,t)}var rt=null,jo=!1,pc=1,mc=Symbol("SIGNAL");function xe(e){let t=rt;return rt=e,t}function m4(){return rt}var js={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 Dm(e){if(jo)throw new Error("");if(rt===null)return;rt.consumerOnSignalRead(e);let t=rt.nextProducerIndex++;if(Bs(rt),t<rt.producerNode.length&&rt.producerNode[t]!==e&&gi(rt)){let r=rt.producerNode[t];Vs(r,rt.producerIndexOfThis[t])}rt.producerNode[t]!==e&&(rt.producerNode[t]=e,rt.producerIndexOfThis[t]=gi(rt)?Pm(e,rt,t):0),rt.producerLastReadVersion[t]=e.version}function f4(){pc++}function Nm(e){if(!(gi(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===pc)){if(!e.producerMustRecompute(e)&&!Rm(e)){sh(e);return}e.producerRecomputeValue(e),sh(e)}}function Tm(e){if(e.liveConsumerNode===void 0)return;let t=jo;jo=!0;try{for(let r of e.liveConsumerNode)r.dirty||v4(r)}finally{jo=t}}function g4(){return(rt==null?void 0:rt.consumerAllowSignalWrites)!==!1}function v4(e){var t;e.dirty=!0,Tm(e),(t=e.consumerMarkedDirty)==null||t.call(e,e)}function sh(e){e.dirty=!1,e.lastCleanEpoch=pc}function ou(e){return e&&(e.nextProducerIndex=0),xe(e)}function Mm(e,t){if(xe(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(gi(e))for(let r=e.nextProducerIndex;r<e.producerNode.length;r++)Vs(e.producerNode[r],e.producerIndexOfThis[r]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Rm(e){Bs(e);for(let t=0;t<e.producerNode.length;t++){let r=e.producerNode[t],n=e.producerLastReadVersion[t];if(n!==r.version||(Nm(r),n!==r.version))return!0}return!1}function Om(e){if(Bs(e),gi(e))for(let t=0;t<e.producerNode.length;t++)Vs(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 Pm(e,t,r){if(Am(e),e.liveConsumerNode.length===0&&Lm(e))for(let n=0;n<e.producerNode.length;n++)e.producerIndexOfThis[n]=Pm(e.producerNode[n],e,n);return e.liveConsumerIndexOfThis.push(r),e.liveConsumerNode.push(t)-1}function Vs(e,t){if(Am(e),e.liveConsumerNode.length===1&&Lm(e))for(let n=0;n<e.producerNode.length;n++)Vs(e.producerNode[n],e.producerIndexOfThis[n]);let r=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[r],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[r],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let n=e.liveConsumerIndexOfThis[t],a=e.liveConsumerNode[t];Bs(a),a.producerIndexOfThis[n]=t}}function gi(e){var t;return e.consumerIsAlwaysLive||(((t=e==null?void 0:e.liveConsumerNode)==null?void 0:t.length)??0)>0}function Bs(e){e.producerNode??(e.producerNode=[]),e.producerIndexOfThis??(e.producerIndexOfThis=[]),e.producerLastReadVersion??(e.producerLastReadVersion=[])}function Am(e){e.liveConsumerNode??(e.liveConsumerNode=[]),e.liveConsumerIndexOfThis??(e.liveConsumerIndexOfThis=[])}function Lm(e){return e.producerNode!==void 0}function b4(e,t){let r=Object.create(y4);r.computation=e;let n=()=>{if(Nm(r),Dm(r),r.value===Vo)throw r.error;return r.value};return n[mc]=r,n}var gl=Symbol("UNSET"),vl=Symbol("COMPUTING"),Vo=Symbol("ERRORED"),y4=Kt(ge({},js),{value:gl,dirty:!0,error:null,equal:Im,kind:"computed",producerMustRecompute(e){return e.value===gl||e.value===vl},producerRecomputeValue(e){if(e.value===vl)throw new Error("Detected cycle in computations.");let t=e.value;e.value=vl;let r=ou(e),n,a=!1;try{n=e.computation(),xe(null),a=t!==gl&&t!==Vo&&n!==Vo&&e.equal(t,n)}catch(i){n=Vo,e.error=i}finally{Mm(e,r)}if(a){e.value=t;return}e.value=n,e.version++}});function _4(){throw new Error}var Fm=_4;function w4(e){Fm(e)}function x4(e){Fm=e}function E4(e,t){g4()||w4(e),e.equal(e.value,t)||(e.value=t,k4(e))}var S4=Kt(ge({},js),{equal:Im,value:void 0,kind:"signal"});function k4(e){e.version++,f4(),Tm(e)}function C4(e){let t=xe(null);try{return e()}finally{xe(t)}}var su;function Bo(){return su}function vr(e){let t=su;return su=e,t}var jm=Symbol("NotFound");function $e(e){return typeof e=="function"}function Vm(e){let t=e(r=>{Error.call(r),r.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var bl=Vm(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
5
+ })()`}var ul=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function zB(p){return p&&p.__esModule&&Object.prototype.hasOwnProperty.call(p,"default")?p.default:p}var Wa={},Zd={},Yd={exports:{}};(function(p){(function(f,v){p.exports?p.exports=v():f.moo=v()})(ul,function(){var f=Object.prototype.hasOwnProperty,v=Object.prototype.toString,y=typeof new RegExp().sticky=="boolean";function _(M){return M&&v.call(M)==="[object RegExp]"}function E(M){return M&&typeof M=="object"&&!_(M)&&!Array.isArray(M)}function k(M){return M.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function C(M){var z=new RegExp("|"+M);return z.exec("").length-1}function T(M){return"("+M+")"}function F(M){if(!M.length)return"(?!)";var z=M.map(function(K){return"(?:"+K+")"}).join("|");return"(?:"+z+")"}function J(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 ie(M,z){return M.length>z?M:Array(z-M.length+1).join(" ")+M}function ye(M,z){for(var K=M.length,X=0;;){var ce=M.lastIndexOf(`
6
+ `,K-1);if(ce===-1||(X++,K=ce,X===z)||K===0)break}var ae=X<z?0:K+1;return M.substring(ae).split(`
7
+ `)}function W(M){for(var z=Object.getOwnPropertyNames(M),K=[],X=0;X<z.length;X++){var ce=z[X],ae=M[ce],Se=[].concat(ae);if(ce==="include"){for(var Ze=0;Ze<Se.length;Ze++)K.push({include:Se[Ze]});continue}var Oe=[];Se.forEach(function(se){E(se)?(Oe.length&&K.push(nt(ce,Oe)),K.push(nt(ce,se)),Oe=[]):Oe.push(se)}),Oe.length&&K.push(nt(ce,Oe))}return K}function qe(M){for(var z=[],K=0;K<M.length;K++){var X=M[K];if(X.include){for(var ce=[].concat(X.include),ae=0;ae<ce.length;ae++)z.push({include:ce[ae]});continue}if(!X.type)throw new Error("Rule has no type: "+JSON.stringify(X));z.push(nt(X.type,X))}return z}function nt(M,z){if(E(z)||(z={match:z}),z.include)throw new Error("Matching rules cannot also include states");var K={defaultType:M,lineBreaks:!!z.error||!!z.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var X in z)f.call(z,X)&&(K[X]=z[X]);if(typeof K.type=="string"&&M!==K.type)throw new Error("Type transform cannot be a string (type '"+K.type+"' for token '"+M+"')");var ce=K.match;return K.match=Array.isArray(ce)?ce:ce?[ce]:[],K.match.sort(function(ae,Se){return _(ae)&&_(Se)?0:_(Se)?-1:_(ae)?1:Se.length-ae.length}),K}function pt(M){return Array.isArray(M)?qe(M):W(M)}var At=nt("error",{lineBreaks:!0,shouldThrow:!0});function fn(M,z){for(var K=null,X=Object.create(null),ce=!0,ae=null,Se=[],Ze=[],Oe=0;Oe<M.length;Oe++)M[Oe].fallback&&(ce=!1);for(var Oe=0;Oe<M.length;Oe++){var se=M[Oe];if(se.include)throw new Error("Inheritance is not allowed in stateless lexers");if(se.error||se.fallback){if(K)throw!se.fallback==!K.fallback?new Error("Multiple "+(se.fallback?"fallback":"error")+" rules not allowed (for token '"+se.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+se.defaultType+"')");K=se}var st=se.match.slice();if(ce)for(;st.length&&typeof st[0]=="string"&&st[0].length===1;){var ia=st.shift();X[ia.charCodeAt(0)]=se}if(se.pop||se.push||se.next){if(!z)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+se.defaultType+"')");if(se.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+se.defaultType+"')")}if(st.length!==0){ce=!1,Se.push(se);for(var Tn=0;Tn<st.length;Tn++){var Or=st[Tn];if(_(Or)){if(ae===null)ae=Or.unicode;else if(ae!==Or.unicode&&se.fallback===!1)throw new Error("If one rule is /u then all must be")}}var oa=F(st.map(J)),gn=new RegExp(oa);if(gn.test(""))throw new Error("RegExp matches empty string: "+gn);var Ya=C(oa);if(Ya>0)throw new Error("RegExp has capture groups: "+gn+`
8
+ Use (?: … ) instead`);if(!se.lineBreaks&&gn.test(`
9
+ `))throw new Error("Rule should declare lineBreaks: "+gn);Ze.push(T(oa))}}var sa=K&&K.fallback,Ka=y&&!sa?"ym":"gm",fo=y||sa?"":"|";ae===!0&&(Ka+="u");var y3=new RegExp(F(Ze)+fo,Ka);return{regexp:y3,groups:Se,fast:X,error:K||At}}function fr(M){var z=fn(pt(M));return new Xe({start:z},"start")}function Kn(M,z,K){var X=M&&(M.push||M.next);if(X&&!K[X])throw new Error("Missing state '"+X+"' (in token '"+M.defaultType+"' of state '"+z+"')");if(M&&M.pop&&+M.pop!=1)throw new Error("pop must be 1 (in token '"+M.defaultType+"' of state '"+z+"')")}function Qn(M,z){var K=M.$all?pt(M.$all):[];delete M.$all;var X=Object.getOwnPropertyNames(M);z||(z=X[0]);for(var ce=Object.create(null),ae=0;ae<X.length;ae++){var Se=X[ae];ce[Se]=pt(M[Se]).concat(K)}for(var ae=0;ae<X.length;ae++)for(var Se=X[ae],Ze=ce[Se],Oe=Object.create(null),se=0;se<Ze.length;se++){var st=Ze[se];if(st.include){var ia=[se,1];if(st.include!==Se&&!Oe[st.include]){Oe[st.include]=!0;var Tn=ce[st.include];if(!Tn)throw new Error("Cannot include nonexistent state '"+st.include+"' (in state '"+Se+"')");for(var Or=0;Or<Tn.length;Or++){var oa=Tn[Or];Ze.indexOf(oa)===-1&&ia.push(oa)}}Ze.splice.apply(Ze,ia),se--}}for(var gn=Object.create(null),ae=0;ae<X.length;ae++){var Se=X[ae];gn[Se]=fn(ce[Se],!0)}for(var ae=0;ae<X.length;ae++){for(var Ya=X[ae],sa=gn[Ya],Ka=sa.groups,se=0;se<Ka.length;se++)Kn(Ka[se],Ya,gn);for(var fo=Object.getOwnPropertyNames(sa.fast),se=0;se<fo.length;se++)Kn(sa.fast[fo[se]],Ya,gn)}return new Xe(gn,z)}function Jn(M){for(var z=typeof Map<"u",K=z?new Map:Object.create(null),X=Object.getOwnPropertyNames(M),ce=0;ce<X.length;ce++){var ae=X[ce],Se=M[ae],Ze=Array.isArray(Se)?Se:[Se];Ze.forEach(function(Oe){if(typeof Oe!="string")throw new Error("keyword must be string (in keyword '"+ae+"')");z?K.set(Oe,ae):K[Oe]=ae})}return function(Oe){return z?K.get(Oe):K[Oe]}}var Xe=function(M,z){this.startState=z,this.states=M,this.buffer="",this.stack=[],this.reset()};Xe.prototype.reset=function(M,z){return this.buffer=M||"",this.index=0,this.line=z?z.line:1,this.col=z?z.col:1,this.queuedToken=z?z.queuedToken:null,this.queuedText=z?z.queuedText:"",this.queuedThrow=z?z.queuedThrow:null,this.setState(z?z.state:this.startState),this.stack=z&&z.stack?z.stack.slice():[],this},Xe.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}},Xe.prototype.setState=function(M){if(!(!M||this.state===M)){this.state=M;var z=this.states[M];this.groups=z.groups,this.error=z.error,this.re=z.regexp,this.fast=z.fast}},Xe.prototype.popState=function(){this.setState(this.stack.pop())},Xe.prototype.pushState=function(M){this.stack.push(this.state),this.setState(M)};var po=y?function(M,z){return M.exec(z)}:function(M,z){var K=M.exec(z);return K[0].length===0?null:K};Xe.prototype._getGroup=function(M){for(var z=this.groups.length,K=0;K<z;K++)if(M[K+1]!==void 0)return this.groups[K];throw new Error("Cannot find token type for matched text")};function mo(){return this.value}if(Xe.prototype.next=function(){var M=this.index;if(this.queuedGroup){var z=this._token(this.queuedGroup,this.queuedText,M);return this.queuedGroup=null,this.queuedText="",z}var K=this.buffer;if(M!==K.length){var Se=this.fast[K.charCodeAt(M)];if(Se)return this._token(Se,K.charAt(M),M);var X=this.re;X.lastIndex=M;var ce=po(X,K),ae=this.error;if(ce==null)return this._token(ae,K.slice(M,K.length),M);var Se=this._getGroup(ce),Ze=ce[0];return ae.fallback&&ce.index!==M?(this.queuedGroup=Se,this.queuedText=Ze,this._token(ae,K.slice(M,ce.index),M)):this._token(Se,Ze,M)}},Xe.prototype._token=function(M,z,K){var X=0;if(M.lineBreaks){var ce=/\n/g,ae=1;if(z===`
10
+ `)X=1;else for(;ce.exec(z);)X++,ae=ce.lastIndex}var Se={type:typeof M.type=="function"&&M.type(z)||M.defaultType,value:typeof M.value=="function"?M.value(z):z,text:z,toString:mo,offset:K,lineBreaks:X,line:this.line,col:this.col},Ze=z.length;if(this.index+=Ze,this.line+=X,X!==0?this.col=Ze-ae+1:this.col+=Ze,M.shouldThrow){var Oe=new Error(this.formatError(Se,"invalid syntax"));throw Oe}return M.pop?this.popState():M.push?this.pushState(M.push):M.next&&this.setState(M.next),Se},typeof Symbol<"u"&&Symbol.iterator){var Xn=function(M){this.lexer=M};Xn.prototype.next=function(){var M=this.lexer.next();return{value:M,done:!M}},Xn.prototype[Symbol.iterator]=function(){return this},Xe.prototype[Symbol.iterator]=function(){return new Xn(this)}}return Xe.prototype.formatError=function(X,z){if(X==null)var K=this.buffer.slice(this.index),X={text:K,offset:this.index,lineBreaks:K.indexOf(`
11
+ `)===-1?0:1,line:this.line,col:this.col};var ce=2,ae=Math.max(X.line-ce,1),Se=X.line+ce,Ze=String(Se).length,Oe=ye(this.buffer,this.line-X.line+ce+1).slice(0,5),se=[];se.push(z+" at line "+X.line+" col "+X.col+":"),se.push("");for(var st=0;st<Oe.length;st++){var ia=Oe[st],Tn=ae+st;se.push(ie(String(Tn),Ze)+" "+ia),Tn===X.line&&se.push(ie("",Ze+X.col+1)+"^")}return se.join(`
12
+ `)},Xe.prototype.clone=function(){return new Xe(this.states,this.state)},Xe.prototype.has=function(M){return!0},{compile:fr,states:Qn,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:Jn}})})(Yd);var BB=Yd.exports;(function(p){var f=ul&&ul.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(p,"__esModule",{value:!0}),p.lexer=p.states=void 0;let v=f(BB);p.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^]*?[^'])?'(?!')/u,value:y=>y.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:y=>y.substring(1).trim()},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/[^][^{}#']*/u}},arg:{select:{lineBreaks:!0,match:/,\s*(?:plural|select|selectordinal)\s*,\s*/u,next:"select",value:y=>y.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:y=>y.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:y=>y.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:y=>y.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:y=>y.substring(0,y.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},p.lexer=v.default.states(p.states)})(Zd),Object.defineProperty(Wa,"__esModule",{value:!0});var Kd=Wa.parse=Wa.ParseError=void 0;let Qd=Zd,lo=p=>({offset:p.offset,line:p.line,col:p.col,text:p.text,lineBreaks:p.lineBreaks}),cl=p=>p==="plural"||p==="select"||p==="selectordinal";function HB(p,f){let v="",y="";for(let _ of f){let E=_.ctx.text;switch(y+=E,_.type){case"content":v+=_.value;break;case"argument":case"function":case"octothorpe":v+=E;break;default:throw new yt(p,`Unsupported part in strict mode function arg style: ${E}`)}}return[{type:"content",value:v.trim(),ctx:Object.assign({},f[0].ctx,{text:y})}]}let qB=["number","date","time","spellout","ordinal","duration"],Jd=["zero","one","two","few","many","other"];class yt extends Error{constructor(f,v){super(Qd.lexer.formatError(f,v))}}Wa.ParseError=yt;class $B{constructor(f,v){var y,_,E,k;this.lexer=Qd.lexer.reset(f),this.cardinalKeys=(y=v==null?void 0:v.cardinal)!==null&&y!==void 0?y:Jd,this.ordinalKeys=(_=v==null?void 0:v.ordinal)!==null&&_!==void 0?_:Jd,this.strict=(E=v==null?void 0:v.strict)!==null&&E!==void 0?E:!1,this.strictPluralKeys=(k=v==null?void 0:v.strictPluralKeys)!==null&&k!==void 0?k:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(f,v,y){if(y[0]==="="){if(v==="select")throw new yt(f,`The case ${y} is not valid with select`)}else if(v!=="select"){let _=v==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&_.length>0&&!_.includes(y)){let E=`The ${v} case ${y} is not valid in this locale`;throw new yt(f,E)}}}parseSelect(f,v,y,_){let{value:E}=f,k={type:_,arg:E,cases:[],ctx:y};_==="plural"||_==="selectordinal"?v=!0:this.strict&&(v=!1);for(let C of this.lexer)switch(C.type){case"offset":if(_==="select")throw new yt(C,"Unexpected plural offset for select");if(k.cases.length>0)throw new yt(C,"Plural offset must be set before cases");k.pluralOffset=Number(C.value),y.text+=C.text,y.lineBreaks+=C.lineBreaks;break;case"case":{this.checkSelectKey(C,_,C.value),k.cases.push({key:C.value,tokens:this.parseBody(v),ctx:lo(C)});break}case"end":return k;default:throw new yt(C,`Unexpected lexer token: ${C.type}`)}throw new yt(null,"Unexpected message end")}parseArgToken(f,v){let y=lo(f),_=this.lexer.next();if(!_)throw new yt(null,"Unexpected message end");if(y.text+=_.text,y.lineBreaks+=_.lineBreaks,this.strict&&(_.type==="func-simple"||_.type==="func-args")&&!qB.includes(_.value)){let E=`Invalid strict mode function arg type: ${_.value}`;throw new yt(f,E)}switch(_.type){case"end":return{type:"argument",arg:f.value,ctx:y};case"func-simple":{let E=this.lexer.next();if(!E)throw new yt(null,"Unexpected message end");if(E.type!=="end")throw new yt(E,`Unexpected lexer token: ${E.type}`);if(y.text+=E.text,cl(_.value.toLowerCase()))throw new yt(_,`Invalid type identifier: ${_.value}`);return{type:"function",arg:f.value,key:_.value,ctx:y}}case"func-args":{if(cl(_.value.toLowerCase())){let k=`Invalid type identifier: ${_.value}`;throw new yt(_,k)}let E=this.parseBody(this.strict?!1:v);return this.strict&&E.length>0&&(E=HB(f,E)),{type:"function",arg:f.value,key:_.value,param:E,ctx:y}}case"select":if(cl(_.value))return this.parseSelect(f,v,y,_.value);throw new yt(_,`Unexpected select type ${_.value}`);default:throw new yt(_,`Unexpected lexer token: ${_.type}`)}}parseBody(f,v){let y=[],_=null;for(let E of this.lexer)if(E.type==="argument")_&&(_=null),y.push(this.parseArgToken(E,f));else if(E.type==="octothorpe"&&f)_&&(_=null),y.push({type:"octothorpe",ctx:lo(E)});else{if(E.type==="end"&&!v)return y;{let k=E.value;if(!f&&E.type==="quoted"&&k[0]==="#"){if(k.includes("{")){let C=`Unsupported escape pattern: ${k}`;throw new yt(E,C)}k=E.text}_?(_.value+=k,_.ctx.text+=E.text,_.ctx.lineBreaks+=E.lineBreaks):(_={type:"content",value:k,ctx:lo(E)},y.push(_))}}if(v)return y;throw new yt(null,"Unexpected message end")}}function GB(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new $B(p,f).parse()}Kd=Wa.parse=GB;function Za(p){return Za[p]||(Za[p]=new Intl.NumberFormat(p))}function UB(p,f,v){return Za(p).format(f-v)}function WB(p,f,v,y){var _=f-v;if(isNaN(_))throw new Error("`"+y+"` or its offset is not a number");return Za(p).format(_)}function ZB(p,f,v,y,_){if({}.hasOwnProperty.call(y,p))return y[p];f&&(p-=f);var E=v(p,_);return E in y?y[E]:y.other}function YB(p,f){return{}.hasOwnProperty.call(f,p)?f[p]:f.other}function KB(p,f){for(var v=0;v<p.length;++v)if(!f||f[p[v]]===void 0)throw new Error("Message requires argument '".concat(p[v],"'"))}var QB=Object.freeze({__proto__:null,_nf:Za,number:UB,plural:ZB,reqArgs:KB,select:YB,strictNumber:WB});function JB(p,f,v){var y={day:"numeric",month:"short",year:"numeric"};switch(v){case"full":y.weekday="long";case"long":y.month="long";break;case"short":y.month="numeric"}return new Date(p).toLocaleDateString(f,y)}function XB(p){if(typeof p!="number"&&(p=Number(p)),!isFinite(p))return String(p);var f="";p<0?(f="-",p=Math.abs(p)):p=Number(p);var v=p%60,y=[Math.round(v)===v?v:v.toFixed(3)];p<60?y.unshift(0):(p=Math.round((p-Number(y[0]))/60),y.unshift(p%60),p>=60&&(p=Math.round((p-Number(y[0]))/60),y.unshift(p)));var _=y.shift();return f+_+":"+y.map(function(E){return Number(E)<10?"0"+String(E):String(E)}).join(":")}var dl={};function uo(p,f){var v=String(p)+JSON.stringify(f);return dl[v]||(dl[v]=new Intl.NumberFormat(p,f)),dl[v]}function e3(p,f,v,y){var _=v&&v.split(":")||[],E=_[0],k=_[1],C={integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:k&&k.trim()||y,minimumFractionDigits:2,maximumFractionDigits:2}};return uo(f,C[E]||{}).format(p)}var t3=function(p,f,v){return uo(f,{style:"currency",currency:v,minimumFractionDigits:2,maximumFractionDigits:2}).format(p)},n3=function(p,f){return uo(f,{maximumFractionDigits:0}).format(p)},r3=function(p,f){return uo(f,{style:"percent"}).format(p)};function a3(p,f,v){var y={second:"numeric",minute:"numeric",hour:"numeric"};switch(v){case"full":case"long":y.timeZoneName="short";break;case"short":delete y.second}return new Date(p).toLocaleTimeString(f,y)}var hl=Object.freeze({__proto__:null,date:JB,duration:XB,numberCurrency:t3,numberFmt:e3,numberInteger:n3,numberPercent:r3,time:a3}),i3={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}},pl=zB(i3);function o3(p){let f=0;for(let v=0;v<p.length;++v){let y=p.charCodeAt(v);f=(f<<5)-f+y,f|=0}return f}function mr(p,f){f&&(p+=" "+o3(p).toString(36));let v=p.trim().replace(/\W+/g,"_");return pl.ES3[v]||pl.ESnext[v]||/^\d/.test(v)?"_"+v:v}function ml(p,f){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(f)&&!pl.ES3[f])return p?p+"."+f:f;{let v=JSON.stringify(f);return p?p+"["+v+"]":v}}var s3=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],l3=new RegExp("^"+s3.join("|^"));function u3(p,f){var v=l3.test(f),y=JSON.stringify(v?"‏":"‎");return"".concat(y," + ").concat(p," + ").concat(y)}var c3="@messageformat/runtime",d3="@messageformat/runtime/lib/cardinals",Xd="@messageformat/runtime/lib/plurals",h3="@messageformat/runtime/lib/formatters",p3=function(){function p(f){this.arguments=[],this.runtime={},this.options=f}return p.prototype.compile=function(f,v,y){var _,E,k=this,C=this.options,T=C.localeCodeFromKey,F=C.requireAllArguments,J=C.strict,ie=C.strictPluralKeys;if(typeof f=="object"){var ye={};try{for(var W=n(Object.keys(f)),qe=W.next();!qe.done;qe=W.next()){var nt=qe.value,pt=T?T(nt):nt,At=y&&pt&&y[pt]||v;ye[nt]=this.compile(f[nt],At,y)}}catch(Xe){_={error:Xe}}finally{try{qe&&!qe.done&&(E=W.return)&&E.call(W)}finally{if(_)throw _.error}}return ye}this.plural=v;var fn={cardinal:v.cardinals,ordinal:v.ordinals,strict:J,strictPluralKeys:ie};this.arguments=[];var fr=Kd(f,fn).map(function(Xe){return k.token(Xe,null)}),Kn=this.arguments.length>0,Qn=this.concatenate(fr,!0);if(F&&Kn){this.setRuntimeFn("reqArgs");var Jn=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(Jn,", d); return ").concat(Qn,"; }")}return"(".concat(Kn?"d":"",") => ").concat(Qn)},p.prototype.cases=function(f,v){var y=this,_=!0,E=f.cases.map(function(J){var ie=J.key,ye=J.tokens;ie==="other"&&(_=!1);var W=ye.map(function(qe){return y.token(qe,v)});return"".concat(ml(null,ie.replace(/^=/,"")),": ").concat(y.concatenate(W,!1))});if(_){var k=f.type,C=this.plural,T=C.cardinals,F=C.ordinals;if(k==="select"||k==="plural"&&T.includes("other")||k==="selectordinal"&&F.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(f)))}return"{ ".concat(E.join(", ")," }")},p.prototype.concatenate=function(f,v){var y=this.options.returnType==="values";return y&&(v||f.length>1)?"["+f.join(", ")+"]":f.join(" + ")||'""'},p.prototype.token=function(f,v){if(f.type==="content")return JSON.stringify(f.value);var y=this.plural,_=y.id,E=y.lc,k,C;switch("arg"in f?(this.arguments.push(f.arg),k=[ml("d",f.arg)]):k=[],f.type){case"argument":return this.options.biDiSupport?u3(String(k[0]),E):String(k[0]);case"select":C="select",v&&this.options.strict&&(v=null),k.push(this.cases(f,v)),this.setRuntimeFn("select");break;case"selectordinal":C="plural",k.push(f.pluralOffset||0,_,this.cases(f,f),1),this.setLocale(_,!0),this.setRuntimeFn("plural");break;case"plural":C="plural",k.push(f.pluralOffset||0,_,this.cases(f,f)),this.setLocale(_,!1),this.setRuntimeFn("plural");break;case"function":{var T=this.options.customFormatters[f.key],F=T&&"module"in T&&typeof T.module=="function";if(!T){if(f.key==="date"){C=this.setDateFormatter(f,k,v);break}else if(f.key==="number"){C=this.setNumberFormatter(f,k,v);break}}if(k.push(JSON.stringify(this.plural.locale)),f.param){v&&this.options.strict&&(v=null);var J=this.getFormatterArg(f,v);J&&k.push(J)}C=F?mr("".concat(f.key,"__").concat(this.plural.locale)):f.key,this.setFormatter(C,f.key);break}case"octothorpe":if(!v)return'"#"';k=[JSON.stringify(this.plural.locale),ml("d",v.arg),v.pluralOffset||0],this.options.strict?(C="strictNumber",k.push(JSON.stringify(v.arg)),this.setRuntimeFn("strictNumber")):(C="number",this.setRuntimeFn("number"));break}if(!C)throw new Error("Parser error for token "+JSON.stringify(f));return"".concat(C,"(").concat(k.join(", "),")")},p.prototype.runtimeIncludes=function(f,v){if(mr(f)!==f)throw new SyntaxError("Reserved word used as ".concat(v," identifier: ").concat(f));var y=this.runtime[f];if(!y||y.type===v)return y;throw new TypeError("Cannot override ".concat(y.type," runtime function as ").concat(v,": ").concat(f))},p.prototype.setLocale=function(f,v){var y=this.runtimeIncludes(f,"locale"),_=this.plural,E=_.getCardinal,k=_.getPlural,C=_.isDefault,T,F,J;if(!v&&C&&E){if(y)return;T=function(ie){return E(ie)},F=d3,J=function(){return String(E)}}else{if(y&&(!C||y.module===Xd))return;T=function(ie,ye){return k(ie,ye)},F=C?Xd:k.module||null,J=function(){return String(k)}}this.runtime[f]=Object.assign(T,{id:f,module:F,toString:J,type:"locale"})},p.prototype.setRuntimeFn=function(f){this.runtimeIncludes(f,"runtime")||(this.runtime[f]=Object.assign(QB[f],{id:f,module:c3,type:"runtime"}))},p.prototype.getFormatterArg=function(f,v){var y,_,E,k,C=this,T=f.key,F=f.param,J=this.options.customFormatters[T]||eh(T)&&hl[T];if(!J||!F)return null;var ie="arg"in J&&J.arg||"string";if(ie==="options"){var ye="";try{for(var W=n(F),qe=W.next();!qe.done;qe=W.next()){var nt=qe.value;if(nt.type==="content")ye+=nt.value;else throw new SyntaxError("Expected literal options for ".concat(T," formatter"))}}catch(Xn){y={error:Xn}}finally{try{qe&&!qe.done&&(_=W.return)&&_.call(W)}finally{if(y)throw y.error}}var pt={};try{for(var At=n(ye.split(",")),fn=At.next();!fn.done;fn=At.next()){var fr=fn.value,Kn=fr.indexOf(":");if(Kn===-1)pt[fr.trim()]=null;else{var Qn=fr.substring(0,Kn).trim(),Jn=fr.substring(Kn+1).trim();if(Jn==="true")pt[Qn]=!0;else if(Jn==="false")pt[Qn]=!1;else if(Jn==="null")pt[Qn]=null;else{var Xe=Number(Jn);pt[Qn]=Number.isFinite(Xe)?Xe:Jn}}}}catch(Xn){E={error:Xn}}finally{try{fn&&!fn.done&&(k=At.return)&&k.call(At)}finally{if(E)throw E.error}}return JSON.stringify(pt)}else{var po=F.map(function(Xn){return C.token(Xn,v)});if(ie==="raw")return"[".concat(po.join(", "),"]");var mo=po.join(" + ");return mo?"(".concat(mo,").trim()"):'""'}},p.prototype.setFormatter=function(f,v){if(!this.runtimeIncludes(f,"formatter")){var y=this.options.customFormatters[v||f];if(y){var _=typeof y=="function"?{formatter:y}:y;this.runtime[f]=Object.assign(_.formatter.bind({}),r(r({},_.formatter.prototype),{toString:function(){return String(_.formatter)}}),{type:"formatter"},"module"in y&&y.module&&y.id?{id:mr(y.id),module:typeof y.module=="function"?y.module(this.plural.locale):y.module}:{id:null,module:null})}else if(eh(f))this.runtime[f]=Object.assign(hl[f],{type:"formatter"},{id:f,module:h3});else throw new Error("Formatting function not found: ".concat(f))}},p.prototype.setDateFormatter=function(f,v,y){var _=this,E=f.param,k=this.plural.locale,C=E&&E.length===1&&E[0];if(C&&C.type==="content"&&/^\s*::/.test(C.value)){var T=C.value.trim().substr(2),F=mr("date_".concat(k,"_").concat(T),!0);if(!this.runtimeIncludes(F,"formatter")){var J=dt(k,T,this.options.timeZone);this.runtime[F]=Object.assign(J,{id:F,module:null,toString:function(){return tt(k,T,_.options.timeZone)},type:"formatter"})}return F}if(v.push(JSON.stringify(k)),E&&E.length>0){y&&this.options.strict&&(y=null);var ie=E.map(function(ye){return _.token(ye,y)});v.push("("+(ie.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},p.prototype.setNumberFormatter=function(f,v,y){var _=this,E=f.param,k=this.plural.locale;if(!E||E.length===0)return v.unshift(JSON.stringify(k)),v.push("0"),this.setRuntimeFn("number"),"number";if(v.push(JSON.stringify(k)),E.length===1&&E[0].type==="content"){var C=E[0].value.trim();switch(C){case"currency":return v.push(JSON.stringify(this.options.currency)),this.setFormatter("numberCurrency"),"numberCurrency";case"integer":return this.setFormatter("numberInteger"),"numberInteger";case"percent":return this.setFormatter("numberPercent"),"numberPercent"}var T=C.match(/^currency:([A-Z]+)$/);if(T)return v.push(JSON.stringify(T[1])),this.setFormatter("numberCurrency"),"numberCurrency";var F=mr("number_".concat(k,"_").concat(C),!0);if(!this.runtimeIncludes(F,"formatter")){var J=this.options.currency,ie=jB(k,C,J);this.runtime[F]=Object.assign(ie,{id:null,module:null,toString:function(){return VB(k,C,J)},type:"formatter"})}return F}y&&this.options.strict&&(y=null);var ye=E.map(function(W){return _.token(W,y)});return v.push("("+(ye.join(" + ")||'""')+").trim()"),v.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},p}();function eh(p){return p in hl}let V=p=>p==1?"one":"other",Gn=p=>p==0||p==1?"one":"other",Dn=p=>p>=0&&p<=1?"one":"other",kt=p=>{let f=String(p).split("."),v=!f[1];return p==1&&v?"one":"other"},Ie=p=>"other",Un=p=>p==1?"one":p==2?"two":"other";var m3=Object.freeze({__proto__:null,af:V,ak:Gn,am:Dn,an:V,ar:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-2);return p==0?"zero":p==1?"one":p==2?"two":y>=3&&y<=10?"few":y>=11&&y<=99?"many":"other"},ars:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-2);return p==0?"zero":p==1?"one":p==2?"two":y>=3&&y<=10?"few":y>=11&&y<=99?"many":"other"},as:Dn,asa:V,ast:kt,az:V,bal:V,be:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-1),_=v&&f[0].slice(-2);return y==1&&_!=11?"one":y>=2&&y<=4&&(_<12||_>14)?"few":v&&y==0||y>=5&&y<=9||_>=11&&_<=14?"many":"other"},bem:V,bez:V,bg:V,bho:Gn,bm:Ie,bn:Dn,bo:Ie,br:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-1),_=v&&f[0].slice(-2),E=v&&f[0].slice(-6);return y==1&&_!=11&&_!=71&&_!=91?"one":y==2&&_!=12&&_!=72&&_!=92?"two":(y==3||y==4||y==9)&&(_<10||_>19)&&(_<70||_>79)&&(_<90||_>99)?"few":p!=0&&v&&E==0?"many":"other"},brx:V,bs:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=v.slice(-2),C=y.slice(-1),T=y.slice(-2);return _&&E==1&&k!=11||C==1&&T!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||C>=2&&C<=4&&(T<12||T>14)?"few":"other"},ca:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p==1&&y?"one":v!=0&&_==0&&y?"many":"other"},ce:V,ceb:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=y.slice(-1);return _&&(v==1||v==2||v==3)||_&&E!=4&&E!=6&&E!=9||!_&&k!=4&&k!=6&&k!=9?"one":"other"},cgg:V,chr:V,ckb:V,cs:p=>{let f=String(p).split("."),v=f[0],y=!f[1];return p==1&&y?"one":v>=2&&v<=4&&y?"few":y?"other":"many"},cy:p=>p==0?"zero":p==1?"one":p==2?"two":p==3?"few":p==6?"many":"other",da:p=>{let f=String(p).split("."),v=f[0],y=Number(f[0])==p;return p==1||!y&&(v==0||v==1)?"one":"other"},de:kt,doi:Dn,dsb:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-2),k=y.slice(-2);return _&&E==1||k==1?"one":_&&E==2||k==2?"two":_&&(E==3||E==4)||k==3||k==4?"few":"other"},dv:V,dz:Ie,ee:V,el:V,en:kt,eo:V,es:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p==1?"one":v!=0&&_==0&&y?"many":"other"},et:kt,eu:V,fa:Dn,ff:p=>p>=0&&p<2?"one":"other",fi:kt,fil:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=y.slice(-1);return _&&(v==1||v==2||v==3)||_&&E!=4&&E!=6&&E!=9||!_&&k!=4&&k!=6&&k!=9?"one":"other"},fo:V,fr:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p>=0&&p<2?"one":v!=0&&_==0&&y?"many":"other"},fur:V,fy:kt,ga:p=>{let f=String(p).split("."),v=Number(f[0])==p;return p==1?"one":p==2?"two":v&&p>=3&&p<=6?"few":v&&p>=7&&p<=10?"many":"other"},gd:p=>{let f=String(p).split("."),v=Number(f[0])==p;return p==1||p==11?"one":p==2||p==12?"two":v&&p>=3&&p<=10||v&&p>=13&&p<=19?"few":"other"},gl:kt,gsw:V,gu:Dn,guw:Gn,gv:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-1),E=v.slice(-2);return y&&_==1?"one":y&&_==2?"two":y&&(E==0||E==20||E==40||E==60||E==80)?"few":y?"other":"many"},ha:V,haw:V,he:p=>{let f=String(p).split("."),v=f[0],y=!f[1];return v==1&&y||v==0&&!y?"one":v==2&&y?"two":"other"},hi:Dn,hnj:Ie,hr:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=v.slice(-2),C=y.slice(-1),T=y.slice(-2);return _&&E==1&&k!=11||C==1&&T!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||C>=2&&C<=4&&(T<12||T>14)?"few":"other"},hsb:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-2),k=y.slice(-2);return _&&E==1||k==1?"one":_&&E==2||k==2?"two":_&&(E==3||E==4)||k==3||k==4?"few":"other"},hu:V,hy:p=>p>=0&&p<2?"one":"other",ia:kt,id:Ie,ig:Ie,ii:Ie,io:kt,is:p=>{let f=String(p).split("."),v=f[0],y=(f[1]||"").replace(/0+$/,""),_=Number(f[0])==p,E=v.slice(-1),k=v.slice(-2);return _&&E==1&&k!=11||y%10==1&&y%100!=11?"one":"other"},it:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p==1&&y?"one":v!=0&&_==0&&y?"many":"other"},iu:Un,ja:Ie,jbo:Ie,jgo:V,jmc:V,jv:Ie,jw:Ie,ka:V,kab:p=>p>=0&&p<2?"one":"other",kaj:V,kcg:V,kde:Ie,kea:Ie,kk:V,kkj:V,kl:V,km:Ie,kn:Dn,ko:Ie,ks:V,ksb:V,ksh:p=>p==0?"zero":p==1?"one":"other",ku:V,kw:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-2),_=v&&f[0].slice(-3),E=v&&f[0].slice(-5),k=v&&f[0].slice(-6);return p==0?"zero":p==1?"one":y==2||y==22||y==42||y==62||y==82||v&&_==0&&(E>=1e3&&E<=2e4||E==4e4||E==6e4||E==8e4)||p!=0&&k==1e5?"two":y==3||y==23||y==43||y==63||y==83?"few":p!=1&&(y==1||y==21||y==41||y==61||y==81)?"many":"other"},ky:V,lag:p=>{let f=String(p).split("."),v=f[0];return p==0?"zero":(v==0||v==1)&&p!=0?"one":"other"},lb:V,lg:V,lij:kt,lkt:Ie,ln:Gn,lo:Ie,lt:p=>{let f=String(p).split("."),v=f[1]||"",y=Number(f[0])==p,_=y&&f[0].slice(-1),E=y&&f[0].slice(-2);return _==1&&(E<11||E>19)?"one":_>=2&&_<=9&&(E<11||E>19)?"few":v!=0?"many":"other"},lv:p=>{let f=String(p).split("."),v=f[1]||"",y=v.length,_=Number(f[0])==p,E=_&&f[0].slice(-1),k=_&&f[0].slice(-2),C=v.slice(-2),T=v.slice(-1);return _&&E==0||k>=11&&k<=19||y==2&&C>=11&&C<=19?"zero":E==1&&k!=11||y==2&&T==1&&C!=11||y!=2&&T==1?"one":"other"},mas:V,mg:Gn,mgo:V,mk:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=v.slice(-2),C=y.slice(-1),T=y.slice(-2);return _&&E==1&&k!=11||C==1&&T!=11?"one":"other"},ml:V,mn:V,mo:p=>{let f=String(p).split("."),v=!f[1],y=Number(f[0])==p,_=y&&f[0].slice(-2);return p==1&&v?"one":!v||p==0||p!=1&&_>=1&&_<=19?"few":"other"},mr:V,ms:Ie,mt:p=>{let f=String(p).split("."),v=Number(f[0])==p,y=v&&f[0].slice(-2);return p==1?"one":p==2?"two":p==0||y>=3&&y<=10?"few":y>=11&&y<=19?"many":"other"},my:Ie,nah:V,naq:Un,nb:V,nd:V,ne:V,nl:kt,nn:V,nnh:V,no:V,nqo:Ie,nr:V,nso:Gn,ny:V,nyn:V,om:V,or:V,os:V,osa:Ie,pa:Gn,pap:V,pcm:Dn,pl:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-1),E=v.slice(-2);return p==1&&y?"one":y&&_>=2&&_<=4&&(E<12||E>14)?"few":y&&v!=1&&(_==0||_==1)||y&&_>=5&&_<=9||y&&E>=12&&E<=14?"many":"other"},prg:p=>{let f=String(p).split("."),v=f[1]||"",y=v.length,_=Number(f[0])==p,E=_&&f[0].slice(-1),k=_&&f[0].slice(-2),C=v.slice(-2),T=v.slice(-1);return _&&E==0||k>=11&&k<=19||y==2&&C>=11&&C<=19?"zero":E==1&&k!=11||y==2&&T==1&&C!=11||y!=2&&T==1?"one":"other"},ps:V,pt:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return v==0||v==1?"one":v!=0&&_==0&&y?"many":"other"},pt_PT:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p==1&&y?"one":v!=0&&_==0&&y?"many":"other"},rm:V,ro:p=>{let f=String(p).split("."),v=!f[1],y=Number(f[0])==p,_=y&&f[0].slice(-2);return p==1&&v?"one":!v||p==0||p!=1&&_>=1&&_<=19?"few":"other"},rof:V,ru:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-1),E=v.slice(-2);return y&&_==1&&E!=11?"one":y&&_>=2&&_<=4&&(E<12||E>14)?"few":y&&_==0||y&&_>=5&&_<=9||y&&E>=11&&E<=14?"many":"other"},rwk:V,sah:Ie,saq:V,sat:Un,sc:kt,scn:kt,sd:V,sdh:V,se:Un,seh:V,ses:Ie,sg:Ie,sh:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=v.slice(-2),C=y.slice(-1),T=y.slice(-2);return _&&E==1&&k!=11||C==1&&T!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||C>=2&&C<=4&&(T<12||T>14)?"few":"other"},shi:p=>{let f=String(p).split("."),v=Number(f[0])==p;return p>=0&&p<=1?"one":v&&p>=2&&p<=10?"few":"other"},si:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"";return p==0||p==1||v==0&&y==1?"one":"other"},sk:p=>{let f=String(p).split("."),v=f[0],y=!f[1];return p==1&&y?"one":v>=2&&v<=4&&y?"few":y?"other":"many"},sl:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-2);return y&&_==1?"one":y&&_==2?"two":y&&(_==3||_==4)||!y?"few":"other"},sma:Un,smi:Un,smj:Un,smn:Un,sms:Un,sn:V,so:V,sq:V,sr:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=v.slice(-2),C=y.slice(-1),T=y.slice(-2);return _&&E==1&&k!=11||C==1&&T!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)||C>=2&&C<=4&&(T<12||T>14)?"few":"other"},ss:V,ssy:V,st:V,su:Ie,sv:kt,sw:kt,syr:V,ta:V,te:V,teo:V,th:Ie,ti:Gn,tig:V,tk:V,tl:p=>{let f=String(p).split("."),v=f[0],y=f[1]||"",_=!f[1],E=v.slice(-1),k=y.slice(-1);return _&&(v==1||v==2||v==3)||_&&E!=4&&E!=6&&E!=9||!_&&k!=4&&k!=6&&k!=9?"one":"other"},tn:V,to:Ie,tpi:Ie,tr:V,ts:V,tzm:p=>{let f=String(p).split("."),v=Number(f[0])==p;return p==0||p==1||v&&p>=11&&p<=99?"one":"other"},ug:V,uk:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-1),E=v.slice(-2);return y&&_==1&&E!=11?"one":y&&_>=2&&_<=4&&(E<12||E>14)?"few":y&&_==0||y&&_>=5&&_<=9||y&&E>=11&&E<=14?"many":"other"},und:Ie,ur:kt,uz:V,ve:V,vec:p=>{let f=String(p).split("."),v=f[0],y=!f[1],_=v.slice(-6);return p==1&&y?"one":v!=0&&_==0&&y?"many":"other"},vi:Ie,vo:V,vun:V,wa:Gn,wae:V,wo:Ie,xh:V,xog:V,yi:kt,yo:Ie,yue:Ie,zh:Ie,zu:Dn});let Wn="zero",H="one",We="two",pe="few",fe="many",O="other",R={cardinal:[H,O],ordinal:[O]},Mr={cardinal:[H,O],ordinal:[H,O]},Ne={cardinal:[O],ordinal:[O]},Nn={cardinal:[H,We,O],ordinal:[O]};var th=Object.freeze({__proto__:null,af:R,ak:R,am:R,an:R,ar:{cardinal:[Wn,H,We,pe,fe,O],ordinal:[O]},ars:{cardinal:[Wn,H,We,pe,fe,O],ordinal:[O]},as:{cardinal:[H,O],ordinal:[H,We,pe,fe,O]},asa:R,ast:R,az:{cardinal:[H,O],ordinal:[H,pe,fe,O]},bal:Mr,be:{cardinal:[H,pe,fe,O],ordinal:[pe,O]},bem:R,bez:R,bg:R,bho:R,bm:Ne,bn:{cardinal:[H,O],ordinal:[H,We,pe,fe,O]},bo:Ne,br:{cardinal:[H,We,pe,fe,O],ordinal:[O]},brx:R,bs:{cardinal:[H,pe,O],ordinal:[O]},ca:{cardinal:[H,fe,O],ordinal:[H,We,pe,O]},ce:R,ceb:R,cgg:R,chr:R,ckb:R,cs:{cardinal:[H,pe,fe,O],ordinal:[O]},cy:{cardinal:[Wn,H,We,pe,fe,O],ordinal:[Wn,H,We,pe,fe,O]},da:R,de:R,doi:R,dsb:{cardinal:[H,We,pe,O],ordinal:[O]},dv:R,dz:Ne,ee:R,el:R,en:{cardinal:[H,O],ordinal:[H,We,pe,O]},eo:R,es:{cardinal:[H,fe,O],ordinal:[O]},et:R,eu:R,fa:R,ff:R,fi:R,fil:Mr,fo:R,fr:{cardinal:[H,fe,O],ordinal:[H,O]},fur:R,fy:R,ga:{cardinal:[H,We,pe,fe,O],ordinal:[H,O]},gd:{cardinal:[H,We,pe,O],ordinal:[H,We,pe,O]},gl:R,gsw:R,gu:{cardinal:[H,O],ordinal:[H,We,pe,fe,O]},guw:R,gv:{cardinal:[H,We,pe,fe,O],ordinal:[O]},ha:R,haw:R,he:Nn,hi:{cardinal:[H,O],ordinal:[H,We,pe,fe,O]},hnj:Ne,hr:{cardinal:[H,pe,O],ordinal:[O]},hsb:{cardinal:[H,We,pe,O],ordinal:[O]},hu:Mr,hy:Mr,ia:R,id:Ne,ig:Ne,ii:Ne,io:R,is:R,it:{cardinal:[H,fe,O],ordinal:[fe,O]},iu:Nn,ja:Ne,jbo:Ne,jgo:R,jmc:R,jv:Ne,jw:Ne,ka:{cardinal:[H,O],ordinal:[H,fe,O]},kab:R,kaj:R,kcg:R,kde:Ne,kea:Ne,kk:{cardinal:[H,O],ordinal:[fe,O]},kkj:R,kl:R,km:Ne,kn:R,ko:Ne,ks:R,ksb:R,ksh:{cardinal:[Wn,H,O],ordinal:[O]},ku:R,kw:{cardinal:[Wn,H,We,pe,fe,O],ordinal:[H,fe,O]},ky:R,lag:{cardinal:[Wn,H,O],ordinal:[O]},lb:R,lg:R,lij:{cardinal:[H,O],ordinal:[fe,O]},lkt:Ne,ln:R,lo:{cardinal:[O],ordinal:[H,O]},lt:{cardinal:[H,pe,fe,O],ordinal:[O]},lv:{cardinal:[Wn,H,O],ordinal:[O]},mas:R,mg:R,mgo:R,mk:{cardinal:[H,O],ordinal:[H,We,fe,O]},ml:R,mn:R,mo:{cardinal:[H,pe,O],ordinal:[H,O]},mr:{cardinal:[H,O],ordinal:[H,We,pe,O]},ms:{cardinal:[O],ordinal:[H,O]},mt:{cardinal:[H,We,pe,fe,O],ordinal:[O]},my:Ne,nah:R,naq:Nn,nb:R,nd:R,ne:Mr,nl:R,nn:R,nnh:R,no:R,nqo:Ne,nr:R,nso:R,ny:R,nyn:R,om:R,or:{cardinal:[H,O],ordinal:[H,We,pe,fe,O]},os:R,osa:Ne,pa:R,pap:R,pcm:R,pl:{cardinal:[H,pe,fe,O],ordinal:[O]},prg:{cardinal:[Wn,H,O],ordinal:[O]},ps:R,pt:{cardinal:[H,fe,O],ordinal:[O]},pt_PT:{cardinal:[H,fe,O],ordinal:[O]},rm:R,ro:{cardinal:[H,pe,O],ordinal:[H,O]},rof:R,ru:{cardinal:[H,pe,fe,O],ordinal:[O]},rwk:R,sah:Ne,saq:R,sat:Nn,sc:{cardinal:[H,O],ordinal:[fe,O]},scn:{cardinal:[H,O],ordinal:[fe,O]},sd:R,sdh:R,se:Nn,seh:R,ses:Ne,sg:Ne,sh:{cardinal:[H,pe,O],ordinal:[O]},shi:{cardinal:[H,pe,O],ordinal:[O]},si:R,sk:{cardinal:[H,pe,fe,O],ordinal:[O]},sl:{cardinal:[H,We,pe,O],ordinal:[O]},sma:Nn,smi:Nn,smj:Nn,smn:Nn,sms:Nn,sn:R,so:R,sq:{cardinal:[H,O],ordinal:[H,fe,O]},sr:{cardinal:[H,pe,O],ordinal:[O]},ss:R,ssy:R,st:R,su:Ne,sv:Mr,sw:R,syr:R,ta:R,te:R,teo:R,th:Ne,ti:R,tig:R,tk:{cardinal:[H,O],ordinal:[pe,O]},tl:Mr,tn:R,to:Ne,tpi:Ne,tr:R,ts:R,tzm:R,ug:R,uk:{cardinal:[H,pe,fe,O],ordinal:[pe,O]},und:Ne,ur:R,uz:R,ve:R,vec:{cardinal:[H,fe,O],ordinal:[fe,O]},vi:{cardinal:[O],ordinal:[H,O]},vo:R,vun:R,wa:R,wae:R,wo:Ne,xh:R,xog:R,yi:R,yo:Ne,yue:Ne,zh:Ne,zu:R});let q=(p,f)=>f?"other":p==1?"one":"other",Zn=(p,f)=>f?"other":p==0||p==1?"one":"other",aa=(p,f)=>f?"other":p>=0&&p<=1?"one":"other",nn=(p,f)=>{let v=String(p).split("."),y=!v[1];return f?"other":p==1&&y?"one":"other"},Te=(p,f)=>"other",Yn=(p,f)=>f?"other":p==1?"one":p==2?"two":"other";var co=Object.freeze({__proto__:null,af:q,ak:Zn,am:aa,an:q,ar:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-2);return f?"other":p==0?"zero":p==1?"one":p==2?"two":_>=3&&_<=10?"few":_>=11&&_<=99?"many":"other"},ars:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-2);return f?"other":p==0?"zero":p==1?"one":p==2?"two":_>=3&&_<=10?"few":_>=11&&_<=99?"many":"other"},as:(p,f)=>f?p==1||p==5||p==7||p==8||p==9||p==10?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",asa:q,ast:nn,az:(p,f)=>{let v=String(p).split("."),y=v[0],_=y.slice(-1),E=y.slice(-2),k=y.slice(-3);return f?_==1||_==2||_==5||_==7||_==8||E==20||E==50||E==70||E==80?"one":_==3||_==4||k==100||k==200||k==300||k==400||k==500||k==600||k==700||k==800||k==900?"few":y==0||_==6||E==40||E==60||E==90?"many":"other":p==1?"one":"other"},bal:(p,f)=>p==1?"one":"other",be:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-1),E=y&&v[0].slice(-2);return f?(_==2||_==3)&&E!=12&&E!=13?"few":"other":_==1&&E!=11?"one":_>=2&&_<=4&&(E<12||E>14)?"few":y&&_==0||_>=5&&_<=9||E>=11&&E<=14?"many":"other"},bem:q,bez:q,bg:q,bho:Zn,bm:Te,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:Te,br:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-1),E=y&&v[0].slice(-2),k=y&&v[0].slice(-6);return f?"other":_==1&&E!=11&&E!=71&&E!=91?"one":_==2&&E!=12&&E!=72&&E!=92?"two":(_==3||_==4||_==9)&&(E<10||E>19)&&(E<70||E>79)&&(E<90||E>99)?"few":p!=0&&y&&k==0?"many":"other"},brx:q,bs:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),C=y.slice(-2),T=_.slice(-1),F=_.slice(-2);return f?"other":E&&k==1&&C!=11||T==1&&F!=11?"one":E&&k>=2&&k<=4&&(C<12||C>14)||T>=2&&T<=4&&(F<12||F>14)?"few":"other"},ca:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?p==1||p==3?"one":p==2?"two":p==4?"few":"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},ce:q,ceb:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),C=_.slice(-1);return f?"other":E&&(y==1||y==2||y==3)||E&&k!=4&&k!=6&&k!=9||!E&&C!=4&&C!=6&&C!=9?"one":"other"},cgg:q,chr:q,ckb:q,cs:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1];return f?"other":p==1&&_?"one":y>=2&&y<=4&&_?"few":_?"other":"many"},cy:(p,f)=>f?p==0||p==7||p==8||p==9?"zero":p==1?"one":p==2?"two":p==3||p==4?"few":p==5||p==6?"many":"other":p==0?"zero":p==1?"one":p==2?"two":p==3?"few":p==6?"many":"other",da:(p,f)=>{let v=String(p).split("."),y=v[0],_=Number(v[0])==p;return f?"other":p==1||!_&&(y==0||y==1)?"one":"other"},de:nn,doi:aa,dsb:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-2),C=_.slice(-2);return f?"other":E&&k==1||C==1?"one":E&&k==2||C==2?"two":E&&(k==3||k==4)||C==3||C==4?"few":"other"},dv:q,dz:Te,ee:q,el:q,en:(p,f)=>{let v=String(p).split("."),y=!v[1],_=Number(v[0])==p,E=_&&v[0].slice(-1),k=_&&v[0].slice(-2);return f?E==1&&k!=11?"one":E==2&&k!=12?"two":E==3&&k!=13?"few":"other":p==1&&y?"one":"other"},eo:q,es:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?"other":p==1?"one":y!=0&&E==0&&_?"many":"other"},et:nn,eu:q,fa:aa,ff:(p,f)=>f?"other":p>=0&&p<2?"one":"other",fi:nn,fil:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),C=_.slice(-1);return f?p==1?"one":"other":E&&(y==1||y==2||y==3)||E&&k!=4&&k!=6&&k!=9||!E&&C!=4&&C!=6&&C!=9?"one":"other"},fo:q,fr:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?p==1?"one":"other":p>=0&&p<2?"one":y!=0&&E==0&&_?"many":"other"},fur:q,fy:nn,ga:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?p==1?"one":"other":p==1?"one":p==2?"two":y&&p>=3&&p<=6?"few":y&&p>=7&&p<=10?"many":"other"},gd:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?p==1||p==11?"one":p==2||p==12?"two":p==3||p==13?"few":"other":p==1||p==11?"one":p==2||p==12?"two":y&&p>=3&&p<=10||y&&p>=13&&p<=19?"few":"other"},gl:nn,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:Zn,gv:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-1),k=y.slice(-2);return f?"other":_&&E==1?"one":_&&E==2?"two":_&&(k==0||k==20||k==40||k==60||k==80)?"few":_?"other":"many"},ha:q,haw:q,he:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1];return f?"other":y==1&&_||y==0&&!_?"one":y==2&&_?"two":"other"},hi:(p,f)=>f?p==1?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",hnj:Te,hr:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),C=y.slice(-2),T=_.slice(-1),F=_.slice(-2);return f?"other":E&&k==1&&C!=11||T==1&&F!=11?"one":E&&k>=2&&k<=4&&(C<12||C>14)||T>=2&&T<=4&&(F<12||F>14)?"few":"other"},hsb:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-2),C=_.slice(-2);return f?"other":E&&k==1||C==1?"one":E&&k==2||C==2?"two":E&&(k==3||k==4)||C==3||C==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:nn,id:Te,ig:Te,ii:Te,io:nn,is:(p,f)=>{let v=String(p).split("."),y=v[0],_=(v[1]||"").replace(/0+$/,""),E=Number(v[0])==p,k=y.slice(-1),C=y.slice(-2);return f?"other":E&&k==1&&C!=11||_%10==1&&_%100!=11?"one":"other"},it:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},iu:Yn,ja:Te,jbo:Te,jgo:q,jmc:q,jv:Te,jw:Te,ka:(p,f)=>{let v=String(p).split("."),y=v[0],_=y.slice(-2);return f?y==1?"one":y==0||_>=2&&_<=20||_==40||_==60||_==80?"many":"other":p==1?"one":"other"},kab:(p,f)=>f?"other":p>=0&&p<2?"one":"other",kaj:q,kcg:q,kde:Te,kea:Te,kk:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-1);return f?_==6||_==9||y&&_==0&&p!=0?"many":"other":p==1?"one":"other"},kkj:q,kl:q,km:Te,kn:aa,ko:Te,ks:q,ksb:q,ksh:(p,f)=>f?"other":p==0?"zero":p==1?"one":"other",ku:q,kw:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-2),E=y&&v[0].slice(-3),k=y&&v[0].slice(-5),C=y&&v[0].slice(-6);return f?y&&p>=1&&p<=4||_>=1&&_<=4||_>=21&&_<=24||_>=41&&_<=44||_>=61&&_<=64||_>=81&&_<=84?"one":p==5||_==5?"many":"other":p==0?"zero":p==1?"one":_==2||_==22||_==42||_==62||_==82||y&&E==0&&(k>=1e3&&k<=2e4||k==4e4||k==6e4||k==8e4)||p!=0&&C==1e5?"two":_==3||_==23||_==43||_==63||_==83?"few":p!=1&&(_==1||_==21||_==41||_==61||_==81)?"many":"other"},ky:q,lag:(p,f)=>{let v=String(p).split("."),y=v[0];return f?"other":p==0?"zero":(y==0||y==1)&&p!=0?"one":"other"},lb:q,lg:q,lij:(p,f)=>{let v=String(p).split("."),y=!v[1],_=Number(v[0])==p;return f?p==11||p==8||_&&p>=80&&p<=89||_&&p>=800&&p<=899?"many":"other":p==1&&y?"one":"other"},lkt:Te,ln:Zn,lo:(p,f)=>f&&p==1?"one":"other",lt:(p,f)=>{let v=String(p).split("."),y=v[1]||"",_=Number(v[0])==p,E=_&&v[0].slice(-1),k=_&&v[0].slice(-2);return f?"other":E==1&&(k<11||k>19)?"one":E>=2&&E<=9&&(k<11||k>19)?"few":y!=0?"many":"other"},lv:(p,f)=>{let v=String(p).split("."),y=v[1]||"",_=y.length,E=Number(v[0])==p,k=E&&v[0].slice(-1),C=E&&v[0].slice(-2),T=y.slice(-2),F=y.slice(-1);return f?"other":E&&k==0||C>=11&&C<=19||_==2&&T>=11&&T<=19?"zero":k==1&&C!=11||_==2&&F==1&&T!=11||_!=2&&F==1?"one":"other"},mas:q,mg:Zn,mgo:q,mk:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),C=y.slice(-2),T=_.slice(-1),F=_.slice(-2);return f?k==1&&C!=11?"one":k==2&&C!=12?"two":(k==7||k==8)&&C!=17&&C!=18?"many":"other":E&&k==1&&C!=11||T==1&&F!=11?"one":"other"},ml:q,mn:q,mo:(p,f)=>{let v=String(p).split("."),y=!v[1],_=Number(v[0])==p,E=_&&v[0].slice(-2);return f?p==1?"one":"other":p==1&&y?"one":!y||p==0||p!=1&&E>=1&&E<=19?"few":"other"},mr:(p,f)=>f?p==1?"one":p==2||p==3?"two":p==4?"few":"other":p==1?"one":"other",ms:(p,f)=>f&&p==1?"one":"other",mt:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-2);return f?"other":p==1?"one":p==2?"two":p==0||_>=3&&_<=10?"few":_>=11&&_<=19?"many":"other"},my:Te,nah:q,naq:Yn,nb:q,nd:q,ne:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?y&&p>=1&&p<=4?"one":"other":p==1?"one":"other"},nl:nn,nn:q,nnh:q,no:q,nqo:Te,nr:q,nso:Zn,ny:q,nyn:q,om:q,or:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?p==1||p==5||y&&p>=7&&p<=9?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p==1?"one":"other"},os:q,osa:Te,pa:Zn,pap:q,pcm:aa,pl:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-1),k=y.slice(-2);return f?"other":p==1&&_?"one":_&&E>=2&&E<=4&&(k<12||k>14)?"few":_&&y!=1&&(E==0||E==1)||_&&E>=5&&E<=9||_&&k>=12&&k<=14?"many":"other"},prg:(p,f)=>{let v=String(p).split("."),y=v[1]||"",_=y.length,E=Number(v[0])==p,k=E&&v[0].slice(-1),C=E&&v[0].slice(-2),T=y.slice(-2),F=y.slice(-1);return f?"other":E&&k==0||C>=11&&C<=19||_==2&&T>=11&&T<=19?"zero":k==1&&C!=11||_==2&&F==1&&T!=11||_!=2&&F==1?"one":"other"},ps:q,pt:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?"other":y==0||y==1?"one":y!=0&&E==0&&_?"many":"other"},pt_PT:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},rm:q,ro:(p,f)=>{let v=String(p).split("."),y=!v[1],_=Number(v[0])==p,E=_&&v[0].slice(-2);return f?p==1?"one":"other":p==1&&y?"one":!y||p==0||p!=1&&E>=1&&E<=19?"few":"other"},rof:q,ru:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-1),k=y.slice(-2);return f?"other":_&&E==1&&k!=11?"one":_&&E>=2&&E<=4&&(k<12||k>14)?"few":_&&E==0||_&&E>=5&&E<=9||_&&k>=11&&k<=14?"many":"other"},rwk:q,sah:Te,saq:q,sat:Yn,sc:(p,f)=>{let v=String(p).split("."),y=!v[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&y?"one":"other"},scn:(p,f)=>{let v=String(p).split("."),y=!v[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&y?"one":"other"},sd:q,sdh:q,se:Yn,seh:q,ses:Te,sg:Te,sh:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),C=y.slice(-2),T=_.slice(-1),F=_.slice(-2);return f?"other":E&&k==1&&C!=11||T==1&&F!=11?"one":E&&k>=2&&k<=4&&(C<12||C>14)||T>=2&&T<=4&&(F<12||F>14)?"few":"other"},shi:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?"other":p>=0&&p<=1?"one":y&&p>=2&&p<=10?"few":"other"},si:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"";return f?"other":p==0||p==1||y==0&&_==1?"one":"other"},sk:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1];return f?"other":p==1&&_?"one":y>=2&&y<=4&&_?"few":_?"other":"many"},sl:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-2);return f?"other":_&&E==1?"one":_&&E==2?"two":_&&(E==3||E==4)||!_?"few":"other"},sma:Yn,smi:Yn,smj:Yn,smn:Yn,sms:Yn,sn:q,so:q,sq:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-1),E=y&&v[0].slice(-2);return f?p==1?"one":_==4&&E!=14?"many":"other":p==1?"one":"other"},sr:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),C=y.slice(-2),T=_.slice(-1),F=_.slice(-2);return f?"other":E&&k==1&&C!=11||T==1&&F!=11?"one":E&&k>=2&&k<=4&&(C<12||C>14)||T>=2&&T<=4&&(F<12||F>14)?"few":"other"},ss:q,ssy:q,st:q,su:Te,sv:(p,f)=>{let v=String(p).split("."),y=!v[1],_=Number(v[0])==p,E=_&&v[0].slice(-1),k=_&&v[0].slice(-2);return f?(E==1||E==2)&&k!=11&&k!=12?"one":"other":p==1&&y?"one":"other"},sw:nn,syr:q,ta:q,te:q,teo:q,th:Te,ti:Zn,tig:q,tk:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p,_=y&&v[0].slice(-1);return f?_==6||_==9||p==10?"few":"other":p==1?"one":"other"},tl:(p,f)=>{let v=String(p).split("."),y=v[0],_=v[1]||"",E=!v[1],k=y.slice(-1),C=_.slice(-1);return f?p==1?"one":"other":E&&(y==1||y==2||y==3)||E&&k!=4&&k!=6&&k!=9||!E&&C!=4&&C!=6&&C!=9?"one":"other"},tn:q,to:Te,tpi:Te,tr:q,ts:q,tzm:(p,f)=>{let v=String(p).split("."),y=Number(v[0])==p;return f?"other":p==0||p==1||y&&p>=11&&p<=99?"one":"other"},ug:q,uk:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=Number(v[0])==p,k=E&&v[0].slice(-1),C=E&&v[0].slice(-2),T=y.slice(-1),F=y.slice(-2);return f?k==3&&C!=13?"few":"other":_&&T==1&&F!=11?"one":_&&T>=2&&T<=4&&(F<12||F>14)?"few":_&&T==0||_&&T>=5&&T<=9||_&&F>=11&&F<=14?"many":"other"},und:Te,ur:nn,uz:q,ve:q,vec:(p,f)=>{let v=String(p).split("."),y=v[0],_=!v[1],E=y.slice(-6);return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},vi:(p,f)=>f&&p==1?"one":"other",vo:q,vun:q,wa:Zn,wae:q,wo:Te,xh:q,xog:q,yi:nn,yo:Te,yue:Te,zh:Te,zu:aa});function fl(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 ho(p){if(typeof p=="function"){var f=fl(p.name);return{isDefault:!1,id:mr(f),lc:f,locale:p.name,getPlural:p,cardinals:p.cardinals||[],ordinals:p.ordinals||[]}}var v=fl(p),y=mr(v);return v3(y)?{isDefault:!0,id:y,lc:v,locale:p,getCardinal:m3[y],getPlural:co[y],cardinals:th[y].cardinal,ordinals:th[y].ordinal}:null}function f3(p){var f=Object.keys(co).filter(function(v){return v!==p});return f.unshift(p),f.map(ho)}function g3(p){var f=fl(p);return mr(f)in co}function v3(p){return p in co}var b3=function(){function p(f,v){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:v&&v.strictNumberSign||!1,strictPluralKeys:!0},v),f==="*")this.plurals=f3(p.defaultLocale);else if(Array.isArray(f))this.plurals=f.map(ho).filter(Boolean);else if(f){var y=ho(f);y&&(this.plurals=[y])}if(this.plurals.length===0){var y=ho(p.defaultLocale);this.plurals=[y]}}return p.escape=function(f,v){var y=v?/[#{}]/g:/[{}]/g;return String(f).replace(y,"'$&'")},p.supportedLocalesOf=function(f){var v=Array.isArray(f)?f:[f];return v.filter(g3)},p.prototype.resolvedOptions=function(){return r(r({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},p.prototype.compile=function(f){var v,y,_=new p3(this.options),E="return "+_.compile(f,this.plurals[0]),k=[],C=[];try{for(var T=n(Object.entries(_.runtime)),F=T.next();!F.done;F=T.next()){var J=a(F.value,2),ie=J[0],ye=J[1];k.push(ie),C.push(ye)}}catch(qe){v={error:qe}}finally{try{F&&!F.done&&(y=T.return)&&y.call(T)}finally{if(v)throw v.error}}var W=new(Function.bind.apply(Function,i(i([void 0],a(k),!1),[E],!1)));return W.apply(void 0,i([],a(C),!1))},p.defaultLocale="en",p}();return b3})}),Jt=te(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 r=function n(a,i){t(this,n),this.data=a,this.text=i.text||a,this.options=i};e.default=r}),M3=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var t=function(){function S(N,L){for(var A=0;A<L.length;A++){var Y=L[A];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(N,Y.key,Y)}}return function(N,L,A){return L&&S(N.prototype,L),A&&S(N,A),N}}(),r=Jt(),n=a(r);function a(S){return S&&S.__esModule?S:{default:S}}function i(S,N){if(!(S instanceof N))throw new TypeError("Cannot call a class as a function")}function o(S,N){if(!S)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N&&(typeof N=="object"||typeof N=="function")?N:S}function l(S,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof N);S.prototype=Object.create(N&&N.prototype,{constructor:{value:S,enumerable:!1,writable:!0,configurable:!0}}),N&&(Object.setPrototypeOf?Object.setPrototypeOf(S,N):S.__proto__=N)}var h=function(S){l(N,S);function N(L,A){return i(this,N),L=L.toUpperCase(),A.mod43&&(L+=g(x(L))),o(this,(N.__proto__||Object.getPrototypeOf(N)).call(this,L,A))}return t(N,[{key:"encode",value:function(){for(var L=m("*"),A=0;A<this.data.length;A++)L+=m(this.data[A])+"0";return L+=m("*"),{data:L,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),N}(n.default),u=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","*"],c=[20957,29783,23639,30485,20951,29813,23669,20855,29789,23645,29975,23831,30533,22295,30149,24005,21623,29981,23837,22301,30023,23879,30545,22343,30161,24017,21959,30065,23921,22385,29015,18263,29141,17879,29045,18293,17783,29021,18269,17477,17489,17681,20753,35770];function m(S){return b(w(S))}function b(S){return c[S].toString(2)}function g(S){return u[S]}function w(S){return u.indexOf(S)}function x(S){for(var N=0,L=0;L<S.length;L++)N+=w(S[L]);return N=N%43,N}e.CODE39=h}),Oi=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t;function r(u,c,m){return c in u?Object.defineProperty(u,c,{value:m,enumerable:!0,configurable:!0,writable:!0}):u[c]=m,u}var n=e.SET_A=0,a=e.SET_B=1,i=e.SET_C=2;e.SHIFT=98;var o=e.START_A=103,l=e.START_B=104,h=e.START_C=105;e.MODULO=103,e.STOP=106,e.FNC1=207,e.SET_BY_CODE=(t={},r(t,o,n),r(t,l,a),r(t,h,i),t),e.SWAP={101:n,100:a,99:i},e.A_START_CHAR="Ð",e.B_START_CHAR="Ñ",e.C_START_CHAR="Ò",e.A_CHARS="[\0-_È-Ï]",e.B_CHARS="[ -È-Ï]",e.C_CHARS="(Ï*[0-9]{2}Ï*)",e.BARS=[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11011110110,11110110110,10101111e3,10100011110,10001011110,10111101e3,10111100010,11110101e3,11110100010,10111011110,10111101110,11101011110,11110101110,11010000100,1101001e4,11010011100,1100011101011]}),As=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&c(m.prototype,b),g&&c(m,g),m}}(),r=Jt(),n=i(r),a=Oi();function i(c){return c&&c.__esModule?c:{default:c}}function o(c,m){if(!(c instanceof m))throw new TypeError("Cannot call a class as a function")}function l(c,m){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:c}function h(c,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);c.prototype=Object.create(m&&m.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(c,m):c.__proto__=m)}var u=function(c){h(m,c);function m(b,g){o(this,m);var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b.substring(1),g));return w.bytes=b.split("").map(function(x){return x.charCodeAt(0)}),w}return t(m,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var b=this.bytes,g=b.shift()-105,w=a.SET_BY_CODE[g];if(w===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&b.unshift(a.FNC1);var x=m.next(b,1,w);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:m.getBar(g)+x.result+m.getBar((x.checksum+g)%a.MODULO)+m.getBar(a.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var b=this.options.ean128||!1;return typeof b=="string"&&(b=b.toLowerCase()==="true"),b}}],[{key:"getBar",value:function(b){return a.BARS[b]?a.BARS[b].toString():""}},{key:"correctIndex",value:function(b,g){if(g===a.SET_A){var w=b.shift();return w<32?w+64:w-32}else return g===a.SET_B?b.shift()-32:(b.shift()-48)*10+b.shift()-48}},{key:"next",value:function(b,g,w){if(!b.length)return{result:"",checksum:0};var x=void 0,S=void 0;if(b[0]>=200){S=b.shift()-105;var N=a.SWAP[S];N!==void 0?x=m.next(b,g+1,N):((w===a.SET_A||w===a.SET_B)&&S===a.SHIFT&&(b[0]=w===a.SET_A?b[0]>95?b[0]-96:b[0]:b[0]<32?b[0]+96:b[0]),x=m.next(b,g+1,w))}else S=m.correctIndex(b,w),x=m.next(b,g+1,w);var L=m.getBar(S),A=S*g;return{result:L+x.result,checksum:A+x.checksum}}}]),m}(n.default);e.default=u}),O3=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Oi(),r=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 i(l,h){var u=h?t.A_CHARS:t.B_CHARS,c=l.match(new RegExp("^("+u+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(c)return c[1]+"Ì"+o(l.substring(c[1].length));var m=l.match(new RegExp("^"+u+"+"))[0];return m.length===l.length?l:m+String.fromCharCode(h?205:206)+i(l.substring(m.length),!h)}function o(l){var h=a(l),u=h.length;if(u===l.length)return l;l=l.substring(u);var c=r(l)>=n(l);return h+String.fromCharCode(c?206:205)+i(l,c)}e.default=function(l){var h=void 0,u=a(l).length;if(u>=2)h=t.C_START_CHAR+o(l);else{var c=r(l)>n(l);h=(c?t.A_START_CHAR:t.B_START_CHAR)+i(l,c)}return h.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(m,b){return"Ë"+b})}}),R3=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=As(),r=i(t),n=O3(),a=i(n);function i(c){return c&&c.__esModule?c:{default:c}}function o(c,m){if(!(c instanceof m))throw new TypeError("Cannot call a class as a function")}function l(c,m){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:c}function h(c,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);c.prototype=Object.create(m&&m.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(c,m):c.__proto__=m)}var u=function(c){h(m,c);function m(b,g){if(o(this,m),/^[\x00-\x7F\xC8-\xD3]+$/.test(b))var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,(0,a.default)(b),g));else var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b,g));return l(w)}return m}(r.default);e.default=u}),P3=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&c(m.prototype,b),g&&c(m,g),m}}(),r=As(),n=i(r),a=Oi();function i(c){return c&&c.__esModule?c:{default:c}}function o(c,m){if(!(c instanceof m))throw new TypeError("Cannot call a class as a function")}function l(c,m){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:c}function h(c,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);c.prototype=Object.create(m&&m.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(c,m):c.__proto__=m)}var u=function(c){h(m,c);function m(b,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.A_START_CHAR+b,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.A_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=u}),A3=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&c(m.prototype,b),g&&c(m,g),m}}(),r=As(),n=i(r),a=Oi();function i(c){return c&&c.__esModule?c:{default:c}}function o(c,m){if(!(c instanceof m))throw new TypeError("Cannot call a class as a function")}function l(c,m){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:c}function h(c,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);c.prototype=Object.create(m&&m.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(c,m):c.__proto__=m)}var u=function(c){h(m,c);function m(b,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.B_START_CHAR+b,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.B_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=u}),L3=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&c(m.prototype,b),g&&c(m,g),m}}(),r=As(),n=i(r),a=Oi();function i(c){return c&&c.__esModule?c:{default:c}}function o(c,m){if(!(c instanceof m))throw new TypeError("Cannot call a class as a function")}function l(c,m){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:c}function h(c,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);c.prototype=Object.create(m&&m.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(c,m):c.__proto__=m)}var u=function(c){h(m,c);function m(b,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.C_START_CHAR+b,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.C_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=u}),F3=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=R3(),r=u(t),n=P3(),a=u(n),i=A3(),o=u(i),l=L3(),h=u(l);function u(c){return c&&c.__esModule?c:{default:c}}e.CODE128=r.default,e.CODE128A=a.default,e.CODE128B=o.default,e.CODE128C=h.default}),Ri=te(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"]}),Pi=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Ri(),r=function(n,a,i){var o=n.split("").map(function(h,u){return t.BINARIES[a[u]]}).map(function(h,u){return h?h[n[u]]:""});if(i){var l=n.length-1;o=o.map(function(h,u){return u<l?h+i:h})}return o.join("")};e.default=r}),ym=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var x=0;x<w.length;x++){var S=w[x];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,x){return w&&b(g.prototype,w),x&&b(g,x),g}}(),r=Ri(),n=Pi(),a=l(n),i=Jt(),o=l(i);function l(b){return b&&b.__esModule?b:{default:b}}function h(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function u(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function c(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var m=function(b){c(g,b);function g(w,x){h(this,g);var S=u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return S.fontSize=!x.flat&&x.fontSize>x.width*10?x.width*10:x.fontSize,S.guardHeight=x.height+S.fontSize/2+x.textMargin,S}return t(g,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(w,x){return this.text.substr(w,x)}},{key:"leftEncode",value:function(w,x){return(0,a.default)(w,x)}},{key:"rightText",value:function(w,x){return this.text.substr(w,x)}},{key:"rightEncode",value:function(w,x){return(0,a.default)(w,x)}},{key:"encodeGuarded",value:function(){var w={fontSize:this.fontSize},x={height:this.guardHeight};return[{data:r.SIDE_BIN,options:x},{data:this.leftEncode(),text:this.leftText(),options:w},{data:r.MIDDLE_BIN,options:x},{data:this.rightEncode(),text:this.rightText(),options:w},{data:r.SIDE_BIN,options:x}]}},{key:"encodeFlat",value:function(){var w=[r.SIDE_BIN,this.leftEncode(),r.MIDDLE_BIN,this.rightEncode(),r.SIDE_BIN];return{data:w.join(""),text:this.text}}}]),g}(o.default);e.default=m}),j3=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var x=0;x<w.length;x++){var S=w[x];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,x){return w&&b(g.prototype,w),x&&b(g,x),g}}(),r=function b(g,w,x){g===null&&(g=Function.prototype);var S=Object.getOwnPropertyDescriptor(g,w);if(S===void 0){var N=Object.getPrototypeOf(g);return N===null?void 0:b(N,w,x)}else{if("value"in S)return S.value;var L=S.get;return L===void 0?void 0:L.call(x)}},n=Ri(),a=ym(),i=o(a);function o(b){return b&&b.__esModule?b:{default:b}}function l(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function h(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function u(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var c=function(b){var g=b.substr(0,12).split("").map(function(w){return+w}).reduce(function(w,x,S){return S%2?w+x*3:w+x},0);return(10-g%10)%10},m=function(b){u(g,b);function g(w,x){l(this,g),w.search(/^[0-9]{12}$/)!==-1&&(w+=c(w));var S=h(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return S.lastChar=x.lastChar,S}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===c(this.data)}},{key:"leftText",value:function(){return r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var w=this.data.substr(1,6),x=n.EAN13_STRUCTURE[this.data[0]];return r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftEncode",this).call(this,w,x)}},{key:"rightText",value:function(){return r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var w=this.data.substr(7,6);return r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightEncode",this).call(this,w,"RRRRRR")}},{key:"encodeGuarded",value:function(){var w=r(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(w.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(w.push({data:"00"}),w.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),w}}]),g}(i.default);e.default=m}),V3=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function m(b,g){for(var w=0;w<g.length;w++){var x=g[w];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(b,x.key,x)}}return function(b,g,w){return g&&m(b.prototype,g),w&&m(b,w),b}}(),r=function m(b,g,w){b===null&&(b=Function.prototype);var x=Object.getOwnPropertyDescriptor(b,g);if(x===void 0){var S=Object.getPrototypeOf(b);return S===null?void 0:m(S,g,w)}else{if("value"in x)return x.value;var N=x.get;return N===void 0?void 0:N.call(w)}},n=ym(),a=i(n);function i(m){return m&&m.__esModule?m:{default:m}}function o(m,b){if(!(m instanceof b))throw new TypeError("Cannot call a class as a function")}function l(m,b){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:m}function h(m,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);m.prototype=Object.create(b&&b.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(m,b):m.__proto__=b)}var u=function(m){var b=m.substr(0,7).split("").map(function(g){return+g}).reduce(function(g,w,x){return x%2?g+w:g+w*3},0);return(10-b%10)%10},c=function(m){h(b,m);function b(g,w){return o(this,b),g.search(/^[0-9]{7}$/)!==-1&&(g+=u(g)),l(this,(b.__proto__||Object.getPrototypeOf(b)).call(this,g,w))}return t(b,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===u(this.data)}},{key:"leftText",value:function(){return r(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var g=this.data.substr(0,4);return r(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"leftEncode",this).call(this,g,"LLLL")}},{key:"rightText",value:function(){return r(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var g=this.data.substr(4,4);return r(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"rightEncode",this).call(this,g,"RRRR")}}]),b}(a.default);e.default=c}),z3=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function g(w,x){for(var S=0;S<x.length;S++){var N=x[S];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(w,N.key,N)}}return function(w,x,S){return x&&g(w.prototype,x),S&&g(w,S),w}}(),r=Ri(),n=Pi(),a=l(n),i=Jt(),o=l(i);function l(g){return g&&g.__esModule?g:{default:g}}function h(g,w){if(!(g instanceof w))throw new TypeError("Cannot call a class as a function")}function u(g,w){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w&&(typeof w=="object"||typeof w=="function")?w:g}function c(g,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);g.prototype=Object.create(w&&w.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(g,w):g.__proto__=w)}var m=function(g){var w=g.split("").map(function(x){return+x}).reduce(function(x,S,N){return N%2?x+S*9:x+S*3},0);return w%10},b=function(g){c(w,g);function w(x,S){return h(this,w),u(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,x,S))}return t(w,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var x=r.EAN5_STRUCTURE[m(this.data)];return{data:"1011"+(0,a.default)(this.data,x,"01"),text:this.text}}}]),w}(o.default);e.default=b}),B3=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var x=0;x<w.length;x++){var S=w[x];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,x){return w&&b(g.prototype,w),x&&b(g,x),g}}(),r=Ri(),n=Pi(),a=l(n),i=Jt(),o=l(i);function l(b){return b&&b.__esModule?b:{default:b}}function h(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function u(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function c(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var m=function(b){c(g,b);function g(w,x){return h(this,g),u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x))}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var w=r.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,a.default)(this.data,w,"01"),text:this.text}}}]),g}(o.default);e.default=m}),_m=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function b(g,w){for(var x=0;x<w.length;x++){var S=w[x];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}return function(g,w,x){return w&&b(g.prototype,w),x&&b(g,x),g}}();e.checksum=m;var r=Pi(),n=o(r),a=Jt(),i=o(a);function o(b){return b&&b.__esModule?b:{default:b}}function l(b,g){if(!(b instanceof g))throw new TypeError("Cannot call a class as a function")}function h(b,g){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:b}function u(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);b.prototype=Object.create(g&&g.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(b,g):b.__proto__=g)}var c=function(b){u(g,b);function g(w,x){l(this,g),w.search(/^[0-9]{11}$/)!==-1&&(w+=m(w));var S=h(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return S.displayValue=x.displayValue,x.fontSize>x.width*10?S.fontSize=x.width*10:S.fontSize=x.fontSize,S.guardHeight=x.height+S.fontSize/2+x.textMargin,S}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==m(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var w="";return w+="101",w+=(0,n.default)(this.data.substr(0,6),"LLLLLL"),w+="01010",w+=(0,n.default)(this.data.substr(6,6),"RRRRRR"),w+="101",{data:w,text:this.text}}},{key:"guardedEncoding",value:function(){var w=[];return this.displayValue&&w.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),w.push({data:"101"+(0,n.default)(this.data[0],"L"),options:{height:this.guardHeight}}),w.push({data:(0,n.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),w.push({data:"01010",options:{height:this.guardHeight}}),w.push({data:(0,n.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),w.push({data:(0,n.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&w.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),w}}]),g}(i.default);function m(b){var g=0,w;for(w=1;w<11;w+=2)g+=parseInt(b[w]);for(w=0;w<11;w+=2)g+=parseInt(b[w])*3;return(10-g%10)%10}e.default=c}),H3=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function x(S,N){for(var L=0;L<N.length;L++){var A=N[L];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(S,A.key,A)}}return function(S,N,L){return N&&x(S.prototype,N),L&&x(S,L),S}}(),r=Pi(),n=l(r),a=Jt(),i=l(a),o=_m();function l(x){return x&&x.__esModule?x:{default:x}}function h(x,S){if(!(x instanceof S))throw new TypeError("Cannot call a class as a function")}function u(x,S){if(!x)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return S&&(typeof S=="object"||typeof S=="function")?S:x}function c(x,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof S);x.prototype=Object.create(S&&S.prototype,{constructor:{value:x,enumerable:!1,writable:!0,configurable:!0}}),S&&(Object.setPrototypeOf?Object.setPrototypeOf(x,S):x.__proto__=S)}var m=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],b=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],g=function(x){c(S,x);function S(N,L){h(this,S);var A=u(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,N,L));if(A.isValid=!1,N.search(/^[0-9]{6}$/)!==-1)A.middleDigits=N,A.upcA=w(N,"0"),A.text=L.text||""+A.upcA[0]+N+A.upcA[A.upcA.length-1],A.isValid=!0;else if(N.search(/^[01][0-9]{7}$/)!==-1)if(A.middleDigits=N.substring(1,N.length-1),A.upcA=w(A.middleDigits,N[0]),A.upcA[A.upcA.length-1]===N[N.length-1])A.isValid=!0;else return u(A);else return u(A);return A.displayValue=L.displayValue,L.fontSize>L.width*10?A.fontSize=L.width*10:A.fontSize=L.fontSize,A.guardHeight=L.height+A.fontSize/2+L.textMargin,A}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 N="";return N+="101",N+=this.encodeMiddleDigits(),N+="010101",{data:N,text:this.text}}},{key:"guardedEncoding",value:function(){var N=[];return this.displayValue&&N.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),N.push({data:"101",options:{height:this.guardHeight}}),N.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),N.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&N.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),N}},{key:"encodeMiddleDigits",value:function(){var N=this.upcA[0],L=this.upcA[this.upcA.length-1],A=b[parseInt(L)][parseInt(N)];return(0,n.default)(this.middleDigits,A)}}]),S}(i.default);function w(x,S){for(var N=parseInt(x[x.length-1]),L=m[N],A="",Y=0,ne=0;ne<L.length;ne++){var ue=L[ne];ue==="X"?A+=x[Y++]:A+=ue}return A=""+S+A,""+A+(0,o.checksum)(A)}e.default=g}),q3=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=j3(),r=g(t),n=V3(),a=g(n),i=z3(),o=g(i),l=B3(),h=g(l),u=_m(),c=g(u),m=H3(),b=g(m);function g(w){return w&&w.__esModule?w:{default:w}}e.EAN13=r.default,e.EAN8=a.default,e.EAN5=o.default,e.EAN2=h.default,e.UPC=c.default,e.UPCE=b.default}),$3=te(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"]}),wm=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&c(m.prototype,b),g&&c(m,g),m}}(),r=$3(),n=Jt(),a=i(n);function i(c){return c&&c.__esModule?c:{default:c}}function o(c,m){if(!(c instanceof m))throw new TypeError("Cannot call a class as a function")}function l(c,m){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:c}function h(c,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);c.prototype=Object.create(m&&m.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(c,m):c.__proto__=m)}var u=function(c){h(m,c);function m(){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return t(m,[{key:"valid",value:function(){return this.data.search(/^([0-9]{2})+$/)!==-1}},{key:"encode",value:function(){var b=this,g=this.data.match(/.{2}/g).map(function(w){return b.encodePair(w)}).join("");return{data:r.START_BIN+g+r.END_BIN,text:this.text}}},{key:"encodePair",value:function(b){var g=r.BINARIES[b[1]];return r.BINARIES[b[0]].split("").map(function(w,x){return(w==="1"?"111":"1")+(g[x]==="1"?"000":"0")}).join("")}}]),m}(a.default);e.default=u}),G3=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&c(m.prototype,b),g&&c(m,g),m}}(),r=wm(),n=a(r);function a(c){return c&&c.__esModule?c:{default:c}}function i(c,m){if(!(c instanceof m))throw new TypeError("Cannot call a class as a function")}function o(c,m){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:c}function l(c,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);c.prototype=Object.create(m&&m.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(c,m):c.__proto__=m)}var h=function(c){var m=c.substr(0,13).split("").map(function(b){return parseInt(b,10)}).reduce(function(b,g,w){return b+g*(3-w%2*2)},0);return Math.ceil(m/10)*10-m},u=function(c){l(m,c);function m(b,g){return i(this,m),b.search(/^[0-9]{13}$/)!==-1&&(b+=h(b)),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b,g))}return t(m,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===h(this.data)}}]),m}(n.default);e.default=u}),U3=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=wm(),r=i(t),n=G3(),a=i(n);function i(o){return o&&o.__esModule?o:{default:o}}e.ITF=r.default,e.ITF14=a.default}),Ai=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&c(m.prototype,b),g&&c(m,g),m}}(),r=Jt(),n=a(r);function a(c){return c&&c.__esModule?c:{default:c}}function i(c,m){if(!(c instanceof m))throw new TypeError("Cannot call a class as a function")}function o(c,m){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:c}function l(c,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);c.prototype=Object.create(m&&m.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(c,m):c.__proto__=m)}var h=function(c){l(m,c);function m(b,g){return i(this,m),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b,g))}return t(m,[{key:"encode",value:function(){for(var b="110",g=0;g<this.data.length;g++){var w=parseInt(this.data[g]),x=w.toString(2);x=u(x,4-x.length);for(var S=0;S<x.length;S++)b+=x[S]=="0"?"100":"110"}return b+="1001",{data:b,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),m}(n.default);function u(c,m){for(var b=0;b<m;b++)c="0"+c;return c}e.default=h}),Ls=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.mod10=t,e.mod11=r;function t(n){for(var a=0,i=0;i<n.length;i++){var o=parseInt(n[i]);(i+n.length)%2===0?a+=o:a+=o*2%10+Math.floor(o*2/10)}return(10-a%10)%10}function r(n){for(var a=0,i=[2,3,4,5,6,7],o=0;o<n.length;o++){var l=parseInt(n[n.length-1-o]);a+=i[o%i.length]*l}return(11-a%11)%11}}),W3=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Ai(),r=a(t),n=Ls();function a(u){return u&&u.__esModule?u:{default:u}}function i(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function o(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function l(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var h=function(u){l(c,u);function c(m,b){return i(this,c),o(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,m+(0,n.mod10)(m),b))}return c}(r.default);e.default=h}),Z3=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Ai(),r=a(t),n=Ls();function a(u){return u&&u.__esModule?u:{default:u}}function i(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function o(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function l(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var h=function(u){l(c,u);function c(m,b){return i(this,c),o(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,m+(0,n.mod11)(m),b))}return c}(r.default);e.default=h}),Y3=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Ai(),r=a(t),n=Ls();function a(u){return u&&u.__esModule?u:{default:u}}function i(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function o(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function l(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var h=function(u){l(c,u);function c(m,b){return i(this,c),m+=(0,n.mod10)(m),m+=(0,n.mod10)(m),o(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,m,b))}return c}(r.default);e.default=h}),K3=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Ai(),r=a(t),n=Ls();function a(u){return u&&u.__esModule?u:{default:u}}function i(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function o(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function l(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var h=function(u){l(c,u);function c(m,b){return i(this,c),m+=(0,n.mod11)(m),m+=(0,n.mod10)(m),o(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,m,b))}return c}(r.default);e.default=h}),Q3=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var t=Ai(),r=m(t),n=W3(),a=m(n),i=Z3(),o=m(i),l=Y3(),h=m(l),u=K3(),c=m(u);function m(b){return b&&b.__esModule?b:{default:b}}e.MSI=r.default,e.MSI10=a.default,e.MSI11=o.default,e.MSI1010=h.default,e.MSI1110=c.default}),J3=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.pharmacode=void 0;var t=function(){function u(c,m){for(var b=0;b<m.length;b++){var g=m[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(c,g.key,g)}}return function(c,m,b){return m&&u(c.prototype,m),b&&u(c,b),c}}(),r=Jt(),n=a(r);function a(u){return u&&u.__esModule?u:{default:u}}function i(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function o(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function l(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var h=function(u){l(c,u);function c(m,b){i(this,c);var g=o(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,m,b));return g.number=parseInt(m,10),g}return t(c,[{key:"encode",value:function(){for(var m=this.number,b="";!isNaN(m)&&m!=0;)m%2===0?(b="11100"+b,m=(m-2)/2):(b="100"+b,m=(m-1)/2);return b=b.slice(0,-2),{data:b,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),c}(n.default);e.pharmacode=h}),X3=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codabar=void 0;var t=function(){function u(c,m){for(var b=0;b<m.length;b++){var g=m[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(c,g.key,g)}}return function(c,m,b){return m&&u(c.prototype,m),b&&u(c,b),c}}(),r=Jt(),n=a(r);function a(u){return u&&u.__esModule?u:{default:u}}function i(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function o(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function l(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var h=function(u){l(c,u);function c(m,b){i(this,c),m.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(m="A"+m+"A");var g=o(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,m.toUpperCase(),b));return g.text=g.options.text||g.text.replace(/[A-D]/g,""),g}return t(c,[{key:"valid",value:function(){return this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)!==-1}},{key:"encode",value:function(){for(var m=[],b=this.getEncodings(),g=0;g<this.data.length;g++)m.push(b[this.data.charAt(g)]),g!==this.data.length-1&&m.push("0");return{text:this.text,data:m.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"1011011011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),c}(n.default);e.codabar=h}),e4=te(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"]}}),xm=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(m,b){for(var g=0;g<b.length;g++){var w=b[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,b,g){return b&&c(m.prototype,b),g&&c(m,g),m}}(),r=e4(),n=Jt(),a=i(n);function i(c){return c&&c.__esModule?c:{default:c}}function o(c,m){if(!(c instanceof m))throw new TypeError("Cannot call a class as a function")}function l(c,m){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:c}function h(c,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);c.prototype=Object.create(m&&m.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(c,m):c.__proto__=m)}var u=function(c){h(m,c);function m(b,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,b,g))}return t(m,[{key:"valid",value:function(){return/^[0-9A-Z\-. $/+%]+$/.test(this.data)}},{key:"encode",value:function(){var b=this.data.split("").flatMap(function(S){return r.MULTI_SYMBOLS[S]||S}),g=b.map(function(S){return m.getEncoding(S)}).join(""),w=m.checksum(b,20),x=m.checksum(b.concat(w),15);return{text:this.text,data:m.getEncoding("ÿ")+g+m.getEncoding(w)+m.getEncoding(x)+m.getEncoding("ÿ")+"1"}}}],[{key:"getEncoding",value:function(b){return r.BINARIES[m.symbolValue(b)]}},{key:"getSymbol",value:function(b){return r.SYMBOLS[b]}},{key:"symbolValue",value:function(b){return r.SYMBOLS.indexOf(b)}},{key:"checksum",value:function(b,g){var w=b.slice().reverse().reduce(function(x,S,N){var L=N%g+1;return x+m.symbolValue(S)*L},0);return m.getSymbol(w%47)}}]),m}(a.default);e.default=u}),t4=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(c,m){for(var b=0;b<m.length;b++){var g=m[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(c,g.key,g)}}return function(c,m,b){return m&&u(c.prototype,m),b&&u(c,b),c}}(),r=xm(),n=a(r);function a(u){return u&&u.__esModule?u:{default:u}}function i(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function o(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function l(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var h=function(u){l(c,u);function c(m,b){return i(this,c),o(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,m,b))}return t(c,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),c}(n.default);e.default=h}),n4=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE93FullASCII=e.CODE93=void 0;var t=xm(),r=i(t),n=t4(),a=i(n);function i(o){return o&&o.__esModule?o:{default:o}}e.CODE93=r.default,e.CODE93FullASCII=a.default}),r4=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GenericBarcode=void 0;var t=function(){function u(c,m){for(var b=0;b<m.length;b++){var g=m[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(c,g.key,g)}}return function(c,m,b){return m&&u(c.prototype,m),b&&u(c,b),c}}(),r=Jt(),n=a(r);function a(u){return u&&u.__esModule?u:{default:u}}function i(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function o(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function l(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var h=function(u){l(c,u);function c(m,b){return i(this,c),o(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,m,b))}return t(c,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),c}(n.default);e.GenericBarcode=h}),a4=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=M3(),r=F3(),n=q3(),a=U3(),i=Q3(),o=J3(),l=X3(),h=n4(),u=r4();e.default={CODE39:t.CODE39,CODE128:r.CODE128,CODE128A:r.CODE128A,CODE128B:r.CODE128B,CODE128C:r.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:i.MSI,MSI10:i.MSI10,MSI11:i.MSI11,MSI1010:i.MSI1010,MSI1110:i.MSI1110,pharmacode:o.pharmacode,codabar:l.codabar,CODE93:h.CODE93,CODE93FullASCII:h.CODE93FullASCII,GenericBarcode:u.GenericBarcode}}),Fs=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(r){for(var n=1;n<arguments.length;n++){var a=arguments[n];for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(r[i]=a[i])}return r};e.default=function(r,n){return t({},r,n)}}),i4=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){var n=[];function a(i){if(Array.isArray(i))for(var o=0;o<i.length;o++)a(i[o]);else i.text=i.text||"",i.data=i.data||"",n.push(i)}return a(r),n}}),o4=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.marginTop=r.marginTop||r.margin,r.marginBottom=r.marginBottom||r.margin,r.marginRight=r.marginRight||r.margin,r.marginLeft=r.marginLeft||r.margin,r}}),Em=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){var n=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var a in n)n.hasOwnProperty(a)&&(a=n[a],typeof r[a]=="string"&&(r[a]=parseInt(r[a],10)));return typeof r.displayValue=="string"&&(r.displayValue=r.displayValue!="false"),r}}),Sm=te(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}),s4=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Em(),r=i(t),n=Sm(),a=i(n);function i(l){return l&&l.__esModule?l:{default:l}}function o(l){var h={};for(var u in a.default)a.default.hasOwnProperty(u)&&(l.hasAttribute("jsbarcode-"+u.toLowerCase())&&(h[u]=l.getAttribute("jsbarcode-"+u.toLowerCase())),l.hasAttribute("data-"+u.toLowerCase())&&(h[u]=l.getAttribute("data-"+u.toLowerCase())));return h.value=l.getAttribute("jsbarcode-value")||l.getAttribute("data-value"),h=(0,r.default)(h),h}e.default=o}),km=te(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var t=Fs(),r=n(t);function n(c){return c&&c.__esModule?c:{default:c}}function a(c,m){return m.height+(m.displayValue&&c.text.length>0?m.fontSize+m.textMargin:0)+m.marginTop+m.marginBottom}function i(c,m,b){if(b.displayValue&&m<c){if(b.textAlign=="center")return Math.floor((c-m)/2);if(b.textAlign=="left")return 0;if(b.textAlign=="right")return Math.floor(c-m)}return 0}function o(c,m,b){for(var g=0;g<c.length;g++){var w=c[g],x=(0,r.default)(m,w.options),S;x.displayValue?S=u(w.text,x,b):S=0;var N=w.data.length*x.width;w.width=Math.ceil(Math.max(S,N)),w.height=a(w,x),w.barcodePadding=i(S,N,x)}}function l(c){for(var m=0,b=0;b<c.length;b++)m+=c[b].width;return m}function h(c){for(var m=0,b=0;b<c.length;b++)c[b].height>m&&(m=c[b].height);return m}function u(c,m,b){var g;if(b)g=b;else if(typeof document<"u")g=document.createElement("canvas").getContext("2d");else return 0;g.font=m.fontOptions+" "+m.fontSize+"px "+m.font;var w=g.measureText(c);if(!w)return 0;var x=w.width;return x}e.getMaximumHeightOfEncodings=h,e.getEncodingHeight=a,e.getBarcodePadding=i,e.calculateEncodingAttributes=o,e.getTotalWidthOfEncodings=l}),l4=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function h(u,c){for(var m=0;m<c.length;m++){var b=c[m];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(u,b.key,b)}}return function(u,c,m){return c&&h(u.prototype,c),m&&h(u,m),u}}(),r=Fs(),n=i(r),a=km();function i(h){return h&&h.__esModule?h:{default:h}}function o(h,u){if(!(h instanceof u))throw new TypeError("Cannot call a class as a function")}var l=function(){function h(u,c,m){o(this,h),this.canvas=u,this.encodings=c,this.options=m}return t(h,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var u=0;u<this.encodings.length;u++){var c=(0,n.default)(this.options,this.encodings[u].options);this.drawCanvasBarcode(c,this.encodings[u]),this.drawCanvasText(c,this.encodings[u]),this.moveCanvasDrawing(this.encodings[u])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var u=this.canvas.getContext("2d");u.save(),(0,a.calculateEncodingAttributes)(this.encodings,this.options,u);var c=(0,a.getTotalWidthOfEncodings)(this.encodings),m=(0,a.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=c+this.options.marginLeft+this.options.marginRight,this.canvas.height=m,u.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(u.fillStyle=this.options.background,u.fillRect(0,0,this.canvas.width,this.canvas.height)),u.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(u,c){var m=this.canvas.getContext("2d"),b=c.data,g;u.textPosition=="top"?g=u.marginTop+u.fontSize+u.textMargin:g=u.marginTop,m.fillStyle=u.lineColor;for(var w=0;w<b.length;w++){var x=w*u.width+c.barcodePadding;b[w]==="1"?m.fillRect(x,g,u.width,u.height):b[w]&&m.fillRect(x,g,u.width,u.height*b[w])}}},{key:"drawCanvasText",value:function(u,c){var m=this.canvas.getContext("2d"),b=u.fontOptions+" "+u.fontSize+"px "+u.font;if(u.displayValue){var g,w;u.textPosition=="top"?w=u.marginTop+u.fontSize-u.textMargin:w=u.height+u.textMargin+u.marginTop+u.fontSize,m.font=b,u.textAlign=="left"||c.barcodePadding>0?(g=0,m.textAlign="left"):u.textAlign=="right"?(g=c.width-1,m.textAlign="right"):(g=c.width/2,m.textAlign="center"),m.fillText(c.text,g,w)}}},{key:"moveCanvasDrawing",value:function(u){var c=this.canvas.getContext("2d");c.translate(u.width,0)}},{key:"restoreCanvas",value:function(){var u=this.canvas.getContext("2d");u.restore()}}]),h}();e.default=l}),u4=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(c,m){for(var b=0;b<m.length;b++){var g=m[b];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(c,g.key,g)}}return function(c,m,b){return m&&u(c.prototype,m),b&&u(c,b),c}}(),r=Fs(),n=i(r),a=km();function i(u){return u&&u.__esModule?u:{default:u}}function o(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}var l="http://www.w3.org/2000/svg",h=function(){function u(c,m,b){o(this,u),this.svg=c,this.encodings=m,this.options=b,this.document=b.xmlDocument||document}return t(u,[{key:"render",value:function(){var c=this.options.marginLeft;this.prepareSVG();for(var m=0;m<this.encodings.length;m++){var b=this.encodings[m],g=(0,n.default)(this.options,b.options),w=this.createGroup(c,g.marginTop,this.svg);this.setGroupOptions(w,g),this.drawSvgBarcode(w,g,b),this.drawSVGText(w,g,b),c+=b.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,a.calculateEncodingAttributes)(this.encodings,this.options);var c=(0,a.getTotalWidthOfEncodings)(this.encodings),m=(0,a.getMaximumHeightOfEncodings)(this.encodings),b=c+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(b,m),this.options.background&&this.drawRect(0,0,b,m,this.svg).setAttribute("style","fill:"+this.options.background+";")}},{key:"drawSvgBarcode",value:function(c,m,b){var g=b.data,w;m.textPosition=="top"?w=m.fontSize+m.textMargin:w=0;for(var x=0,S=0,N=0;N<g.length;N++)S=N*m.width+b.barcodePadding,g[N]==="1"?x++:x>0&&(this.drawRect(S-m.width*x,w,m.width*x,m.height,c),x=0);x>0&&this.drawRect(S-m.width*(x-1),w,m.width*x,m.height,c)}},{key:"drawSVGText",value:function(c,m,b){var g=this.document.createElementNS(l,"text");if(m.displayValue){var w,x;g.setAttribute("style","font:"+m.fontOptions+" "+m.fontSize+"px "+m.font),m.textPosition=="top"?x=m.fontSize-m.textMargin:x=m.height+m.textMargin+m.fontSize,m.textAlign=="left"||b.barcodePadding>0?(w=0,g.setAttribute("text-anchor","start")):m.textAlign=="right"?(w=b.width-1,g.setAttribute("text-anchor","end")):(w=b.width/2,g.setAttribute("text-anchor","middle")),g.setAttribute("x",w),g.setAttribute("y",x),g.appendChild(this.document.createTextNode(b.text)),c.appendChild(g)}}},{key:"setSvgAttributes",value:function(c,m){var b=this.svg;b.setAttribute("width",c+"px"),b.setAttribute("height",m+"px"),b.setAttribute("x","0px"),b.setAttribute("y","0px"),b.setAttribute("viewBox","0 0 "+c+" "+m),b.setAttribute("xmlns",l),b.setAttribute("version","1.1"),b.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(c,m,b){var g=this.document.createElementNS(l,"g");return g.setAttribute("transform","translate("+c+", "+m+")"),b.appendChild(g),g}},{key:"setGroupOptions",value:function(c,m){c.setAttribute("style","fill:"+m.lineColor+";")}},{key:"drawRect",value:function(c,m,b,g,w){var x=this.document.createElementNS(l,"rect");return x.setAttribute("x",c),x.setAttribute("y",m),x.setAttribute("width",b),x.setAttribute("height",g),w.appendChild(x),x}}]),u}();e.default=h}),c4=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(i,o){for(var l=0;l<o.length;l++){var h=o[l];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(i,h.key,h)}}return function(i,o,l){return o&&a(i.prototype,o),l&&a(i,l),i}}();function r(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")}var n=function(){function a(i,o,l){r(this,a),this.object=i,this.encodings=o,this.options=l}return t(a,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),a}();e.default=n}),d4=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=l4(),r=l(t),n=u4(),a=l(n),i=c4(),o=l(i);function l(h){return h&&h.__esModule?h:{default:h}}e.default={CanvasRenderer:r.default,SVGRenderer:a.default,ObjectRenderer:o.default}}),Cm=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(l,h){if(!(l instanceof h))throw new TypeError("Cannot call a class as a function")}function r(l,h){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:l}function n(l,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);l.prototype=Object.create(h&&h.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(l,h):l.__proto__=h)}var a=function(l){n(h,l);function h(u,c){t(this,h);var m=r(this,(h.__proto__||Object.getPrototypeOf(h)).call(this));return m.name="InvalidInputException",m.symbology=u,m.input=c,m.message='"'+m.input+'" is not a valid input for '+m.symbology,m}return h}(Error),i=function(l){n(h,l);function h(){t(this,h);var u=r(this,(h.__proto__||Object.getPrototypeOf(h)).call(this));return u.name="InvalidElementException",u.message="Not supported type to render on",u}return h}(Error),o=function(l){n(h,l);function h(){t(this,h);var u=r(this,(h.__proto__||Object.getPrototypeOf(h)).call(this));return u.name="NoElementException",u.message="No element to render on.",u}return h}(Error);e.InvalidInputException=a,e.InvalidElementException=i,e.NoElementException=o}),h4=te(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},r=s4(),n=l(r),a=d4(),i=l(a),o=Cm();function l(m){return m&&m.__esModule?m:{default:m}}function h(m){if(typeof m=="string")return u(m);if(Array.isArray(m)){for(var b=[],g=0;g<m.length;g++)b.push(h(m[g]));return b}else{if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLImageElement)return c(m);if(m&&m.nodeName&&m.nodeName.toLowerCase()==="svg"||typeof SVGElement<"u"&&m instanceof SVGElement)return{element:m,options:(0,n.default)(m),renderer:i.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLCanvasElement)return{element:m,options:(0,n.default)(m),renderer:i.default.CanvasRenderer};if(m&&m.getContext)return{element:m,renderer:i.default.CanvasRenderer};if(m&&(typeof m>"u"?"undefined":t(m))==="object"&&!m.nodeName)return{element:m,renderer:i.default.ObjectRenderer};throw new o.InvalidElementException}}function u(m){var b=document.querySelectorAll(m);if(b.length!==0){for(var g=[],w=0;w<b.length;w++)g.push(h(b[w]));return g}}function c(m){var b=document.createElement("canvas");return{element:b,options:(0,n.default)(m),renderer:i.default.CanvasRenderer,afterRender:function(){m.setAttribute("src",b.toDataURL())}}}e.default=h}),p4=te(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(i,o){for(var l=0;l<o.length;l++){var h=o[l];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(i,h.key,h)}}return function(i,o,l){return o&&a(i.prototype,o),l&&a(i,l),i}}();function r(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")}var n=function(){function a(i){r(this,a),this.api=i}return t(a,[{key:"handleCatch",value:function(i){if(i.name==="InvalidInputException")if(this.api._options.valid!==this.api._defaults.valid)this.api._options.valid(!1);else throw i.message;else throw i;this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(i){try{var o=i.apply(void 0,arguments);return this.api._options.valid(!0),o}catch(l){return this.handleCatch(l),this.api}}}]),a}();e.default=n}),m4=te((e,t)=>{var r=a4(),n=A(r),a=Fs(),i=A(a),o=i4(),l=A(o),h=o4(),u=A(h),c=h4(),m=A(c),b=Em(),g=A(b),w=p4(),x=A(w),S=Cm(),N=Sm(),L=A(N);function A(Z){return Z&&Z.__esModule?Z:{default:Z}}var Y=function(){},ne=function(Z,B,de){var P=new Y;if(typeof Z>"u")throw Error("No element to render on was provided.");return P._renderProperties=(0,m.default)(Z),P._encodings=[],P._options=L.default,P._errorHandler=new x.default(P),typeof B<"u"&&(de=de||{},de.format||(de.format=Be()),P.options(de)[de.format](B,de).render()),P};ne.getModule=function(Z){return n.default[Z]};for(ue in n.default)n.default.hasOwnProperty(ue)&&dt(n.default,ue);var ue;function dt(Z,B){Y.prototype[B]=Y.prototype[B.toUpperCase()]=Y.prototype[B.toLowerCase()]=function(de,P){var j=this;return j._errorHandler.wrapBarcodeCall(function(){P.text=typeof P.text>"u"?void 0:""+P.text;var G=(0,i.default)(j._options,P);G=(0,g.default)(G);var ve=Z[B],Ve=tt(de,ve,G);return j._encodings.push(Ve),j})}}function tt(Z,B,de){Z=""+Z;var P=new B(Z,de);if(!P.valid())throw new S.InvalidInputException(P.constructor.name,Z);var j=P.encode();j=(0,l.default)(j);for(var G=0;G<j.length;G++)j[G].options=(0,i.default)(de,j[G].options);return j}function Be(){return n.default.CODE128?"CODE128":Object.keys(n.default)[0]}Y.prototype.options=function(Z){return this._options=(0,i.default)(this._options,Z),this},Y.prototype.blank=function(Z){var B=new Array(Z+1).join("0");return this._encodings.push({data:B}),this},Y.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var Z;for(var B in this._renderProperties){Z=this._renderProperties[B];var de=(0,i.default)(this._options,Z.options);de.format=="auto"&&(de.format=Be()),this._errorHandler.wrapBarcodeCall(function(){var P=de.value,j=n.default[de.format.toUpperCase()],G=tt(P,j,de);ot(Z,G,de)})}}},Y.prototype.render=function(){if(!this._renderProperties)throw new S.NoElementException;if(Array.isArray(this._renderProperties))for(var Z=0;Z<this._renderProperties.length;Z++)ot(this._renderProperties[Z],this._encodings,this._options);else ot(this._renderProperties,this._encodings,this._options);return this},Y.prototype._defaults=L.default;function ot(Z,B,de){B=(0,l.default)(B);for(var P=0;P<B.length;P++)B[P].options=(0,i.default)(de,B[P].options),(0,u.default)(B[P].options);(0,u.default)(de);var j=Z.renderer,G=new j(Z.element,B,de);G.render(),Z.afterRender&&Z.afterRender()}typeof window<"u"&&(window.JsBarcode=ne),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(Z,B){var de=[];return jQuery(this).each(function(){de.push(this)}),ne(de,Z,B)}),t.exports=ne});function Im(e,t){return Object.is(e,t)}var rt=null,jo=!1,pc=1,mc=Symbol("SIGNAL");function xe(e){let t=rt;return rt=e,t}function f4(){return rt}var js={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 Dm(e){if(jo)throw new Error("");if(rt===null)return;rt.consumerOnSignalRead(e);let t=rt.nextProducerIndex++;if(zs(rt),t<rt.producerNode.length&&rt.producerNode[t]!==e&&vi(rt)){let r=rt.producerNode[t];Vs(r,rt.producerIndexOfThis[t])}rt.producerNode[t]!==e&&(rt.producerNode[t]=e,rt.producerIndexOfThis[t]=vi(rt)?Pm(e,rt,t):0),rt.producerLastReadVersion[t]=e.version}function g4(){pc++}function Nm(e){if(!(vi(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===pc)){if(!e.producerMustRecompute(e)&&!Om(e)){sh(e);return}e.producerRecomputeValue(e),sh(e)}}function Tm(e){if(e.liveConsumerNode===void 0)return;let t=jo;jo=!0;try{for(let r of e.liveConsumerNode)r.dirty||b4(r)}finally{jo=t}}function v4(){return(rt==null?void 0:rt.consumerAllowSignalWrites)!==!1}function b4(e){var t;e.dirty=!0,Tm(e),(t=e.consumerMarkedDirty)==null||t.call(e,e)}function sh(e){e.dirty=!1,e.lastCleanEpoch=pc}function ou(e){return e&&(e.nextProducerIndex=0),xe(e)}function Mm(e,t){if(xe(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(vi(e))for(let r=e.nextProducerIndex;r<e.producerNode.length;r++)Vs(e.producerNode[r],e.producerIndexOfThis[r]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Om(e){zs(e);for(let t=0;t<e.producerNode.length;t++){let r=e.producerNode[t],n=e.producerLastReadVersion[t];if(n!==r.version||(Nm(r),n!==r.version))return!0}return!1}function Rm(e){if(zs(e),vi(e))for(let t=0;t<e.producerNode.length;t++)Vs(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 Pm(e,t,r){if(Am(e),e.liveConsumerNode.length===0&&Lm(e))for(let n=0;n<e.producerNode.length;n++)e.producerIndexOfThis[n]=Pm(e.producerNode[n],e,n);return e.liveConsumerIndexOfThis.push(r),e.liveConsumerNode.push(t)-1}function Vs(e,t){if(Am(e),e.liveConsumerNode.length===1&&Lm(e))for(let n=0;n<e.producerNode.length;n++)Vs(e.producerNode[n],e.producerIndexOfThis[n]);let r=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[r],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[r],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let n=e.liveConsumerIndexOfThis[t],a=e.liveConsumerNode[t];zs(a),a.producerIndexOfThis[n]=t}}function vi(e){var t;return e.consumerIsAlwaysLive||(((t=e==null?void 0:e.liveConsumerNode)==null?void 0:t.length)??0)>0}function zs(e){e.producerNode??(e.producerNode=[]),e.producerIndexOfThis??(e.producerIndexOfThis=[]),e.producerLastReadVersion??(e.producerLastReadVersion=[])}function Am(e){e.liveConsumerNode??(e.liveConsumerNode=[]),e.liveConsumerIndexOfThis??(e.liveConsumerIndexOfThis=[])}function Lm(e){return e.producerNode!==void 0}function y4(e,t){let r=Object.create(_4);r.computation=e;let n=()=>{if(Nm(r),Dm(r),r.value===Vo)throw r.error;return r.value};return n[mc]=r,n}var gl=Symbol("UNSET"),vl=Symbol("COMPUTING"),Vo=Symbol("ERRORED"),_4=Qt(ge({},js),{value:gl,dirty:!0,error:null,equal:Im,kind:"computed",producerMustRecompute(e){return e.value===gl||e.value===vl},producerRecomputeValue(e){if(e.value===vl)throw new Error("Detected cycle in computations.");let t=e.value;e.value=vl;let r=ou(e),n,a=!1;try{n=e.computation(),xe(null),a=t!==gl&&t!==Vo&&n!==Vo&&e.equal(t,n)}catch(i){n=Vo,e.error=i}finally{Mm(e,r)}if(a){e.value=t;return}e.value=n,e.version++}});function w4(){throw new Error}var Fm=w4;function x4(e){Fm(e)}function E4(e){Fm=e}function S4(e,t){v4()||x4(e),e.equal(e.value,t)||(e.value=t,C4(e))}var k4=Qt(ge({},js),{equal:Im,value:void 0,kind:"signal"});function C4(e){e.version++,g4(),Tm(e)}function I4(e){let t=xe(null);try{return e()}finally{xe(t)}}var su;function zo(){return su}function vr(e){let t=su;return su=e,t}var jm=Symbol("NotFound");function Ge(e){return typeof e=="function"}function fc(e){let t=e(r=>{Error.call(r),r.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var bl=fc(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
13
13
  ${t.map((r,n)=>`${n+1}) ${r.toString()}`).join(`
14
- `)}`:"",this.name="UnsubscriptionError",this.errors=t});function rs(e,t){if(e){let r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Zt=class lu{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:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let i of r)i.remove(this);else r.remove(this);let{initialTeardown:n}=this;if($e(n))try{n()}catch(i){t=i instanceof bl?i.errors:[i]}let{_finalizers:a}=this;if(a){this._finalizers=null;for(let i of a)try{lh(i)}catch(o){t=t??[],o instanceof bl?t=[...t,...o.errors]:t.push(o)}}if(t)throw new bl(t)}}add(t){var r;if(t&&t!==this)if(this.closed)lh(t);else{if(t instanceof lu){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}}_hasParent(t){let{_parentage:r}=this;return r===t||Array.isArray(r)&&r.includes(t)}_addParent(t){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t}_removeParent(t){let{_parentage:r}=this;r===t?this._parentage=null:Array.isArray(r)&&rs(r,t)}remove(t){let{_finalizers:r}=this;r&&rs(r,t),t instanceof lu&&t._removeParent(this)}};Zt.EMPTY=(()=>{let e=new Zt;return e.closed=!0,e})();var Bm=Zt.EMPTY;function zm(e){return e instanceof Zt||e&&"closed"in e&&$e(e.remove)&&$e(e.add)&&$e(e.unsubscribe)}function lh(e){$e(e)?e():e.unsubscribe()}var I4={Promise:void 0},D4={setTimeout(e,t,...r){return setTimeout(e,t,...r)},clearTimeout(e){return clearTimeout(e)},delegate:void 0};function Hm(e){D4.setTimeout(()=>{throw e})}function uu(){}function zo(e){e()}var fc=class extends Zt{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,zm(e)&&e.add(this)):this.destination=M4}static create(e,t,r){return new vi(e,t,r)}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()}}},N4=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(r){go(r)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(r){go(r)}else go(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){go(t)}}},vi=class extends fc{constructor(e,t,r){super();let n;$e(e)||!e?n={next:e??void 0,error:t??void 0,complete:r??void 0}:n=e,this.destination=new N4(n)}};function go(e){Hm(e)}function T4(e){throw e}var M4={closed:!0,next:uu,error:T4,complete:uu},gc=typeof Symbol=="function"&&Symbol.observable||"@@observable";function La(e){return e}function R4(e){return e.length===0?La:e.length===1?e[0]:function(t){return e.reduce((r,n)=>n(r),t)}}var Qe=(()=>{class e{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new e;return n.source=this,n.operator=r,n}subscribe(r,n,a){let i=P4(r)?r:new vi(r,n,a);return zo(()=>{let{operator:o,source:l}=this;i.add(o?o.call(i,l):l?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=uh(n),new n((a,i)=>{let o=new vi({next:l=>{try{r(l)}catch(h){i(h),o.unsubscribe()}},error:i,complete:a});this.subscribe(o)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[gc](){return this}pipe(...r){return R4(r)(this)}toPromise(r){return r=uh(r),new r((n,a)=>{let i;this.subscribe(o=>i=o,o=>a(o),()=>n(i))})}}return e.create=t=>new e(t),e})();function uh(e){var t;return(t=e??I4.Promise)!==null&&t!==void 0?t:Promise}function O4(e){return e&&$e(e.next)&&$e(e.error)&&$e(e.complete)}function P4(e){return e&&e instanceof fc||O4(e)&&zm(e)}function A4(e){return $e(e==null?void 0:e.lift)}function Ot(e){return t=>{if(A4(t))return t.lift(function(r){try{return e(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ct(e,t,r,n,a){return new L4(e,t,r,n,a)}var L4=class extends fc{constructor(e,t,r,n,a,i){super(e),this.onFinalize=a,this.shouldUnsubscribe=i,this._next=t?function(o){try{t(o)}catch(l){e.error(l)}}:super._next,this._error=n?function(o){try{n(o)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}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))}}},F4=Vm(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}),Pe=(()=>{class e extends Qe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new ch(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new F4}next(r){zo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){zo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){zo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:a,observers:i}=this;return n||a?Bm:(this.currentObservers=null,i.push(r),new Zt(()=>{this.currentObservers=null,rs(i,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:a,isStopped:i}=this;n?r.error(a):i&&r.complete()}asObservable(){let r=new Qe;return r.source=this,r}}return e.create=(t,r)=>new ch(t,r),e})(),ch=class extends Pe{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,e)}error(e){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.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,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(e))!==null&&r!==void 0?r:Bm}},vc=class extends Pe{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:r}=this;if(e)throw t;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}},bc={now(){return(bc.delegate||Date).now()},delegate:void 0},yc=class extends Pe{constructor(e=1/0,t=1/0,r=bc){super(),this._bufferSize=e,this._windowTime=t,this._timestampProvider=r,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:r,_infiniteTimeWindow:n,_timestampProvider:a,_windowTime:i}=this;t||(r.push(e),!n&&r.push(a.now()+i)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(e),{_infiniteTimeWindow:r,_buffer:n}=this,a=n.slice();for(let i=0;i<a.length&&!e.closed;i+=r?1:2)e.next(a[i]);return this._checkFinalizedStatuses(e),t}_trimBuffer(){let{_bufferSize:e,_timestampProvider:t,_buffer:r,_infiniteTimeWindow:n}=this,a=(n?1:2)*e;if(e<1/0&&a<r.length&&r.splice(0,r.length-a),!n){let i=t.now(),o=0;for(let l=1;l<r.length&&r[l]<=i;l+=2)o=l;o&&r.splice(0,o+1)}}},j4=class extends Zt{constructor(e,t){super()}schedule(e,t=0){return this}},cu={setInterval(e,t,...r){let{delegate:n}=cu;return n!=null&&n.setInterval?n.setInterval(e,t,...r):setInterval(e,t,...r)},clearInterval(e){return clearInterval(e)},delegate:void 0},V4=class extends j4{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var r;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=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(a,this.id,t),this}requestAsyncId(e,t,r=0){return cu.setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,t,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return t;t!=null&&cu.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(e,t);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let r=!1,n;try{this.work(e)}catch(a){r=!0,n=a||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){let{id:e,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,rs(r,this),e!=null&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}},du=class qm{constructor(t,r=qm.now){this.schedulerActionCtor=t,this.now=r}schedule(t,r=0,n){return new this.schedulerActionCtor(this,t).schedule(n,r)}};du.now=bc.now;var B4=class extends du{constructor(e,t=du.now){super(e,t),this.actions=[],this._active=!1}flush(e){let{actions:t}=this;if(this._active){t.push(e);return}let r;this._active=!0;do if(r=e.execute(e.state,e.delay))break;while(e=t.shift());if(this._active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}}},_c=new B4(V4),z4=_c,$m=new Qe(e=>e.complete());function Gm(e){return e&&$e(e.schedule)}function wc(e){return e[e.length-1]}function Um(e){return $e(wc(e))?e.pop():void 0}function Li(e){return Gm(wc(e))?e.pop():void 0}function H4(e,t){return typeof wc(e)=="number"?e.pop():t}function q4(e,t,r,n){function a(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function l(c){try{u(n.next(c))}catch(m){o(m)}}function h(c){try{u(n.throw(c))}catch(m){o(m)}}function u(c){c.done?i(c.value):a(c.value).then(l,h)}u((n=n.apply(e,[])).next())})}function dh(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.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 ya(e){return this instanceof ya?(this.v=e,this):new ya(e)}function $4(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),a,i=[];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(w){return Promise.resolve(w).then(g,m)}}function l(g,w){n[g]&&(a[g]=function(x){return new Promise(function(S,N){i.push([g,x,S,N])>1||h(g,x)})},w&&(a[g]=w(a[g])))}function h(g,w){try{u(n[g](w))}catch(x){b(i[0][3],x)}}function u(g){g.value instanceof ya?Promise.resolve(g.value.v).then(c,m):b(i[0][2],g)}function c(g){h("next",g)}function m(g){h("throw",g)}function b(g,w){g(w),i.shift(),i.length&&h(i[0][0],i[0][1])}}function G4(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof dh=="function"?dh(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=e[i]&&function(o){return new Promise(function(l,h){o=e[i](o),a(l,h,o.done,o.value)})}}function a(i,o,l,h){Promise.resolve(h).then(function(u){i({value:u,done:l})},o)}}var Wm=e=>e&&typeof e.length=="number"&&typeof e!="function";function Zm(e){return $e(e==null?void 0:e.then)}function Ym(e){return $e(e[gc])}function Km(e){return Symbol.asyncIterator&&$e(e==null?void 0:e[Symbol.asyncIterator])}function Qm(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 U4(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Jm=U4();function Xm(e){return $e(e==null?void 0:e[Jm])}function ef(e){return $4(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:n}=yield ya(t.read());if(n)return yield ya(void 0);yield yield ya(r)}}finally{t.releaseLock()}})}function tf(e){return $e(e==null?void 0:e.getReader)}function Ht(e){if(e instanceof Qe)return e;if(e!=null){if(Ym(e))return W4(e);if(Wm(e))return Z4(e);if(Zm(e))return Y4(e);if(Km(e))return nf(e);if(Xm(e))return K4(e);if(tf(e))return Q4(e)}throw Qm(e)}function W4(e){return new Qe(t=>{let r=e[gc]();if($e(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Z4(e){return new Qe(t=>{for(let r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()})}function Y4(e){return new Qe(t=>{e.then(r=>{t.closed||(t.next(r),t.complete())},r=>t.error(r)).then(null,Hm)})}function K4(e){return new Qe(t=>{for(let r of e)if(t.next(r),t.closed)return;t.complete()})}function nf(e){return new Qe(t=>{J4(e,t).catch(r=>t.error(r))})}function Q4(e){return nf(ef(e))}function J4(e,t){var r,n,a,i;return q4(this,void 0,void 0,function*(){try{for(r=G4(e);n=yield r.next(),!n.done;){let o=n.value;if(t.next(o),t.closed)return}}catch(o){a={error:o}}finally{try{n&&!n.done&&(i=r.return)&&(yield i.call(r))}finally{if(a)throw a.error}}t.complete()})}function or(e,t,r,n=0,a=!1){let i=t.schedule(function(){r(),a?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(i),!a)return i}function rf(e,t=0){return Ot((r,n)=>{r.subscribe(Ct(n,a=>or(n,e,()=>n.next(a),t),()=>or(n,e,()=>n.complete(),t),a=>or(n,e,()=>n.error(a),t)))})}function af(e,t=0){return Ot((r,n)=>{n.add(e.schedule(()=>r.subscribe(n),t))})}function X4(e,t){return Ht(e).pipe(af(t),rf(t))}function e5(e,t){return Ht(e).pipe(af(t),rf(t))}function t5(e,t){return new Qe(r=>{let n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})})}function n5(e,t){return new Qe(r=>{let n;return or(r,t,()=>{n=e[Jm](),or(r,t,()=>{let a,i;try{({value:a,done:i}=n.next())}catch(o){r.error(o);return}i?r.complete():r.next(a)},0,!0)}),()=>$e(n==null?void 0:n.return)&&n.return()})}function of(e,t){if(!e)throw new Error("Iterable cannot be null");return new Qe(r=>{or(r,t,()=>{let n=e[Symbol.asyncIterator]();or(r,t,()=>{n.next().then(a=>{a.done?r.complete():r.next(a.value)})},0,!0)})})}function r5(e,t){return of(ef(e),t)}function a5(e,t){if(e!=null){if(Ym(e))return X4(e,t);if(Wm(e))return t5(e,t);if(Zm(e))return e5(e,t);if(Km(e))return of(e,t);if(Xm(e))return n5(e,t);if(tf(e))return r5(e,t)}throw Qm(e)}function ea(e,t){return t?a5(e,t):Ht(e)}function _t(...e){let t=Li(e);return ea(e,t)}function sf(e,t){let r=$e(e)?e:()=>e,n=a=>a.error(r());return new Qe(n)}function ci(e){return!!e&&(e instanceof Qe||$e(e.lift)&&$e(e.subscribe))}function i5(e){return e instanceof Date&&!isNaN(e)}function wt(e,t){return Ot((r,n)=>{let a=0;r.subscribe(Ct(n,i=>{n.next(e.call(t,i,a++))}))})}var{isArray:o5}=Array;function s5(e,t){return o5(t)?e(...t):e(t)}function lf(e){return wt(t=>s5(e,t))}var{isArray:l5}=Array,{getPrototypeOf:u5,prototype:c5,keys:d5}=Object;function uf(e){if(e.length===1){let t=e[0];if(l5(t))return{args:t,keys:null};if(h5(t)){let r=d5(t);return{args:r.map(n=>t[n]),keys:r}}}return{args:e,keys:null}}function h5(e){return e&&typeof e=="object"&&u5(e)===c5}function cf(e,t){return e.reduce((r,n,a)=>(r[n]=t[a],r),{})}function p5(...e){let t=Li(e),r=Um(e),{args:n,keys:a}=uf(e);if(n.length===0)return ea([],t);let i=new Qe(m5(n,t,a?o=>cf(a,o):La));return r?i.pipe(lf(r)):i}function m5(e,t,r=La){return n=>{hh(t,()=>{let{length:a}=e,i=new Array(a),o=a,l=a;for(let h=0;h<a;h++)hh(t,()=>{let u=ea(e[h],t),c=!1;u.subscribe(Ct(n,m=>{i[h]=m,c||(c=!0,l--),l||n.next(r(i.slice()))},()=>{--o||n.complete()}))},n)},n)}}function hh(e,t,r){e?or(r,e,t):t()}function f5(e,t,r,n,a,i,o,l){let h=[],u=0,c=0,m=!1,b=()=>{m&&!h.length&&!u&&t.complete()},g=x=>u<n?w(x):h.push(x),w=x=>{u++;let S=!1;Ht(r(x,c++)).subscribe(Ct(t,N=>{t.next(N)},()=>{S=!0},void 0,()=>{if(S)try{for(u--;h.length&&u<n;){let N=h.shift();o?or(t,o,()=>w(N)):w(N)}b()}catch(N){t.error(N)}}))};return e.subscribe(Ct(t,g,()=>{m=!0,b()})),()=>{}}function bi(e,t,r=1/0){return $e(t)?bi((n,a)=>wt((i,o)=>t(n,i,a,o))(Ht(e(n,a))),r):(typeof t=="number"&&(r=t),Ot((n,a)=>f5(n,a,e,r)))}function df(e=1/0){return bi(La,e)}function g5(){return df(1)}function yi(...e){return g5()(ea(e,Li(e)))}function ph(e){return new Qe(t=>{Ht(e()).subscribe(t)})}function hf(...e){let t=Um(e),{args:r,keys:n}=uf(e),a=new Qe(i=>{let{length:o}=r;if(!o){i.complete();return}let l=new Array(o),h=o,u=o;for(let c=0;c<o;c++){let m=!1;Ht(r[c]).subscribe(Ct(i,b=>{m||(m=!0,u--),l[c]=b},()=>h--,void 0,()=>{(!h||!m)&&(u||i.next(n?cf(n,l):l),i.complete())}))}});return t?a.pipe(lf(t)):a}function v5(e=0,t,r=z4){let n=-1;return t!=null&&(Gm(t)?r=t:n=t),new Qe(a=>{let i=i5(e)?+e-r.now():e;i<0&&(i=0);let o=0;return r.schedule(function(){a.closed||(a.next(o++),0<=n?this.schedule(void 0,n):a.complete())},i)})}function pf(...e){let t=Li(e),r=H4(e,1/0),n=e;return n.length?n.length===1?Ht(n[0]):df(r)(ea(n,t)):$m}function zs(e,t){return Ot((r,n)=>{let a=0;r.subscribe(Ct(n,i=>e.call(t,i,a++)&&n.next(i)))})}function b5(e){return Ot((t,r)=>{let n=!1,a=null,i=null,o=!1,l=()=>{if(i==null||i.unsubscribe(),i=null,n){n=!1;let u=a;a=null,r.next(u)}o&&r.complete()},h=()=>{i=null,o&&r.complete()};t.subscribe(Ct(r,u=>{n=!0,a=u,i||Ht(e(u)).subscribe(i=Ct(r,l,h))},()=>{o=!0,(!n||!i||i.closed)&&r.complete()}))})}function mf(e,t=_c){return b5(()=>v5(e,t))}function Hs(e){return Ot((t,r)=>{let n=null,a=!1,i;n=t.subscribe(Ct(r,void 0,void 0,o=>{i=Ht(e(o,Hs(e)(t))),n?(n.unsubscribe(),n=null,i.subscribe(r)):a=!0})),a&&(n.unsubscribe(),n=null,i.subscribe(r))})}function ff(e,t){return $e(t)?bi(e,t,1):bi(e,1)}function y5(e,t=_c){return Ot((r,n)=>{let a=null,i=null,o=null,l=()=>{if(a){a.unsubscribe(),a=null;let u=i;i=null,n.next(u)}};function h(){let u=o+e,c=t.now();if(c<u){a=this.schedule(void 0,u-c),n.add(a);return}l()}r.subscribe(Ct(n,u=>{i=u,o=t.now(),a||(a=t.schedule(h,e),n.add(a))},()=>{l(),n.complete()},void 0,()=>{i=a=null}))})}function rr(e){return e<=0?()=>$m:Ot((t,r)=>{let n=0;t.subscribe(Ct(r,a=>{++n<=e&&(r.next(a),e<=n&&r.complete())}))})}function _5(e,t=La){return e=e??w5,Ot((r,n)=>{let a,i=!0;r.subscribe(Ct(n,o=>{let l=t(o);(i||!e(a,l))&&(i=!1,a=l,n.next(o))}))})}function w5(e,t){return e===t}function gf(e){return Ot((t,r)=>{try{t.subscribe(r)}finally{r.add(e)}})}function vf(e={}){let{connector:t=()=>new Pe,resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:a=!0}=e;return i=>{let o,l,h,u=0,c=!1,m=!1,b=()=>{l==null||l.unsubscribe(),l=void 0},g=()=>{b(),o=h=void 0,c=m=!1},w=()=>{let x=o;g(),x==null||x.unsubscribe()};return Ot((x,S)=>{u++,!m&&!c&&b();let N=h=h??t();S.add(()=>{u--,u===0&&!m&&!c&&(l=yl(w,a))}),N.subscribe(S),!o&&u>0&&(o=new vi({next:L=>N.next(L),error:L=>{m=!0,b(),l=yl(g,r,L),N.error(L)},complete:()=>{c=!0,b(),l=yl(g,n),N.complete()}}),Ht(x).subscribe(o))})(i)}}function yl(e,t,...r){if(t===!0){e();return}if(t===!1)return;let n=new vi({next:()=>{n.unsubscribe(),e()}});return Ht(t(...r)).subscribe(n)}function mh(e,t,r){let n;return n=e,vf({connector:()=>new yc(n,t,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:!1})}function bf(e){return zs((t,r)=>e<=r)}function yf(...e){let t=Li(e);return Ot((r,n)=>{(t?yi(e,r,t):yi(e,r)).subscribe(n)})}function as(e,t){return Ot((r,n)=>{let a=null,i=0,o=!1,l=()=>o&&!a&&n.complete();r.subscribe(Ct(n,h=>{a==null||a.unsubscribe();let u=0,c=i++;Ht(e(h,c)).subscribe(a=Ct(n,m=>n.next(t?t(h,m,c,u++):m),()=>{a=null,l()}))},()=>{o=!0,l()}))})}function Fi(e){return Ot((t,r)=>{Ht(e).subscribe(Ct(r,()=>r.complete(),uu)),!r.closed&&t.subscribe(r)})}function Ho(e,t,r){let n=$e(e)||t||r?{next:e,error:t,complete:r}:e;return n?Ot((a,i)=>{var o;(o=n.subscribe)===null||o===void 0||o.call(n);let l=!0;a.subscribe(Ct(i,h=>{var u;(u=n.next)===null||u===void 0||u.call(n,h),i.next(h)},()=>{var h;l=!1,(h=n.complete)===null||h===void 0||h.call(n),i.complete()},h=>{var u;l=!1,(u=n.error)===null||u===void 0||u.call(n,h),i.error(h)},()=>{var h,u;l&&((h=n.unsubscribe)===null||h===void 0||h.call(n)),(u=n.finalize)===null||u===void 0||u.call(n)}))}):La}var _f="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",U=class extends Error{constructor(t,r){super(E5(t,r));s(this,"code");this.code=t}};function x5(e){return`NG0${Math.abs(e)}`}function E5(e,t){return`${x5(e)}${t?": "+t:""}`}var wf=Symbol("InputSignalNode#UNSET"),S5=Kt(ge({},S4),{transformFn:void 0,applyValueToInputSignal(e,t){E4(e,t)}});function xf(e,t){let r=Object.create(S5);r.value=e,r.transformFn=t==null?void 0:t.transform;function n(){if(Dm(r),r.value===wf){let a=null;throw new U(-950,a)}return r.value}return n[mc]=r,n}function ji(e){return{toString:e}.toString()}var vo="__parameters__";function k5(e){return function(...t){}}function Ef(e,t,r){return ji(()=>{let n=k5();function a(...i){if(this instanceof a)return n.apply(this,i),this;let o=new a(...i);return l.annotation=o,l;function l(h,u,c){let m=h.hasOwnProperty(vo)?h[vo]:Object.defineProperty(h,vo,{value:[]})[vo];for(;m.length<=c;)m.push(null);return(m[c]=m[c]||[]).push(o),h}}return a.prototype.ngMetadataName=e,a.annotationCls=a,a})}var pa=globalThis;function Ge(e){for(let t in e)if(e[t]===Ge)return t;throw Error("Could not find renamed property on target object.")}function C5(e,t){for(let r in t)t.hasOwnProperty(r)&&!e.hasOwnProperty(r)&&(e[r]=t[r])}function ln(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(ln).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let r=e.toString();if(r==null)return""+r;let n=r.indexOf(`
15
- `);return n>=0?r.slice(0,n):r}function hu(e,t){return e?t?`${e} ${t}`:e:t||""}var I5=Ge({__forward_ref__:Ge});function Sf(e){return e.__forward_ref__=Sf,e.toString=function(){return ln(this())},e}function Lt(e){return kf(e)?e():e}function kf(e){return typeof e=="function"&&e.hasOwnProperty(I5)&&e.__forward_ref__===Sf}function $(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Cf(e){return{providers:e.providers||[],imports:e.imports||[]}}function xc(e){return fh(e,If)||fh(e,Df)}function fh(e,t){return e.hasOwnProperty(t)?e[t]:null}function D5(e){return e&&(e[If]||e[Df])||null}function gh(e){return e&&(e.hasOwnProperty(vh)||e.hasOwnProperty(N5))?e[vh]:null}var If=Ge({ɵprov:Ge}),vh=Ge({ɵinj:Ge}),Df=Ge({ngInjectableDef:Ge}),N5=Ge({ngInjectorDef:Ge}),Q=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=$({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Nf(e){return e&&!!e.ɵproviders}var T5=Ge({ɵcmp:Ge}),M5=Ge({ɵdir:Ge}),R5=Ge({ɵpipe:Ge}),is=Ge({ɵfac:Ge}),di=Ge({__NG_ELEMENT_ID__:Ge}),bh=Ge({__NG_ENV_ID__:Ge});function _i(e){return typeof e=="string"?e:e==null?"":String(e)}function O5(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():_i(e)}function Tf(e,t){throw new U(-200,e)}function Ec(e,t){throw new U(-201,!1)}var be=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}(be||{}),pu;function Mf(){return pu}function Vt(e){let t=pu;return pu=e,t}function Rf(e,t,r){let n=xc(e);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&be.Optional)return null;if(t!==void 0)return t;Ec()}var P5={},Gr=P5,mu="__NG_DI_FLAG__",Of=class{constructor(e){s(this,"injector");this.injector=e}retrieve(e,t){let r=t;return this.injector.get(e,r.optional?jm:Gr,r)}},os="ngTempTokenPath",A5="ngTokenPath",L5=/\n/gm,F5="ɵ",yh="__source";function j5(e,t=be.Default){if(Bo()===void 0)throw new U(-203,!1);if(Bo()===null)return Rf(e,void 0,t);{let r=Bo(),n;return r instanceof Of?n=r.injector:n=r,n.get(e,t&be.Optional?null:void 0,t)}}function ee(e,t=be.Default){return(Mf()||j5)(Lt(e),t)}function D(e,t=be.Default){return ee(e,qs(t))}function qs(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function fu(e){let t=[];for(let r=0;r<e.length;r++){let n=Lt(e[r]);if(Array.isArray(n)){if(n.length===0)throw new U(900,!1);let a,i=be.Default;for(let o=0;o<n.length;o++){let l=n[o],h=V5(l);typeof h=="number"?h===-1?a=l.token:i|=h:a=l}t.push(ee(a,i))}else t.push(ee(n))}return t}function Pf(e,t){return e[mu]=t,e.prototype[mu]=t,e}function V5(e){return e[mu]}function B5(e,t,r,n){let a=e[os];throw t[yh]&&a.unshift(t[yh]),e.message=z5(`
16
- `+e.message,a,r,n),e[A5]=a,e[os]=null,e}function z5(e,t,r,n=null){e=e&&e.charAt(0)===`
17
- `&&e.charAt(1)==F5?e.slice(2):e;let a=ln(t);if(Array.isArray(t))a=t.map(ln).join(" -> ");else if(typeof t=="object"){let i=[];for(let o in t)if(t.hasOwnProperty(o)){let l=t[o];i.push(o+":"+(typeof l=="string"?JSON.stringify(l):ln(l)))}a=`{${i.join(", ")}}`}return`${r}${n?"("+n+")":""}[${a}]: ${e.replace(L5,`
18
- `)}`}var H5=Pf(Ef("Optional"),8),q5=Pf(Ef("SkipSelf"),4);function Ur(e,t){return e.hasOwnProperty(is)?e[is]:null}function $5(e,t,r){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let a=e[n],i=t[n];if(r&&(a=r(a),i=r(i)),i!==a)return!1}return!0}function G5(e){return e.flat(Number.POSITIVE_INFINITY)}function Sc(e,t){e.forEach(r=>Array.isArray(r)?Sc(r,t):t(r))}function Af(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function ss(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function U5(e,t){let r=[];for(let n=0;n<e;n++)r.push(t);return r}function W5(e,t,r,n){let a=e.length;if(a==t)e.push(r,n);else if(a===1)e.push(n,e[0]),e[0]=r;else{for(a--,e.push(e[a-1],e[a]);a>t;){let i=a-2;e[a]=e[i],a--}e[t]=r,e[t+1]=n}}function kc(e,t,r){let n=Vi(e,t);return n>=0?e[n|1]=r:(n=~n,W5(e,n,t,r)),n}function _l(e,t){let r=Vi(e,t);if(r>=0)return e[r|1]}function Vi(e,t){return Z5(e,t,1)}function Z5(e,t,r){let n=0,a=e.length>>r;for(;a!==n;){let i=n+(a-n>>1),o=e[i<<r];if(t===o)return i<<r;o>t?a=i:n=i+1}return~(a<<r)}var Wr={},Bt=[],ls=new Q(""),Lf=new Q("",-1),Ff=new Q(""),jf=class{get(e,t=Gr){if(t===Gr){let r=new Error(`NullInjectorError: No provider for ${ln(e)}!`);throw r.name="NullInjectorError",r}return t}};function Ca(e){return e[T5]||null}function Y5(e){return e[M5]||null}function K5(e){return e[R5]||null}function Cc(e){return{ɵproviders:e}}function Q5(...e){return{ɵproviders:Vf(!0,e),ɵfromNgModule:!0}}function Vf(e,...t){let r=[],n=new Set,a,i=o=>{r.push(o)};return Sc(t,o=>{let l=o;gu(l,i,[],n)&&(a||(a=[]),a.push(l))}),a!==void 0&&Bf(a,i),r}function Bf(e,t){for(let r=0;r<e.length;r++){let{ngModule:n,providers:a}=e[r];Ic(a,i=>{t(i,n)})}}function gu(e,t,r,n){if(e=Lt(e),!e)return!1;let a=null,i=gh(e),o=!i&&Ca(e);if(!i&&!o){let h=e.ngModule;if(i=gh(h),i)a=h;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 h=typeof o.dependencies=="function"?o.dependencies():o.dependencies;for(let u of h)gu(u,t,r,n)}}else if(i){if(i.imports!=null&&!l){n.add(a);let u;try{Sc(i.imports,c=>{gu(c,t,r,n)&&(u||(u=[]),u.push(c))})}finally{}u!==void 0&&Bf(u,t)}if(!l){let u=Ur(a)||(()=>new a);t({provide:a,useFactory:u,deps:Bt},a),t({provide:Ff,useValue:a,multi:!0},a),t({provide:ls,useValue:()=>ee(a),multi:!0},a)}let h=i.providers;if(h!=null&&!l){let u=e;Ic(h,c=>{t(c,u)})}}else return!1;return a!==e&&e.providers!==void 0}function Ic(e,t){for(let r of e)Nf(r)&&(r=r.ɵproviders),Array.isArray(r)?Ic(r,t):t(r)}var J5=Ge({provide:String,useValue:Ge});function zf(e){return e!==null&&typeof e=="object"&&J5 in e}function X5(e){return!!(e&&e.useExisting)}function e9(e){return!!(e&&e.useFactory)}function Ia(e){return typeof e=="function"}function t9(e){return!!e.useClass}var Dc=new Q(""),qo={},_h={},wl;function $s(){return wl===void 0&&(wl=new jf),wl}var Ln=class{},Nc=class extends Ln{constructor(t,r,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=r,this.source=n,this.scopes=a,bu(t,o=>this.processProvider(o)),this.records.set(Lf,ma(void 0,this)),a.has("environment")&&this.records.set(Ln,ma(void 0,this));let i=this.records.get(Dc);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ff,Bt,be.Self))}get destroyed(){return this._destroyed}retrieve(t,r){let n=r;return this.get(t,n.optional?jm:Gr,n)}destroy(){ai(this),this._destroyed=!0;let t=xe(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),xe(t)}}onDestroy(t){return ai(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){ai(this);let r=vr(this),n=Vt(void 0);try{return t()}finally{vr(r),Vt(n)}}get(t,r=Gr,n=be.Default){if(ai(this),t.hasOwnProperty(bh))return t[bh](this);n=qs(n);let a=vr(this),i=Vt(void 0);try{if(!(n&be.SkipSelf)){let l=this.records.get(t);if(l===void 0){let h=o9(t)&&xc(t);h&&this.injectableDefInScope(h)?l=ma(vu(t),qo):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,n)}let o=n&be.Self?$s():this.parent;return r=n&be.Optional&&r===Gr?null:r,o.get(t,r)}catch(o){if(o.name==="NullInjectorError"){if((o[os]=o[os]||[]).unshift(ln(t)),a)throw o;return B5(o,t,"R3InjectorError",this.source)}else throw o}finally{Vt(i),vr(a)}}resolveInjectorInitializers(){let t=xe(null),r=vr(this),n=Vt(void 0);try{let a=this.get(ls,Bt,be.Self);for(let i of a)i()}finally{vr(r),Vt(n),xe(t)}}toString(){let t=[],r=this.records;for(let n of r.keys())t.push(ln(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Lt(t);let r=Ia(t)?t:Lt(t&&t.provide),n=r9(t);if(!Ia(t)&&t.multi===!0){let a=this.records.get(r);a||(a=ma(void 0,qo,!0),a.factory=()=>fu(a.multi),this.records.set(r,a)),r=t,a.multi.push(t)}this.records.set(r,n)}hydrate(t,r,n){let a=xe(null);try{return r.value===_h?Tf(ln(t)):r.value===qo&&(r.value=_h,r.value=r.factory(void 0,n)),typeof r.value=="object"&&r.value&&i9(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{xe(a)}}injectableDefInScope(t){if(!t.providedIn)return!1;let r=Lt(t.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(t){let r=this._onDestroyHooks.indexOf(t);r!==-1&&this._onDestroyHooks.splice(r,1)}};function vu(e){let t=xc(e),r=t!==null?t.factory:Ur(e);if(r!==null)return r;if(e instanceof Q)throw new U(204,!1);if(e instanceof Function)return n9(e);throw new U(204,!1)}function n9(e){if(e.length>0)throw new U(204,!1);let t=D5(e);return t!==null?()=>t.factory(e):()=>new e}function r9(e){if(zf(e))return ma(void 0,e.useValue);{let t=Hf(e);return ma(t,qo)}}function Hf(e,t,r){let n;if(Ia(e)){let a=Lt(e);return Ur(a)||vu(a)}else if(zf(e))n=()=>Lt(e.useValue);else if(e9(e))n=()=>e.useFactory(...fu(e.deps||[]));else if(X5(e))n=(a,i)=>ee(Lt(e.useExisting),i!==void 0&&i&be.Optional?be.Optional:void 0);else{let a=Lt(e&&(e.useClass||e.provide));if(a9(e))n=()=>new a(...fu(e.deps));else return Ur(a)||vu(a)}return n}function ai(e){if(e.destroyed)throw new U(205,!1)}function ma(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function a9(e){return!!e.deps}function i9(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function o9(e){return typeof e=="function"||typeof e=="object"&&e instanceof Q}function bu(e,t){for(let r of e)Array.isArray(r)?bu(r,t):r&&Nf(r)?bu(r.ɵproviders,t):t(r)}function Tc(e,t){let r;e instanceof Nc?(ai(e),r=e):r=new Of(e);let n=vr(r),a=Vt(void 0);try{return t()}finally{vr(n),Vt(a)}}function qf(){return Mf()!==void 0||Bo()!=null}function Mc(e){if(!qf())throw new U(-203,!1)}function s9(e){return typeof e=="function"}var ur=0,le=1,oe=2,Rt=3,_n=4,qt=5,Da=6,_a=7,xt=8,Na=9,Cr=10,ft=11,wi=12,wh=13,Fa=14,dn=15,Zr=16,fa=17,wn=18,Gs=19,$f=20,Er=21,xl=22,us=23,un=24,Sr=25,gt=26,Gf=1,Yr=7,cs=8,Ta=9,Tt=10;function kr(e){return Array.isArray(e)&&typeof e[Gf]=="object"}function cr(e){return Array.isArray(e)&&e[Gf]===!0}function Uf(e){return(e.flags&4)!==0}function ja(e){return e.componentOffset>-1}function Rc(e){return(e.flags&1)===1}function Fn(e){return!!e.template}function ds(e){return(e[oe]&512)!==0}function Va(e){return(e[oe]&256)===256}var l9=class{constructor(e,t,r){s(this,"previousValue");s(this,"currentValue");s(this,"firstChange");this.previousValue=e,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}};function Wf(e,t,r,n){t!==null?t.applyValueToInputSignal(t,n):e[r]=n}var u9=(()=>{let e=()=>Zf;return e.ngInherit=!0,e})();function Zf(e){return e.type.prototype.ngOnChanges&&(e.setInput=d9),c9}function c9(){let e=Kf(this),t=e==null?void 0:e.current;if(t){let r=e.previous;if(r===Wr)e.previous=t;else for(let n in t)r[n]=t[n];e.current=null,this.ngOnChanges(t)}}function d9(e,t,r,n,a){let i=this.declaredInputs[n],o=Kf(e)||h9(e,{previous:Wr,current:null}),l=o.current||(o.current={}),h=o.previous,u=h[i];l[i]=new l9(u&&u.currentValue,r,h===Wr),Wf(e,t,a,r)}var Yf="__ngSimpleChanges__";function Kf(e){return e[Yf]||null}function h9(e,t){return e[Yf]=t}var Kr=function(e,t=null,r){},p9="svg",m9="math";function jn(e){for(;Array.isArray(e);)e=e[ur];return e}function Qf(e,t){return jn(t[e])}function Bn(e,t){return jn(t[e.index])}function Oc(e,t){return e.data[t]}function Pc(e,t){return e[t]}function Ac(e,t,r,n){r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=n}function Vn(e,t){let r=t[e];return kr(r)?r:r[ur]}function f9(e){return(e[oe]&4)===4}function Lc(e){return(e[oe]&128)===128}function g9(e){return cr(e[Rt])}function xi(e,t){return t==null?null:e[t]}function Jf(e){e[fa]=0}function Fc(e){e[oe]&1024||(e[oe]|=1024,Lc(e)&&zi(e))}function v9(e,t){for(;e>0;)t=t[Fa],e--;return t}function Bi(e){var t;return!!(e[oe]&9216||(t=e[un])!=null&&t.dirty)}function yu(e){var t;(t=e[Cr].changeDetectionScheduler)==null||t.notify(8),e[oe]&64&&(e[oe]|=1024),Bi(e)&&zi(e)}function zi(e){var r;(r=e[Cr].changeDetectionScheduler)==null||r.notify(0);let t=Qr(e);for(;t!==null&&!(t[oe]&8192||(t[oe]|=8192,!Lc(t)));)t=Qr(t)}function Xf(e,t){if(Va(e))throw new U(911,!1);e[Er]===null&&(e[Er]=[]),e[Er].push(t)}function b9(e,t){if(e[Er]===null)return;let r=e[Er].indexOf(t);r!==-1&&e[Er].splice(r,1)}function Qr(e){let t=e[Rt];return cr(t)?t[Rt]:t}function jc(e){return e[_a]??(e[_a]=[])}function Vc(e){return e.cleanup??(e.cleanup=[])}function y9(e,t,r,n){let a=jc(t);a.push(r),e.firstCreatePass&&Vc(e).push(n,a.length-1)}var me={lFrame:cg(null),bindingsEnabled:!0,skipHydrationRootTNode:null},_u=!1;function _9(){return me.lFrame.elementDepthCount}function w9(){me.lFrame.elementDepthCount++}function x9(){me.lFrame.elementDepthCount--}function E9(){return me.bindingsEnabled}function eg(){return me.skipHydrationRootTNode!==null}function S9(e){return me.skipHydrationRootTNode===e}function k9(){me.skipHydrationRootTNode=null}function he(){return me.lFrame.lView}function bt(){return me.lFrame.tView}function tg(e){return me.lFrame.contextLView=e,e[xt]}function ng(e){return me.lFrame.contextLView=null,e}function Jt(){let e=rg();for(;e!==null&&e.type===64;)e=e.parent;return e}function rg(){return me.lFrame.currentTNode}function C9(){let e=me.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ba(e,t){let r=me.lFrame;r.currentTNode=e,r.isParent=t}function ag(){return me.lFrame.isParent}function ig(){me.lFrame.isParent=!1}function I9(){return me.lFrame.contextLView}function og(){return _u}function xh(e){let t=_u;return _u=e,t}function Hi(){let e=me.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function D9(){return me.lFrame.bindingIndex}function N9(e){return me.lFrame.bindingIndex=e}function qi(){return me.lFrame.bindingIndex++}function Bc(e){let t=me.lFrame,r=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,r}function T9(){return me.lFrame.inI18n}function M9(e,t){let r=me.lFrame;r.bindingIndex=r.bindingRootIndex=e,wu(t)}function R9(){return me.lFrame.currentDirectiveIndex}function wu(e){me.lFrame.currentDirectiveIndex=e}function O9(e){let t=me.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function sg(){return me.lFrame.currentQueryIndex}function zc(e){me.lFrame.currentQueryIndex=e}function P9(e){let t=e[le];return t.type===2?t.declTNode:t.type===1?e[qt]:null}function lg(e,t,r){if(r&be.SkipSelf){let a=t,i=e;for(;(a=a.parent,a===null&&!(r&be.Host))&&(a=P9(i),!(a===null||(i=i[Fa],a.type&10))););if(a===null)return!1;t=a,e=i}let n=me.lFrame=ug();return n.currentTNode=t,n.lView=e,!0}function Hc(e){let t=ug(),r=e[le];me.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex,t.inI18n=!1}function ug(){let e=me.lFrame,t=e===null?null:e.child;return t===null?cg(e):t}function cg(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 dg(){let e=me.lFrame;return me.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var hg=dg;function qc(){let e=dg();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 A9(e){return(me.lFrame.contextLView=v9(e,me.lFrame.contextLView))[xt]}function zn(){return me.lFrame.selectedIndex}function Jr(e){me.lFrame.selectedIndex=e}function pg(){let e=me.lFrame;return Oc(e.tView,e.selectedIndex)}function L9(){return me.lFrame.currentNamespace}var mg=!0;function $c(){return mg}function Gc(e){mg=e}function F9(e,t,r){let{ngOnChanges:n,ngOnInit:a,ngDoCheck:i}=t.type.prototype;if(n){let o=Zf(t);(r.preOrderHooks??(r.preOrderHooks=[])).push(e,o),(r.preOrderCheckHooks??(r.preOrderCheckHooks=[])).push(e,o)}a&&(r.preOrderHooks??(r.preOrderHooks=[])).push(0-e,a),i&&((r.preOrderHooks??(r.preOrderHooks=[])).push(e,i),(r.preOrderCheckHooks??(r.preOrderCheckHooks=[])).push(e,i))}function fg(e,t){for(let r=t.directiveStart,n=t.directiveEnd;r<n;r++){let a=e.data[r].type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:o,ngAfterViewInit:l,ngAfterViewChecked:h,ngOnDestroy:u}=a;i&&(e.contentHooks??(e.contentHooks=[])).push(-r,i),o&&((e.contentHooks??(e.contentHooks=[])).push(r,o),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(r,o)),l&&(e.viewHooks??(e.viewHooks=[])).push(-r,l),h&&((e.viewHooks??(e.viewHooks=[])).push(r,h),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(r,h)),u!=null&&(e.destroyHooks??(e.destroyHooks=[])).push(r,u)}}function $o(e,t,r){gg(e,t,3,r)}function Go(e,t,r,n){(e[oe]&3)===r&&gg(e,t,r,n)}function El(e,t){let r=e[oe];(r&3)===t&&(r&=16383,r+=1,e[oe]=r)}function gg(e,t,r,n){let a=n!==void 0?e[fa]&65535:0,i=n??-1,o=t.length-1,l=0;for(let h=a;h<o;h++)if(typeof t[h+1]=="number"){if(l=t[h],n!=null&&l>=n)break}else t[h]<0&&(e[fa]+=65536),(l<i||i==-1)&&(j9(e,r,t,h),e[fa]=(e[fa]&4294901760)+h+2),h++}function Eh(e,t){let r=xe(null);try{t.call(e)}finally{xe(r)}}function j9(e,t,r,n){let a=r[n]<0,i=r[n+1],o=a?-r[n]:r[n],l=e[o];a?e[oe]>>14<e[fa]>>16&&(e[oe]&3)===t&&(e[oe]+=16384,Eh(l,i)):Eh(l,i)}var wa=-1,$i=class{constructor(e,t,r){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=r}};function V9(e){return(e.flags&8)!==0}function B9(e){return(e.flags&16)!==0}function z9(e,t,r){let n=0;for(;n<r.length;){let a=r[n];if(typeof a=="number"){if(a!==0)break;n++;let i=r[n++],o=r[n++],l=r[n++];e.setAttribute(t,o,l,i)}else{let i=a,o=r[++n];H9(i)?e.setProperty(t,i,o):e.setAttribute(t,i,o),n++}}return n}function vg(e){return e===3||e===4||e===6}function H9(e){return e.charCodeAt(0)===64}function Ei(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let r=-1;for(let n=0;n<t.length;n++){let a=t[n];typeof a=="number"?r=a:r===0||(r===-1||r===2?Sh(e,r,a,null,t[++n]):Sh(e,r,a,null,null))}}return e}function Sh(e,t,r,n,a){let i=0,o=e.length;if(t===-1)o=-1;else for(;i<e.length;){let l=e[i++];if(typeof l=="number"){if(l===t){o=-1;break}else if(l>t){o=i-1;break}}}for(;i<e.length;){let l=e[i];if(typeof l=="number")break;if(l===r){a!==null&&(e[i+1]=a);return}i++,a!==null&&i++}o!==-1&&(e.splice(o,0,t),i=o+1),e.splice(i++,0,r),a!==null&&e.splice(i++,0,a)}function bg(e){return e!==wa}function hs(e){return e&32767}function q9(e){return e>>16}function ps(e,t){let r=q9(e),n=t;for(;r>0;)n=n[Fa],r--;return n}var xu=!0;function ms(e){let t=xu;return xu=e,t}var $9=256,yg=$9-1,_g=5,G9=0,An={};function U9(e,t,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(di)&&(n=r[di]),n==null&&(n=r[di]=G9++);let a=n&yg,i=1<<a;t.data[e+(a>>_g)]|=i}function fs(e,t){let r=wg(e,t);if(r!==-1)return r;let n=t[le];n.firstCreatePass&&(e.injectorIndex=t.length,Sl(n.data,e),Sl(t,null),Sl(n.blueprint,null));let a=Uc(e,t),i=e.injectorIndex;if(bg(a)){let o=hs(a),l=ps(a,t),h=l[le].data;for(let u=0;u<8;u++)t[i+u]=l[o+u]|h[o+u]}return t[i+8]=a,i}function Sl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function wg(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Uc(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let r=0,n=null,a=t;for(;a!==null;){if(n=Cg(a),n===null)return wa;if(r++,a=a[Fa],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return wa}function Eu(e,t,r){U9(e,t,r)}function W9(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let r=e.attrs;if(r){let n=r.length,a=0;for(;a<n;){let i=r[a];if(vg(i))break;if(i===0)a=a+2;else if(typeof i=="number")for(a++;a<n&&typeof r[a]=="string";)a++;else{if(i===t)return r[a+1];a=a+2}}}return null}function xg(e,t,r){if(r&be.Optional||e!==void 0)return e;Ec()}function Eg(e,t,r,n){if(r&be.Optional&&n===void 0&&(n=null),(r&(be.Self|be.Host))===0){let a=e[Na],i=Vt(void 0);try{return a?a.get(t,n,r&be.Optional):Rf(t,n,r&be.Optional)}finally{Vt(i)}}return xg(n,t,r)}function Sg(e,t,r,n=be.Default,a){if(e!==null){if(t[oe]&2048&&!(n&be.Self)){let o=Q9(e,t,r,n,An);if(o!==An)return o}let i=kg(e,t,r,n,An);if(i!==An)return i}return Eg(t,r,n,a)}function kg(e,t,r,n,a){let i=Y9(r);if(typeof i=="function"){if(!lg(t,e,n))return n&be.Host?xg(a,r,n):Eg(t,r,n,a);try{let o;if(o=i(n),o==null&&!(n&be.Optional))Ec(r);else return o}finally{hg()}}else if(typeof i=="number"){let o=null,l=wg(e,t),h=wa,u=n&be.Host?t[dn][qt]:null;for((l===-1||n&be.SkipSelf)&&(h=l===-1?Uc(e,t):t[l+8],h===wa||!Ch(n,!1)?l=-1:(o=t[le],l=hs(h),t=ps(h,t)));l!==-1;){let c=t[le];if(kh(i,l,c.data)){let m=Z9(l,t,r,o,n,u);if(m!==An)return m}h=t[l+8],h!==wa&&Ch(n,t[le].data[l+8]===u)&&kh(i,l,t)?(o=c,l=hs(h),t=ps(h,t)):l=-1}}return a}function Z9(e,t,r,n,a,i){let o=t[le],l=o.data[e+8],h=n==null?ja(l)&&xu:n!=o&&(l.type&3)!==0,u=a&be.Host&&i===l,c=Uo(l,o,r,h,u);return c!==null?Si(t,o,c,l,a):An}function Uo(e,t,r,n,a){let i=e.providerIndexes,o=t.data,l=i&1048575,h=e.directiveStart,u=e.directiveEnd,c=i>>20,m=n?l:l+c,b=a?l+c:u;for(let g=m;g<b;g++){let w=o[g];if(g<h&&r===w||g>=h&&w.type===r)return g}if(a){let g=o[h];if(g&&Fn(g)&&g.type===r)return h}return null}function Si(e,t,r,n,a){let i=e[r],o=t.data;if(i instanceof $i){let l=i;l.resolving&&Tf(O5(o[r]));let h=ms(l.canSeeViewProviders);l.resolving=!0;let u=l.injectImpl?Vt(l.injectImpl):null;lg(e,n,be.Default);try{i=e[r]=l.factory(void 0,a,o,e,n),t.firstCreatePass&&r>=n.directiveStart&&F9(r,o[r],t)}finally{u!==null&&Vt(u),ms(h),l.resolving=!1,hg()}}return i}function Y9(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(di)?e[di]:void 0;return typeof t=="number"?t>=0?t&yg:K9:t}function kh(e,t,r){let n=1<<e;return!!(r[t+(e>>_g)]&n)}function Ch(e,t){return!(e&be.Self)&&!(e&be.Host&&t)}var hi=class{constructor(e,t){s(this,"_tNode");s(this,"_lView");this._tNode=e,this._lView=t}get(e,t,r){return Sg(this._tNode,this._lView,e,qs(r),t)}};function K9(){return new hi(Jt(),he())}function En(e){return ji(()=>{let t=e.prototype.constructor,r=t[is]||Su(t),n=Object.prototype,a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==n;){let i=a[is]||Su(a);if(i&&i!==r)return i;a=Object.getPrototypeOf(a)}return i=>new i})}function Su(e){return kf(e)?()=>{let t=Su(Lt(e));return t&&t()}:Ur(e)}function Q9(e,t,r,n,a){let i=e,o=t;for(;i!==null&&o!==null&&o[oe]&2048&&!ds(o);){let l=kg(i,o,r,n|be.Self,An);if(l!==An)return l;let h=i.parent;if(!h){let u=o[$f];if(u){let c=u.get(r,An,n);if(c!==An)return c}h=Cg(o),o=o[Fa]}i=h}return a}function Cg(e){let t=e[le],r=t.type;return r===2?t.declTNode:r===1?e[qt]:null}function J9(e){return W9(Jt(),e)}function Ih(e,t=null,r=null,n){let a=X9(e,t,r,n);return a.resolveInjectorInitializers(),a}function X9(e,t=null,r=null,n,a=new Set){let i=[r||Bt,Q5(e)];return n=n||(typeof e=="object"?void 0:ln(e)),new Nc(i,t||$s(),n||null,a)}var Tn,Mt=(Tn=class{static create(t,r){if(Array.isArray(t))return Ih({name:""},r,t,"");{let n=t.name??"";return Ih({name:n},t.parent,t.providers,n)}}},s(Tn,"THROW_IF_NOT_FOUND",Gr),s(Tn,"NULL",new jf),s(Tn,"ɵprov",$({token:Tn,providedIn:"any",factory:()=>ee(Lf)})),s(Tn,"__NG_ELEMENT_ID__",-1),Tn),eH=class{constructor(e){s(this,"attributeName");s(this,"__NG_ELEMENT_ID__",()=>J9(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},tH=new Q("");tH.__NG_ELEMENT_ID__=e=>{let t=Jt();if(t===null)throw new U(204,!1);if(t.type&2)return t.value;if(e&be.Optional)return null;throw new U(204,!1)};var Ig=!1,Gi=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",rH),s(e,"__NG_ENV_ID__",r=>r),e})(),nH=class extends Gi{constructor(t){super();s(this,"_lView");this._lView=t}onDestroy(t){let r=this._lView;return Va(r)?(t(),()=>{}):(Xf(r,t),()=>b9(r,t))}};function rH(){return new nH(he())}var Ui=class{},Dg=new Q("",{providedIn:"root",factory:()=>!1}),Ng=new Q(""),Tg=new Q(""),Wi=(()=>{const t=class t{constructor(){s(this,"taskId",0);s(this,"pendingTasks",new Set);s(this,"hasPendingTasks",new vc(!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",$({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),aH=class extends Pe{constructor(t=!1){super();s(this,"__isAsync");s(this,"destroyRef");s(this,"pendingTasks");this.__isAsync=t,qf()&&(this.destroyRef=D(Gi,{optional:!0})??void 0,this.pendingTasks=D(Wi,{optional:!0})??void 0)}emit(t){let r=xe(null);try{super.next(t)}finally{xe(r)}}subscribe(t,r,n){var h,u,c;let a=t,i=r||(()=>null),o=n;if(t&&typeof t=="object"){let m=t;a=(h=m.next)==null?void 0:h.bind(m),i=(u=m.error)==null?void 0:u.bind(m),o=(c=m.complete)==null?void 0:c.bind(m)}this.__isAsync&&(i=this.wrapInTimeout(i),a&&(a=this.wrapInTimeout(a)),o&&(o=this.wrapInTimeout(o)));let l=super.subscribe({next:a,error:i,complete:o});return t instanceof Zt&&t.add(l),l}wrapInTimeout(t){return r=>{var a;let n=(a=this.pendingTasks)==null?void 0:a.add();setTimeout(()=>{var i;try{t(r)}finally{n!==void 0&&((i=this.pendingTasks)==null||i.remove(n))}})}}},Ft=aH;function gs(...e){}function Mg(e){let t,r;function n(){e=gs;try{r!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(r),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),n()}),typeof requestAnimationFrame=="function"&&(r=requestAnimationFrame(()=>{e(),n()})),()=>n()}function Dh(e){return queueMicrotask(()=>e()),()=>{e=gs}}var Wc="isAngularZone",vs=Wc+"_ID",iH=0,je=class ku{constructor(t){s(this,"hasPendingMacrotasks",!1);s(this,"hasPendingMicrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new Ft(!1));s(this,"onMicrotaskEmpty",new Ft(!1));s(this,"onStable",new Ft(!1));s(this,"onError",new Ft(!1));let{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:a=!1,scheduleInRootZone:i=Ig}=t;if(typeof Zone>"u")throw new U(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)),r&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!a&&n,o.shouldCoalesceRunChangeDetection=a,o.callbackScheduled=!1,o.scheduleInRootZone=i,lH(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Wc)===!0}static assertInAngularZone(){if(!ku.isInAngularZone())throw new U(909,!1)}static assertNotInAngularZone(){if(ku.isInAngularZone())throw new U(909,!1)}run(t,r,n){return this._inner.run(t,r,n)}runTask(t,r,n,a){let i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+a,t,oH,gs,gs);try{return i.runTask(o,r,n)}finally{i.cancelTask(o)}}runGuarded(t,r,n){return this._inner.runGuarded(t,r,n)}runOutsideAngular(t){return this._outer.run(t)}},oH={};function Zc(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 sH(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Mg(()=>{e.callbackScheduled=!1,Cu(e),e.isCheckStableRunning=!0,Zc(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Cu(e)}function lH(e){let t=()=>{sH(e)},r=iH++;e._inner=e._inner.fork({name:"angular",properties:{[Wc]:!0,[vs]:r,[vs+r]:!0},onInvokeTask:(n,a,i,o,l,h)=>{if(cH(h))return n.invokeTask(i,o,l,h);try{return Nh(e),n.invokeTask(i,o,l,h)}finally{(e.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Th(e)}},onInvoke:(n,a,i,o,l,h,u)=>{try{return Nh(e),n.invoke(i,o,l,h,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!dH(h)&&t(),Th(e)}},onHasTask:(n,a,i,o)=>{n.hasTask(i,o),a===i&&(o.change=="microTask"?(e._hasPendingMicrotasks=o.microTask,Cu(e),Zc(e)):o.change=="macroTask"&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,a,i,o)=>(n.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}function Cu(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Nh(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Th(e){e._nesting--,Zc(e)}var uH=class{constructor(){s(this,"hasPendingMicrotasks",!1);s(this,"hasPendingMacrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new Ft);s(this,"onMicrotaskEmpty",new Ft);s(this,"onStable",new Ft);s(this,"onError",new Ft)}run(e,t,r){return e.apply(t,r)}runGuarded(e,t,r){return e.apply(t,r)}runOutsideAngular(e){return e()}runTask(e,t,r,n){return e.apply(t,r)}};function cH(e){return Rg(e,"__ignore_ng_zone__")}function dH(e){return Rg(e,"__scheduler_tick__")}function Rg(e,t){var r,n;return!Array.isArray(e)||e.length!==1?!1:((n=(r=e[0])==null?void 0:r.data)==null?void 0:n[t])===!0}var Hn=class{constructor(){s(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}},hH=new Q("",{providedIn:"root",factory:()=>{let e=D(je),t=D(Hn);return r=>e.runOutsideAngular(()=>t.handleError(r))}});function Mh(e,t){return xf(e,t)}function pH(e){return xf(wf,e)}var Ut=(Mh.required=pH,Mh);function mH(){return za(Jt(),he())}function za(e,t){return new Xt(Bn(e,t))}var Xt=(()=>{class e{constructor(r){s(this,"nativeElement");this.nativeElement=r}}return s(e,"__NG_ELEMENT_ID__",mH),e})();function fH(e){return e instanceof Xt?e.nativeElement:e}function gH(){return this._results[Symbol.iterator]()}var gm,vH=(gm=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,gm,gH);this._emitDistinctChangesOnly=e}get changes(){return this._changes??(this._changes=new Pe)}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 r=G5(e);(this._changesDetected=!$5(this._results,r,t))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[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 Og(e){return(e.flags&128)===128}var Pg=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Pg||{}),Ag=new Map,bH=0;function yH(){return bH++}function _H(e){Ag.set(e[Gs],e)}function Iu(e){Ag.delete(e[Gs])}var Rh="__ngContext__";function Zi(e,t){kr(t)?(e[Rh]=t[Gs],_H(t)):e[Rh]=t}function Lg(e){return jg(e[wi])}function Fg(e){return jg(e[_n])}function jg(e){for(;e!==null&&!cr(e);)e=e[_n];return e}var Du;function wH(e){Du=e}function xH(){if(Du!==void 0)return Du;if(typeof document<"u")return document;throw new U(210,!1)}var Yc=new Q("",{providedIn:"root",factory:()=>EH}),EH="ng",Vg=new Q(""),Us=new Q("",{providedIn:"platform",factory:()=>"unknown"}),Yi=new Q(""),Kc=new Q("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=xH().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),Bg=!1,SH=new Q("",{providedIn:"root",factory:()=>Bg}),Qc=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Qc||{}),Ki=new Q(""),Oh=new Set;function ta(e){var t;Oh.has(e)||(Oh.add(e),(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}}))}var zg=(()=>{class e{constructor(r,n){s(this,"view");s(this,"node");this.view=r,this.node=n}}return s(e,"__NG_ELEMENT_ID__",kH),e})();function kH(){return new zg(he(),Jt())}var ga=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(ga||{}),Hg=(()=>{const t=class t{constructor(){s(this,"impl",null)}execute(){var n;(n=this.impl)==null||n.execute()}};s(t,"ɵprov",$({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),CH=[ga.EarlyRead,ga.Write,ga.MixedReadWrite,ga.Read],IH=(()=>{const t=class t{constructor(){s(this,"ngZone",D(je));s(this,"scheduler",D(Ui));s(this,"errorHandler",D(Hn,{optional:!0}));s(this,"sequences",new Set);s(this,"deferredRegistrations",new Set);s(this,"executing",!1);D(Ki,{optional:!0})}execute(){var n;this.sequences.size>0,this.executing=!0;for(let a of CH)for(let i of this.sequences)if(!(i.erroredOrDestroyed||!i.hooks[a]))try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=i.hooks[a];return o(i.pipelinedValue)},i.snapshot))}catch(o){i.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[Sr]??(a[Sr]=[])).push(n),zi(a),a[oe]|=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(Qc.AFTER_NEXT_RENDER,n):n()}};s(t,"ɵprov",$({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),DH=class{constructor(e,t,r,n,a,i=null){s(this,"impl");s(this,"hooks");s(this,"view");s(this,"once");s(this,"snapshot");s(this,"erroredOrDestroyed",!1);s(this,"pipelinedValue");s(this,"unregisterOnDestroy");this.impl=e,this.hooks=t,this.view=r,this.once=n,this.snapshot=i,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,r;this.impl.unregister(this),(t=this.unregisterOnDestroy)==null||t.call(this);let e=(r=this.view)==null?void 0:r[Sr];e&&(this.view[Sr]=e.filter(n=>n!==this))}};function qg(e,t){!(t!=null&&t.injector)&&Mc();let r=(t==null?void 0:t.injector)??D(Mt);return ta("NgAfterRender"),$g(e,r,t,!1)}function NH(e,t){!(t!=null&&t.injector)&&Mc();let r=(t==null?void 0:t.injector)??D(Mt);return ta("NgAfterNextRender"),$g(e,r,t,!0)}function TH(e,t){if(e instanceof Function){let r=[void 0,void 0,void 0,void 0];return r[t]=e,r}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function $g(e,t,r,n){let a=t.get(Hg);a.impl??(a.impl=t.get(IH));let i=t.get(Ki,null,{optional:!0}),o=(r==null?void 0:r.phase)??ga.MixedReadWrite,l=(r==null?void 0:r.manualCleanup)!==!0?t.get(Gi):null,h=t.get(zg,null,{optional:!0}),u=new DH(a.impl,TH(e,o),h==null?void 0:h.view,n,l,i==null?void 0:i.snapshot(null));return a.impl.register(u),u}var MH=()=>null;function Gg(e,t,r=!1){return MH()}function Ug(e,t){let r=e.contentQueries;if(r!==null){let n=xe(null);try{for(let a=0;a<r.length;a+=2){let i=r[a],o=r[a+1];if(o!==-1){let l=e.data[o];zc(i),l.contentQueries(2,t[o],o)}}}finally{xe(n)}}}function Nu(e,t,r){zc(0);let n=xe(null);try{t(e,r)}finally{xe(n)}}function Wg(e,t,r){if(Uf(t)){let n=xe(null);try{let a=t.directiveStart,i=t.directiveEnd;for(let o=a;o<i;o++){let l=e.data[o];if(l.contentQueries){let h=r[o];l.contentQueries(1,h,o)}}}finally{xe(n)}}}var ar=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(ar||{}),bo;function RH(){if(bo===void 0&&(bo=null,pa.trustedTypes))try{bo=pa.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return bo}function Ws(e){var t;return((t=RH())==null?void 0:t.createHTML(e))||e}var na=class{constructor(e){s(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${_f})`}},OH=class extends na{getTypeName(){return"HTML"}},PH=class extends na{getTypeName(){return"Style"}},AH=class extends na{getTypeName(){return"Script"}},LH=class extends na{getTypeName(){return"URL"}},FH=class extends na{getTypeName(){return"ResourceURL"}};function Hr(e){return e instanceof na?e.changingThisBreaksApplicationSecurity:e}function Ka(e,t){let r=jH(e);if(r!=null&&r!==t){if(r==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${r} (see ${_f})`)}return r===t}function jH(e){return e instanceof na&&e.getTypeName()||null}function VH(e){return new OH(e)}function BH(e){return new PH(e)}function zH(e){return new AH(e)}function HH(e){return new LH(e)}function qH(e){return new FH(e)}function $H(e){let t=new UH(e);return WH()?new GH(t):t}var GH=class{constructor(e){s(this,"inertDocumentHelper");this.inertDocumentHelper=e}getInertBodyElement(e){var t;e="<body><remove></remove>"+e;try{let r=new window.DOMParser().parseFromString(Ws(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):((t=r.firstChild)==null||t.remove(),r)}catch{return null}}},UH=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=Ws(e),t}};function WH(){try{return!!new window.DOMParser().parseFromString(Ws(""),"text/html")}catch{return!1}}var ZH=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Zg(e){return e=String(e),e.match(ZH)?e:"unsafe:"+e}function dr(e){let t={};for(let r of e.split(","))t[r]=!0;return t}function Qi(...e){let t={};for(let r of e)for(let n in r)r.hasOwnProperty(n)&&(t[n]=!0);return t}var Yg=dr("area,br,col,hr,img,wbr"),Kg=dr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Qg=dr("rp,rt"),YH=Qi(Qg,Kg),KH=Qi(Kg,dr("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")),QH=Qi(Qg,dr("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")),Ph=Qi(Yg,KH,QH,YH),Jg=dr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),JH=dr("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"),XH=dr("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"),eq=Qi(Jg,JH,XH),tq=dr("script,style,template"),nq=class{constructor(){s(this,"sanitizedSomething",!1);s(this,"buf",[])}sanitizeChildren(e){let t=e.firstChild,r=!0,n=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild){n.push(t),t=iq(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let a=aq(t);if(a){t=a;break}t=n.pop()}}return this.buf.join("")}startElement(e){let t=Ah(e).toLowerCase();if(!Ph.hasOwnProperty(t))return this.sanitizedSomething=!0,!tq.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let r=e.attributes;for(let n=0;n<r.length;n++){let a=r.item(n),i=a.name,o=i.toLowerCase();if(!eq.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let l=a.value;Jg[o]&&(l=Zg(l)),this.buf.push(" ",i,'="',Lh(l),'"')}return this.buf.push(">"),!0}endElement(e){let t=Ah(e).toLowerCase();Ph.hasOwnProperty(t)&&!Yg.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(Lh(e))}};function rq(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function aq(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Xg(t);return t}function iq(e){let t=e.firstChild;if(t&&rq(e,t))throw Xg(t);return t}function Ah(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Xg(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var oq=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,sq=/([^\#-~ |!])/g;function Lh(e){return e.replace(/&/g,"&amp;").replace(oq,function(t){let r=t.charCodeAt(0),n=t.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(sq,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var yo;function lq(e,t){let r=null;try{yo=yo||$H(e);let n=t?String(t):"";r=yo.getInertBodyElement(n);let a=5,i=n;do{if(a===0)throw new Error("Failed to sanitize html because the input is unstable");a--,n=i,i=r.innerHTML,r=yo.getInertBodyElement(n)}while(n!==i);let o=new nq().sanitizeChildren(Fh(r)||r);return Ws(o)}finally{if(r){let n=Fh(r)||r;for(;n.firstChild;)n.firstChild.remove()}}}function Fh(e){return"content"in e&&uq(e)?e.content:null}function uq(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var on=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}(on||{});function cq(e,t,r){let n=e.length;for(;;){let a=e.indexOf(t,r);if(a===-1)return a;if(a===0||e.charCodeAt(a-1)<=32){let i=t.length;if(a+i===n||e.charCodeAt(a+i)<=32)return a}r=a+1}}var ev="ng-template";function dq(e,t,r,n){let a=0;if(n){for(;a<t.length&&typeof t[a]=="string";a+=2)if(t[a]==="class"&&cq(t[a+1].toLowerCase(),r,0)!==-1)return!0}else if(Jc(e))return!1;if(a=t.indexOf(1,a),a>-1){let i;for(;++a<t.length&&typeof(i=t[a])=="string";)if(i.toLowerCase()===r)return!0}return!1}function Jc(e){return e.type===4&&e.value!==ev}function hq(e,t,r){let n=e.type===4&&!r?ev:e.value;return t===n}function pq(e,t,r){let n=4,a=e.attrs,i=a!==null?gq(a):0,o=!1;for(let l=0;l<t.length;l++){let h=t[l];if(typeof h=="number"){if(!o&&!gn(n)&&!gn(h))return!1;if(o&&gn(h))continue;o=!1,n=h|n&1;continue}if(!o)if(n&4){if(n=2|n&1,h!==""&&!hq(e,h,r)||h===""&&t.length===1){if(gn(n))return!1;o=!0}}else if(n&8){if(a===null||!dq(e,a,h,r)){if(gn(n))return!1;o=!0}}else{let u=t[++l],c=mq(h,a,Jc(e),r);if(c===-1){if(gn(n))return!1;o=!0;continue}if(u!==""){let m;if(c>i?m="":m=a[c+1].toLowerCase(),n&2&&u!==m){if(gn(n))return!1;o=!0}}}}return gn(n)||o}function gn(e){return(e&1)===0}function mq(e,t,r,n){if(t===null)return-1;let a=0;if(n||!r){let i=!1;for(;a<t.length;){let o=t[a];if(o===e)return a;if(o===3||o===6)i=!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+=i?1:2}return-1}else return vq(t,e)}function tv(e,t,r=!1){for(let n=0;n<t.length;n++)if(pq(e,t[n],r))return!0;return!1}function fq(e){let t=e.attrs;if(t!=null){let r=t.indexOf(5);if(!(r&1))return t[r+1]}return null}function gq(e){for(let t=0;t<e.length;t++){let r=e[t];if(vg(r))return t}return e.length}function vq(e,t){let r=e.indexOf(4);if(r>-1)for(r++;r<e.length;){let n=e[r];if(typeof n=="number")return-1;if(n===t)return r;r++}return-1}function bq(e,t){e:for(let r=0;r<t.length;r++){let n=t[r];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 jh(e,t){return e?":not("+t.trim()+")":t}function yq(e){let t=e[0],r=1,n=2,a="",i=!1;for(;r<e.length;){let o=e[r];if(typeof o=="string")if(n&2){let l=e[++r];a+="["+o+(l.length>0?'="'+l+'"':"")+"]"}else n&8?a+="."+o:n&4&&(a+=" "+o);else a!==""&&!gn(o)&&(t+=jh(i,a),a=""),n=o,i=i||!gn(n);r++}return a!==""&&(t+=jh(i,a)),t}function _q(e){return e.map(yq).join(",")}function wq(e){let t=[],r=[],n=1,a=2;for(;n<e.length;){let i=e[n];if(typeof i=="string")a===2?i!==""&&t.push(i,e[++n]):a===8&&r.push(i);else{if(!gn(a))break;a=i}n++}return r.length&&t.push(1,...r),t}var en={};function xq(e,t){return e.createText(t)}function Eq(e,t,r){e.setValue(t,r)}function nv(e,t,r){return e.createElement(t,r)}function bs(e,t,r,n,a){e.insertBefore(t,r,n,a)}function rv(e,t,r){e.appendChild(t,r)}function Vh(e,t,r,n,a){n!==null?bs(e,t,r,n,a):rv(e,t,r)}function Sq(e,t,r){e.removeChild(null,t,r)}function kq(e,t,r){e.setAttribute(t,"style",r)}function Cq(e,t,r){r===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",r)}function av(e,t,r){let{mergedAttrs:n,classes:a,styles:i}=r;n!==null&&z9(e,t,n),a!==null&&Cq(e,t,a),i!==null&&kq(e,t,i)}function Xc(e,t,r,n,a,i,o,l,h,u,c){let m=gt+n,b=m+a,g=Iq(m,b),w=typeof u=="function"?u():u;return g[le]={type:e,blueprint:g,template:r,queries:null,viewQuery:l,declTNode:t,data:g.slice().fill(null,m),bindingStartIndex:m,expandoStartIndex:b,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof o=="function"?o():o,firstChild:null,schemas:h,consts:w,incompleteFirstPass:!1,ssrId:c}}function Iq(e,t){let r=[];for(let n=0;n<t;n++)r.push(n<e?null:en);return r}function Dq(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Xc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function ed(e,t,r,n,a,i,o,l,h,u,c){let m=t.blueprint.slice();return m[ur]=a,m[oe]=n|4|128|8|64|1024,(u!==null||e&&e[oe]&2048)&&(m[oe]|=2048),Jf(m),m[Rt]=m[Fa]=e,m[xt]=r,m[Cr]=o||e&&e[Cr],m[ft]=l||e&&e[ft],m[Na]=h||e&&e[Na]||null,m[qt]=i,m[Gs]=yH(),m[Da]=c,m[$f]=u,m[dn]=t.type==2?e[dn]:m,m}function Nq(e,t,r){let n=Bn(t,e),a=Dq(r),i=e[Cr].rendererFactory,o=td(e,ed(e,a,null,iv(r),n,t,null,i.createRenderer(n,r),null,null,null));return e[t.index]=o}function iv(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function ov(e,t,r,n){if(r===0)return-1;let a=t.length;for(let i=0;i<r;i++)t.push(n),e.blueprint.push(n),e.data.push(null);return a}function td(e,t){return e[wi]?e[wh][_n]=t:e[wi]=t,e[wh]=t,t}function we(e=1){sv(bt(),he(),zn()+e)}function sv(e,t,r,n){if((t[oe]&3)===3){let a=e.preOrderCheckHooks;a!==null&&$o(t,a,r)}else{let a=e.preOrderHooks;a!==null&&Go(t,a,0,r)}Jr(r)}var Zs=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Zs||{});function Tu(e,t,r,n){let a=xe(null);try{let[i,o,l]=e.inputs[r],h=null;o&Zs.SignalBased&&(h=t[i][mc]),h!==null&&h.transformFn!==void 0?n=h.transformFn(n):l!==null&&(n=l.call(t,n)),e.setInput!==null?e.setInput(t,h,n,r,i):Wf(t,h,i,n)}finally{xe(a)}}function lv(e,t,r,n,a){let i=zn(),o=n&2;try{Jr(-1),o&&t.length>gt&&sv(e,t,gt,!1),Kr(o?2:0,a),r(n,a)}finally{Jr(i)}}function nd(e,t,r){Pq(e,t,r),(r.flags&64)===64&&Aq(e,t,r)}function uv(e,t,r=Bn){let n=t.localNames;if(n!==null){let a=t.index+1;for(let i=0;i<n.length;i+=2){let o=n[i+1],l=o===-1?r(t,e):e[o];e[a++]=l}}}function Tq(e,t,r,n){let a=n.get(SH,Bg)||r===ar.ShadowDom;return e.selectRootElement(t,a)}function Mq(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Rq(e,t,r,n,a,i,o,l){if(rd(t,e,r,n,a)){ja(t)&&Oq(r,t.index);return}if(t.type&3){let h=Bn(t,r);n=Mq(n),a=o!=null?o(a,t.value||"",n):a,i.setProperty(h,n,a)}else t.type&12}function Oq(e,t){let r=Vn(t,e);r[oe]&16||(r[oe]|=64)}function Pq(e,t,r){let n=r.directiveStart,a=r.directiveEnd;ja(r)&&Nq(t,r,e.data[n+r.componentOffset]),e.firstCreatePass||fs(r,t);let i=r.initialInputs;for(let o=n;o<a;o++){let l=e.data[o],h=Si(t,e,o,r);if(Zi(h,t),i!==null&&Vq(t,o-n,h,l,r,i),Fn(l)){let u=Vn(r.index,t);u[xt]=Si(t,e,o,r)}}}function Aq(e,t,r){let n=r.directiveStart,a=r.directiveEnd,i=r.index,o=R9();try{Jr(i);for(let l=n;l<a;l++){let h=e.data[l],u=t[l];wu(l),(h.hostBindings!==null||h.hostVars!==0||h.hostAttrs!==null)&&Lq(h,u)}}finally{Jr(-1),wu(o)}}function Lq(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function cv(e,t){let r=e.directiveRegistry,n=null;if(r)for(let a=0;a<r.length;a++){let i=r[a];tv(t,i.selectors,!1)&&(n??(n=[]),Fn(i)?n.unshift(i):n.push(i))}return n}function Fq(e,t,r,n,a,i){let o=Bn(e,t);jq(t[ft],o,i,e.value,r,n,a)}function jq(e,t,r,n,a,i,o){if(i==null)e.removeAttribute(t,a,r);else{let l=o==null?_i(i):o(i,n||"",a);e.setAttribute(t,a,l,r)}}function Vq(e,t,r,n,a,i){let o=i[t];if(o!==null)for(let l=0;l<o.length;l+=2){let h=o[l],u=o[l+1];Tu(n,r,h,u)}}function Bq(e,t){let r=e[Na],n=r?r.get(Hn,null):null;n&&n.handleError(t)}function rd(e,t,r,n,a){var h,u;let i=(h=e.inputs)==null?void 0:h[n],o=(u=e.hostDirectiveInputs)==null?void 0:u[n],l=!1;if(o)for(let c=0;c<o.length;c+=2){let m=o[c],b=o[c+1],g=t.data[m];Tu(g,r[m],b,a),l=!0}if(i)for(let c of i){let m=r[c],b=t.data[c];Tu(b,m,n,a),l=!0}return l}function zq(e,t){let r=Vn(t,e),n=r[le];Hq(n,r);let a=r[ur];a!==null&&r[Da]===null&&(r[Da]=Gg(a,r[Na])),ad(n,r,r[xt]),Kr(19,r[xt])}function Hq(e,t){for(let r=t.length;r<e.blueprint.length;r++)t.push(e.blueprint[r])}function ad(e,t,r){var n;Hc(t);try{let a=e.viewQuery;a!==null&&Nu(1,a,r);let i=e.template;i!==null&&lv(e,t,i,1,r),e.firstCreatePass&&(e.firstCreatePass=!1),(n=t[wn])==null||n.finishViewCreation(e),e.staticContentQueries&&Ug(e,t),e.staticViewQueries&&Nu(2,e.viewQuery,r);let o=e.components;o!==null&&qq(t,o)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),a}finally{t[oe]&=-5,qc()}}function qq(e,t){for(let r=0;r<t.length;r++)zq(e,t[r])}function Ji(e,t,r,n){let a=xe(null);try{let i=t.tView,o=e[oe]&4096?4096:16,l=ed(e,i,r,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),h=e[t.index];l[Zr]=h;let u=e[wn];return u!==null&&(l[wn]=u.createEmbeddedView(i)),ad(i,l,r),l}finally{xe(a)}}function Ma(e,t){return!t||t.firstChild===null||Og(e)}var $q;function id(e,t){return $q(e,t)}var va=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(va||{});function od(e){return(e.flags&32)===32}function ba(e,t,r,n,a){if(n!=null){let i,o=!1;cr(n)?i=n:kr(n)&&(o=!0,n=n[ur]);let l=jn(n);e===0&&r!==null?a==null?rv(t,r,l):bs(t,r,l,a||null,!0):e===1&&r!==null?bs(t,r,l,a||null,!0):e===2?Sq(t,l,o):e===3&&t.destroyNode(l),i!=null&&e7(t,e,i,r,a)}}function Gq(e,t){dv(e,t),t[ur]=null,t[qt]=null}function Uq(e,t,r,n,a,i){n[ur]=a,n[qt]=t,Ks(e,n,r,1,a,i)}function dv(e,t){var r;(r=t[Cr].changeDetectionScheduler)==null||r.notify(9),Ks(e,t,t[ft],2,null,null)}function Wq(e){let t=e[wi];if(!t)return kl(e[le],e);for(;t;){let r=null;if(kr(t))r=t[wi];else{let n=t[Tt];n&&(r=n)}if(!r){for(;t&&!t[_n]&&t!==e;)kr(t)&&kl(t[le],t),t=t[Rt];t===null&&(t=e),kr(t)&&kl(t[le],t),r=t&&t[_n]}t=r}}function sd(e,t){let r=e[Ta],n=r.indexOf(t);r.splice(n,1)}function Ys(e,t){if(Va(t))return;let r=t[ft];r.destroyNode&&Ks(e,t,r,3,null,null),Wq(t)}function kl(e,t){if(Va(t))return;let r=xe(null);try{t[oe]&=-129,t[oe]|=256,t[un]&&Om(t[un]),Yq(e,t),Zq(e,t),t[le].type===1&&t[ft].destroy();let n=t[Zr];if(n!==null&&cr(t[Rt])){n!==t[Rt]&&sd(n,t);let a=t[wn];a!==null&&a.detachView(e)}Iu(t)}finally{xe(r)}}function Zq(e,t){let r=e.cleanup,n=t[_a];if(r!==null)for(let o=0;o<r.length-1;o+=2)if(typeof r[o]=="string"){let l=r[o+3];l>=0?n[l]():n[-l].unsubscribe(),o+=2}else{let l=n[r[o+1]];r[o].call(l)}n!==null&&(t[_a]=null);let a=t[Er];if(a!==null){t[Er]=null;for(let o=0;o<a.length;o++){let l=a[o];l()}}let i=t[us];if(i!==null){t[us]=null;for(let o of i)o.destroy()}}function Yq(e,t){let r;if(e!=null&&(r=e.destroyHooks)!=null)for(let n=0;n<r.length;n+=2){let a=t[r[n]];if(!(a instanceof $i)){let i=r[n+1];if(Array.isArray(i))for(let o=0;o<i.length;o+=2){let l=a[i[o]],h=i[o+1];try{h.call(l)}finally{}}else try{i.call(a)}finally{}}}}function hv(e,t,r){return Kq(e,t.parent,r)}function Kq(e,t,r){let n=t;for(;n!==null&&n.type&168;)t=n,n=t.parent;if(n===null)return r[ur];if(ja(n)){let{encapsulation:a}=e.data[n.directiveStart+n.componentOffset];if(a===ar.None||a===ar.Emulated)return null}return Bn(n,r)}function pv(e,t,r){return Jq(e,t,r)}function Qq(e,t,r){return e.type&40?Bn(e,r):null}var Jq=Qq;function ld(e,t,r,n){let a=hv(e,n,t),i=t[ft],o=n.parent||t[qt],l=pv(o,n,t);if(a!=null)if(Array.isArray(r))for(let h=0;h<r.length;h++)Vh(i,a,r[h],l,!1);else Vh(i,a,r,l,!1)}function ii(e,t){if(t!==null){let r=t.type;if(r&3)return Bn(t,e);if(r&4)return Mu(-1,e[t.index]);if(r&8){let n=t.child;if(n!==null)return ii(e,n);{let a=e[t.index];return cr(a)?Mu(-1,a):jn(a)}}else{if(r&128)return ii(e,t.next);if(r&32)return id(t,e)()||jn(e[t.index]);{let n=mv(e,t);if(n!==null){if(Array.isArray(n))return n[0];let a=Qr(e[dn]);return ii(a,n)}else return ii(e,t.next)}}}return null}function mv(e,t){if(t!==null){let r=e[dn][qt],n=t.projection;return r.projection[n]}return null}function Mu(e,t){let r=Tt+e+1;if(r<t.length){let n=t[r],a=n[le].firstChild;if(a!==null)return ii(n,a)}return t[Yr]}function ud(e,t,r,n,a,i,o){for(;r!=null;){if(r.type===128){r=r.next;continue}let l=n[r.index],h=r.type;if(o&&t===0&&(l&&Zi(jn(l),n),r.flags|=2),!od(r))if(h&8)ud(e,t,r.child,n,a,i,!1),ba(t,e,a,l,i);else if(h&32){let u=id(r,n),c;for(;c=u();)ba(t,e,a,c,i);ba(t,e,a,l,i)}else h&16?fv(e,t,n,r,a,i):ba(t,e,a,l,i);r=o?r.projectionNext:r.next}}function Ks(e,t,r,n,a,i){ud(r,n,e.firstChild,t,a,i,!1)}function Xq(e,t,r){let n=t[ft],a=hv(e,r,t),i=r.parent||t[qt],o=pv(i,r,t);fv(n,0,t,r,a,o)}function fv(e,t,r,n,a,i){let o=r[dn],l=o[qt].projection[n.projection];if(Array.isArray(l))for(let h=0;h<l.length;h++){let u=l[h];ba(t,e,a,u,i)}else{let h=l,u=o[Rt];Og(n)&&(h.flags|=128),ud(e,t,h,u,a,i,!0)}}function e7(e,t,r,n,a){let i=r[Yr],o=jn(r);i!==o&&ba(t,e,n,i,a);for(let l=Tt;l<r.length;l++){let h=r[l];Ks(h[le],h,e,t,n,i)}}function t7(e,t,r,n,a){a?e.addClass(r,n):e.removeClass(r,n)}function ys(e,t,r,n,a=!1){for(;r!==null;){if(r.type===128){r=a?r.projectionNext:r.next;continue}let i=t[r.index];i!==null&&n.push(jn(i)),cr(i)&&n7(i,n);let o=r.type;if(o&8)ys(e,t,r.child,n);else if(o&32){let l=id(r,t),h;for(;h=l();)n.push(h)}else if(o&16){let l=mv(t,r);if(Array.isArray(l))n.push(...l);else{let h=Qr(t[dn]);ys(h[le],h,l,n,!0)}}r=a?r.projectionNext:r.next}return n}function n7(e,t){for(let r=Tt;r<e.length;r++){let n=e[r],a=n[le].firstChild;a!==null&&ys(n[le],n,a,t)}e[Yr]!==e[ur]&&t.push(e[Yr])}function gv(e){if(e[Sr]!==null){for(let t of e[Sr])t.impl.addSequence(t);e[Sr].length=0}}var vv=[];function r7(e){return e[un]??a7(e)}function a7(e){let t=vv.pop()??Object.create(o7);return t.lView=e,t}function i7(e){e.lView[un]!==e&&(e.lView=null,vv.push(e))}var o7=Kt(ge({},js),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{zi(e.lView)},consumerOnSignalRead(){this.lView[un]=this}});function s7(e){let t=e[un]??Object.create(l7);return t.lView=e,t}var l7=Kt(ge({},js),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Qr(e.lView);for(;t&&!bv(t[le]);)t=Qr(t);t&&Fc(t)},consumerOnSignalRead(){this.lView[un]=this}});function bv(e){return e.type!==2}function yv(e){if(e[us]===null)return;let t=!0;for(;t;){let r=!1;for(let n of e[us])n.dirty&&(r=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));t=r&&!!(e[oe]&8192)}}var u7=100;function _v(e,t=!0,r=0){var a,i;let n=e[Cr].rendererFactory;(a=n.begin)==null||a.call(n);try{c7(e,r)}catch(o){throw t&&Bq(e,o),o}finally{(i=n.end)==null||i.call(n)}}function c7(e,t){let r=og();try{xh(!0),Ru(e,t);let n=0;for(;Bi(e);){if(n===u7)throw new U(103,!1);n++,Ru(e,1)}}finally{xh(r)}}function d7(e,t,r,n){if(Va(t))return;let a=t[oe],i=!1,o=!1;Hc(t);let l=!0,h=null,u=null;bv(e)?(u=r7(t),h=ou(u)):m4()===null?(l=!1,u=s7(t),h=ou(u)):t[un]&&(Om(t[un]),t[un]=null);try{Jf(t),N9(e.bindingStartIndex),r!==null&&lv(e,t,r,2,n);let c=(a&3)===3;if(!i)if(c){let g=e.preOrderCheckHooks;g!==null&&$o(t,g,null)}else{let g=e.preOrderHooks;g!==null&&Go(t,g,0,null),El(t,0)}if(o||h7(t),yv(t),wv(t,0),e.contentQueries!==null&&Ug(e,t),!i)if(c){let g=e.contentCheckHooks;g!==null&&$o(t,g)}else{let g=e.contentHooks;g!==null&&Go(t,g,1),El(t,1)}m7(e,t);let m=e.components;m!==null&&Ev(t,m,0);let b=e.viewQuery;if(b!==null&&Nu(2,b,n),!i)if(c){let g=e.viewCheckHooks;g!==null&&$o(t,g)}else{let g=e.viewHooks;g!==null&&Go(t,g,2),El(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[xl]){for(let g of t[xl])g();t[xl]=null}i||(gv(t),t[oe]&=-73)}catch(c){throw zi(t),c}finally{u!==null&&(Mm(u,h),l&&i7(u)),qc()}}function wv(e,t){for(let r=Lg(e);r!==null;r=Fg(r))for(let n=Tt;n<r.length;n++){let a=r[n];xv(a,t)}}function h7(e){for(let t=Lg(e);t!==null;t=Fg(t)){if(!(t[oe]&2))continue;let r=t[Ta];for(let n=0;n<r.length;n++){let a=r[n];Fc(a)}}}function p7(e,t,r){let n=Vn(t,e);xv(n,r),Kr(19,n[xt])}function xv(e,t){Lc(e)&&Ru(e,t)}function Ru(e,t){let r=e[le],n=e[oe],a=e[un],i=!!(t===0&&n&16);if(i||(i=!!(n&64&&t===0)),i||(i=!!(n&1024)),i||(i=!!(a!=null&&a.dirty&&Rm(a))),i||(i=!1),a&&(a.dirty=!1),e[oe]&=-9217,i)d7(r,e,r.template,e[xt]);else if(n&8192){yv(e),wv(e,1);let o=r.components;o!==null&&Ev(e,o,1),gv(e)}}function Ev(e,t,r){for(let n=0;n<t.length;n++)p7(e,t[n],r)}function m7(e,t){let r=e.hostBindingOpCodes;if(r!==null)try{for(let n=0;n<r.length;n++){let a=r[n];if(a<0)Jr(~a);else{let i=a,o=r[++n],l=r[++n];M9(o,i);let h=t[i];Kr(24,h),l(2,h),Kr(25,h)}}}finally{Jr(-1)}}function cd(e,t){var n;let r=og()?64:1088;for((n=e[Cr].changeDetectionScheduler)==null?void 0:n.notify(t);e;){e[oe]|=r;let a=Qr(e);if(ds(e)&&!a)return e;e=a}return null}function Sv(e,t,r,n){return[e,!0,0,t,null,n,null,r,null,null]}function kv(e,t){let r=Tt+t;if(r<e.length)return e[r]}function Xi(e,t,r,n=!0){let a=t[le];if(f7(a,t,e,r),n){let o=Mu(r,e),l=t[ft],h=l.parentNode(e[Yr]);h!==null&&Uq(a,e[qt],l,t,h,o)}let i=t[Da];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Cv(e,t){let r=ki(e,t);return r!==void 0&&Ys(r[le],r),r}function ki(e,t){if(e.length<=Tt)return;let r=Tt+t,n=e[r];if(n){let a=n[Zr];a!==null&&a!==e&&sd(a,n),t>0&&(e[r-1][_n]=n[_n]);let i=ss(e,Tt+t);Gq(n[le],n);let o=i[wn];o!==null&&o.detachView(i[le]),n[Rt]=null,n[_n]=null,n[oe]&=-129}return n}function f7(e,t,r,n){let a=Tt+n,i=r.length;n>0&&(r[a-1][_n]=t),n<i-Tt?(t[_n]=r[a],Af(r,Tt+n,t)):(r.push(t),t[_n]=null),t[Rt]=r;let o=t[Zr];o!==null&&r!==o&&Iv(o,t);let l=t[wn];l!==null&&l.insertView(e),yu(t),t[oe]|=128}function Iv(e,t){let r=e[Ta],n=t[Rt];if(kr(n))e[oe]|=2;else{let a=n[Rt][dn];t[dn]!==a&&(e[oe]|=2)}r===null?e[Ta]=[t]:r.push(t)}var Ci=class{constructor(e,t,r=!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=r}get rootNodes(){let e=this._lView,t=e[le];return ys(t,e,t.firstChild,[])}get context(){return this._lView[xt]}set context(e){this._lView[xt]=e}get destroyed(){return Va(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[Rt];if(cr(e)){let t=e[cs],r=t?t.indexOf(this):-1;r>-1&&(ki(e,r),ss(t,r))}this._attachedToViewContainer=!1}Ys(this._lView[le],this._lView)}onDestroy(e){Xf(this._lView,e)}markForCheck(){cd(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[oe]&=-129}reattach(){yu(this._lView),this._lView[oe]|=128}detectChanges(){this._lView[oe]|=1024,_v(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new U(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=ds(this._lView),t=this._lView[Zr];t!==null&&!e&&sd(t,this._lView),dv(this._lView[le],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new U(902,!1);this._appRef=e;let t=ds(this._lView),r=this._lView[Zr];r!==null&&!t&&Iv(r,this._lView),yu(this._lView)}};function g7(e){return Bi(e._lView)||!!(e._lView[oe]&64)}function v7(e){Fc(e._cdRefInjectingView||e._lView)}var Ii=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",_7),e})(),b7=Ii,y7=class extends b7{constructor(t,r,n){super();s(this,"_declarationLView");s(this,"_declarationTContainer");s(this,"elementRef");this._declarationLView=t,this._declarationTContainer=r,this.elementRef=n}get ssrId(){var t;return((t=this._declarationTContainer.tView)==null?void 0:t.ssrId)||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,n){let a=Ji(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:n});return new Ci(a)}};function _7(){return dd(Jt(),he())}function dd(e,t){return e.type&4?new y7(t,e,za(e,t)):null}function eo(e,t,r,n,a){let i=e.data[t];if(i===null)i=w7(e,t,r,n,a),T9()&&(i.flags|=32);else if(i.type&64){i.type=r,i.value=n,i.attrs=a;let o=C9();i.injectorIndex=o===null?-1:o.injectorIndex}return Ba(i,!0),i}function w7(e,t,r,n,a){let i=rg(),o=ag(),l=o?i:i&&i.parent,h=e.data[t]=E7(e,l,r,t,n,a);return x7(e,h,i,o),h}function x7(e,t,r,n){e.firstChild===null&&(e.firstChild=t),r!==null&&(n?r.child==null&&t.parent!==null&&(r.child=t):r.next===null&&(r.next=t,t.prev=r))}function E7(e,t,r,n,a,i){let o=t?t.injectorIndex:-1,l=0;return eg()&&(l|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:a,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var S7=()=>null;function Ra(e,t){return S7()}var k7=class{},Dv=class{},C7=class{resolveComponentFactory(e){throw Error(`No component factory found for ${ln(e)}.`)}},au,to=(au=class{},s(au,"NULL",new C7),au),Sn=class{},Qs=(()=>{class e{constructor(){s(this,"destroyNode",null)}}return s(e,"__NG_ELEMENT_ID__",()=>I7()),e})();function I7(){let e=he(),t=Jt(),r=Vn(t.index,e);return(kr(r)?r:e)[ft]}var D7=(()=>{const t=class t{};s(t,"ɵprov",$({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),Cl={},N7=class{constructor(e,t){s(this,"injector");s(this,"parentInjector");this.injector=e,this.parentInjector=t}get(e,t,r){r=qs(r);let n=this.injector.get(e,Cl,r);return n!==Cl||t===Cl?n:this.parentInjector.get(e,t,r)}};function Bh(e,t,r){let n=r?e.styles:null,a=r?e.classes:null,i=0;if(t!==null)for(let o=0;o<t.length;o++){let l=t[o];if(typeof l=="number")i=l;else if(i==1)a=hu(a,l);else if(i==2){let h=l,u=t[++o];n=hu(n,h+": "+u+";")}}r?e.styles=n:e.stylesWithoutHost=n,r?e.classes=a:e.classesWithoutHost=a}function jt(e,t=be.Default){let r=he();if(r===null)return ee(e,t);let n=Jt();return Sg(n,r,Lt(e),t)}function Nv(e,t,r,n,a){let i=n===null?null:{"":-1},o=a(e,r);if(o!==null){let l,h=null,u=null,c=M7(o);c===null?l=o:[l,h,u]=c,P7(e,t,r,l,i,h,u)}i!==null&&n!==null&&T7(r,n,i)}function T7(e,t,r){let n=e.localNames=[];for(let a=0;a<t.length;a+=2){let i=r[t[a+1]];if(i==null)throw new U(-301,!1);n.push(t[a],i)}}function M7(e){let t=null,r=!1;for(let o=0;o<e.length;o++){let l=e[o];if(o===0&&Fn(l)&&(t=l),l.findHostDirectiveDefs!==null){r=!0;break}}if(!r)return null;let n=null,a=null,i=null;for(let o of e)o.findHostDirectiveDefs!==null&&(n??(n=[]),a??(a=new Map),i??(i=new Map),R7(o,n,i,a)),o===t&&(n??(n=[]),n.push(o));return n!==null?(n.push(...t===null?e:e.slice(1)),[n,a,i]):null}function R7(e,t,r,n){let a=t.length;e.findHostDirectiveDefs(e,t,n),r.set(e,[a,t.length-1])}function O7(e,t,r){t.componentOffset=r,(e.components??(e.components=[])).push(t.index)}function P7(e,t,r,n,a,i,o){let l=n.length,h=!1;for(let b=0;b<l;b++){let g=n[b];!h&&Fn(g)&&(h=!0,O7(e,r,b)),Eu(fs(r,t),e,g.type)}B7(r,e.data.length,l);for(let b=0;b<l;b++){let g=n[b];g.providersResolver&&g.providersResolver(g)}let u=!1,c=!1,m=ov(e,t,l,null);l>0&&(r.directiveToIndex=new Map);for(let b=0;b<l;b++){let g=n[b];if(r.mergedAttrs=Ei(r.mergedAttrs,g.hostAttrs),L7(e,r,t,m,g),V7(m,g,a),o!==null&&o.has(g)){let[x,S]=o.get(g);r.directiveToIndex.set(g.type,[m,x+r.directiveStart,S+r.directiveStart])}else(i===null||!i.has(g))&&r.directiveToIndex.set(g.type,m);g.contentQueries!==null&&(r.flags|=4),(g.hostBindings!==null||g.hostAttrs!==null||g.hostVars!==0)&&(r.flags|=64);let w=g.type.prototype;!u&&(w.ngOnChanges||w.ngOnInit||w.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(r.index),u=!0),!c&&(w.ngOnChanges||w.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(r.index),c=!0),m++}A7(e,r,i)}function A7(e,t,r){for(let n=t.directiveStart;n<t.directiveEnd;n++){let a=e.data[n];if(r===null||!r.has(a))zh(0,t,a,n),zh(1,t,a,n),qh(t,n,!1);else{let i=r.get(a);Hh(0,t,i,n),Hh(1,t,i,n),qh(t,n,!0)}}}function zh(e,t,r,n){let a=e===0?r.inputs:r.outputs;for(let i in a)if(a.hasOwnProperty(i)){let o;e===0?o=t.inputs??(t.inputs={}):o=t.outputs??(t.outputs={}),o[i]??(o[i]=[]),o[i].push(n),Tv(t,i)}}function Hh(e,t,r,n){let a=e===0?r.inputs:r.outputs;for(let i in a)if(a.hasOwnProperty(i)){let o=a[i],l;e===0?l=t.hostDirectiveInputs??(t.hostDirectiveInputs={}):l=t.hostDirectiveOutputs??(t.hostDirectiveOutputs={}),l[o]??(l[o]=[]),l[o].push(n,i),Tv(t,o)}}function Tv(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function qh(e,t,r){let{attrs:n,inputs:a,hostDirectiveInputs:i}=e;if(n===null||!r&&a===null||r&&i===null||Jc(e)){e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(null);return}let o=null,l=0;for(;l<n.length;){let h=n[l];if(h===0){l+=4;continue}else if(h===5){l+=2;continue}else if(typeof h=="number")break;if(!r&&a.hasOwnProperty(h)){let u=a[h];for(let c of u)if(c===t){o??(o=[]),o.push(h,n[l+1]);break}}else if(r&&i.hasOwnProperty(h)){let u=i[h];for(let c=0;c<u.length;c+=2)if(u[c]===t){o??(o=[]),o.push(u[c+1],n[l+1]);break}}l+=2}e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(o)}function L7(e,t,r,n,a){e.data[n]=a;let i=a.factory||(a.factory=Ur(a.type)),o=new $i(i,Fn(a),jt);e.blueprint[n]=o,r[n]=o,F7(e,t,n,ov(e,r,a.hostVars,en),a)}function F7(e,t,r,n,a){let i=a.hostBindings;if(i){let o=e.hostBindingOpCodes;o===null&&(o=e.hostBindingOpCodes=[]);let l=~t.index;j7(o)!=l&&o.push(l),o.push(r,n,i)}}function j7(e){let t=e.length;for(;t>0;){let r=e[--t];if(typeof r=="number"&&r<0)return r}return 0}function V7(e,t,r){if(r){if(t.exportAs)for(let n=0;n<t.exportAs.length;n++)r[t.exportAs[n]]=e;Fn(t)&&(r[""]=e)}}function B7(e,t,r){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+r,e.providerIndexes=t}function Mv(e,t,r,n,a,i,o,l){let h=t.consts,u=xi(h,o),c=eo(t,e,2,n,u);return Nv(t,r,c,xi(h,l),a),c.mergedAttrs=Ei(c.mergedAttrs,c.attrs),c.attrs!==null&&Bh(c,c.attrs,!1),c.mergedAttrs!==null&&Bh(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Rv(e,t){fg(e,t),Uf(t)&&e.queries.elementEnd(t)}var z7=class extends to{constructor(t){super();s(this,"ngModule");this.ngModule=t}resolveComponentFactory(t){let r=Ca(t);return new hd(r,this.ngModule)}};function H7(e){return Object.keys(e).map(t=>{let[r,n,a]=e[t],i={propName:r,templateName:t,isSignal:(n&Zs.SignalBased)!==0};return a&&(i.transform=a),i})}function q7(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function $7(e,t,r){let n=t instanceof Ln?t:t==null?void 0:t.injector;return n&&e.getStandaloneInjector!==null&&(n=e.getStandaloneInjector(n)||n),n?new N7(r,n):r}function G7(e){let t=e.get(Sn,null);if(t===null)throw new U(407,!1);let r=e.get(D7,null),n=e.get(Ui,null);return{rendererFactory:t,sanitizer:r,changeDetectionScheduler:n}}function U7(e,t){let r=(e.selectors[0][0]||"div").toLowerCase();return nv(t,r,r==="svg"?p9:r==="math"?m9:null)}var hd=class extends Dv{constructor(t,r){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=r,this.componentType=t.type,this.selector=_q(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!r}get inputs(){return this.cachedInputs??(this.cachedInputs=H7(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=q7(this.componentDef.outputs)),this.cachedOutputs}create(t,r,n,a){let i=xe(null);try{let o=this.componentDef,l=n?["ng-version","19.2.14"]:wq(this.componentDef.selectors[0]),h=Xc(0,null,null,1,0,null,null,null,null,[l],null),u=$7(o,a||this.ngModule,t),c=G7(u),m=c.rendererFactory.createRenderer(null,o),b=n?Tq(m,n,o.encapsulation,u):U7(o,m),g=ed(null,h,null,512|iv(o),null,null,c,m,u,null,Gg(b,u,!0));g[gt]=b,Hc(g);let w=null;try{let x=Mv(gt,h,g,"#host",()=>[this.componentDef],!0,0);b&&(av(m,b,x),Zi(b,g)),nd(h,g,x),Wg(h,x,g),Rv(h,x),r!==void 0&&Z7(x,this.ngContentSelectors,r),w=Vn(x.index,g),g[xt]=w[xt],ad(h,g,null)}catch(x){throw w!==null&&Iu(w),Iu(g),x}finally{Kr(23),qc()}return new W7(this.componentType,g)}finally{xe(i)}}},W7=class extends k7{constructor(t,r){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=r,this._tNode=Oc(r[le],gt),this.location=za(this._tNode,r),this.instance=Vn(this._tNode.index,r)[xt],this.hostView=this.changeDetectorRef=new Ci(r,void 0,!1),this.componentType=t}setInput(t,r){let n=this._tNode;if(this.previousInputValues??(this.previousInputValues=new Map),this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),r))return;let a=this._rootLView;rd(n,a[le],a,t,r),this.previousInputValues.set(t,r);let i=Vn(n.index,a);cd(i,1)}get injector(){return new hi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Z7(e,t,r){let n=e.projection=[];for(let a=0;a<t.length;a++){let i=r[a];n.push(i!=null&&i.length?Array.from(i):null)}}var Js=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",Y7),e})();function Y7(){let e=Jt();return Pv(e,he())}var K7=Js,Ov=class extends K7{constructor(t,r,n){super();s(this,"_lContainer");s(this,"_hostTNode");s(this,"_hostLView");this._lContainer=t,this._hostTNode=r,this._hostLView=n}get element(){return za(this._hostTNode,this._hostLView)}get injector(){return new hi(this._hostTNode,this._hostLView)}get parentInjector(){let t=Uc(this._hostTNode,this._hostLView);if(bg(t)){let r=ps(t,this._hostLView),n=hs(t),a=r[le].data[n+8];return new hi(a,r)}else return new hi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let r=$h(this._lContainer);return r!==null&&r[t]||null}get length(){return this._lContainer.length-Tt}createEmbeddedView(t,r,n){let a,i;typeof n=="number"?a=n:n!=null&&(a=n.index,i=n.injector);let o=Ra(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(r||{},i,o);return this.insertImpl(l,a,Ma(this._hostTNode,o)),l}createComponent(t,r,n,a,i){let o=t&&!s9(t),l;if(o)l=r;else{let w=r||{};l=w.index,n=w.injector,a=w.projectableNodes,i=w.environmentInjector||w.ngModuleRef}let h=o?t:new hd(Ca(t)),u=n||this.parentInjector;if(!i&&h.ngModule==null){let w=(o?u:this.parentInjector).get(Ln,null);w&&(i=w)}let c=Ca(h.componentType??{}),m=Ra(this._lContainer,(c==null?void 0:c.id)??null),b=null,g=h.create(u,a,b,i);return this.insertImpl(g.hostView,l,Ma(this._hostTNode,m)),g}insert(t,r){return this.insertImpl(t,r,!0)}insertImpl(t,r,n){let a=t._lView;if(g9(a)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let h=a[Rt],u=new Ov(h,h[qt],h[Rt]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(r),o=this._lContainer;return Xi(o,a,i,n),t.attachToViewContainerRef(),Af(Il(o),i,t),t}move(t,r){return this.insert(t,r)}indexOf(t){let r=$h(this._lContainer);return r!==null?r.indexOf(t):-1}remove(t){let r=this._adjustIndex(t,-1),n=ki(this._lContainer,r);n&&(ss(Il(this._lContainer),r),Ys(n[le],n))}detach(t){let r=this._adjustIndex(t,-1),n=ki(this._lContainer,r);return n&&ss(Il(this._lContainer),r)!=null?new Ci(n):null}_adjustIndex(t,r=0){return t??this.length+r}};function $h(e){return e[cs]}function Il(e){return e[cs]||(e[cs]=[])}function Pv(e,t){let r,n=t[e.index];return cr(n)?r=n:(r=Sv(n,t,null,e),t[e.index]=r,td(t,r)),J7(r,t,e,n),new Ov(r,e,t)}function Q7(e,t){let r=e[ft],n=r.createComment(""),a=Bn(t,e),i=r.parentNode(a);return bs(r,i,n,r.nextSibling(a),!1),n}var J7=X7;function X7(e,t,r,n){if(e[Yr])return;let a;r.type&8?a=jn(n):a=Q7(t,r),e[Yr]=a}var e$=class Av{constructor(t){s(this,"queryList");s(this,"matches",null);this.queryList=t}clone(){return new Av(this.queryList)}setDirty(){this.queryList.setDirty()}},t$=class Lv{constructor(t=[]){s(this,"queries");this.queries=t}createEmbeddedView(t){let r=t.queries;if(r!==null){let n=t.contentQueries!==null?t.contentQueries[0]:r.length,a=[];for(let i=0;i<n;i++){let o=r.getByIndex(i),l=this.queries[o.indexInDeclarationView];a.push(l.clone())}return new Lv(a)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let r=0;r<this.queries.length;r++)pd(t,r).matches!==null&&this.queries[r].setDirty()}},n$=class{constructor(e,t,r=null){s(this,"flags");s(this,"read");s(this,"predicate");this.flags=t,this.read=r,typeof e=="string"?this.predicate=h$(e):this.predicate=e}},r$=class Fv{constructor(t=[]){s(this,"queries");this.queries=t}elementStart(t,r){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,r)}elementEnd(t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementEnd(t)}embeddedTView(t){let r=null;for(let n=0;n<this.length;n++){let a=r!==null?r.length:0,i=this.getByIndex(n).embeddedTView(t,a);i&&(i.indexInDeclarationView=n,r!==null?r.push(i):r=[i])}return r!==null?new Fv(r):null}template(t,r){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,r)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},a$=class jv{constructor(t,r=-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=r}elementStart(t,r){this.isApplyingToNode(r)&&this.matchTNode(t,r)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,r){this.elementStart(t,r)}embeddedTView(t,r){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,r),new jv(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let r=this._declarationNodeIndex,n=t.parent;for(;n!==null&&n.type&8&&n.index!==r;)n=n.parent;return r===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(t,r){let n=this.metadata.predicate;if(Array.isArray(n))for(let a=0;a<n.length;a++){let i=n[a];this.matchTNodeWithReadOption(t,r,i$(r,i)),this.matchTNodeWithReadOption(t,r,Uo(r,t,i,!1,!1))}else n===Ii?r.type&4&&this.matchTNodeWithReadOption(t,r,-1):this.matchTNodeWithReadOption(t,r,Uo(r,t,n,!1,!1))}matchTNodeWithReadOption(t,r,n){if(n!==null){let a=this.metadata.read;if(a!==null)if(a===Xt||a===Js||a===Ii&&r.type&4)this.addMatch(r.index,-2);else{let i=Uo(r,t,a,!1,!1);i!==null&&this.addMatch(r.index,i)}else this.addMatch(r.index,n)}}addMatch(t,r){this.matches===null?this.matches=[t,r]:this.matches.push(t,r)}};function i$(e,t){let r=e.localNames;if(r!==null){for(let n=0;n<r.length;n+=2)if(r[n]===t)return r[n+1]}return null}function o$(e,t){return e.type&11?za(e,t):e.type&4?dd(e,t):null}function s$(e,t,r,n){return r===-1?o$(t,e):r===-2?l$(e,t,n):Si(e,e[le],r,t)}function l$(e,t,r){if(r===Xt)return za(t,e);if(r===Ii)return dd(t,e);if(r===Js)return Pv(t,e)}function Vv(e,t,r,n){let a=t[wn].queries[n];if(a.matches===null){let i=e.data,o=r.matches,l=[];for(let h=0;o!==null&&h<o.length;h+=2){let u=o[h];if(u<0)l.push(null);else{let c=i[u];l.push(s$(t,c,o[h+1],r.metadata.read))}}a.matches=l}return a.matches}function Ou(e,t,r,n){let a=e.queries.getByIndex(r),i=a.matches;if(i!==null){let o=Vv(e,t,a,r);for(let l=0;l<i.length;l+=2){let h=i[l];if(h>0)n.push(o[l/2]);else{let u=i[l+1],c=t[-h];for(let m=Tt;m<c.length;m++){let b=c[m];b[Zr]===b[Rt]&&Ou(b[le],b,u,n)}if(c[Ta]!==null){let m=c[Ta];for(let b=0;b<m.length;b++){let g=m[b];Ou(g[le],g,u,n)}}}}}return n}function u$(e,t){return e[wn].queries[t].queryList}function c$(e,t,r){let n=new vH((r&4)===4);return y9(e,t,n,n.destroy),(t[wn]??(t[wn]=new t$)).queries.push(new e$(n))-1}function d$(e,t,r){let n=bt();return n.firstCreatePass&&(p$(n,new n$(e,t,r),-1),n.staticViewQueries=!0),c$(n,he(),t)}function h$(e){return e.split(",").map(t=>t.trim())}function p$(e,t,r){e.queries===null&&(e.queries=new r$),e.queries.track(new a$(t,r))}function pd(e,t){return e.queries.getByIndex(t)}function m$(e,t){let r=e[le],n=pd(r,t);return n.crossesNgTemplate?Ou(r,e,t,[]):Vv(r,e,n,t)}var Di=class{},Bv=class extends Di{constructor(t){super();s(this,"injector");s(this,"componentFactoryResolver",new z7(this));s(this,"instance",null);let r=new Nc([...t.providers,{provide:Di,useValue:this},{provide:to,useValue:this.componentFactoryResolver}],t.parent||$s(),t.debugName,new Set(["environment"]));this.injector=r,t.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function f$(e,t,r=null){return new Bv({providers:e,parent:t,debugName:r,runEnvironmentInitializers:!0}).injector}var g$=(()=>{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=Vf(!1,n.type),i=a.length>0?f$([a],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};s(t,"ɵprov",$({token:t,providedIn:"environment",factory:()=>new t(ee(Ln))}));let e=t;return e})();function It(e){return ji(()=>{let t=Hv(e),r=Kt(ge({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Pg.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?a=>a.get(g$).getOrCreateStandaloneInjector(r):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ar.Emulated,styles:e.styles||Bt,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&ta("NgStandalone"),qv(r);let n=e.dependencies;return r.directiveDefs=Gh(n,!1),r.pipeDefs=Gh(n,!0),r.id=w$(r),r})}function v$(e){return Ca(e)||Y5(e)}function b$(e){return e!==null}function zv(e){return ji(()=>({type:e.type,bootstrap:e.bootstrap||Bt,declarations:e.declarations||Bt,imports:e.imports||Bt,exports:e.exports||Bt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function y$(e,t){if(e==null)return Wr;let r={};for(let n in e)if(e.hasOwnProperty(n)){let a=e[n],i,o,l,h;Array.isArray(a)?(l=a[0],i=a[1],o=a[2]??i,h=a[3]||null):(i=a,o=a,l=Zs.None,h=null),r[i]=[n,l,h],t[i]=o}return r}function _$(e){if(e==null)return Wr;let t={};for(let r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}function hr(e){return ji(()=>{let t=Hv(e);return qv(t),t})}function ra(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 Hv(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||Wr,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Bt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:y$(e.inputs,t),outputs:_$(e.outputs),debugInfo:null}}function qv(e){var t;(t=e.features)==null||t.forEach(r=>r(e))}function Gh(e,t){if(!e)return null;let r=t?K5:v$;return()=>(typeof e=="function"?e():e).map(n=>r(n)).filter(b$)}function w$(e){let t=0,r=typeof e.consts=="function"?"":e.consts,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,r,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 x$(e){return Object.getPrototypeOf(e.prototype).constructor}function Tr(e){let t=x$(e.type),r=!0,n=[e];for(;t;){let a;if(Fn(e))a=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new U(903,!1);a=t.ɵdir}if(a){if(r){n.push(a);let o=e;o.inputs=Dl(e.inputs),o.declaredInputs=Dl(e.declaredInputs),o.outputs=Dl(e.outputs);let l=a.hostBindings;l&&I$(e,l);let h=a.viewQuery,u=a.contentQueries;if(h&&k$(e,h),u&&C$(e,u),E$(e,a),C5(e.outputs,a.outputs),Fn(a)&&a.data.animation){let c=e.data;c.animation=(c.animation||[]).concat(a.data.animation)}}let i=a.features;if(i)for(let o=0;o<i.length;o++){let l=i[o];l&&l.ngInherit&&l(e),l===Tr&&(r=!1)}}t=Object.getPrototypeOf(t)}S$(n)}function E$(e,t){for(let r in t.inputs){if(!t.inputs.hasOwnProperty(r)||e.inputs.hasOwnProperty(r))continue;let n=t.inputs[r];n!==void 0&&(e.inputs[r]=n,e.declaredInputs[r]=t.declaredInputs[r])}}function S$(e){let t=0,r=null;for(let n=e.length-1;n>=0;n--){let a=e[n];a.hostVars=t+=a.hostVars,a.hostAttrs=Ei(a.hostAttrs,r=Ei(r,a.hostAttrs))}}function Dl(e){return e===Wr?{}:e===Bt?[]:e}function k$(e,t){let r=e.viewQuery;r?e.viewQuery=(n,a)=>{t(n,a),r(n,a)}:e.viewQuery=t}function C$(e,t){let r=e.contentQueries;r?e.contentQueries=(n,a,i)=>{t(n,a,i),r(n,a,i)}:e.contentQueries=t}function I$(e,t){let r=e.hostBindings;r?e.hostBindings=(n,a)=>{t(n,a),r(n,a)}:e.hostBindings=t}function $v(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Xs(e,t,r){return e[t]=r}function Gv(e,t){return e[t]}function xn(e,t,r){let n=e[t];return Object.is(n,r)?!1:(e[t]=r,!0)}function _s(e,t,r,n){let a=xn(e,t,r);return xn(e,t+1,n)||a}function D$(e,t,r,n,a,i){let o=_s(e,t,r,n);return _s(e,t+2,a,i)||o}function N$(e,t,r,n,a,i,o,l,h){let u=t.consts,c=eo(t,e,4,o||null,l||null);Nv(t,r,c,xi(u,h),cv),c.mergedAttrs=Ei(c.mergedAttrs,c.attrs),fg(t,c);let m=c.tView=Xc(2,c,n,a,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return t.queries!==null&&(t.queries.template(t,c),m.queries=t.queries.embeddedTView(c)),c}function Uv(e,t,r,n,a,i,o,l,h,u){let c=r+gt,m=t.firstCreatePass?N$(c,t,e,n,a,i,o,l,h):t.data[c];Ba(m,!1);let b=T$(t,e);$c()&&ld(t,e,b,m),Zi(b,e);let g=Sv(b,e,b,m);return e[c]=g,td(e,g),Rc(m)&&nd(t,e,m),h!=null&&uv(e,m,u),m}function zt(e,t,r,n,a,i,o,l){let h=he(),u=bt(),c=xi(u.consts,i);return Uv(h,u,e,t,r,n,a,c,o,l),zt}var T$=M$;function M$(e,t,r,n){return Gc(!0),t[ft].createComment("")}var R$=new Q(""),O$=(()=>{const t=class t{};s(t,"ɵprov",$({token:t,providedIn:"root",factory:()=>new P$}));let e=t;return e})(),P$=class{constructor(){s(this,"queuedEffectCount",0);s(this,"queues",new Map)}schedule(e){this.enqueue(e)}remove(e){let t=e.zone,r=this.queues.get(t);r.has(e)&&(r.delete(e),this.queuedEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(e)||(this.queuedEffectCount++,r.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 md(e){return!!e&&typeof e.then=="function"}function Wv(e){return!!e&&typeof e.subscribe=="function"}var A$=new Q(""),Zv=(()=>{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",D(A$,{optional:!0})??[]);s(this,"injector",D(Mt))}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=Tc(this.injector,i);if(md(o))n.push(o);else if(Wv(o)){let l=new Promise((h,u)=>{o.subscribe({complete:h,error:u})});n.push(l)}}let a=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{a()}).catch(i=>{this.reject(i)}),n.length===0&&a(),this.initialized=!0}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),L$=new Q("");function F$(){x4(()=>{throw new U(600,!1)})}function j$(e){return e.isBoundToModule}var V$=10,Ir=(()=>{const t=class t{constructor(){s(this,"_runningTick",!1);s(this,"_destroyed",!1);s(this,"_destroyListeners",[]);s(this,"_views",[]);s(this,"internalErrorHandler",D(hH));s(this,"afterRenderManager",D(Hg));s(this,"zonelessEnabled",D(Dg));s(this,"rootEffectScheduler",D(O$));s(this,"dirtyFlags",0);s(this,"tracingSnapshot",null);s(this,"externalTestViews",new Set);s(this,"afterTick",new Pe);s(this,"componentTypes",[]);s(this,"components",[]);s(this,"isStable",D(Wi).hasPendingTasks.pipe(wt(n=>!n)));s(this,"_injector",D(Ln));s(this,"_rendererFactory",null);s(this,"tickImpl",()=>{var a;if(this._runningTick)throw new U(101,!1);let n=xe(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,(a=this.tracingSnapshot)==null||a.dispose(),this.tracingSnapshot=null,xe(n),this.afterTick.next()}});D(Ki,{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:i=>{i&&a()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,a){return this.bootstrapImpl(n,a)}bootstrapImpl(n,a,i=Mt.NULL){let o=n instanceof Dv;if(!this._injector.get(Zv).done){let g="";throw new U(405,g)}let l;o?l=n:l=this._injector.get(to).resolveComponentFactory(n),this.componentTypes.push(l.componentType);let h=j$(l)?void 0:this._injector.get(Di),u=a||l.selector,c=l.create(i,[],u,h),m=c.location.nativeElement,b=c.injector.get(R$,null);return b==null||b.registerApplication(m),c.onDestroy(()=>{this.detachView(c.hostView),Wo(this.components,c),b==null||b.unregisterApplication(m)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){this.tracingSnapshot!==null?this.tracingSnapshot.run(Qc.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Sn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<V$;)this.synchronizeOnce()}synchronizeOnce(){var n,a,i,o;if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let l=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:h,notifyErrorHandler:u}of this.allViews)B$(h,u,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=(i=this._rendererFactory)==null?void 0:i.end)==null||o.call(i);this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Bi(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;Wo(this._views,a),a.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(L$,[]).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),()=>Wo(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new U(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",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Wo(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}function B$(e,t,r,n){!r&&!Bi(e)||_v(e,t,r&&!n?0:1)}function Ha(e,t,r,n){let a=he(),i=qi();if(xn(a,i,t)){bt();let o=pg();Fq(o,a,e,t,r,n)}return Ha}function z$(e,t,r,n){return xn(e,qi(),r)?t+_i(r)+n:en}function H$(e,t,r,n,a,i){let o=D9(),l=_s(e,o,r,a);return Bc(2),l?t+_i(r)+n+_i(a)+i:en}function _o(e,t){return e<<17|t<<2}function Xr(e){return e>>17&32767}function q$(e){return(e&2)==2}function $$(e,t){return e&131071|t<<17}function Pu(e){return e|2}function Oa(e){return(e&131068)>>2}function Nl(e,t){return e&-131069|t<<2}function G$(e){return(e&1)===1}function Au(e){return e|1}function U$(e,t,r,n,a,i){let o=t.classBindings,l=Xr(o),h=Oa(o);e[n]=r;let u=!1,c;if(Array.isArray(r)){let m=r;c=m[1],(c===null||Vi(m,c)>0)&&(u=!0)}else c=r;if(a)if(h!==0){let m=Xr(e[l+1]);e[n+1]=_o(m,l),m!==0&&(e[m+1]=Nl(e[m+1],n)),e[l+1]=$$(e[l+1],n)}else e[n+1]=_o(l,0),l!==0&&(e[l+1]=Nl(e[l+1],n)),l=n;else e[n+1]=_o(h,0),l===0?l=n:e[h+1]=Nl(e[h+1],n),h=n;u&&(e[n+1]=Pu(e[n+1])),Uh(e,c,n,!0),Uh(e,c,n,!1),W$(t,c,e,n),o=_o(l,h),t.classBindings=o}function W$(e,t,r,n,a){let i=e.residualClasses;i!=null&&typeof t=="string"&&Vi(i,t)>=0&&(r[n+1]=Au(r[n+1]))}function Uh(e,t,r,n){let a=e[r+1],i=t===null,o=n?Xr(a):Oa(a),l=!1;for(;o!==0&&(l===!1||i);){let h=e[o],u=e[o+1];Z$(h,t)&&(l=!0,e[o+1]=n?Au(u):Pu(u)),o=n?Xr(u):Oa(u)}l&&(e[r+1]=n?Pu(a):Au(a))}function Z$(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Vi(e,t)>=0:!1}var yn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Y$(e){return e.substring(yn.key,yn.keyEnd)}function K$(e){return Q$(e),Yv(e,Kv(e,0,yn.textEnd))}function Yv(e,t){let r=yn.textEnd;return r===t?-1:(t=yn.keyEnd=J$(e,yn.key=t,r),Kv(e,t,r))}function Q$(e){yn.key=0,yn.keyEnd=0,yn.value=0,yn.valueEnd=0,yn.textEnd=e.length}function Kv(e,t,r){for(;t<r&&e.charCodeAt(t)<=32;)t++;return t}function J$(e,t,r){for(;t<r&&e.charCodeAt(t)>32;)t++;return t}function qa(e,t,r){let n=he(),a=qi();if(xn(n,a,t)){let i=bt(),o=pg();Rq(i,o,n,e,t,n[ft],r)}return qa}function Lu(e,t,r,n,a){rd(t,e,r,a?"class":"style",n)}function Dr(e,t){return eG(e,t,null,!0),Dr}function fd(e){tG(sG,X$,e,!0)}function X$(e,t){for(let r=K$(t);r>=0;r=Yv(t,r))kc(e,Y$(t),!0)}function eG(e,t,r,n){let a=he(),i=bt(),o=Bc(2);if(i.firstUpdatePass&&Jv(i,e,o,n),t!==en&&xn(a,o,t)){let l=i.data[zn()];Xv(i,l,a,a[ft],e,a[o+1]=uG(t),n,o)}}function tG(e,t,r,n){let a=bt(),i=Bc(2);a.firstUpdatePass&&Jv(a,null,i,n);let o=he();if(r!==en&&xn(o,i,r)){let l=a.data[zn()];if(e0(l)&&!Qv(a,i)){let h=l.classesWithoutHost;h!==null&&(r=hu(h,r||"")),Lu(a,l,o,r,n)}else lG(a,l,o,o[ft],o[i+1],o[i+1]=oG(e,t,r),n,i)}}function Qv(e,t){return t>=e.expandoStartIndex}function Jv(e,t,r,n){let a=e.data;if(a[r+1]===null){let i=a[zn()],o=Qv(e,r);e0(i)&&t===null&&!o&&(t=!1),t=nG(a,i,t,n),U$(a,i,t,r,o)}}function nG(e,t,r,n){let a=O9(e),i=t.residualClasses;if(a===null)t.classBindings===0&&(r=Tl(null,e,t,r),r=Ni(r,t.attrs),i=null);else{let o=t.directiveStylingLast;if(o===-1||e[o]!==a)if(r=Tl(a,e,t,r),i===null){let l=rG(e,t);l!==void 0&&Array.isArray(l)&&(l=Tl(null,e,t,l[1]),l=Ni(l,t.attrs),aG(e,t,n,l))}else i=iG(e,t)}return i!==void 0&&(t.residualClasses=i),r}function rG(e,t,r){let n=t.classBindings;if(Oa(n)!==0)return e[Xr(n)]}function aG(e,t,r,n){let a=t.classBindings;e[Xr(a)]=n}function iG(e,t,r){let n,a=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<a;i++){let o=e[i].hostAttrs;n=Ni(n,o)}return Ni(n,t.attrs)}function Tl(e,t,r,n,a){let i=null,o=r.directiveEnd,l=r.directiveStylingLast;for(l===-1?l=r.directiveStart:l++;l<o&&(i=t[l],n=Ni(n,i.hostAttrs),i!==e);)l++;return e!==null&&(r.directiveStylingLast=l),n}function Ni(e,t,r){let n=1,a=-1;if(t!==null)for(let i=0;i<t.length;i++){let o=t[i];typeof o=="number"?a=o:a===n&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),kc(e,o,!0))}return e===void 0?null:e}function oG(e,t,r){if(r==null||r==="")return Bt;let n=[],a=Hr(r);if(Array.isArray(a))for(let i=0;i<a.length;i++)e(n,a[i],!0);else if(typeof a=="object")for(let i in a)a.hasOwnProperty(i)&&e(n,i,a[i]);else typeof a=="string"&&t(n,a);return n}function sG(e,t,r){let n=String(t);n!==""&&!n.includes(" ")&&kc(e,n,r)}function lG(e,t,r,n,a,i,o,l){a===en&&(a=Bt);let h=0,u=0,c=0<a.length?a[0]:null,m=0<i.length?i[0]:null;for(;c!==null||m!==null;){let b=h<a.length?a[h+1]:void 0,g=u<i.length?i[u+1]:void 0,w=null,x;c===m?(h+=2,u+=2,b!==g&&(w=m,x=g)):m===null||c!==null&&c<m?(h+=2,w=c):(u+=2,w=m,x=g),w!==null&&Xv(e,t,r,n,w,x,o,l),c=h<a.length?a[h]:null,m=u<i.length?i[u]:null}}function Xv(e,t,r,n,a,i,o,l){if(!(t.type&3))return;let h=e.data,u=h[l+1],c=G$(u)?Wh(h,t,r,a,Oa(u)):void 0;if(!ws(c)){ws(i)||q$(u)&&(i=Wh(h,null,r,a,l));let m=Qf(zn(),r);t7(n,o,m,a,i)}}function Wh(e,t,r,n,a,i){let o=t===null,l;for(;a>0;){let h=e[a],u=Array.isArray(h),c=u?h[1]:h,m=c===null,b=r[a+1];b===en&&(b=m?Bt:void 0);let g=m?_l(b,n):c===n?b:void 0;if(u&&!ws(g)&&(g=_l(h,n)),ws(g)&&(l=g,o))return l;let w=e[a+1];a=o?Xr(w):Oa(w)}if(t!==null){let h=t.residualClasses;h!=null&&(l=_l(h,n))}return l}function ws(e){return e!==void 0}function uG(e,t){return e==null||e===""||typeof e=="object"&&(e=ln(Hr(e))),e}function e0(e,t){return(e.flags&8)!==0}var cG=class{destroy(e){}updateValue(e,t){}swap(e,t){let r=Math.min(e,t),n=Math.max(e,t),a=this.detach(n);if(n-r>1){let i=this.detach(r);this.attach(r,a),this.attach(n,i)}else this.attach(r,a)}move(e,t){this.attach(t,this.detach(e))}};function Ml(e,t,r,n,a){return e===r&&Object.is(t,n)?1:Object.is(a(e,t),a(r,n))?-1:0}function dG(e,t,r){let n,a,i=0,o=e.length-1;if(Array.isArray(t)){let l=t.length-1;for(;i<=o&&i<=l;){let h=e.at(i),u=t[i],c=Ml(i,h,i,u,r);if(c!==0){c<0&&e.updateValue(i,u),i++;continue}let m=e.at(o),b=t[l],g=Ml(o,m,l,b,r);if(g!==0){g<0&&e.updateValue(o,b),o--,l--;continue}let w=r(i,h),x=r(o,m),S=r(i,u);if(Object.is(S,x)){let N=r(l,b);Object.is(N,w)?(e.swap(i,o),e.updateValue(o,b),l--,o--):e.move(o,i),e.updateValue(i,u),i++;continue}if(n??(n=new Kh),a??(a=Yh(e,i,o,r)),Fu(e,n,i,S))e.updateValue(i,u),i++,o++;else if(a.has(S))n.set(w,e.detach(i)),o--;else{let N=e.create(i,t[i]);e.attach(i,N),i++,o++}}for(;i<=l;)Zh(e,n,r,i,t[i]),i++}else if(t!=null){let l=t[Symbol.iterator](),h=l.next();for(;!h.done&&i<=o;){let u=e.at(i),c=h.value,m=Ml(i,u,i,c,r);if(m!==0)m<0&&e.updateValue(i,c),i++,h=l.next();else{n??(n=new Kh),a??(a=Yh(e,i,o,r));let b=r(i,c);if(Fu(e,n,i,b))e.updateValue(i,c),i++,o++,h=l.next();else if(!a.has(b))e.attach(i,e.create(i,c)),i++,o++,h=l.next();else{let g=r(i,u);n.set(g,e.detach(i)),o--}}}for(;!h.done;)Zh(e,n,r,e.length,h.value),h=l.next()}for(;i<=o;)e.destroy(e.detach(o--));n==null||n.forEach(l=>{e.destroy(l)})}function Fu(e,t,r,n){return t!==void 0&&t.has(n)?(e.attach(r,t.get(n)),t.delete(n),!0):!1}function Zh(e,t,r,n,a){if(Fu(e,t,n,r(n,a)))e.updateValue(n,a);else{let i=e.create(n,a);e.attach(n,i)}}function Yh(e,t,r,n){let a=new Set;for(let i=t;i<=r;i++)a.add(n(i,e.at(i)));return a}var Kh=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 r=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let n=this._vMap;for(;n.has(r);)r=n.get(r);n.set(r,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,r]of this.kvMap)if(e(r,t),this._vMap!==void 0){let n=this._vMap;for(;n.has(r);)r=n.get(r),e(r,t)}}};function sn(e,t){ta("NgControlFlow");let r=he(),n=qi(),a=r[n]!==en?r[n]:-1,i=a!==-1?xs(r,gt+a):void 0,o=0;if(xn(r,n,e)){let l=xe(null);try{if(i!==void 0&&Cv(i,o),e!==-1){let h=gt+e,u=xs(r,h),c=ju(r[le],h),m=Ra(u,c.tView.ssrId),b=Ji(r,c,t,{dehydratedView:m});Xi(u,b,o,Ma(c,m))}}finally{xe(l)}}else if(i!==void 0){let l=kv(i,o);l!==void 0&&(l[xt]=t)}}var hG=class{constructor(e,t,r){s(this,"lContainer");s(this,"$implicit");s(this,"$index");this.lContainer=e,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-Tt}};function pG(e){return e}function mG(e,t){return t}var fG=class{constructor(e,t,r){s(this,"hasEmptyBlock");s(this,"trackByFn");s(this,"liveCollection");this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=r}};function t0(e,t,r,n,a,i,o,l,h,u,c,m,b){ta("NgControlFlow");let g=he(),w=bt(),x=h!==void 0,S=he(),N=o,L=new fG(x,N);S[gt+e]=L,Uv(g,w,e+1,t,r,n,a,xi(w.consts,i))}var gG=class extends cG{constructor(t,r,n){super();s(this,"lContainer");s(this,"hostLView");s(this,"templateTNode");s(this,"operationsCounter");s(this,"needsIndexUpdate",!1);this.lContainer=t,this.hostLView=r,this.templateTNode=n}get length(){return this.lContainer.length-Tt}at(t){return this.getLView(t)[xt].$implicit}attach(t,r){let n=r[Da];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),Xi(this.lContainer,r,t,Ma(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),vG(this.lContainer,t)}create(t,r){var i;let n=Ra(this.lContainer,this.templateTNode.tView.ssrId),a=Ji(this.hostLView,this.templateTNode,new hG(this.lContainer,r,t),{dehydratedView:n});return(i=this.operationsCounter)==null||i.recordCreate(),a}destroy(t){var r;Ys(t[le],t),(r=this.operationsCounter)==null||r.recordDestroy()}updateValue(t,r){this.getLView(t)[xt].$implicit=r}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)[xt].$index=t}getLView(t){return bG(this.lContainer,t)}};function n0(e){let t=xe(null),r=zn();try{let n=he(),a=n[le],i=n[r],o=r+1,l=xs(n,o);if(i.liveCollection===void 0){let u=ju(a,o);i.liveCollection=new gG(l,n,u)}else i.liveCollection.reset();let h=i.liveCollection;if(dG(h,e,i.trackByFn),h.updateIndexes(),i.hasEmptyBlock){let u=qi(),c=h.length===0;if(xn(n,u,c)){let m=r+2,b=xs(n,m);if(c){let g=ju(a,m),w=Ra(b,g.tView.ssrId),x=Ji(n,g,void 0,{dehydratedView:w});Xi(b,x,0,Ma(g,w))}else Cv(b,0)}}}finally{xe(t)}}function xs(e,t){return e[t]}function vG(e,t){return ki(e,t)}function bG(e,t){return kv(e,t)}function ju(e,t){return Oc(e,t)}function ke(e,t,r,n){let a=he(),i=bt(),o=gt+e,l=a[ft],h=i.firstCreatePass?Mv(o,i,a,t,cv,E9(),r,n):i.data[o],u=yG(i,a,h,l,t);a[o]=u;let c=Rc(h);return Ba(h,!0),av(l,u,h),!od(h)&&$c()&&ld(i,a,u,h),(_9()===0||c)&&Zi(u,a),w9(),c&&(nd(i,a,h),Wg(i,h,a)),n!==null&&uv(a,h),ke}function Ce(){let e=Jt();ag()?ig():(e=e.parent,Ba(e,!1));let t=e;S9(t)&&k9(),x9();let r=bt();return r.firstCreatePass&&Rv(r,t),t.classesWithoutHost!=null&&V9(t)&&Lu(r,t,he(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&B9(t)&&Lu(r,t,he(),t.stylesWithoutHost,!1),Ce}function Yt(e,t,r,n){return ke(e,t,r,n),Ce(),Yt}var yG=(e,t,r,n,a,i)=>(Gc(!0),nv(n,a,L9()));function r0(){return he()}var Or=void 0;function _G(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var wG=["en",[["a","p"],["AM","PM"],Or],[["AM","PM"],Or,Or],[["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"]],Or,[["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"]],Or,[["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}",Or,"{1} 'at' {0}",Or],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",_G],pi={};function xG(e,t,r){typeof t!="string"&&(r=t,t=e[ct.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),pi[t]=e,r&&(pi[t][ct.ExtraData]=r)}function kn(e){let t=EG(e),r=Qh(t);if(r)return r;let n=t.split("-")[0];if(r=Qh(n),r)return r;if(n==="en")return wG;throw new U(701,!1)}function Qh(e){return e in pi||(pi[e]=pa.ng&&pa.ng.common&&pa.ng.common.locales&&pa.ng.common.locales[e]),pi[e]}var ct=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}(ct||{});function EG(e){return e.toLowerCase().replace(/_/g,"-")}var Vu="en-US";function SG(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function Jh(e,t,r){return function n(a){if(a===Function)return r;let i=ja(e)?Vn(e.index,t):t;cd(i,5);let o=t[xt],l=Xh(t,o,r,a),h=n.__ngNextListenerFn__;for(;h;)l=Xh(t,o,h,a)&&l,h=h.__ngNextListenerFn__;return l}}function Xh(e,t,r,n){let a=xe(null);try{return Kr(6,t,r),r(n)!==!1}catch(i){return kG(e,i),!1}finally{xe(a)}}function kG(e,t){let r=e[Na],n=r?r.get(Hn,null):null;n&&n.handleError(t)}function ep(e,t,r,n,a,i){let o=t[r],l=t[le],h=l.data[r].outputs[n],u=o[h],c=l.firstCreatePass?Vc(l):null,m=jc(t),b=u.subscribe(i),g=m.length;m.push(i,b),c&&c.push(a,e.index,g,-(g+1))}function el(e,t,r,n){let a=he(),i=bt(),o=Jt();return IG(i,a,a[ft],o,e,t,n),el}function CG(e,t,r,n){let a=e.cleanup;if(a!=null)for(let i=0;i<a.length-1;i+=2){let o=a[i];if(o===r&&a[i+1]===n){let l=t[_a],h=a[i+2];return l.length>h?l[h]:null}typeof o=="string"&&(i+=2)}return null}function IG(e,t,r,n,a,i,o){var m,b;let l=Rc(n),h=e.firstCreatePass?Vc(e):null,u=jc(t),c=!0;if(n.type&3||o){let g=Bn(n,t),w=o?o(g):g,x=u.length,S=o?L=>o(jn(L[n.index])):n.index,N=null;if(!o&&l&&(N=CG(e,t,a,n.index)),N!==null){let L=N.__ngLastListenerFn__||N;L.__ngNextListenerFn__=i,N.__ngLastListenerFn__=i,c=!1}else{i=Jh(n,t,i);let L=r.listen(w,a,i);u.push(i,L),h&&h.push(a,S,x,x+1)}}else i=Jh(n,t,i);if(c){let g=(m=n.outputs)==null?void 0:m[a],w=(b=n.hostDirectiveOutputs)==null?void 0:b[a];if(w&&w.length)for(let x=0;x<w.length;x+=2){let S=w[x],N=w[x+1];ep(n,t,S,N,a,i)}if(g&&g.length)for(let x of g)ep(n,t,x,a,a,i)}}function Et(e=1){return A9(e)}function DG(e,t){let r=null,n=fq(e);for(let a=0;a<t.length;a++){let i=t[a];if(i==="*"){r=a;continue}if(n===null?tv(e,i,!0):bq(n,i))return a}return r}function $a(e){let t=he()[dn][qt];if(!t.projection){let r=e?e.length:1,n=t.projection=U5(r,null),a=n.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let o=e?DG(i,e):0;o!==null&&(a[o]?a[o].projectionNext=i:n[o]=i,a[o]=i)}i=i.next}}}function cn(e,t=0,r,n,a,i){let o=he(),l=bt(),h=null,u=eo(l,gt+e,16,null,null);u.projection===null&&(u.projection=t),ig();let c=!o[Da]||eg();o[dn][qt].projection[u.projection]===null&&h!==null?NG(o,l,h):c&&!od(u)&&Xq(l,o,u)}function NG(e,t,r){let n=gt+r,a=t.data[n],i=e[n],o=Ra(i,a.tView.ssrId),l=Ji(e,a,void 0,{dehydratedView:o});Xi(i,l,0,Ma(a,o))}function tp(e,t,r){d$(e,t,r)}function np(e){let t=he(),r=bt(),n=sg();zc(n+1);let a=pd(r,n);if(e.dirty&&f9(t)===((a.metadata.flags&2)===2)){if(a.matches===null)e.reset([]);else{let i=m$(t,n);e.reset(i,fH),e.notifyOnChanges()}return!0}return!1}function rp(){return u$(he(),sg())}function Ae(e,t=""){let r=he(),n=bt(),a=e+gt,i=n.firstCreatePass?eo(n,a,1,t,null):n.data[a],o=TG(n,r,i,t);r[a]=o,$c()&&ld(n,r,o,i),Ba(i,!1)}var TG=(e,t,r,n,a)=>(Gc(!0),xq(t[ft],n));function mt(e){return lr("",e,""),mt}function lr(e,t,r){let n=he(),a=z$(n,e,t,r);return a!==en&&a0(n,zn(),a),lr}function gd(e,t,r,n,a){let i=he(),o=H$(i,e,t,r,n,a);return o!==en&&a0(i,zn(),o),gd}function a0(e,t,r){let n=Qf(t,e);Eq(e[ft],n,r)}var i0={};function o0(e){let t=bt(),r=he(),n=e+gt,a=eo(t,n,128,null,null);return Ba(a,!1),Ac(t,r,n,i0),o0}function ap(e){ta("NgLet");let t=bt(),r=he(),n=zn();return Ac(t,r,n,e),e}function ip(e){let t=I9(),r=Pc(t,gt+e);if(r===i0)throw new U(314,!1);return r}function MG(e,t,r){let n=bt();if(n.firstCreatePass){let a=Fn(e);Bu(r,n.data,n.blueprint,a,!0),Bu(t,n.data,n.blueprint,a,!1)}}function Bu(e,t,r,n,a){if(e=Lt(e),Array.isArray(e))for(let i=0;i<e.length;i++)Bu(e[i],t,r,n,a);else{let i=bt(),o=he(),l=Jt(),h=Ia(e)?e:Lt(e.provide),u=Hf(e),c=l.providerIndexes&1048575,m=l.directiveStart,b=l.providerIndexes>>20;if(Ia(e)||!e.multi){let g=new $i(u,a,jt),w=Ol(h,t,a?c:c+b,m);w===-1?(Eu(fs(l,o),i,h),Rl(i,e,t.length),t.push(h),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),r.push(g),o.push(g)):(r[w]=g,o[w]=g)}else{let g=Ol(h,t,c+b,m),w=Ol(h,t,c,c+b),x=g>=0&&r[g],S=w>=0&&r[w];if(a&&!S||!a&&!x){Eu(fs(l,o),i,h);let N=PG(a?OG:RG,r.length,a,n,u);!a&&S&&(r[w].providerFactory=N),Rl(i,e,t.length,0),t.push(h),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),r.push(N),o.push(N)}else{let N=s0(r[a?w:g],u,!a&&n);Rl(i,e,g>-1?g:w,N)}!a&&n&&S&&r[w].componentProviders++}}}function Rl(e,t,r,n){let a=Ia(t),i=t9(t);if(a||i){let o=(i?Lt(t.useClass):t).prototype.ngOnDestroy;if(o){let l=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){let h=l.indexOf(r);h===-1?l.push(r,[n,o]):l[h+1].push(n,o)}else l.push(r,o)}}}function s0(e,t,r){return r&&e.componentProviders++,e.multi.push(t)-1}function Ol(e,t,r,n){for(let a=r;a<n;a++)if(t[a]===e)return a;return-1}function RG(e,t,r,n,a){return zu(this.multi,[])}function OG(e,t,r,n,a){let i=this.multi,o;if(this.providerFactory){let l=this.providerFactory.componentProviders,h=Si(n,n[le],this.providerFactory.index,a);o=h.slice(0,l),zu(i,o);for(let u=l;u<h.length;u++)o.push(h[u])}else o=[],zu(i,o);return o}function zu(e,t){for(let r=0;r<e.length;r++){let n=e[r];t.push(n())}return t}function PG(e,t,r,n,a){let i=new $i(e,r,jt);return i.multi=[],i.index=t,i.componentProviders=0,s0(i,a,n&&!r),i}function AG(e,t=[]){return r=>{r.providersResolver=(n,a)=>MG(n,a?a(e):e,t)}}function LG(e,t,r){let n=Hi()+e,a=he();return a[n]===en?Xs(a,n,t()):Gv(a,n)}function FG(e,t,r,n){return u0(he(),Hi(),e,t,r,n)}function jG(e,t,r,n,a,i,o,l){let h=Hi()+e,u=he(),c=D$(u,h,r,n,a,i);return xn(u,h+4,o)||c?Xs(u,h+5,t(r,n,a,i,o)):Gv(u,h+5)}function l0(e,t){let r=e[t];return r===en?void 0:r}function u0(e,t,r,n,a,i){let o=t+r;return xn(e,o,a)?Xs(e,o+1,i?n.call(i,a):n(a)):l0(e,o+1)}function VG(e,t,r,n,a,i,o){let l=t+r;return _s(e,l,a,i)?Xs(e,l+2,o?n.call(o,a,i):n(a,i)):l0(e,l+2)}function Ze(e,t){let r=bt(),n,a=e+gt;r.firstCreatePass?(n=BG(t,r.pipeRegistry),r.data[a]=n,n.onDestroy&&(r.destroyHooks??(r.destroyHooks=[])).push(a,n.onDestroy)):n=r.data[a];let i=n.factory||(n.factory=Ur(n.type)),o=Vt(jt);try{let l=ms(!1),h=i();return ms(l),Ac(r,he(),a,h),h}finally{Vt(o)}}function BG(e,t){if(t)for(let r=t.length-1;r>=0;r--){let n=t[r];if(e===n.name)return n}}function Xe(e,t,r){let n=e+gt,a=he(),i=Pc(a,n);return d0(a,n)?u0(a,Hi(),t,i.transform,r,i):i.transform(r)}function c0(e,t,r,n){let a=e+gt,i=he(),o=Pc(i,a);return d0(i,a)?VG(i,Hi(),t,o.transform,r,n,o):o.transform(r,n)}function d0(e,t){return e[le].data[t].pure}var zG=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(".")}},op=new zG("19.2.14"),HG=(()=>{const t=class t{constructor(){s(this,"zone",D(je));s(this,"changeDetectionScheduler",D(Ui));s(this,"applicationRef",D(Ir));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",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function qG({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:r}){return e??(e=()=>new je(Kt(ge({},$G()),{scheduleInRootZone:r}))),[{provide:je,useFactory:e},{provide:ls,multi:!0,useFactory:()=>{let n=D(HG,{optional:!0});return()=>n.initialize()}},{provide:ls,multi:!0,useFactory:()=>{let n=D(GG);return()=>{n.initialize()}}},t===!0?{provide:Ng,useValue:!0}:[],{provide:Tg,useValue:r??Ig}]}function $G(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var GG=(()=>{const t=class t{constructor(){s(this,"subscription",new Zt);s(this,"initialized",!1);s(this,"zone",D(je));s(this,"pendingTasks",D(Wi))}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{je.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{je.assertInAngularZone(),n??(n=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),UG=(()=>{var t;const r=class r{constructor(){s(this,"appRef",D(Ir));s(this,"taskService",D(Wi));s(this,"ngZone",D(je));s(this,"zonelessEnabled",D(Dg));s(this,"tracing",D(Ki,{optional:!0}));s(this,"disableScheduling",D(Ng,{optional:!0})??!1);s(this,"zoneIsDefined",typeof Zone<"u"&&!!Zone.root.run);s(this,"schedulerTickApplyArgs",[{data:{__scheduler_tick__:!0}}]);s(this,"subscriptions",new Zt);s(this,"angularZoneId",this.zoneIsDefined?(t=this.ngZone._inner)==null?void 0:t.get(vs):null);s(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&(D(Tg,{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 uH||!this.zoneIsDefined))}notify(a){var l;if(!this.zonelessEnabled&&a===5)return;let i=!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,i=!0;break}case 12:{this.appRef.dirtyFlags|=16,i=!0;break}case 13:{this.appRef.dirtyFlags|=2,i=!0;break}case 11:{i=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=((l=this.tracing)==null?void 0:l.snapshot(this.appRef.tracingSnapshot))??null,!this.shouldScheduleTick(i))return;let o=this.useMicrotaskScheduler?Dh:Mg;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(vs+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(i){throw this.taskService.remove(a),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Dh(()=>{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 i=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(i)}}};s(r,"ɵfac",function(a){return new(a||r)}),s(r,"ɵprov",$({token:r,factory:r.ɵfac,providedIn:"root"}));let e=r;return e})();function WG(){return typeof $localize<"u"&&$localize.locale||Vu}var tl=new Q("",{providedIn:"root",factory:()=>D(tl,be.Optional|be.SkipSelf)||WG()}),Hu=new Q(""),ZG=new Q("");function Qa(e){return!e.moduleRef}function YG(e){let t=Qa(e)?e.r3Injector:e.moduleRef.injector,r=t.get(je);return r.run(()=>{Qa(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let n=t.get(Hn,null),a;if(r.runOutsideAngular(()=>{a=r.onError.subscribe({next:i=>{n.handleError(i)}})}),Qa(e)){let i=()=>t.destroy(),o=e.platformInjector.get(Hu);o.add(i),t.onDestroy(()=>{a.unsubscribe(),o.delete(i)})}else{let i=()=>e.moduleRef.destroy(),o=e.platformInjector.get(Hu);o.add(i),e.moduleRef.onDestroy(()=>{Wo(e.allPlatformModules,e.moduleRef),a.unsubscribe(),o.delete(i)})}return QG(n,r,()=>{let i=t.get(Zv);return i.runInitializers(),i.donePromise.then(()=>{let o=t.get(tl,Vu);if(SG(o||Vu),!t.get(ZG,!0))return Qa(e)?t.get(Ir):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Qa(e)){let l=t.get(Ir);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return KG(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function KG(e,t){let r=e.injector.get(Ir);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(n=>r.bootstrap(n));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(r);else throw new U(-403,!1);t.push(e)}function QG(e,t,r){try{let n=r();return md(n)?n.catch(a=>{throw t.runOutsideAngular(()=>e.handleError(a)),a}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}var Zo=null;function JG(e=[],t){return Mt.create({name:t,providers:[{provide:Dc,useValue:"platform"},{provide:Hu,useValue:new Set([()=>Zo=null])},...e]})}function XG(e=[]){if(Zo)return Zo;let t=JG(e);return Zo=t,F$(),eU(t),t}function eU(e){let t=e.get(Vg,null);Tc(e,()=>{t==null||t.forEach(r=>r())})}function tU(){return!1}var nl=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",nU),e})();function nU(e){return rU(Jt(),he(),(e&16)===16)}function rU(e,t,r){if(ja(e)&&!r){let n=Vn(e.index,t);return new Ci(n,n)}else if(e.type&175){let n=t[dn];return new Ci(n,t)}return null}var aU=class{constructor(){}supports(e){return e instanceof Map||$v(e)}create(){return new iU}},iU=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||$v(e)))throw new U(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(r,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{let a=this._getOrCreateRecordForKey(n,r);t=this._insertBeforeOrAppend(t,a)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){let r=e._prev;return t._next=e,t._prev=r,e._prev=t,r&&(r._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,i=n._next;return a&&(a._next=i),i&&(i._prev=a),n._next=null,n._prev=null,n}let r=new oU(e);return this._records.set(e,r),r.currentValue=t,this._addToAdditions(r),r}_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(r=>t(e[r],r))}},oU=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 sp(){return new h0([new aU])}var h0=(()=>{const t=class t{constructor(n){s(this,"factories");this.factories=n}static create(n,a){if(a){let i=a.factories.slice();n=n.concat(i)}return new t(n)}static extend(n){return{provide:t,useFactory:a=>t.create(n,a||sp()),deps:[[t,new q5,new H5]]}}find(n){let a=this.factories.find(i=>i.supports(n));if(a)return a;throw new U(901,!1)}};s(t,"ɵprov",$({token:t,providedIn:"root",factory:sp}));let e=t;return e})();function sU(e){try{let{rootComponent:t,appProviders:r,platformProviders:n}=e,a=XG(n),i=[qG({}),{provide:Ui,useExisting:UG},...r||[]],o=new Bv({providers:i,parent:a,debugName:"",runEnvironmentInitializers:!1});return YG({r3Injector:o.injector,platformInjector:a,rootComponent:t})}catch(t){return Promise.reject(t)}finally{}}function oi(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function p0(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function qu(e){return C4(e)}function lp(e,t){return b4(e)}function m0(e,t){let r=Ca(e),n=t.elementInjector||$s();return new hd(r).create(n,t.projectableNodes,t.hostElement,t.environmentInjector)}var lU={schedule(e,t){let r=setTimeout(e,t);return()=>clearTimeout(r)}};function uU(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function cU(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var Pl;function dU(e,t){if(!Pl){let r=Element.prototype;Pl=r.matches||r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?Pl.call(e,t):!1}function hU(e){let t={};return e.forEach(({propName:r,templateName:n,transform:a})=>{t[uU(n)]=[r,a]}),t}function pU(e,t){return t.get(to).resolveComponentFactory(e).inputs}function mU(e,t){let r=e.childNodes,n=t.map(()=>[]),a=-1;t.some((i,o)=>i==="*"?(a=o,!0):!1);for(let i=0,o=r.length;i<o;++i){let l=r[i],h=fU(l,t,a);h!==-1&&n[h].push(l)}return n}function fU(e,t,r){let n=r;return cU(e)&&t.some((a,i)=>a!=="*"&&dU(e,a)?(n=i,!0):!1),n}var gU=10,vU=class{constructor(e,t){s(this,"componentFactory");s(this,"inputMap",new Map);this.componentFactory=t.get(to).resolveComponentFactory(e);for(let r of this.componentFactory.inputs)this.inputMap.set(r.propName,r.templateName)}create(e){return new bU(this.componentFactory,e,this.inputMap)}},bU=class{constructor(e,t,r){s(this,"componentFactory");s(this,"injector");s(this,"inputMap");s(this,"eventEmitters",new yc(1));s(this,"events",this.eventEmitters.pipe(as(e=>pf(...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=r,this.ngZone=this.injector.get(je),this.appRef=this.injector.get(Ir),this.cdScheduler=t.get(Ui),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=lU.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},gU))})}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),g7(this.componentRef.hostView)&&(v7(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=Mt.create({providers:[],parent:this.injector}),r=mU(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,r,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:r,templateName:n})=>{let a=e.instance[r];return new Qe(i=>{let o=a.subscribe(l=>i.next({name:n,value:l}));return()=>o.unsubscribe()})});this.eventEmitters.next(t)}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},yU=class extends HTMLElement{constructor(){super(...arguments);s(this,"ngElementEventsSubscription",null)}};function _U(e,t){let r=pU(e,t.injector),n=t.strategyFactory||new vU(e,t.injector),a=hU(r);class i extends yU{constructor(h){super();s(this,"injector");s(this,"_ngElementStrategy");this.injector=h}get ngElementStrategy(){if(!this._ngElementStrategy){let h=this._ngElementStrategy=n.create(this.injector||t.injector);r.forEach(({propName:u,transform:c})=>{if(!this.hasOwnProperty(u))return;let m=this[u];delete this[u],h.setInputValue(u,m,c)})}return this._ngElementStrategy}attributeChangedCallback(h,u,c,m){let[b,g]=a[h];this.ngElementStrategy.setInputValue(b,c,g)}connectedCallback(){let h=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),h=!0),this.ngElementStrategy.connect(this),h||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(h=>{let u=new CustomEvent(h.name,{detail:h.value});this.dispatchEvent(u)})}}return s(i,"observedAttributes",Object.keys(a)),r.forEach(({propName:o,transform:l})=>{Object.defineProperty(i.prototype,o,{get(){return this.ngElementStrategy.getInputValue(o)},set(h){this.ngElementStrategy.setInputValue(o,h,l)},configurable:!0,enumerable:!0})}),i}var Le=new Q(""),f0=null;function mi(){return f0}function wU(e){f0??(f0=e)}var xU=class{},g0=(()=>{const t=class t{historyGo(n){throw new Error("")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:()=>D(EU),providedIn:"platform"}));let e=t;return e})(),EU=(()=>{const t=class t extends g0{constructor(){super();s(this,"_location");s(this,"_history");s(this,"_doc",D(Le));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return mi().getBaseHref(this._doc)}onPopState(a){let i=mi().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",a,!1),()=>i.removeEventListener("popstate",a)}onHashChange(a){let i=mi().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",a,!1),()=>i.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,i,o){this._history.pushState(a,i,o)}replaceState(a,i,o){this._history.replaceState(a,i,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",$({token:t,factory:()=>new t,providedIn:"platform"}));let e=t;return e})();function v0(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function up(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function qr(e){return e&&e[0]!=="?"?`?${e}`:e}var vd=(()=>{const t=class t{historyGo(n){throw new Error("")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:()=>D(kU),providedIn:"root"}));let e=t;return e})(),SU=new Q(""),kU=(()=>{const t=class t extends vd{constructor(a,i){var o;super();s(this,"_platformLocation");s(this,"_baseHref");s(this,"_removeListenerFns",[]);this._platformLocation=a,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??((o=D(Le).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 v0(this._baseHref,a)}path(a=!1){let i=this._platformLocation.pathname+qr(this._platformLocation.search),o=this._platformLocation.hash;return o&&a?`${i}${o}`:i}pushState(a,i,o,l){let h=this.prepareExternalUrl(o+qr(l));this._platformLocation.pushState(a,i,h)}replaceState(a,i,o,l){let h=this.prepareExternalUrl(o+qr(l));this._platformLocation.replaceState(a,i,h)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(a=0){var i,o;(o=(i=this._platformLocation).historyGo)==null||o.call(i,a)}};s(t,"ɵfac",function(a){return new(a||t)(ee(g0),ee(SU,8))}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),b0=(()=>{const t=class t{constructor(n){s(this,"_subject",new Pe);s(this,"_basePath");s(this,"_locationStrategy");s(this,"_urlChangeListeners",[]);s(this,"_urlChangeSubscription",null);this._locationStrategy=n;let a=this._locationStrategy.getBaseHref();this._basePath=DU(up(cp(a))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){var n;(n=this._urlChangeSubscription)==null||n.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,a=""){return this.path()==this.normalize(n+qr(a))}normalize(n){return t.stripTrailingSlash(IU(this._basePath,cp(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,a="",i=null){this._locationStrategy.pushState(i,"",n,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+qr(a)),i)}replaceState(n,a="",i=null){this._locationStrategy.replaceState(i,"",n,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+qr(a)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){var a,i;(i=(a=this._locationStrategy).historyGo)==null||i.call(a,n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??(this._urlChangeSubscription=this.subscribe(a=>{this._notifyUrlChangeListeners(a.url,a.state)})),()=>{var i;let a=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(a,1),this._urlChangeListeners.length===0&&((i=this._urlChangeSubscription)==null||i.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",a){this._urlChangeListeners.forEach(i=>i(n,a))}subscribe(n,a,i){return this._subject.subscribe({next:n,error:a??void 0,complete:i??void 0})}};s(t,"normalizeQueryParams",qr),s(t,"joinWithSlash",v0),s(t,"stripTrailingSlash",up),s(t,"ɵfac",function(n){return new(n||t)(ee(vd))}),s(t,"ɵprov",$({token:t,factory:()=>CU(),providedIn:"root"}));let e=t;return e})();function CU(){return new b0(ee(vd))}function IU(e,t){if(!e||!t.startsWith(e))return t;let r=t.substring(e.length);return r===""||["/",";","?","#"].includes(r[0])?r:t}function cp(e){return e.replace(/\/index.html$/,"")}function DU(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var At=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(At||{}),Fe=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(Fe||{}),$t=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}($t||{}),rl={MinusSign:5};function NU(e){return kn(e)[ct.LocaleId]}function TU(e,t,r){let n=kn(e),a=[n[ct.DayPeriodsFormat],n[ct.DayPeriodsStandalone]],i=hn(a,t);return hn(i,r)}function MU(e,t,r){let n=kn(e),a=[n[ct.DaysFormat],n[ct.DaysStandalone]],i=hn(a,t);return hn(i,r)}function RU(e,t,r){let n=kn(e),a=[n[ct.MonthsFormat],n[ct.MonthsStandalone]],i=hn(a,t);return hn(i,r)}function OU(e,t){let r=kn(e)[ct.Eras];return hn(r,t)}function wo(e,t){let r=kn(e);return hn(r[ct.DateFormat],t)}function xo(e,t){let r=kn(e);return hn(r[ct.TimeFormat],t)}function Eo(e,t){let r=kn(e)[ct.DateTimeFormat];return hn(r,t)}function al(e,t){return kn(e)[ct.NumberSymbols][t]}function y0(e){if(!e[ct.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[ct.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function PU(e){let t=kn(e);return y0(t),(t[ct.ExtraData][2]||[]).map(r=>typeof r=="string"?Al(r):[Al(r[0]),Al(r[1])])}function AU(e,t,r){let n=kn(e);y0(n);let a=[n[ct.ExtraData][0],n[ct.ExtraData][1]],i=hn(a,t)||[];return hn(i,r)||[]}function hn(e,t){for(let r=t;r>-1;r--)if(typeof e[r]<"u")return e[r];throw new Error("Locale data API: locale data undefined")}function Al(e){let[t,r]=e.split(":");return{hours:+t,minutes:+r}}var LU=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,la={},FU=/((?:[^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 jU(e,t,r,n){let a=WU(e);t=tr(r,t)||t;let i=[],o;for(;t;)if(o=FU.exec(t),o){i=i.concat(o.slice(1));let u=i.pop();if(!u)break;t=u}else{i.push(t);break}let l=a.getTimezoneOffset();n&&(l=w0(n,l),a=UU(a,n));let h="";return i.forEach(u=>{let c=$U(u);h+=c?c(a,r,l):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),h}function Es(e,t,r){let n=new Date(0);return n.setFullYear(e,t,r),n.setHours(0,0,0),n}function tr(e,t){let r=NU(e);if(la[r]??(la[r]={}),la[r][t])return la[r][t];let n="";switch(t){case"shortDate":n=wo(e,$t.Short);break;case"mediumDate":n=wo(e,$t.Medium);break;case"longDate":n=wo(e,$t.Long);break;case"fullDate":n=wo(e,$t.Full);break;case"shortTime":n=xo(e,$t.Short);break;case"mediumTime":n=xo(e,$t.Medium);break;case"longTime":n=xo(e,$t.Long);break;case"fullTime":n=xo(e,$t.Full);break;case"short":let a=tr(e,"shortTime"),i=tr(e,"shortDate");n=So(Eo(e,$t.Short),[a,i]);break;case"medium":let o=tr(e,"mediumTime"),l=tr(e,"mediumDate");n=So(Eo(e,$t.Medium),[o,l]);break;case"long":let h=tr(e,"longTime"),u=tr(e,"longDate");n=So(Eo(e,$t.Long),[h,u]);break;case"full":let c=tr(e,"fullTime"),m=tr(e,"fullDate");n=So(Eo(e,$t.Full),[c,m]);break}return n&&(la[r][t]=n),n}function So(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(r,n){return t!=null&&n in t?t[n]:r})),e}function bn(e,t,r="-",n,a){let i="";(e<0||a&&e<=0)&&(a?e=-e+1:(e=-e,i=r));let o=String(e);for(;o.length<t;)o="0"+o;return n&&(o=o.slice(o.length-t)),i+o}function VU(e,t){return bn(e,3).substring(0,t)}function lt(e,t,r=0,n=!1,a=!1){return function(i,o){let l=BU(e,i);if((r>0||l>-r)&&(l+=r),e===3)l===0&&r===-12&&(l=12);else if(e===6)return VU(l,t);let h=al(o,rl.MinusSign);return bn(l,t,h,n,a)}}function BU(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 Be(e,t,r=At.Format,n=!1){return function(a,i){return zU(a,i,e,t,r,n)}}function zU(e,t,r,n,a,i){switch(r){case 2:return RU(t,a,n)[e.getMonth()];case 1:return MU(t,a,n)[e.getDay()];case 0:let o=e.getHours(),l=e.getMinutes();if(i){let u=PU(t),c=AU(t,a,n),m=u.findIndex(b=>{if(Array.isArray(b)){let[g,w]=b,x=o>=g.hours&&l>=g.minutes,S=o<w.hours||o===w.hours&&l<w.minutes;if(g.hours<w.hours){if(x&&S)return!0}else if(x||S)return!0}else if(b.hours===o&&b.minutes===l)return!0;return!1});if(m!==-1)return c[m]}return TU(t,a,n)[o<12?0:1];case 3:return OU(t,n)[e.getFullYear()<=0?0:1];default:let h=r;throw new Error(`unexpected translation type ${h}`)}}function ko(e){return function(t,r,n){let a=-1*n,i=al(r,rl.MinusSign),o=a>0?Math.floor(a/60):Math.ceil(a/60);switch(e){case 0:return(a>=0?"+":"")+bn(o,2,i)+bn(Math.abs(a%60),2,i);case 1:return"GMT"+(a>=0?"+":"")+bn(o,1,i);case 2:return"GMT"+(a>=0?"+":"")+bn(o,2,i)+":"+bn(Math.abs(a%60),2,i);case 3:return n===0?"Z":(a>=0?"+":"")+bn(o,2,i)+":"+bn(Math.abs(a%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var HU=0,Yo=4;function qU(e){let t=Es(e,HU,1).getDay();return Es(e,0,1+(t<=Yo?Yo:Yo+7)-t)}function _0(e){let t=e.getDay(),r=t===0?-3:Yo-t;return Es(e.getFullYear(),e.getMonth(),e.getDate()+r)}function Ll(e,t=!1){return function(r,n){let a;if(t){let i=new Date(r.getFullYear(),r.getMonth(),1).getDay()-1,o=r.getDate();a=1+Math.floor((o+i)/7)}else{let i=_0(r),o=qU(i.getFullYear()),l=i.getTime()-o.getTime();a=1+Math.round(l/6048e5)}return bn(a,e,al(n,rl.MinusSign))}}function Co(e,t=!1){return function(r,n){let a=_0(r).getFullYear();return bn(a,e,al(n,rl.MinusSign),t)}}var Fl={};function $U(e){if(Fl[e])return Fl[e];let t;switch(e){case"G":case"GG":case"GGG":t=Be(3,Fe.Abbreviated);break;case"GGGG":t=Be(3,Fe.Wide);break;case"GGGGG":t=Be(3,Fe.Narrow);break;case"y":t=lt(0,1,0,!1,!0);break;case"yy":t=lt(0,2,0,!0,!0);break;case"yyy":t=lt(0,3,0,!1,!0);break;case"yyyy":t=lt(0,4,0,!1,!0);break;case"Y":t=Co(1);break;case"YY":t=Co(2,!0);break;case"YYY":t=Co(3);break;case"YYYY":t=Co(4);break;case"M":case"L":t=lt(1,1,1);break;case"MM":case"LL":t=lt(1,2,1);break;case"MMM":t=Be(2,Fe.Abbreviated);break;case"MMMM":t=Be(2,Fe.Wide);break;case"MMMMM":t=Be(2,Fe.Narrow);break;case"LLL":t=Be(2,Fe.Abbreviated,At.Standalone);break;case"LLLL":t=Be(2,Fe.Wide,At.Standalone);break;case"LLLLL":t=Be(2,Fe.Narrow,At.Standalone);break;case"w":t=Ll(1);break;case"ww":t=Ll(2);break;case"W":t=Ll(1,!0);break;case"d":t=lt(2,1);break;case"dd":t=lt(2,2);break;case"c":case"cc":t=lt(7,1);break;case"ccc":t=Be(1,Fe.Abbreviated,At.Standalone);break;case"cccc":t=Be(1,Fe.Wide,At.Standalone);break;case"ccccc":t=Be(1,Fe.Narrow,At.Standalone);break;case"cccccc":t=Be(1,Fe.Short,At.Standalone);break;case"E":case"EE":case"EEE":t=Be(1,Fe.Abbreviated);break;case"EEEE":t=Be(1,Fe.Wide);break;case"EEEEE":t=Be(1,Fe.Narrow);break;case"EEEEEE":t=Be(1,Fe.Short);break;case"a":case"aa":case"aaa":t=Be(0,Fe.Abbreviated);break;case"aaaa":t=Be(0,Fe.Wide);break;case"aaaaa":t=Be(0,Fe.Narrow);break;case"b":case"bb":case"bbb":t=Be(0,Fe.Abbreviated,At.Standalone,!0);break;case"bbbb":t=Be(0,Fe.Wide,At.Standalone,!0);break;case"bbbbb":t=Be(0,Fe.Narrow,At.Standalone,!0);break;case"B":case"BB":case"BBB":t=Be(0,Fe.Abbreviated,At.Format,!0);break;case"BBBB":t=Be(0,Fe.Wide,At.Format,!0);break;case"BBBBB":t=Be(0,Fe.Narrow,At.Format,!0);break;case"h":t=lt(3,1,-12);break;case"hh":t=lt(3,2,-12);break;case"H":t=lt(3,1);break;case"HH":t=lt(3,2);break;case"m":t=lt(4,1);break;case"mm":t=lt(4,2);break;case"s":t=lt(5,1);break;case"ss":t=lt(5,2);break;case"S":t=lt(6,1);break;case"SS":t=lt(6,2);break;case"SSS":t=lt(6,3);break;case"Z":case"ZZ":case"ZZZ":t=ko(0);break;case"ZZZZZ":t=ko(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=ko(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=ko(2);break;default:return null}return Fl[e]=t,t}function w0(e,t){e=e.replace(/:/g,"");let r=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(r)?t:r}function GU(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function UU(e,t,r){let n=e.getTimezoneOffset(),a=w0(t,n);return GU(e,-1*(a-n))}function WU(e){if(dp(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,i=1,o=1]=e.split("-").map(l=>+l);return Es(a,i-1,o)}let r=parseFloat(e);if(!isNaN(e-r))return new Date(r);let n;if(n=e.match(LU))return ZU(n)}let t=new Date(e);if(!dp(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function ZU(e){let t=new Date(0),r=0,n=0,a=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(r=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)-r,l=Number(e[5]||0)-n,h=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,o,l,h,u),t}function dp(e){return e instanceof Date&&!isNaN(e.valueOf())}var jl=/\s+/,hp=[],YU=(()=>{const t=class t{constructor(n,a){s(this,"_ngEl");s(this,"_renderer");s(this,"initialClasses",hp);s(this,"rawClass");s(this,"stateMap",new Map);this._ngEl=n,this._renderer=a}set klass(n){this.initialClasses=n!=null?n.trim().split(jl):hp}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(jl):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 i=this.stateMap.get(n);i!==void 0?(i.enabled!==a&&(i.changed=!0,i.enabled=a),i.touched=!0):this.stateMap.set(n,{enabled:a,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let a=n[0],i=n[1];i.changed?(this._toggleClass(a,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(a,!1),this.stateMap.delete(a)),i.touched=!1}}_toggleClass(n,a){n=n.trim(),n.length>0&&n.split(jl).forEach(i=>{a?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};s(t,"ɵfac",function(n){return new(n||t)(jt(Xt),jt(Qs))}),s(t,"ɵdir",hr({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let e=t;return e})(),KU=(()=>{const t=class t{constructor(n,a,i){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=i}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,a){let[i,o]=n.split("."),l=i.indexOf("-")===-1?void 0:va.DashCase;a!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,o?`${a}${o}`:a,l):this._renderer.removeStyle(this._ngEl.nativeElement,i,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)(jt(Xt),jt(h0),jt(Qs))}),s(t,"ɵdir",hr({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let e=t;return e})();function x0(e,t){return new U(2100,!1)}var QU=class{createSubscription(e,t){return qu(()=>e.subscribe({next:t,error:r=>{throw r}}))}dispose(e){qu(()=>e.unsubscribe())}},JU=class{createSubscription(e,t){return e.then(r=>t==null?void 0:t(r),r=>{throw r}),{unsubscribe:()=>{t=null}}}dispose(e){e.unsubscribe()}},XU=new JU,e8=new QU,t8=(()=>{const t=class t{constructor(n){s(this,"_ref");s(this,"_latestValue",null);s(this,"markForCheckOnValueUpdate",!0);s(this,"_subscription",null);s(this,"_obj",null);s(this,"_strategy",null);this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,a=>this._updateLatestValue(n,a))}_selectStrategy(n){if(md(n))return XU;if(Wv(n))return e8;throw x0()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,a){var i;n===this._obj&&(this._latestValue=a,this.markForCheckOnValueUpdate&&((i=this._ref)==null||i.markForCheck()))}};s(t,"ɵfac",function(n){return new(n||t)(jt(nl,16))}),s(t,"ɵpipe",ra({name:"async",type:t,pure:!1}));let e=t;return e})(),n8="mediumDate",r8=new Q(""),a8=new Q(""),i8=(()=>{const t=class t{constructor(n,a,i){s(this,"locale");s(this,"defaultTimezone");s(this,"defaultOptions");this.locale=n,this.defaultTimezone=a,this.defaultOptions=i}transform(n,a,i,o){var l,h;if(n==null||n===""||n!==n)return null;try{let u=a??((l=this.defaultOptions)==null?void 0:l.dateFormat)??n8,c=i??((h=this.defaultOptions)==null?void 0:h.timezone)??this.defaultTimezone??void 0;return jU(n,u,o||this.locale,c)}catch(u){throw x0(t,u.message)}}};s(t,"ɵfac",function(n){return new(n||t)(jt(tl,16),jt(r8,24),jt(a8,24))}),s(t,"ɵpipe",ra({name:"date",type:t,pure:!0}));let e=t;return e})(),o8=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",zv({type:t})),s(t,"ɵinj",Cf({}));let e=t;return e})();function E0(e,t){t=encodeURIComponent(t);for(let r of e.split(";")){let n=r.indexOf("="),[a,i]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(a.trim()===t)return decodeURIComponent(i)}return null}var S0="browser",s8="server";function l8(e){return e===S0}function k0(e){return e===s8}var C0=class{};function il(e,t,r){return xG(e,t,r)}var $u=new Q(""),I0=(()=>{const t=class t{constructor(n,a){s(this,"_zone");s(this,"_plugins");s(this,"_eventNameToPlugin",new Map);this._zone=a,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,a,i,o){return this._findPluginFor(a).addEventListener(n,a,i,o)}getZone(){return this._zone}_findPluginFor(n){let a=this._eventNameToPlugin.get(n);if(a)return a;if(a=this._plugins.find(i=>i.supports(n)),!a)throw new U(5101,!1);return this._eventNameToPlugin.set(n,a),a}};s(t,"ɵfac",function(n){return new(n||t)(ee($u),ee(je))}),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})(),D0=class{constructor(e){s(this,"_doc");s(this,"manager");this._doc=e}},Ko="ng-app-id";function pp(e){for(let t of e)t.remove()}function mp(e,t){let r=t.createElement("style");return r.textContent=e,r}function u8(e,t,r,n){var i;let a=(i=e.head)==null?void 0:i.querySelectorAll(`style[${Ko}="${t}"],link[${Ko}="${t}"]`);if(a)for(let o of a)o.removeAttribute(Ko),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&r.set(o.textContent,{usage:0,elements:[o]})}function Gu(e,t){let r=t.createElement("link");return r.setAttribute("rel","stylesheet"),r.setAttribute("href",e),r}var N0=(()=>{const t=class t{constructor(n,a,i,o={}){s(this,"doc");s(this,"appId");s(this,"nonce");s(this,"inline",new Map);s(this,"external",new Map);s(this,"hosts",new Set);s(this,"isServer");this.doc=n,this.appId=a,this.nonce=i,this.isServer=k0(o),u8(n,a,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,a){for(let i of n)this.addUsage(i,this.inline,mp);a==null||a.forEach(i=>this.addUsage(i,this.external,Gu))}removeStyles(n,a){for(let i of n)this.removeUsage(i,this.inline);a==null||a.forEach(i=>this.removeUsage(i,this.external))}addUsage(n,a,i){let o=a.get(n);o?o.usage++:a.set(n,{usage:1,elements:[...this.hosts].map(l=>this.addElement(l,i(n,this.doc)))})}removeUsage(n,a){let i=a.get(n);i&&(i.usage--,i.usage<=0&&(pp(i.elements),a.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])pp(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[a,{elements:i}]of this.inline)i.push(this.addElement(n,mp(a,this.doc)));for(let[a,{elements:i}]of this.external)i.push(this.addElement(n,Gu(a,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,a){return this.nonce&&a.setAttribute("nonce",this.nonce),this.isServer&&a.setAttribute(Ko,this.appId),n.appendChild(a)}};s(t,"ɵfac",function(n){return new(n||t)(ee(Le),ee(Yc),ee(Kc,8),ee(Us))}),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})(),Vl={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"},bd=/%COMP%/g,T0="%COMP%",c8=`_nghost-${T0}`,d8=`_ngcontent-${T0}`,h8=!0,p8=new Q("",{providedIn:"root",factory:()=>h8});function m8(e){return d8.replace(bd,e)}function f8(e){return c8.replace(bd,e)}function M0(e,t){return t.map(r=>r.replace(bd,e))}var Uu=(()=>{const t=class t{constructor(n,a,i,o,l,h,u,c=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=i,this.removeStylesOnCompDestroy=o,this.doc=l,this.platformId=h,this.ngZone=u,this.nonce=c,this.tracingService=m,this.platformIsServer=k0(h),this.defaultRenderer=new yd(n,l,u,this.platformIsServer,this.tracingService)}createRenderer(n,a){if(!n||!a)return this.defaultRenderer;this.platformIsServer&&a.encapsulation===ar.ShadowDom&&(a=Kt(ge({},a),{encapsulation:ar.Emulated}));let i=this.getOrCreateRenderer(n,a);return i instanceof gp?i.applyToHost(n):i instanceof Wu&&i.applyStyles(),i}getOrCreateRenderer(n,a){let i=this.rendererByCompId,o=i.get(a.id);if(!o){let l=this.doc,h=this.ngZone,u=this.eventManager,c=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,b=this.platformIsServer,g=this.tracingService;switch(a.encapsulation){case ar.Emulated:o=new gp(u,c,a,this.appId,m,l,h,b,g);break;case ar.ShadowDom:return new g8(u,c,n,a,l,h,this.nonce,b,g);default:o=new Wu(u,c,a,m,l,h,b,g);break}i.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)(ee(I0),ee(N0),ee(Yc),ee(p8),ee(Le),ee(Us),ee(je),ee(Kc),ee(Ki,8))}),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})(),yd=class{constructor(e,t,r,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=r,this.platformIsServer=n,this.tracingService=a}destroy(){}createElement(e,t){return t?this.doc.createElementNS(Vl[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(fp(e)?e.content:e).appendChild(t)}insertBefore(e,t,r){e&&(fp(e)?e.content:e).insertBefore(t,r)}removeChild(e,t){t.remove()}selectRootElement(e,t){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new U(-5104,!1);return t||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,r,n){if(n){t=n+":"+t;let a=Vl[n];a?e.setAttributeNS(a,t,r):e.setAttribute(t,r)}else e.setAttribute(t,r)}removeAttribute(e,t,r){if(r){let n=Vl[r];n?e.removeAttributeNS(n,t):e.removeAttribute(`${r}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,r,n){n&(va.DashCase|va.Important)?e.style.setProperty(t,r,n&va.Important?"important":""):e.style[t]=r}removeStyle(e,t,r){r&va.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,r){e!=null&&(e[t]=r)}setValue(e,t){e.nodeValue=t}listen(e,t,r,n){var i;if(typeof e=="string"&&(e=mi().getGlobalEventTarget(this.doc,e),!e))throw new U(5102,!1);let a=this.decoratePreventDefault(r);return(i=this.tracingService)!=null&&i.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 fp(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var g8=class extends yd{constructor(t,r,n,a,i,o,l,h,u){var b;super(t,i,o,h,u);s(this,"sharedStylesHost");s(this,"hostEl");s(this,"shadowRoot");this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=a.styles;c=M0(a.id,c);for(let g of c){let w=document.createElement("style");l&&w.setAttribute("nonce",l),w.textContent=g,this.shadowRoot.appendChild(w)}let m=(b=a.getExternalStyles)==null?void 0:b.call(a);if(m)for(let g of m){let w=Gu(g,i);l&&w.setAttribute("nonce",l),this.shadowRoot.appendChild(w)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,r){return super.appendChild(this.nodeOrShadowRoot(t),r)}insertBefore(t,r,n){return super.insertBefore(this.nodeOrShadowRoot(t),r,n)}removeChild(t,r){return super.removeChild(null,r)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Wu=class extends yd{constructor(t,r,n,a,i,o,l,h,u){var m;super(t,i,o,l,h);s(this,"sharedStylesHost");s(this,"removeStylesOnCompDestroy");s(this,"styles");s(this,"styleUrls");this.sharedStylesHost=r,this.removeStylesOnCompDestroy=a;let c=n.styles;this.styles=u?M0(u,c):c,this.styleUrls=(m=n.getExternalStyles)==null?void 0:m.call(n,u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},gp=class extends Wu{constructor(t,r,n,a,i,o,l,h,u){let c=a+"-"+n.id;super(t,r,n,i,o,l,h,u,c);s(this,"contentAttr");s(this,"hostAttr");this.contentAttr=m8(c),this.hostAttr=f8(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,r){let n=super.createElement(t,r);return super.setAttribute(n,this.contentAttr,""),n}},v8=class R0 extends xU{constructor(){super(...arguments);s(this,"supportsDOMEvents",!0)}static makeCurrent(){wU(new R0)}onAndCancel(r,n,a,i){return r.addEventListener(n,a,i),()=>{r.removeEventListener(n,a,i)}}dispatchEvent(r,n){r.dispatchEvent(n)}remove(r){r.remove()}createElement(r,n){return n=n||this.getDefaultDocument(),n.createElement(r)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE}isShadowRoot(r){return r instanceof DocumentFragment}getGlobalEventTarget(r,n){return n==="window"?window:n==="document"?r:n==="body"?r.body:null}getBaseHref(r){let n=b8();return n==null?null:y8(n)}resetBaseElement(){si=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return E0(document.cookie,r)}},si=null;function b8(){return si=si||document.head.querySelector("base"),si?si.getAttribute("href"):null}function y8(e){return new URL(e,document.baseURI).pathname}var _8=(()=>{const t=class t{build(){return new XMLHttpRequest}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})(),w8=(()=>{const t=class t extends D0{constructor(n){super(n)}supports(n){return!0}addEventListener(n,a,i,o){return n.addEventListener(a,i,o),()=>this.removeEventListener(n,a,i,o)}removeEventListener(n,a,i,o){return n.removeEventListener(a,i,o)}};s(t,"ɵfac",function(n){return new(n||t)(ee(Le))}),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})(),vp=["alt","control","meta","shift"],x8={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},E8={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},S8=(()=>{const t=class t extends D0{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,a,i,o){let l=t.parseEventName(a),h=t.eventCallback(l.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>mi().onAndCancel(n,l.domEventName,h,o))}static parseEventName(n){let a=n.toLowerCase().split("."),i=a.shift();if(a.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(a.pop()),l="",h=a.indexOf("code");if(h>-1&&(a.splice(h,1),l="code."),vp.forEach(c=>{let m=a.indexOf(c);m>-1&&(a.splice(m,1),l+=c+".")}),l+=o,a.length!=0||o.length===0)return null;let u={};return u.domEventName=i,u.fullKey=l,u}static matchEventFullKeyCode(n,a){let i=x8[n.key]||n.key,o="";return a.indexOf("code.")>-1&&(i=n.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),vp.forEach(l=>{if(l!==i){let h=E8[l];h(n)&&(o+=l+".")}}),o+=i,o===a)}static eventCallback(n,a,i){return o=>{t.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>a(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}};s(t,"ɵfac",function(n){return new(n||t)(ee(Le))}),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})();function k8(e){return sU(C8(e))}function C8(e){return{appProviders:[...M8,...(e==null?void 0:e.providers)??[]],platformProviders:T8}}function I8(){v8.makeCurrent()}function D8(){return new Hn}function N8(){return wH(document),document}var T8=[{provide:Us,useValue:S0},{provide:Vg,useValue:I8,multi:!0},{provide:Le,useFactory:N8}],M8=[{provide:Dc,useValue:"root"},{provide:Hn,useFactory:D8},{provide:$u,useClass:w8,multi:!0,deps:[Le]},{provide:$u,useClass:S8,multi:!0,deps:[Le]},Uu,N0,I0,{provide:Sn,useExisting:Uu},{provide:C0,useClass:_8},[]],_d=class{},O0=class{},Pa=class Qo{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(r=>{let n=r.indexOf(":");if(n>0){let a=r.slice(0,n),i=r.slice(n+1).trim();this.addHeaderEntry(a,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((r,n)=>{this.addHeaderEntry(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let r=this.headers.get(t.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,r){return this.clone({name:t,value:r,op:"a"})}set(t,r){return this.clone({name:t,value:r,op:"s"})}delete(t,r){return this.clone({name:t,value:r,op:"d"})}maybeSetNormalizedName(t,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,t)}init(){this.lazyInit&&(this.lazyInit instanceof Qo?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(r=>{this.headers.set(r,t.headers.get(r)),this.normalizedNames.set(r,t.normalizedNames.get(r))})}clone(t){let r=new Qo;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof Qo?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([t]),r}applyUpdate(t){let r=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,r);let a=(t.op==="a"?this.headers.get(r):void 0)||[];a.push(...n),this.headers.set(r,a);break;case"d":let i=t.value;if(!i)this.headers.delete(r),this.normalizedNames.delete(r);else{let o=this.headers.get(r);if(!o)return;o=o.filter(l=>i.indexOf(l)===-1),o.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,o)}break}}addHeaderEntry(t,r){let n=t.toLowerCase();this.maybeSetNormalizedName(t,n),this.headers.has(n)?this.headers.get(n).push(r):this.headers.set(n,[r])}setHeaderEntries(t,r){let n=(Array.isArray(r)?r:[r]).map(i=>i.toString()),a=t.toLowerCase();this.headers.set(a,n),this.maybeSetNormalizedName(t,a)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>t(this.normalizedNames.get(r),this.headers.get(r)))}},R8=class{encodeKey(e){return bp(e)}encodeValue(e){return bp(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function O8(e,t){let r=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(n=>{let a=n.indexOf("="),[i,o]=a==-1?[t.decodeKey(n),""]:[t.decodeKey(n.slice(0,a)),t.decodeValue(n.slice(a+1))],l=r.get(i)||[];l.push(o),r.set(i,l)}),r}var P8=/%(\d[a-f0-9])/gi,A8={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function bp(e){return encodeURIComponent(e).replace(P8,(t,r)=>A8[r]??t)}function Io(e){return`${e}`}var xa=class P0{constructor(t={}){s(this,"map");s(this,"encoder");s(this,"updates",null);s(this,"cloneFrom",null);if(this.encoder=t.encoder||new R8,t.fromString){if(t.fromObject)throw new U(2805,!1);this.map=O8(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(r=>{let n=t.fromObject[r],a=Array.isArray(n)?n.map(Io):[Io(n)];this.map.set(r,a)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let r=this.map.get(t);return r?r[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,r){return this.clone({param:t,value:r,op:"a"})}appendAll(t){let r=[];return Object.keys(t).forEach(n=>{let a=t[n];Array.isArray(a)?a.forEach(i=>{r.push({param:n,value:i,op:"a"})}):r.push({param:n,value:a,op:"a"})}),this.clone(r)}set(t,r){return this.clone({param:t,value:r,op:"s"})}delete(t,r){return this.clone({param:t,value:r,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let r=this.encoder.encodeKey(t);return this.map.get(t).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let r=new P0({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(t),r}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 r=(t.op==="a"?this.map.get(t.param):void 0)||[];r.push(Io(t.value)),this.map.set(t.param,r);break;case"d":if(t.value!==void 0){let n=this.map.get(t.param)||[],a=n.indexOf(Io(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)}},L8=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 F8(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function yp(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function _p(e){return typeof Blob<"u"&&e instanceof Blob}function wp(e){return typeof FormData<"u"&&e instanceof FormData}function j8(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var xp="Content-Type",Ep="Accept",A0="X-Request-URL",L0="text/plain",F0="application/json",V8=`${F0}, ${L0}, */*`,Bl=class j0{constructor(t,r,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=r,this.method=t.toUpperCase();let i;if(F8(this.method)||a?(this.body=n!==void 0?n:null,i=a):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??(this.headers=new Pa),this.context??(this.context=new L8),!this.params)this.params=new xa,this.urlWithParams=r;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=r;else{let l=r.indexOf("?"),h=l===-1?"?":l<r.length-1?"&":"";this.urlWithParams=r+h+o}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||yp(this.body)||_p(this.body)||wp(this.body)||j8(this.body)?this.body:this.body instanceof xa?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||wp(this.body)?null:_p(this.body)?this.body.type||null:yp(this.body)?null:typeof this.body=="string"?L0:this.body instanceof xa?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?F0:null}clone(t={}){let r=t.method||this.method,n=t.url||this.url,a=t.responseType||this.responseType,i=t.transferCache??this.transferCache,o=t.body!==void 0?t.body:this.body,l=t.withCredentials??this.withCredentials,h=t.reportProgress??this.reportProgress,u=t.headers||this.headers,c=t.params||this.params,m=t.context??this.context;return t.setHeaders!==void 0&&(u=Object.keys(t.setHeaders).reduce((b,g)=>b.set(g,t.setHeaders[g]),u)),t.setParams&&(c=Object.keys(t.setParams).reduce((b,g)=>b.set(g,t.setParams[g]),c)),new j0(r,n,o,{params:c,headers:u,context:m,reportProgress:h,responseType:a,withCredentials:l,transferCache:i})}},Ea=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}(Ea||{}),wd=class{constructor(e,t=200,r="OK"){s(this,"headers");s(this,"status");s(this,"statusText");s(this,"url");s(this,"ok");s(this,"type");this.headers=e.headers||new Pa,this.status=e.status!==void 0?e.status:t,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},B8=class V0 extends wd{constructor(r={}){super(r);s(this,"type",Ea.ResponseHeader)}clone(r={}){return new V0({headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},B0=class z0 extends wd{constructor(r={}){super(r);s(this,"body");s(this,"type",Ea.Response);this.body=r.body!==void 0?r.body:null}clone(r={}){return new z0({body:r.body!==void 0?r.body:this.body,headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},Sp=class extends wd{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}},z8=200,H8=204;function zl(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 no=(()=>{const t=class t{constructor(n){s(this,"handler");this.handler=n}request(n,a,i={}){let o;if(n instanceof Bl)o=n;else{let u;i.headers instanceof Pa?u=i.headers:u=new Pa(i.headers);let c;i.params&&(i.params instanceof xa?c=i.params:c=new xa({fromObject:i.params})),o=new Bl(n,a,i.body!==void 0?i.body:null,{headers:u,context:i.context,params:c,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let l=_t(o).pipe(ff(u=>this.handler.handle(u)));if(n instanceof Bl||i.observe==="events")return l;let h=l.pipe(zs(u=>u instanceof B0));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return h.pipe(wt(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new U(2806,!1);return u.body}));case"blob":return h.pipe(wt(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new U(2807,!1);return u.body}));case"text":return h.pipe(wt(u=>{if(u.body!==null&&typeof u.body!="string")throw new U(2808,!1);return u.body}));case"json":default:return h.pipe(wt(u=>u.body))}case"response":return h;default:throw new U(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 xa().append(a,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,a={}){return this.request("OPTIONS",n,a)}patch(n,a,i={}){return this.request("PATCH",n,zl(i,a))}post(n,a,i={}){return this.request("POST",n,zl(i,a))}put(n,a,i={}){return this.request("PUT",n,zl(i,a))}};s(t,"ɵfac",function(n){return new(n||t)(ee(_d))}),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})(),q8=new Q("");function $8(e,t){return t(e)}function G8(e,t,r){return(n,a)=>Tc(r,()=>t(n,i=>e(i,a)))}var xd=new Q(""),U8=new Q(""),W8=new Q("",{providedIn:"root",factory:()=>!0}),kp=(()=>{const t=class t extends _d{constructor(a,i){super();s(this,"backend");s(this,"injector");s(this,"chain",null);s(this,"pendingTasks",D(Wi));s(this,"contributeToStability",D(W8));this.backend=a,this.injector=i}handle(a){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(xd),...this.injector.get(U8,[])]));this.chain=i.reduceRight((o,l)=>G8(o,l,this.injector),$8)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(a,o=>this.backend.handle(o)).pipe(gf(()=>this.pendingTasks.remove(i)))}else return this.chain(a,i=>this.backend.handle(i))}};s(t,"ɵfac",function(a){return new(a||t)(ee(O0),ee(Ln))}),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})(),Z8=/^\)\]\}',?\n/,Y8=RegExp(`^${A0}:`,"m");function K8(e){return"responseURL"in e&&e.responseURL?e.responseURL:Y8.test(e.getAllResponseHeaders())?e.getResponseHeader(A0):null}var Cp=(()=>{const t=class t{constructor(n){s(this,"xhrFactory");this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new U(-2800,!1);let a=this.xhrFactory;return(a.ɵloadImpl?ea(a.ɵloadImpl()):_t(null)).pipe(as(()=>new Qe(i=>{let o=a.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((x,S)=>o.setRequestHeader(x,S.join(","))),n.headers.has(Ep)||o.setRequestHeader(Ep,V8),!n.headers.has(xp)){let x=n.detectContentTypeHeader();x!==null&&o.setRequestHeader(xp,x)}if(n.responseType){let x=n.responseType.toLowerCase();o.responseType=x!=="json"?x:"text"}let l=n.serializeBody(),h=null,u=()=>{if(h!==null)return h;let x=o.statusText||"OK",S=new Pa(o.getAllResponseHeaders()),N=K8(o)||n.url;return h=new B8({headers:S,status:o.status,statusText:x,url:N}),h},c=()=>{let{headers:x,status:S,statusText:N,url:L}=u(),A=null;S!==H8&&(A=typeof o.response>"u"?o.responseText:o.response),S===0&&(S=A?z8:0);let Y=S>=200&&S<300;if(n.responseType==="json"&&typeof A=="string"){let ne=A;A=A.replace(Z8,"");try{A=A!==""?JSON.parse(A):null}catch(ue){A=ne,Y&&(Y=!1,A={error:ue,text:A})}}Y?(i.next(new B0({body:A,headers:x,status:S,statusText:N,url:L||void 0})),i.complete()):i.error(new Sp({error:A,headers:x,status:S,statusText:N,url:L||void 0}))},m=x=>{let{url:S}=u(),N=new Sp({error:x,status:o.status||0,statusText:o.statusText||"Unknown Error",url:S||void 0});i.error(N)},b=!1,g=x=>{b||(i.next(u()),b=!0);let S={type:Ea.DownloadProgress,loaded:x.loaded};x.lengthComputable&&(S.total=x.total),n.responseType==="text"&&o.responseText&&(S.partialText=o.responseText),i.next(S)},w=x=>{let S={type:Ea.UploadProgress,loaded:x.loaded};x.lengthComputable&&(S.total=x.total),i.next(S)};return o.addEventListener("load",c),o.addEventListener("error",m),o.addEventListener("timeout",m),o.addEventListener("abort",m),n.reportProgress&&(o.addEventListener("progress",g),l!==null&&o.upload&&o.upload.addEventListener("progress",w)),o.send(l),i.next({type:Ea.Sent}),()=>{o.removeEventListener("error",m),o.removeEventListener("abort",m),o.removeEventListener("load",c),o.removeEventListener("timeout",m),n.reportProgress&&(o.removeEventListener("progress",g),l!==null&&o.upload&&o.upload.removeEventListener("progress",w)),o.readyState!==o.DONE&&o.abort()}})))}};s(t,"ɵfac",function(n){return new(n||t)(ee(C0))}),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})(),H0=new Q(""),Q8="XSRF-TOKEN",J8=new Q("",{providedIn:"root",factory:()=>Q8}),X8="X-XSRF-TOKEN",e6=new Q("",{providedIn:"root",factory:()=>X8}),q0=class{},t6=(()=>{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=E0(n,this.cookieName),this.lastCookieString=n),this.lastToken}};s(t,"ɵfac",function(n){return new(n||t)(ee(Le),ee(J8))}),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})();function n6(e,t){let r=e.url.toLowerCase();if(!D(H0)||e.method==="GET"||e.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return t(e);let n=D(q0).getToken(),a=D(e6);return n!=null&&!e.headers.has(a)&&(e=e.clone({headers:e.headers.set(a,n)})),t(e)}var $0=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}($0||{});function r6(e,t){return{ɵkind:e,ɵproviders:t}}function a6(...e){let t=[no,Cp,kp,{provide:_d,useExisting:kp},{provide:O0,useFactory:()=>D(q8,{optional:!0})??D(Cp)},{provide:xd,useValue:n6,multi:!0},{provide:H0,useValue:!0},{provide:q0,useClass:t6}];for(let r of e)t.push(...r.ɵproviders);return Cc(t)}function i6(e){return r6($0.Interceptors,e.map(t=>({provide:xd,useValue:t,multi:!0})))}var G0=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:function(n){let a=null;return n?a=new(n||t):a=ee(o6),a},providedIn:"root"}));let e=t;return e})(),o6=(()=>{const t=class t extends G0{constructor(a){super();s(this,"_doc");this._doc=a}sanitize(a,i){if(i==null)return null;switch(a){case on.NONE:return i;case on.HTML:return Ka(i,"HTML")?Hr(i):lq(this._doc,String(i)).toString();case on.STYLE:return Ka(i,"Style")?Hr(i):i;case on.SCRIPT:if(Ka(i,"Script"))return Hr(i);throw new U(5200,!1);case on.URL:return Ka(i,"URL")?Hr(i):Zg(String(i));case on.RESOURCE_URL:if(Ka(i,"ResourceURL"))return Hr(i);throw new U(5201,!1);default:throw new U(5202,!1)}}bypassSecurityTrustHtml(a){return VH(a)}bypassSecurityTrustStyle(a){return BH(a)}bypassSecurityTrustScript(a){return zH(a)}bypassSecurityTrustUrl(a){return HH(a)}bypassSecurityTrustResourceUrl(a){return qH(a)}};s(t,"ɵfac",function(a){return new(a||t)(ee(Le))}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),ro=class{},s6=(()=>{const t=class t extends ro{getTranslation(n){return _t({})}};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=En(t)))(a||t)}})()),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})(),U0=class{},l6=(()=>{const t=class t{handle(n){return n.key}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})();function Ss(e,t){if(e===t)return!0;if(e===null||t===null)return!1;if(e!==e&&t!==t)return!0;let r=typeof e,n=typeof t,a,i,o;if(r==n&&r=="object")if(Array.isArray(e)){if(!Array.isArray(t))return!1;if((a=e.length)==t.length){for(i=0;i<a;i++)if(!Ss(e[i],t[i]))return!1;return!0}}else{if(Array.isArray(t))return!1;o=Object.create(null);for(i in e){if(!Ss(e[i],t[i]))return!1;o[i]=!0}for(i in t)if(!(i in o)&&typeof t[i]<"u")return!1;return!0}return!1}function _r(e){return typeof e<"u"&&e!==null}function ao(e){return Jo(e)&&!Ed(e)&&e!==null}function Jo(e){return typeof e=="object"}function Ed(e){return Array.isArray(e)}function Sd(e){return typeof e=="string"}function u6(e){return typeof e=="function"}function Zu(e,t){let r=Object.assign({},e);return Jo(e)?(Jo(e)&&Jo(t)&&Object.keys(t).forEach(n=>{ao(t[n])?n in e?r[n]=Zu(e[n],t[n]):Object.assign(r,{[n]:t[n]}):Object.assign(r,{[n]:t[n]})}),r):Zu({},t)}function Yu(e,t){let r=t.split(".");t="";do t+=r.shift(),_r(e)&&_r(e[t])&&(ao(e[t])||Ed(e[t])||!r.length)?(e=e[t],t=""):r.length?t+=".":e=void 0;while(r.length);return e}function c6(e,t,r){let n=t.split("."),a=e;for(let i=0;i<n.length;i++){let o=n[i];i===n.length-1?a[o]=r:((!a[o]||!ao(a[o]))&&(a[o]={}),a=a[o])}}var kd=class{},d6=(()=>{const t=class t extends kd{constructor(){super(...arguments);s(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(a,i){if(Sd(a))return this.interpolateString(a,i);if(u6(a))return this.interpolateFunction(a,i)}interpolateFunction(a,i){return a(i)}interpolateString(a,i){return i?a.replace(this.templateMatcher,(o,l)=>{let h=Yu(i,l);return _r(h)?h:o}):a}};s(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=En(t)))(i||t)}})()),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})(),io=class{},h6=(()=>{const t=class t extends io{compile(n,a){return n}compileTranslations(n,a){return n}};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=En(t)))(a||t)}})()),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})(),Ku=class{constructor(){s(this,"defaultLang");s(this,"currentLang",this.defaultLang);s(this,"translations",{});s(this,"langs",[]);s(this,"onTranslationChange",new Ft);s(this,"onLangChange",new Ft);s(this,"onDefaultLangChange",new Ft)}},W0=new Q("ISOLATE_TRANSLATE_SERVICE"),Z0=new Q("USE_DEFAULT_LANG"),Y0=new Q("DEFAULT_LANGUAGE"),K0=new Q("USE_EXTEND"),Ja=e=>ci(e)?e:_t(e),qn=(()=>{const t=class t{constructor(n,a,i,o,l,h=!0,u=!1,c=!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=i,this.parser=o,this.missingTranslationHandler=l,this.useDefaultLang=h,this.extend=c,u&&(this.store=new Ku),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(rr(1)).subscribe(()=>{this.changeDefaultLang(n)})):this.changeDefaultLang(n)}getDefaultLang(){return this.defaultLang}use(n){if(this.lastUseLanguage=n,n===this.currentLang)return _t(this.translations[n]);this.currentLang||(this.currentLang=n);let a=this.retrieveTranslations(n);return ci(a)?(a.pipe(rr(1)).subscribe(()=>{this.changeLang(n)}),a):(this.changeLang(n),_t(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(mh(1),rr(1));return this.loadingTranslations=a.pipe(wt(i=>this.compiler.compileTranslations(i,n)),mh(1),rr(1)),this.loadingTranslations.subscribe({next:i=>{this.translations[n]=this.extend&&this.translations[n]?ge(ge({},i),this.translations[n]):i,this.updateLangs(),this.pending=!1},error:i=>{this.pending=!1}}),a}setTranslation(n,a,i=!1){let o=this.compiler.compileTranslations(a,n);(i||this.extend)&&this.translations[n]?this.translations[n]=Zu(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(i=>!this.langs.includes(i));a.length>0&&(this.langs=[...this.langs,...a])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(n,a,i){let o;if(n&&(o=this.runInterpolation(Yu(n,a),i)),o===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.runInterpolation(Yu(this.translations[this.defaultLang],a),i)),o===void 0){let l={key:a,translateService:this};typeof i<"u"&&(l.interpolateParams=i),o=this.missingTranslationHandler.handle(l)}return o!==void 0?o:a}runInterpolation(n,a){if(Ed(n))return n.map(i=>this.runInterpolation(i,a));if(ao(n)){let i={};for(let o in n){let l=this.runInterpolation(n[o],a);l!==void 0&&(i[o]=l)}return i}else return this.parser.interpolate(n,a)}getParsedResult(n,a,i){if(a instanceof Array){let o={},l=!1;for(let u of a)o[u]=this.getParsedResultForKey(n,u,i),l=l||ci(o[u]);if(!l)return o;let h=a.map(u=>Ja(o[u]));return hf(h).pipe(wt(u=>{let c={};return u.forEach((m,b)=>{c[a[b]]=m}),c}))}return this.getParsedResultForKey(n,a,i)}get(n,a){if(!_r(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(ff(i=>Ja(this.getParsedResult(i,n,a)))):Ja(this.getParsedResult(this.translations[this.currentLang],n,a))}getStreamOnTranslationChange(n,a){if(!_r(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return yi(ph(()=>this.get(n,a)),this.onTranslationChange.pipe(as(i=>{let o=this.getParsedResult(i.translations,n,a);return Ja(o)})))}stream(n,a){if(!_r(n)||!n.length)throw new Error('Parameter "key" required');return yi(ph(()=>this.get(n,a)),this.onLangChange.pipe(as(i=>{let o=this.getParsedResult(i.translations,n,a);return Ja(o)})))}instant(n,a){if(!_r(n)||n.length===0)throw new Error('Parameter "key" is required and cannot be empty');let i=this.getParsedResult(this.translations[this.currentLang],n,a);return ci(i)?Array.isArray(n)?n.reduce((o,l)=>(o[l]=l,o),{}):n:i}set(n,a,i=this.currentLang){c6(this.translations[i],n,Sd(a)?this.compiler.compile(a,i):this.compiler.compileTranslations(a,i)),this.updateLangs(),this.onTranslationChange.emit({lang:i,translations:this.translations[i]})}changeDefaultLang(n){this.defaultLang=n,this.onDefaultLangChange.emit({lang:n,translations:this.translations[n]})}reloadLang(n){return this.resetLang(n),this.loadAndCompileTranslations(n)}resetLang(n){delete this._translationRequests[n],delete this.translations[n]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let n=this.getBrowserCultureLang();return n?n.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}};s(t,"ɵfac",function(n){return new(n||t)(ee(Ku),ee(ro),ee(io),ee(kd),ee(U0),ee(Z0),ee(W0),ee(K0),ee(Y0))}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Cd=(()=>{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,i){let o=l=>{this.value=l!==void 0?l:n,this.lastKey=n,this._ref.markForCheck()};if(i){let l=this.translate.getParsedResult(i,n,a);ci(l)?l.subscribe(o):o(l)}this.translate.get(n,a).subscribe(o)}transform(n,...a){if(!n||!n.length)return n;if(Ss(n,this.lastKey)&&Ss(a,this.lastParams))return this.value;let i;if(_r(a[0])&&a.length)if(Sd(a[0])&&a[0].length){let o=a[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{i=JSON.parse(o)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${a[0]}`)}}else ao(a[0])&&(i=a[0]);return this.lastKey=n,this.lastParams=a,this.updateValue(n,i),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(n,i,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,i,o.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,i))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}};s(t,"ɵfac",function(n){return new(n||t)(jt(qn,16),jt(nl,16))}),s(t,"ɵpipe",ra({name:"translate",type:t,pure:!1})),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})(),p6=(e={})=>Cc([e.loader||{provide:ro,useClass:s6},e.compiler||{provide:io,useClass:h6},e.parser||{provide:kd,useClass:d6},e.missingTranslationHandler||{provide:U0,useClass:l6},Ku,{provide:W0,useValue:e.isolate},{provide:Z0,useValue:e.useDefaultLang},{provide:K0,useValue:e.extend},{provide:Y0,useValue:e.defaultLanguage},qn]);function Q0(e){return e.buttons===0||e.detail===0}function J0(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 Hl;function m6(){if(Hl==null){let e=typeof document<"u"?document.head:null;Hl=!!(e&&(e.createShadowRoot||e.attachShadow))}return Hl}function f6(e){if(m6()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function sr(e){return e.composedPath?e.composedPath()[0]:e.target}function wr(e,t,r,n,a){let i=parseInt(op.major),o=parseInt(op.minor);return i>19||i===19&&o>0||i===0&&o===0?e.listen(t,r,n,a):(t.addEventListener(r,n,a),()=>{t.removeEventListener(r,n,a)})}var Qu;try{Qu=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Qu=!1}var $n=(()=>{const t=class t{constructor(){s(this,"_platformId",D(Us));s(this,"isBrowser",this._platformId?l8(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||Qu)&&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",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Xa;function g6(){if(Xa==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Xa=!0}))}finally{Xa=Xa||!1}return Xa}function Id(e){return g6()?e:!!e.capture}function Sa(e){return e instanceof Xt?e.nativeElement:e}var v6=new Q("cdk-input-modality-detector-options"),b6={ignoreKeys:[18,17,224,91,16]},X0=650,ql={passive:!0,capture:!0},y6=(()=>{const t=class t{constructor(){s(this,"_platform",D($n));s(this,"_listenerCleanups");s(this,"modalityDetected");s(this,"modalityChanged");s(this,"_mostRecentTarget",null);s(this,"_modality",new vc(null));s(this,"_options");s(this,"_lastTouchMs",0);s(this,"_onKeydown",n=>{var a,i;(i=(a=this._options)==null?void 0:a.ignoreKeys)!=null&&i.some(o=>o===n.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=sr(n))});s(this,"_onMousedown",n=>{Date.now()-this._lastTouchMs<X0||(this._modality.next(Q0(n)?"keyboard":"mouse"),this._mostRecentTarget=sr(n))});s(this,"_onTouchstart",n=>{if(J0(n)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=sr(n)});let n=D(je),a=D(Le),i=D(v6,{optional:!0});if(this._options=ge(ge({},b6),i),this.modalityDetected=this._modality.pipe(bf(1)),this.modalityChanged=this.modalityDetected.pipe(_5()),this._platform.isBrowser){let o=D(Sn).createRenderer(null,null);this._listenerCleanups=n.runOutsideAngular(()=>[wr(o,a,"keydown",this._onKeydown,ql),wr(o,a,"mousedown",this._onMousedown,ql),wr(o,a,"touchstart",this._onTouchstart,ql)])}}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",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Xo=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(Xo||{}),_6=new Q("cdk-focus-monitor-default-options"),Do=Id({passive:!0,capture:!0}),w6=(()=>{const t=class t{constructor(){s(this,"_ngZone",D(je));s(this,"_platform",D($n));s(this,"_inputModalityDetector",D(y6));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",D(Le,{optional:!0}));s(this,"_stopInputModalityDetector",new Pe);s(this,"_rootNodeFocusAndBlurListener",n=>{let a=sr(n);for(let i=a;i;i=i.parentElement)n.type==="focus"?this._onFocus(n,i):this._onBlur(n,i)});let n=D(_6,{optional:!0});this._detectionMode=(n==null?void 0:n.detectionMode)||Xo.IMMEDIATE}monitor(n,a=!1){let i=Sa(n);if(!this._platform.isBrowser||i.nodeType!==1)return _t();let o=f6(i)||this._getDocument(),l=this._elementInfo.get(i);if(l)return a&&(l.checkChildren=!0),l.subject;let h={checkChildren:a,subject:new Pe,rootNode:o};return this._elementInfo.set(i,h),this._registerGlobalListeners(h),h.subject}stopMonitoring(n){let a=Sa(n),i=this._elementInfo.get(a);i&&(i.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(i))}focusVia(n,a,i){let o=Sa(n),l=this._getDocument().activeElement;o===l?this._getClosestElementsInfo(o).forEach(([h,u])=>this._originChanged(h,a,u)):(this._setOrigin(a),typeof o.focus=="function"&&o.focus(i))}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===Xo.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===Xo.IMMEDIATE){clearTimeout(this._originTimeoutId);let i=this._originFromTouchInteraction?X0:1;this._originTimeoutId=setTimeout(()=>this._origin=null,i)}})}_onFocus(n,a){let i=this._elementInfo.get(a),o=sr(n);!i||!i.checkChildren&&a!==o||this._originChanged(a,this._getFocusOrigin(o),i)}_onBlur(n,a){let i=this._elementInfo.get(a);!i||i.checkChildren&&n.relatedTarget instanceof Node&&a.contains(n.relatedTarget)||(this._setClasses(a),this._emitOrigin(i,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,i=this._rootNodeFocusListenerCount.get(a)||0;i||this._ngZone.runOutsideAngular(()=>{a.addEventListener("focus",this._rootNodeFocusAndBlurListener,Do),a.addEventListener("blur",this._rootNodeFocusAndBlurListener,Do)}),this._rootNodeFocusListenerCount.set(a,i+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Fi(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(n){let a=n.rootNode;if(this._rootNodeFocusListenerCount.has(a)){let i=this._rootNodeFocusListenerCount.get(a);i>1?this._rootNodeFocusListenerCount.set(a,i-1):(a.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Do),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Do),this._rootNodeFocusListenerCount.delete(a))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,a,i){this._setClasses(n,a),this._emitOrigin(i,a),this._lastFocusOrigin=a}_getClosestElementsInfo(n){let a=[];return this._elementInfo.forEach((i,o)=>{(o===n||i.checkChildren&&o.contains(n))&&a.push([o,i])}),a}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:a,mostRecentModality:i}=this._inputModalityDetector;if(i!=="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",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),No=new WeakMap,ol=(()=>{const t=class t{constructor(){s(this,"_appRef");s(this,"_injector",D(Mt));s(this,"_environmentInjector",D(Ln))}load(n){let a=this._appRef=this._appRef||this._injector.get(Ir),i=No.get(a);i||(i={loaders:new Set,refs:[]},No.set(a,i),a.onDestroy(()=>{var o;(o=No.get(a))==null||o.refs.forEach(l=>l.destroy()),No.delete(a)})),i.loaders.has(n)||(i.loaders.add(n),i.refs.push(m0(n,{environmentInjector:this._environmentInjector})))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function ks(e){return Array.isArray(e)?e:[e]}var Ip=new Set,Pr,x6=(()=>{const t=class t{constructor(){s(this,"_platform",D($n));s(this,"_nonce",D(Kc,{optional:!0}));s(this,"_matchMedia");this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):S6}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&E6(n,this._nonce),this._matchMedia(n)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function E6(e,t){if(!Ip.has(e))try{Pr||(Pr=document.createElement("style"),t&&Pr.setAttribute("nonce",t),Pr.setAttribute("type","text/css"),document.head.appendChild(Pr)),Pr.sheet&&(Pr.sheet.insertRule(`@media ${e} {body{ }}`,0),Ip.add(e))}catch(r){console.error(r)}}function S6(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var k6=(()=>{const t=class t{constructor(){s(this,"_mediaMatcher",D(x6));s(this,"_zone",D(je));s(this,"_queries",new Map);s(this,"_destroySubject",new Pe)}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return Dp(ks(n)).some(a=>this._registerQuery(a).mql.matches)}observe(n){let a=Dp(ks(n)).map(o=>this._registerQuery(o).observable),i=p5(a);return i=yi(i.pipe(rr(1)),i.pipe(bf(1),y5(0))),i.pipe(wt(o=>{let l={matches:!1,breakpoints:{}};return o.forEach(({matches:h,query:u})=>{l.matches=l.matches||h,l.breakpoints[u]=h}),l}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let a=this._mediaMatcher.matchMedia(n),i={observable:new Qe(o=>{let l=h=>this._zone.run(()=>o.next(h));return a.addListener(l),()=>{a.removeListener(l)}}).pipe(yf(a),wt(({matches:o})=>({query:n,matches:o})),Fi(this._destroySubject)),mql:a};return this._queries.set(n,i),i}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Dp(e){return e.map(t=>t.split(",")).reduce((t,r)=>t.concat(r)).map(t=>t.trim())}var C6=new Q("liveAnnouncerElement",{providedIn:"root",factory:I6});function I6(){return null}var D6=new Q("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),N6=0,T6=(()=>{const t=class t{constructor(){s(this,"_ngZone",D(je));s(this,"_defaultOptions",D(D6,{optional:!0}));s(this,"_liveElement");s(this,"_document",D(Le));s(this,"_previousTimeout");s(this,"_currentPromise");s(this,"_currentResolve");let n=D(C6,{optional:!0});this._liveElement=n||this._createLiveElement()}announce(n,...a){let i=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=i&&i.politeness?i.politeness:"polite"),l==null&&i&&(l=i.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(h=>this._currentResolve=h)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{var h;this._liveElement.textContent=n,typeof l=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),l)),(h=this._currentResolve)==null||h.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),i=this._document.createElement("div");for(let o=0;o<a.length;o++)a[o].remove();return i.classList.add(n),i.classList.add("cdk-visually-hidden"),i.setAttribute("aria-atomic","true"),i.setAttribute("aria-live","polite"),i.id=`cdk-live-announcer-${N6++}`,this._document.body.appendChild(i),i}_exposeAnnouncerToModals(n){let a=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let i=0;i<a.length;i++){let o=a[i],l=o.getAttribute("aria-owns");l?l.indexOf(n)===-1&&o.setAttribute("aria-owns",l+" "+n):o.setAttribute("aria-owns",n)}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),$l={},eb=(()=>{const t=class t{constructor(){s(this,"_appId",D(Yc))}getId(n){return this._appId!=="ng"&&(n+=this._appId),$l.hasOwnProperty(n)||($l[n]=0),`${n}${$l[n]++}`}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),M6=new Q("cdk-dir-doc",{providedIn:"root",factory:R6});function R6(){return D(Le)}var O6=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function P6(e){let t=(e==null?void 0:e.toLowerCase())||"";return t==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?O6.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var A6=(()=>{const t=class t{constructor(){s(this,"value","ltr");s(this,"change",new Ft);let n=D(M6,{optional:!0});if(n){let a=n.body?n.body.dir:null,i=n.documentElement?n.documentElement.dir:null;this.value=P6(a||i||"ltr")}}ngOnDestroy(){this.change.complete()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ju=new Q("MAT_DATE_LOCALE",{providedIn:"root",factory:L6});function L6(){return D(tl)}var ua="Method not implemented",tb=class{constructor(){s(this,"locale");s(this,"_localeChanges",new Pe);s(this,"localeChanges",this._localeChanges)}setTime(e,t,r,n){throw new Error(ua)}getHours(e){throw new Error(ua)}getMinutes(e){throw new Error(ua)}getSeconds(e){throw new Error(ua)}parseTime(e,t){throw new Error(ua)}addSeconds(e,t){throw new Error(ua)}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 r=this.isValid(e),n=this.isValid(t);return r&&n?!this.compareDate(e,t):r==n}return e==t}sameTime(e,t){if(e&&t){let r=this.isValid(e),n=this.isValid(t);return r&&n?!this.compareTime(e,t):r==n}return e==t}clampDate(e,t,r){return t&&this.compareDate(e,t)<0?t:r&&this.compareDate(e,r)>0?r:e}},F6=new Q("mat-date-formats"),j6=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",It({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}}
20
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Ar;function V6(){if(Ar==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Ar=!1,Ar;if("scrollBehavior"in document.documentElement.style)Ar=!0;else{let e=Element.prototype.scrollTo;e?Ar=!/\{\s*\[native code\]\s*\}/.test(e.toString()):Ar=!1}}return Ar}function Np(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function ut(e){return e==null?"":typeof e=="string"?e:`${e}px`}var rn=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}(rn||{}),B6=class{constructor(e,t,r,n=!1){s(this,"_renderer");s(this,"element");s(this,"config");s(this,"_animationForciblyDisabledThroughCss");s(this,"state",rn.HIDDEN);this._renderer=e,this.element=t,this.config=r,this._animationForciblyDisabledThroughCss=n}fadeOut(){this._renderer.fadeOutRipple(this)}},Tp=Id({passive:!0,capture:!0}),z6=class{constructor(){s(this,"_events",new Map);s(this,"_delegateEventHandler",e=>{var r;let t=sr(e);t&&((r=this._events.get(e.type))==null||r.forEach((n,a)=>{(a===t||a.contains(t))&&n.forEach(i=>i.handleEvent(e))}))})}addHandler(e,t,r,n){let a=this._events.get(t);if(a){let i=a.get(r);i?i.add(n):a.set(r,new Set([n]))}else this._events.set(t,new Map([[r,new Set([n])]])),e.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,Tp)})}removeHandler(e,t,r){let n=this._events.get(e);if(!n)return;let a=n.get(t);a&&(a.delete(r),a.size===0&&n.delete(t),n.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,Tp)))}},Cs={enterDuration:225,exitDuration:150},H6=800,Mp=Id({passive:!0,capture:!0}),Rp=["mousedown","touchstart"],Op=["mouseup","mouseleave","touchend","touchcancel"],q6=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",It({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}
21
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),xr,$6=(xr=class{constructor(t,r,n,a,i){s(this,"_target");s(this,"_ngZone");s(this,"_platform");s(this,"_containerElement");s(this,"_triggerElement");s(this,"_isPointerDown",!1);s(this,"_activeRipples",new Map);s(this,"_mostRecentTransientRipple");s(this,"_lastTouchStartEvent");s(this,"_pointerUpEventsRegistered",!1);s(this,"_containerRect");this._target=t,this._ngZone=r,this._platform=a,a.isBrowser&&(this._containerElement=Sa(n)),i&&i.get(ol).load(q6)}fadeInRipple(t,r,n={}){let a=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i=ge(ge({},Cs),n.animation);n.centered&&(t=a.left+a.width/2,r=a.top+a.height/2);let o=n.radius||G6(t,r,a),l=t-a.left,h=r-a.top,u=i.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=`${l-o}px`,c.style.top=`${h-o}px`,c.style.height=`${o*2}px`,c.style.width=`${o*2}px`,n.color!=null&&(c.style.backgroundColor=n.color),c.style.transitionDuration=`${u}ms`,this._containerElement.appendChild(c);let m=window.getComputedStyle(c),b=m.transitionProperty,g=m.transitionDuration,w=b==="none"||g==="0s"||g==="0s, 0s"||a.width===0&&a.height===0,x=new B6(this,c,n,w);c.style.transform="scale3d(1, 1, 1)",x.state=rn.FADING_IN,n.persistent||(this._mostRecentTransientRipple=x);let S=null;return!w&&(u||i.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let N=()=>{S&&(S.fallbackTimer=null),clearTimeout(A),this._finishRippleTransition(x)},L=()=>this._destroyRipple(x),A=setTimeout(L,u+100);c.addEventListener("transitionend",N),c.addEventListener("transitioncancel",L),S={onTransitionEnd:N,onTransitionCancel:L,fallbackTimer:A}}),this._activeRipples.set(x,S),(w||!u)&&this._finishRippleTransition(x),x}fadeOutRipple(t){if(t.state===rn.FADING_OUT||t.state===rn.HIDDEN)return;let r=t.element,n=ge(ge({},Cs),t.config.animation);r.style.transitionDuration=`${n.exitDuration}ms`,r.style.opacity="0",t.state=rn.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 r=Sa(t);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,Rp.forEach(n=>{xr._eventManager.addHandler(this._ngZone,n,r,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Op.forEach(r=>{this._triggerElement.addEventListener(r,this,Mp)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===rn.FADING_IN?this._startFadeOutTransition(t):t.state===rn.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let r=t===this._mostRecentTransientRipple,{persistent:n}=t.config;t.state=rn.VISIBLE,!n&&(!r||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let r=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=rn.HIDDEN,r!==null&&(t.element.removeEventListener("transitionend",r.onTransitionEnd),t.element.removeEventListener("transitioncancel",r.onTransitionCancel),r.fallbackTimer!==null&&clearTimeout(r.fallbackTimer)),t.element.remove()}_onMousedown(t){let r=Q0(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+H6;!this._target.rippleDisabled&&!r&&!n&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!J0(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let r=t.changedTouches;if(r)for(let n=0;n<r.length;n++)this.fadeInRipple(r[n].clientX,r[n].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{let r=t.state===rn.VISIBLE||t.config.terminateOnPointerUp&&t.state===rn.FADING_IN;!t.config.persistent&&r&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(Rp.forEach(r=>xr._eventManager.removeHandler(r,t,this)),this._pointerUpEventsRegistered&&(Op.forEach(r=>t.removeEventListener(r,this,Mp)),this._pointerUpEventsRegistered=!1))}},s(xr,"_eventManager",new z6),xr);function G6(e,t,r){let n=Math.max(Math.abs(e-r.left),Math.abs(e-r.right)),a=Math.max(Math.abs(t-r.top),Math.abs(t-r.bottom));return Math.sqrt(n*n+a*a)}var U6=new Q("mat-ripple-global-options"),W6={capture:!0},Z6=["focus","mousedown","mouseenter","touchstart"],Gl="mat-ripple-loader-uninitialized",Ul="mat-ripple-loader-class-name",Pp="mat-ripple-loader-centered",To="mat-ripple-loader-disabled",Y6=(()=>{const t=class t{constructor(){s(this,"_document",D(Le));s(this,"_animationMode",D(Yi,{optional:!0}));s(this,"_globalRippleOptions",D(U6,{optional:!0}));s(this,"_platform",D($n));s(this,"_ngZone",D(je));s(this,"_injector",D(Mt));s(this,"_eventCleanups");s(this,"_hosts",new Map);s(this,"_onInteraction",n=>{var i;let a=sr(n);if(a instanceof HTMLElement){let o=a.closest(`[${Gl}="${((i=this._globalRippleOptions)==null?void 0:i.namespace)??""}"]`);o&&this._createRipple(o)}});let n=D(Sn).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>Z6.map(a=>wr(n,this._document,a,this._onInteraction,W6)))}ngOnDestroy(){let n=this._hosts.keys();for(let a of n)this.destroyRipple(a);this._eventCleanups.forEach(a=>a())}configureRipple(n,a){var i;n.setAttribute(Gl,((i=this._globalRippleOptions)==null?void 0:i.namespace)??""),(a.className||!n.hasAttribute(Ul))&&n.setAttribute(Ul,a.className||""),a.centered&&n.setAttribute(Pp,""),a.disabled&&n.setAttribute(To,"")}setDisabled(n,a){let i=this._hosts.get(n);i?(i.target.rippleDisabled=a,!a&&!i.hasSetUpEvents&&(i.hasSetUpEvents=!0,i.renderer.setupTriggerEvents(n))):a?n.setAttribute(To,""):n.removeAttribute(To)}_createRipple(n){var b,g,w;if(!this._document||this._hosts.has(n))return;(b=n.querySelector(".mat-ripple"))==null||b.remove();let a=this._document.createElement("span");a.classList.add("mat-ripple",n.getAttribute(Ul)),n.append(a);let i=this._animationMode==="NoopAnimations",o=this._globalRippleOptions,l=i?0:((g=o==null?void 0:o.animation)==null?void 0:g.enterDuration)??Cs.enterDuration,h=i?0:((w=o==null?void 0:o.animation)==null?void 0:w.exitDuration)??Cs.exitDuration,u={rippleDisabled:i||(o==null?void 0:o.disabled)||n.hasAttribute(To),rippleConfig:{centered:n.hasAttribute(Pp),terminateOnPointerUp:o==null?void 0:o.terminateOnPointerUp,animation:{enterDuration:l,exitDuration:h}}},c=new $6(u,this._ngZone,a,this._platform,this._injector),m=!u.rippleDisabled;m&&c.setupTriggerEvents(n),this._hosts.set(n,{target:u,renderer:c,hasSetUpEvents:m}),n.removeAttribute(Gl)}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",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),K6=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,Q6=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function Wl(e,t){let r=Array(e);for(let n=0;n<e;n++)r[n]=t(n);return r}var J6=(()=>{const t=class t extends tb{constructor(){super();s(this,"useUtcForDisplay",!1);s(this,"_matDateLocale",D(Ju,{optional:!0}));let a=D(Ju,{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 i=new Intl.DateTimeFormat(this.locale,{month:a,timeZone:"utc"});return Wl(12,o=>this._format(i,new Date(2017,o,1)))}getDateNames(){let a=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Wl(31,i=>this._format(a,new Date(2017,0,i+1)))}getDayOfWeekNames(a){let i=new Intl.DateTimeFormat(this.locale,{weekday:a,timeZone:"utc"});return Wl(7,o=>this._format(i,new Date(2017,0,o+1)))}getYearName(a){let i=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(i,a)}getFirstDayOfWeek(){var a,i;if(typeof Intl<"u"&&Intl.Locale){let o=new Intl.Locale(this.locale),l=((i=((a=o.getWeekInfo)==null?void 0:a.call(o))||o.weekInfo)==null?void 0:i.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,i,o){let l=this._createDateWithOverflow(a,i,o);return l.getMonth()!=i,l}today(){return new Date}parse(a,i){return typeof a=="number"?new Date(a):a?new Date(Date.parse(a)):null}format(a,i){if(!this.isValid(a))throw Error("NativeDateAdapter: Cannot format invalid date.");let o=new Intl.DateTimeFormat(this.locale,Kt(ge({},i),{timeZone:"utc"}));return this._format(o,a)}addCalendarYears(a,i){return this.addCalendarMonths(a,i*12)}addCalendarMonths(a,i){let o=this._createDateWithOverflow(this.getYear(a),this.getMonth(a)+i,this.getDate(a));return this.getMonth(o)!=((this.getMonth(a)+i)%12+12)%12&&(o=this._createDateWithOverflow(this.getYear(o),this.getMonth(o),0)),o}addCalendarDays(a,i){return this._createDateWithOverflow(this.getYear(a),this.getMonth(a),this.getDate(a)+i)}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(K6.test(a)){let i=new Date(a);if(this.isValid(i))return i}}return super.deserialize(a)}isDateInstance(a){return a instanceof Date}isValid(a){return!isNaN(a.getTime())}invalid(){return new Date(NaN)}setTime(a,i,o,l){let h=this.clone(a);return h.setHours(i,o,l,0),h}getHours(a){return a.getHours()}getMinutes(a){return a.getMinutes()}getSeconds(a){return a.getSeconds()}parseTime(a,i){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 h=o.replace(/[^0-9:(AM|PM)]/gi,"").trim();h.length>0&&(l=this._parseTimeString(h))}return l||this.invalid()}addSeconds(a,i){return new Date(a.getTime()+i*1e3)}_createDateWithOverflow(a,i,o){let l=new Date;return l.setFullYear(a,i,o),l.setHours(0,0,0,0),l}_2digit(a){return("00"+a).slice(-2)}_format(a,i){let o=new Date;return o.setUTCFullYear(i.getFullYear(),i.getMonth(),i.getDate()),o.setUTCHours(i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()),a.format(o)}_parseTimeString(a){let i=a.toUpperCase().match(Q6);if(i){let o=parseInt(i[1]),l=parseInt(i[2]),h=i[3]==null?void 0:parseInt(i[3]),u=i[4];if(o===12?o=u==="AM"?0:o:u==="PM"&&(o+=12),Zl(o,0,23)&&Zl(l,0,59)&&(h==null||Zl(h,0,59)))return this.setTime(this.today(),o,l,h||0)}return null}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})();function Zl(e,t,r){return!isNaN(e)&&e>=t&&e<=r}var Dd=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}},Xu=class extends Dd{constructor(t,r,n,a,i){super();s(this,"component");s(this,"viewContainerRef");s(this,"injector");s(this,"componentFactoryResolver");s(this,"projectableNodes");this.component=t,this.viewContainerRef=r,this.injector=n,this.projectableNodes=i}},nb=class extends Dd{constructor(t,r,n,a){super();s(this,"templateRef");s(this,"viewContainerRef");s(this,"context");s(this,"injector");this.templateRef=t,this.viewContainerRef=r,this.context=n,this.injector=a}get origin(){return this.templateRef.elementRef}attach(t,r=this.context){return this.context=r,super.attach(t)}detach(){return this.context=void 0,super.detach()}},X6=class extends Dd{constructor(t){super();s(this,"element");this.element=t instanceof Xt?t.nativeElement:t}},Nd=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 Xu)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof nb)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof X6)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)}},eW=class extends Nd{constructor(t,r,n,a,i){super();s(this,"outletElement");s(this,"_appRef");s(this,"_defaultInjector");s(this,"_document");s(this,"attachDomPortal",t=>{let r=t.element;r.parentNode;let n=this._document.createComment("dom-portal");r.parentNode.insertBefore(n,r),this.outletElement.appendChild(r),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(r,n)})});this.outletElement=t,this._appRef=n,this._defaultInjector=a,this._document=i}attachComponentPortal(t){let r;if(t.viewContainerRef){let n=t.injector||t.viewContainerRef.injector,a=n.get(Di,null,{optional:!0})||void 0;r=t.viewContainerRef.createComponent(t.component,{index:t.viewContainerRef.length,injector:n,ngModuleRef:a,projectableNodes:t.projectableNodes||void 0}),this.setDisposeFn(()=>r.destroy())}else{let n=this._appRef,a=t.injector||this._defaultInjector||Mt.NULL,i=a.get(Ln,n.injector);r=m0(t.component,{elementInjector:a,environmentInjector:i,projectableNodes:t.projectableNodes||void 0}),n.attachView(r.hostView),this.setDisposeFn(()=>{n.viewCount>0&&n.detachView(r.hostView),r.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=t,r}attachTemplatePortal(t){let r=t.viewContainerRef,n=r.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return n.rootNodes.forEach(a=>this.outletElement.appendChild(a)),n.detectChanges(),this.setDisposeFn(()=>{let a=r.indexOf(n);a!==-1&&r.remove(a)}),this._attachedPortal=t,n}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}},Ap=(()=>{const t=class t extends Nd{constructor(){super();s(this,"_moduleRef",D(Di,{optional:!0}));s(this,"_document",D(Le));s(this,"_viewContainerRef",D(Js));s(this,"_isInitialized",!1);s(this,"_attachedRef");s(this,"attached",new Ft);s(this,"attachDomPortal",a=>{let i=a.element;i.parentNode;let o=this._document.createComment("dom-portal");a.setAttachedHost(this),i.parentNode.insertBefore(o,i),this._getRootNode().appendChild(i),this._attachedPortal=a,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(i,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 i=a.viewContainerRef!=null?a.viewContainerRef:this._viewContainerRef,o=i.createComponent(a.component,{index:i.length,injector:a.injector||i.injector,projectableNodes:a.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return i!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=a,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(a){a.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(a.templateRef,a.context,{injector:a.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=a,this._attachedRef=i,this.attached.emit(i),i}_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",hr({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Tr]}));let e=t;return e})(),tW=20,nW=(()=>{const t=class t{constructor(){s(this,"_ngZone",D(je));s(this,"_platform",D($n));s(this,"_renderer",D(Sn).createRenderer(null,null));s(this,"_cleanupGlobalListener");s(this,"_scrolled",new Pe);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=tW){return this._platform.isBrowser?new Qe(a=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let i=n>0?this._scrolled.pipe(mf(n)).subscribe(a):this._scrolled.subscribe(a);return this._scrolledCount++,()=>{var o;i.unsubscribe(),this._scrolledCount--,this._scrolledCount||((o=this._cleanupGlobalListener)==null||o.call(this),this._cleanupGlobalListener=void 0)}}):_t()}ngOnDestroy(){var n;(n=this._cleanupGlobalListener)==null||n.call(this),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((a,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(n,a){let i=this.getAncestorScrollContainers(n);return this.scrolled(a).pipe(zs(o=>!o||i.indexOf(o)>-1))}getAncestorScrollContainers(n){let a=[];return this.scrollContainers.forEach((i,o)=>{this._scrollableContainsElement(o,n)&&a.push(o)}),a}_scrollableContainsElement(n,a){let i=Sa(a),o=n.getElementRef().nativeElement;do if(i==o)return!0;while(i=i.parentElement);return!1}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),rW=20,rb=(()=>{const t=class t{constructor(){s(this,"_platform",D($n));s(this,"_listeners");s(this,"_viewportSize");s(this,"_change",new Pe);s(this,"_document",D(Le,{optional:!0}));let n=D(je),a=D(Sn).createRenderer(null,null);n.runOutsideAngular(()=>{if(this._platform.isBrowser){let i=o=>this._change.next(o);this._listeners=[a.listen("window","resize",i),a.listen("window","orientationchange",i)]}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:i}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+i,right:n.left+a,height:i,width:a}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let n=this._document,a=this._getWindow(),i=n.documentElement,o=i.getBoundingClientRect(),l=-o.top||n.body.scrollTop||a.scrollY||i.scrollTop||0,h=-o.left||n.body.scrollLeft||a.scrollX||i.scrollLeft||0;return{top:l,left:h}}change(n=rW){return n>0?this._change.pipe(mf(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",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Lp=V6(),aW=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=ut(-this._previousScrollPosition.left),e.style.top=ut(-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,r=e.style,n=t.style,a=r.scrollBehavior||"",i=n.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),Lp&&(r.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Lp&&(r.scrollBehavior=a,n.scrollBehavior=i)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}},iW=class{constructor(e,t,r,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=r,this._config=n}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(zs(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}},ab=class{enable(){}disable(){}attach(){}};function ec(e,t){return t.some(r=>{let n=e.bottom<r.top,a=e.top>r.bottom,i=e.right<r.left,o=e.left>r.right;return n||a||i||o})}function Fp(e,t){return t.some(r=>{let n=e.top<r.top,a=e.bottom>r.bottom,i=e.left<r.left,o=e.right>r.right;return n||a||i||o})}var oW=class{constructor(e,t,r,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=r,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:r,height:n}=this._viewportRuler.getViewportSize();ec(t,[{width:r,height:n,bottom:n,right:r,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}},sW=(()=>{const t=class t{constructor(){s(this,"_scrollDispatcher",D(nW));s(this,"_viewportRuler",D(rb));s(this,"_ngZone",D(je));s(this,"_document",D(Le));s(this,"noop",()=>new ab);s(this,"close",n=>new iW(this._scrollDispatcher,this._ngZone,this._viewportRuler,n));s(this,"block",()=>new aW(this._viewportRuler,this._document));s(this,"reposition",n=>new oW(this._scrollDispatcher,this._viewportRuler,this._ngZone,n))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),ib=class{constructor(e){s(this,"positionStrategy");s(this,"scrollStrategy",new ab);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 r of t)e[r]!==void 0&&(this[r]=e[r])}}},lW=class{constructor(e,t){s(this,"connectionPair");s(this,"scrollableViewProperties");this.connectionPair=e,this.scrollableViewProperties=t}},ob=(()=>{const t=class t{constructor(){s(this,"_attachedOverlays",[]);s(this,"_document",D(Le));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",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),uW=(()=>{const t=class t extends ob{constructor(){super(...arguments);s(this,"_ngZone",D(je));s(this,"_renderer",D(Sn).createRenderer(null,null));s(this,"_cleanupKeydown");s(this,"_keydownListener",a=>{let i=this._attachedOverlays;for(let o=i.length-1;o>-1;o--)if(i[o]._keydownEvents.observers.length>0){this._ngZone.run(()=>i[o]._keydownEvents.next(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(i){return(a||(a=En(t)))(i||t)}})()),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),cW=(()=>{const t=class t extends ob{constructor(){super(...arguments);s(this,"_platform",D($n));s(this,"_ngZone",D(je));s(this,"_renderer",D(Sn).createRenderer(null,null));s(this,"_cursorOriginalValue");s(this,"_cursorStyleIsSet",!1);s(this,"_pointerDownEventTarget");s(this,"_cleanups");s(this,"_pointerDownListener",a=>{this._pointerDownEventTarget=sr(a)});s(this,"_clickListener",a=>{let i=sr(a),o=a.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let l=this._attachedOverlays.slice();for(let h=l.length-1;h>-1;h--){let u=l[h];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(jp(u.overlayElement,i)||jp(u.overlayElement,o))break;let c=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>c.next(a)):c.next(a)}})}add(a){if(super.add(a),!this._isAttached){let i=this._document.body,o={capture:!0};this._cleanups=this._ngZone.runOutsideAngular(()=>[wr(this._renderer,i,"pointerdown",this._pointerDownListener,o),wr(this._renderer,i,"click",this._clickListener,o),wr(this._renderer,i,"auxclick",this._clickListener,o),wr(this._renderer,i,"contextmenu",this._clickListener,o)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){var a;this._isAttached&&((a=this._cleanups)==null||a.forEach(i=>i()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}};s(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=En(t)))(i||t)}})()),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function jp(e,t){let r=typeof ShadowRoot<"u"&&ShadowRoot,n=t;for(;n;){if(n===e)return!0;n=r&&n instanceof ShadowRoot?n.host:n.parentNode}return!1}var sb=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",It({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}
22
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),lb=(()=>{const t=class t{constructor(){s(this,"_platform",D($n));s(this,"_containerElement");s(this,"_document",D(Le));s(this,"_styleLoader",D(ol))}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||Np()){let i=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let o=0;o<i.length;o++)i[o].remove()}let a=this._document.createElement("div");a.classList.add(n),Np()?a.setAttribute("platform","test"):this._platform.isBrowser||a.setAttribute("platform","server"),this._document.body.appendChild(a),this._containerElement=a}_loadStyles(){this._styleLoader.load(sb)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),dW=class{constructor(e,t,r,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=r,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")})}},hW=class{constructor(e,t,r,n,a,i,o,l,h,u=!1,c,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 Pe);s(this,"_attachments",new Pe);s(this,"_detachments",new Pe);s(this,"_positionStrategy");s(this,"_scrollStrategy");s(this,"_locationChanges",Zt.EMPTY);s(this,"_backdropRef",null);s(this,"_previousHostParent");s(this,"_keydownEvents",new Pe);s(this,"_outsidePointerEvents",new Pe);s(this,"_renders",new Pe);s(this,"_afterRenderRef");s(this,"_afterNextRenderRef");this._portalOutlet=e,this._host=t,this._pane=r,this._config=n,this._ngZone=a,this._keyboardDispatcher=i,this._document=o,this._location=l,this._outsideClickDispatcher=h,this._animationsDisabled=u,this._injector=c,this._renderer=m,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy,this._afterRenderRef=qu(()=>qg(()=>{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 r;!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(),(r=this._afterNextRenderRef)==null||r.destroy(),this._afterNextRenderRef=NH(()=>{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,r,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),(r=this._host)==null||r.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=ge(ge({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Kt(ge({},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=ut(this._config.width),e.height=ut(this._config.height),e.minWidth=ut(this._config.minWidth),e.minHeight=ut(this._config.minHeight),e.maxWidth=ut(this._config.maxWidth),e.maxHeight=ut(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 dW(this._document,this._renderer,this._ngZone,r=>{this._backdropClick.next(r)}),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 r;return(r=this._backdropRef)==null?void 0:r.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,r){let n=ks(t||[]).filter(a=>!!a);n.length&&(r?e.classList.add(...n):e.classList.remove(...n))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let e=this._renders.pipe(Fi(pf(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)}},Vp="cdk-overlay-connected-position-bounding-box",pW=/([A-Za-z%]+)$/,mW=class{constructor(e,t,r,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 Pe);s(this,"_resizeSubscription",Zt.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=r,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(Vp),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,r=this._viewportRect,n=this._containerRect,a=[],i;for(let o of this._preferredPositions){let l=this._getOriginPoint(e,n,o),h=this._getOverlayPoint(l,t,o),u=this._getOverlayFit(h,t,r,o);if(u.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(o,l);return}if(this._canFitWithFlexibleDimensions(u,h,r)){a.push({position:o,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,o)});continue}(!i||i.overlayFit.visibleArea<u.visibleArea)&&(i={overlayFit:u,overlayPoint:h,originPoint:l,position:o,overlayRect:t})}if(a.length){let o=null,l=-1;for(let h of a){let u=h.boundingBoxRect.width*h.boundingBoxRect.height*(h.position.weight||1);u>l&&(l=u,o=h)}this._isPushed=!1,this._applyPosition(o.position,o.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(i.position,i.originPoint);return}this._applyPosition(i.position,i.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Lr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Vp),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,r){let n;if(r.originX=="center")n=e.left+e.width/2;else{let i=this._isRtl()?e.right:e.left,o=this._isRtl()?e.left:e.right;n=r.originX=="start"?i:o}t.left<0&&(n-=t.left);let a;return r.originY=="center"?a=e.top+e.height/2:a=r.originY=="top"?e.top:e.bottom,t.top<0&&(a-=t.top),{x:n,y:a}}_getOverlayPoint(e,t,r){let n;r.overlayX=="center"?n=-t.width/2:r.overlayX==="start"?n=this._isRtl()?-t.width:0:n=this._isRtl()?0:-t.width;let a;return r.overlayY=="center"?a=-t.height/2:a=r.overlayY=="top"?0:-t.height,{x:e.x+n,y:e.y+a}}_getOverlayFit(e,t,r,n){let a=zp(t),{x:i,y:o}=e,l=this._getOffset(n,"x"),h=this._getOffset(n,"y");l&&(i+=l),h&&(o+=h);let u=0-i,c=i+a.width-r.width,m=0-o,b=o+a.height-r.height,g=this._subtractOverflows(a.width,u,c),w=this._subtractOverflows(a.height,m,b),x=g*w;return{visibleArea:x,isCompletelyWithinViewport:a.width*a.height===x,fitsInViewportVertically:w===a.height,fitsInViewportHorizontally:g==a.width}}_canFitWithFlexibleDimensions(e,t,r){if(this._hasFlexibleDimensions){let n=r.bottom-t.y,a=r.right-t.x,i=Bp(this._overlayRef.getConfig().minHeight),o=Bp(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||i!=null&&i<=n,h=e.fitsInViewportHorizontally||o!=null&&o<=a;return l&&h}return!1}_pushOverlayOnScreen(e,t,r){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let n=zp(t),a=this._viewportRect,i=Math.max(e.x+n.width-a.width,0),o=Math.max(e.y+n.height-a.height,0),l=Math.max(a.top-r.top-e.y,0),h=Math.max(a.left-r.left-e.x,0),u=0,c=0;return n.width<=a.width?u=h||-i:u=e.x<this._viewportMargin?a.left-r.left-e.x:0,n.height<=a.height?c=l||-o:c=e.y<this._viewportMargin?a.top-r.top-e.y:0,this._previousPushAmount={x:u,y:c},{x:e.x+u,y:e.y+c}}_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 r=this._getScrollVisibility();if(e!==this._lastPosition||!this._lastScrollVisibility||!fW(this._lastScrollVisibility,r)){let n=new lW(e,r);this._positionChanges.next(n)}this._lastScrollVisibility=r}this._lastPosition=e,this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;let t=this._boundingBox.querySelectorAll(this._transformOriginSelector),r,n=e.overlayY;e.overlayX==="center"?r="center":this._isRtl()?r=e.overlayX==="start"?"right":"left":r=e.overlayX==="start"?"left":"right";for(let a=0;a<t.length;a++)t[a].style.transformOrigin=`${r} ${n}`}_calculateBoundingBoxRect(e,t){let r=this._viewportRect,n=this._isRtl(),a,i,o;if(t.overlayY==="top")i=e.y,a=r.height-i+this._viewportMargin;else if(t.overlayY==="bottom")o=r.height-e.y+this._viewportMargin*2,a=r.height-o+this._viewportMargin;else{let b=Math.min(r.bottom-e.y+r.top,e.y),g=this._lastBoundingBoxSize.height;a=b*2,i=e.y-b,a>g&&!this._isInitialRender&&!this._growAfterOpen&&(i=e.y-g/2)}let l=t.overlayX==="start"&&!n||t.overlayX==="end"&&n,h=t.overlayX==="end"&&!n||t.overlayX==="start"&&n,u,c,m;if(h)m=r.width-e.x+this._viewportMargin*2,u=e.x-this._viewportMargin;else if(l)c=e.x,u=r.right-e.x;else{let b=Math.min(r.right-e.x+r.left,e.x),g=this._lastBoundingBoxSize.width;u=b*2,c=e.x-b,u>g&&!this._isInitialRender&&!this._growAfterOpen&&(c=e.x-g/2)}return{top:i,left:c,bottom:o,right:m,width:u,height:a}}_setBoundingBoxStyles(e,t){let r=this._calculateBoundingBoxRect(e,t);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.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,i=this._overlayRef.getConfig().maxWidth;n.height=ut(r.height),n.top=ut(r.top),n.bottom=ut(r.bottom),n.width=ut(r.width),n.left=ut(r.left),n.right=ut(r.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=ut(a)),i&&(n.maxWidth=ut(i))}this._lastBoundingBoxSize=r,Lr(this._boundingBox.style,n)}_resetBoundingBoxStyles(){Lr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Lr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){let r={},n=this._hasExactPosition(),a=this._hasFlexibleDimensions,i=this._overlayRef.getConfig();if(n){let u=this._viewportRuler.getViewportScrollPosition();Lr(r,this._getExactOverlayY(t,e,u)),Lr(r,this._getExactOverlayX(t,e,u))}else r.position="static";let o="",l=this._getOffset(t,"x"),h=this._getOffset(t,"y");l&&(o+=`translateX(${l}px) `),h&&(o+=`translateY(${h}px)`),r.transform=o.trim(),i.maxHeight&&(n?r.maxHeight=ut(i.maxHeight):a&&(r.maxHeight="")),i.maxWidth&&(n?r.maxWidth=ut(i.maxWidth):a&&(r.maxWidth="")),Lr(this._pane.style,r)}_getExactOverlayY(e,t,r){let n={top:"",bottom:""},a=this._getOverlayPoint(t,this._overlayRect,e);if(this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,r)),e.overlayY==="bottom"){let i=this._document.documentElement.clientHeight;n.bottom=`${i-(a.y+this._overlayRect.height)}px`}else n.top=ut(a.y);return n}_getExactOverlayX(e,t,r){let n={left:"",right:""},a=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,r));let i;if(this._isRtl()?i=e.overlayX==="end"?"left":"right":i=e.overlayX==="end"?"right":"left",i==="right"){let o=this._document.documentElement.clientWidth;n.right=`${o-(a.x+this._overlayRect.width)}px`}else n.left=ut(a.x);return n}_getScrollVisibility(){let e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),r=this._scrollables.map(n=>n.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Fp(e,r),isOriginOutsideView:ec(e,r),isOverlayClipped:Fp(t,r),isOverlayOutsideView:ec(t,r)}}_subtractOverflows(e,...t){return t.reduce((r,n)=>r-Math.max(n,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+e-this._viewportMargin,bottom:r.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&&ks(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 Xt)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let t=e.width||0,r=e.height||0;return{top:e.y,bottom:e.y+r,left:e.x,right:e.x+t,height:r,width:t}}};function Lr(e,t){for(let r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e}function Bp(e){if(typeof e!="number"&&e!=null){let[t,r]=e.split(pW);return!r||r==="px"?parseFloat(t):null}return e||null}function zp(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 fW(e,t){return e===t?!0:e.isOriginClipped===t.isOriginClipped&&e.isOriginOutsideView===t.isOriginOutsideView&&e.isOverlayClipped===t.isOverlayClipped&&e.isOverlayOutsideView===t.isOverlayOutsideView}var Hp="cdk-global-overlay-wrapper",gW=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(Hp),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,r=this._overlayRef.getConfig(),{width:n,height:a,maxWidth:i,maxHeight:o}=r,l=(n==="100%"||n==="100vw")&&(!i||i==="100%"||i==="100vw"),h=(a==="100%"||a==="100vh")&&(!o||o==="100%"||o==="100vh"),u=this._xPosition,c=this._xOffset,m=this._overlayRef.getConfig().direction==="rtl",b="",g="",w="";l?w="flex-start":u==="center"?(w="center",m?g=c:b=c):m?u==="left"||u==="end"?(w="flex-end",b=c):(u==="right"||u==="start")&&(w="flex-start",g=c):u==="left"||u==="start"?(w="flex-start",b=c):(u==="right"||u==="end")&&(w="flex-end",g=c),e.position=this._cssPosition,e.marginLeft=l?"0":b,e.marginTop=h?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":g,t.justifyContent=w,t.alignItems=h?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,r=t.style;t.classList.remove(Hp),r.justifyContent=r.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},vW=(()=>{const t=class t{constructor(){s(this,"_viewportRuler",D(rb));s(this,"_document",D(Le));s(this,"_platform",D($n));s(this,"_overlayContainer",D(lb))}global(){return new gW}flexibleConnectedTo(n){return new mW(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),bW=(()=>{const t=class t{constructor(){s(this,"scrollStrategies",D(sW));s(this,"_overlayContainer",D(lb));s(this,"_positionBuilder",D(vW));s(this,"_keyboardDispatcher",D(uW));s(this,"_injector",D(Mt));s(this,"_ngZone",D(je));s(this,"_document",D(Le));s(this,"_directionality",D(A6));s(this,"_location",D(b0));s(this,"_outsideClickDispatcher",D(cW));s(this,"_animationsModuleType",D(Yi,{optional:!0}));s(this,"_idGenerator",D(eb));s(this,"_renderer",D(Sn).createRenderer(null,null));s(this,"_appRef");s(this,"_styleLoader",D(ol))}create(n){this._styleLoader.load(sb);let a=this._createHostElement(),i=this._createPaneElement(a),o=this._createPortalOutlet(i),l=new ib(n);return l.direction=l.direction||this._directionality.value,new hW(o,a,i,l,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(Ln),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(Ir)),new eW(n,null,this._appRef,this._injector,this._document)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),yW=new Q("mat-mdc-dialog-default-options"),_W=new Q("MAT_BUTTON_CONFIG"),wW=[{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"]}],ub=(()=>{const t=class t{constructor(){s(this,"_elementRef",D(Xt));s(this,"_ngZone",D(je));s(this,"_animationMode",D(Yi,{optional:!0}));s(this,"_focusMonitor",D(w6));s(this,"_rippleLoader",D(Y6));s(this,"_isFab",!1);s(this,"color");s(this,"_disableRipple",!1);s(this,"_disabled",!1);s(this,"ariaDisabled");s(this,"disabledInteractive");var o;D(ol).load(j6);let n=D(_W,{optional:!0}),a=this._elementRef.nativeElement,i=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:h}of wW)a.hasAttribute(l)&&i.add(...h)}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",hr({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",oi],disabled:[2,"disabled","disabled",oi],ariaDisabled:[2,"aria-disabled","ariaDisabled",oi],disabledInteractive:[2,"disabledInteractive","disabledInteractive",oi]}}));let e=t;return e})(),xW=(()=>{const t=class t extends ub{constructor(){super(...arguments);s(this,"_renderer",D(Qs));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(i){return(a||(a=En(t)))(i||t)}})()),s(t,"ɵdir",hr({type:t,inputs:{tabIndex:[2,"tabIndex","tabIndex",a=>a==null?void 0:p0(a)]},features:[Tr]}));let e=t;return e})(),cb=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],db=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],EW=`.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)}
23
- `,SW=`@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}}
24
- `,kW=(()=>{const t=class t extends ub{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=En(t)))(a||t)}})()),s(t,"ɵcmp",It({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&&(Ha("disabled",a._getDisabledAttribute())("aria-disabled",a._getAriaDisabled()),fd(a.color?"mat-"+a.color:""),Dr("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:[Tr],ngContentSelectors:db,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&&($a(cb),Yt(0,"span",0),cn(1),ke(2,"span",1),cn(3,1),Ce(),cn(4,2),Yt(5,"span",2)(6,"span",3)),n&2&&Dr("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)}
14
+ `)}`:"",this.name="UnsubscriptionError",this.errors=t});function ns(e,t){if(e){let r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Yt=class lu{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:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let i of r)i.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(Ge(n))try{n()}catch(i){t=i instanceof bl?i.errors:[i]}let{_finalizers:a}=this;if(a){this._finalizers=null;for(let i of a)try{lh(i)}catch(o){t=t??[],o instanceof bl?t=[...t,...o.errors]:t.push(o)}}if(t)throw new bl(t)}}add(t){var r;if(t&&t!==this)if(this.closed)lh(t);else{if(t instanceof lu){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}}_hasParent(t){let{_parentage:r}=this;return r===t||Array.isArray(r)&&r.includes(t)}_addParent(t){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t}_removeParent(t){let{_parentage:r}=this;r===t?this._parentage=null:Array.isArray(r)&&ns(r,t)}remove(t){let{_finalizers:r}=this;r&&ns(r,t),t instanceof lu&&t._removeParent(this)}};Yt.EMPTY=(()=>{let e=new Yt;return e.closed=!0,e})();var Vm=Yt.EMPTY;function zm(e){return e instanceof Yt||e&&"closed"in e&&Ge(e.remove)&&Ge(e.add)&&Ge(e.unsubscribe)}function lh(e){Ge(e)?e():e.unsubscribe()}var D4={Promise:void 0},N4={setTimeout(e,t,...r){return setTimeout(e,t,...r)},clearTimeout(e){return clearTimeout(e)},delegate:void 0};function Bm(e){N4.setTimeout(()=>{throw e})}function uu(){}function Bo(e){e()}var gc=class extends Yt{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,zm(e)&&e.add(this)):this.destination=O4}static create(e,t,r){return new Ca(e,t,r)}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()}}},T4=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(r){go(r)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(r){go(r)}else go(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){go(t)}}},Ca=class extends gc{constructor(e,t,r){super();let n;Ge(e)||!e?n={next:e??void 0,error:t??void 0,complete:r??void 0}:n=e,this.destination=new T4(n)}};function go(e){Bm(e)}function M4(e){throw e}var O4={closed:!0,next:uu,error:M4,complete:uu},vc=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Fa(e){return e}function R4(e){return e.length===0?Fa:e.length===1?e[0]:function(t){return e.reduce((r,n)=>n(r),t)}}var Je=(()=>{class e{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new e;return n.source=this,n.operator=r,n}subscribe(r,n,a){let i=A4(r)?r:new Ca(r,n,a);return Bo(()=>{let{operator:o,source:l}=this;i.add(o?o.call(i,l):l?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=uh(n),new n((a,i)=>{let o=new Ca({next:l=>{try{r(l)}catch(h){i(h),o.unsubscribe()}},error:i,complete:a});this.subscribe(o)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[vc](){return this}pipe(...r){return R4(r)(this)}toPromise(r){return r=uh(r),new r((n,a)=>{let i;this.subscribe(o=>i=o,o=>a(o),()=>n(i))})}}return e.create=t=>new e(t),e})();function uh(e){var t;return(t=e??D4.Promise)!==null&&t!==void 0?t:Promise}function P4(e){return e&&Ge(e.next)&&Ge(e.error)&&Ge(e.complete)}function A4(e){return e&&e instanceof gc||P4(e)&&zm(e)}function L4(e){return Ge(e==null?void 0:e.lift)}function Pt(e){return t=>{if(L4(t))return t.lift(function(r){try{return e(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function It(e,t,r,n,a){return new F4(e,t,r,n,a)}var F4=class extends gc{constructor(e,t,r,n,a,i){super(e),this.onFinalize=a,this.shouldUnsubscribe=i,this._next=t?function(o){try{t(o)}catch(l){e.error(l)}}:super._next,this._error=n?function(o){try{n(o)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}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))}}},j4=fc(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}),Pe=(()=>{class e extends Je{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new ch(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new j4}next(r){Bo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){Bo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){Bo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:a,observers:i}=this;return n||a?Vm:(this.currentObservers=null,i.push(r),new Yt(()=>{this.currentObservers=null,ns(i,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:a,isStopped:i}=this;n?r.error(a):i&&r.complete()}asObservable(){let r=new Je;return r.source=this,r}}return e.create=(t,r)=>new ch(t,r),e})(),ch=class extends Pe{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,e)}error(e){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.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,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(e))!==null&&r!==void 0?r:Vm}},bc=class extends Pe{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:r}=this;if(e)throw t;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}},yc={now(){return(yc.delegate||Date).now()},delegate:void 0},_c=class extends Pe{constructor(e=1/0,t=1/0,r=yc){super(),this._bufferSize=e,this._windowTime=t,this._timestampProvider=r,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:r,_infiniteTimeWindow:n,_timestampProvider:a,_windowTime:i}=this;t||(r.push(e),!n&&r.push(a.now()+i)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(e),{_infiniteTimeWindow:r,_buffer:n}=this,a=n.slice();for(let i=0;i<a.length&&!e.closed;i+=r?1:2)e.next(a[i]);return this._checkFinalizedStatuses(e),t}_trimBuffer(){let{_bufferSize:e,_timestampProvider:t,_buffer:r,_infiniteTimeWindow:n}=this,a=(n?1:2)*e;if(e<1/0&&a<r.length&&r.splice(0,r.length-a),!n){let i=t.now(),o=0;for(let l=1;l<r.length&&r[l]<=i;l+=2)o=l;o&&r.splice(0,o+1)}}},V4=class extends Yt{constructor(e,t){super()}schedule(e,t=0){return this}},cu={setInterval(e,t,...r){let{delegate:n}=cu;return n!=null&&n.setInterval?n.setInterval(e,t,...r):setInterval(e,t,...r)},clearInterval(e){return clearInterval(e)},delegate:void 0},z4=class extends V4{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var r;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=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(a,this.id,t),this}requestAsyncId(e,t,r=0){return cu.setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,t,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return t;t!=null&&cu.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(e,t);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let r=!1,n;try{this.work(e)}catch(a){r=!0,n=a||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){let{id:e,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,ns(r,this),e!=null&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}},du=class Hm{constructor(t,r=Hm.now){this.schedulerActionCtor=t,this.now=r}schedule(t,r=0,n){return new this.schedulerActionCtor(this,t).schedule(n,r)}};du.now=yc.now;var B4=class extends du{constructor(e,t=du.now){super(e,t),this.actions=[],this._active=!1}flush(e){let{actions:t}=this;if(this._active){t.push(e);return}let r;this._active=!0;do if(r=e.execute(e.state,e.delay))break;while(e=t.shift());if(this._active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}}},wc=new B4(z4),H4=wc,qm=new Je(e=>e.complete());function $m(e){return e&&Ge(e.schedule)}function xc(e){return e[e.length-1]}function Gm(e){return Ge(xc(e))?e.pop():void 0}function Li(e){return $m(xc(e))?e.pop():void 0}function q4(e,t){return typeof xc(e)=="number"?e.pop():t}function $4(e,t,r,n){function a(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function l(c){try{u(n.next(c))}catch(m){o(m)}}function h(c){try{u(n.throw(c))}catch(m){o(m)}}function u(c){c.done?i(c.value):a(c.value).then(l,h)}u((n=n.apply(e,[])).next())})}function dh(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.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 ya(e){return this instanceof ya?(this.v=e,this):new ya(e)}function G4(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),a,i=[];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(w){return Promise.resolve(w).then(g,m)}}function l(g,w){n[g]&&(a[g]=function(x){return new Promise(function(S,N){i.push([g,x,S,N])>1||h(g,x)})},w&&(a[g]=w(a[g])))}function h(g,w){try{u(n[g](w))}catch(x){b(i[0][3],x)}}function u(g){g.value instanceof ya?Promise.resolve(g.value.v).then(c,m):b(i[0][2],g)}function c(g){h("next",g)}function m(g){h("throw",g)}function b(g,w){g(w),i.shift(),i.length&&h(i[0][0],i[0][1])}}function U4(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof dh=="function"?dh(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=e[i]&&function(o){return new Promise(function(l,h){o=e[i](o),a(l,h,o.done,o.value)})}}function a(i,o,l,h){Promise.resolve(h).then(function(u){i({value:u,done:l})},o)}}var Um=e=>e&&typeof e.length=="number"&&typeof e!="function";function Wm(e){return Ge(e==null?void 0:e.then)}function Zm(e){return Ge(e[vc])}function Ym(e){return Symbol.asyncIterator&&Ge(e==null?void 0:e[Symbol.asyncIterator])}function Km(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 W4(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Qm=W4();function Jm(e){return Ge(e==null?void 0:e[Qm])}function Xm(e){return G4(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:n}=yield ya(t.read());if(n)return yield ya(void 0);yield yield ya(r)}}finally{t.releaseLock()}})}function ef(e){return Ge(e==null?void 0:e.getReader)}function qt(e){if(e instanceof Je)return e;if(e!=null){if(Zm(e))return Z4(e);if(Um(e))return Y4(e);if(Wm(e))return K4(e);if(Ym(e))return tf(e);if(Jm(e))return Q4(e);if(ef(e))return J4(e)}throw Km(e)}function Z4(e){return new Je(t=>{let r=e[vc]();if(Ge(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Y4(e){return new Je(t=>{for(let r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()})}function K4(e){return new Je(t=>{e.then(r=>{t.closed||(t.next(r),t.complete())},r=>t.error(r)).then(null,Bm)})}function Q4(e){return new Je(t=>{for(let r of e)if(t.next(r),t.closed)return;t.complete()})}function tf(e){return new Je(t=>{X4(e,t).catch(r=>t.error(r))})}function J4(e){return tf(Xm(e))}function X4(e,t){var r,n,a,i;return $4(this,void 0,void 0,function*(){try{for(r=U4(e);n=yield r.next(),!n.done;){let o=n.value;if(t.next(o),t.closed)return}}catch(o){a={error:o}}finally{try{n&&!n.done&&(i=r.return)&&(yield i.call(r))}finally{if(a)throw a.error}}t.complete()})}function or(e,t,r,n=0,a=!1){let i=t.schedule(function(){r(),a?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(i),!a)return i}function nf(e,t=0){return Pt((r,n)=>{r.subscribe(It(n,a=>or(n,e,()=>n.next(a),t),()=>or(n,e,()=>n.complete(),t),a=>or(n,e,()=>n.error(a),t)))})}function rf(e,t=0){return Pt((r,n)=>{n.add(e.schedule(()=>r.subscribe(n),t))})}function e5(e,t){return qt(e).pipe(rf(t),nf(t))}function t5(e,t){return qt(e).pipe(rf(t),nf(t))}function n5(e,t){return new Je(r=>{let n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})})}function r5(e,t){return new Je(r=>{let n;return or(r,t,()=>{n=e[Qm](),or(r,t,()=>{let a,i;try{({value:a,done:i}=n.next())}catch(o){r.error(o);return}i?r.complete():r.next(a)},0,!0)}),()=>Ge(n==null?void 0:n.return)&&n.return()})}function af(e,t){if(!e)throw new Error("Iterable cannot be null");return new Je(r=>{or(r,t,()=>{let n=e[Symbol.asyncIterator]();or(r,t,()=>{n.next().then(a=>{a.done?r.complete():r.next(a.value)})},0,!0)})})}function a5(e,t){return af(Xm(e),t)}function i5(e,t){if(e!=null){if(Zm(e))return e5(e,t);if(Um(e))return n5(e,t);if(Wm(e))return t5(e,t);if(Ym(e))return af(e,t);if(Jm(e))return r5(e,t);if(ef(e))return a5(e,t)}throw Km(e)}function ea(e,t){return t?i5(e,t):qt(e)}function _t(...e){let t=Li(e);return ea(e,t)}function of(e,t){let r=Ge(e)?e:()=>e,n=a=>a.error(r());return new Je(n)}function di(e){return!!e&&(e instanceof Je||Ge(e.lift)&&Ge(e.subscribe))}var o5=fc(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function s5(e,t){return new Promise((r,n)=>{let a=new Ca({next:i=>{r(i),a.unsubscribe()},error:n,complete:()=>{n(new o5)}});e.subscribe(a)})}function l5(e){return e instanceof Date&&!isNaN(e)}function wt(e,t){return Pt((r,n)=>{let a=0;r.subscribe(It(n,i=>{n.next(e.call(t,i,a++))}))})}var{isArray:u5}=Array;function c5(e,t){return u5(t)?e(...t):e(t)}function sf(e){return wt(t=>c5(e,t))}var{isArray:d5}=Array,{getPrototypeOf:h5,prototype:p5,keys:m5}=Object;function lf(e){if(e.length===1){let t=e[0];if(d5(t))return{args:t,keys:null};if(f5(t)){let r=m5(t);return{args:r.map(n=>t[n]),keys:r}}}return{args:e,keys:null}}function f5(e){return e&&typeof e=="object"&&h5(e)===p5}function uf(e,t){return e.reduce((r,n,a)=>(r[n]=t[a],r),{})}function g5(...e){let t=Li(e),r=Gm(e),{args:n,keys:a}=lf(e);if(n.length===0)return ea([],t);let i=new Je(v5(n,t,a?o=>uf(a,o):Fa));return r?i.pipe(sf(r)):i}function v5(e,t,r=Fa){return n=>{hh(t,()=>{let{length:a}=e,i=new Array(a),o=a,l=a;for(let h=0;h<a;h++)hh(t,()=>{let u=ea(e[h],t),c=!1;u.subscribe(It(n,m=>{i[h]=m,c||(c=!0,l--),l||n.next(r(i.slice()))},()=>{--o||n.complete()}))},n)},n)}}function hh(e,t,r){e?or(r,e,t):t()}function b5(e,t,r,n,a,i,o,l){let h=[],u=0,c=0,m=!1,b=()=>{m&&!h.length&&!u&&t.complete()},g=x=>u<n?w(x):h.push(x),w=x=>{u++;let S=!1;qt(r(x,c++)).subscribe(It(t,N=>{t.next(N)},()=>{S=!0},void 0,()=>{if(S)try{for(u--;h.length&&u<n;){let N=h.shift();o?or(t,o,()=>w(N)):w(N)}b()}catch(N){t.error(N)}}))};return e.subscribe(It(t,g,()=>{m=!0,b()})),()=>{}}function bi(e,t,r=1/0){return Ge(t)?bi((n,a)=>wt((i,o)=>t(n,i,a,o))(qt(e(n,a))),r):(typeof t=="number"&&(r=t),Pt((n,a)=>b5(n,a,e,r)))}function cf(e=1/0){return bi(Fa,e)}function y5(){return cf(1)}function yi(...e){return y5()(ea(e,Li(e)))}function ph(e){return new Je(t=>{qt(e()).subscribe(t)})}function df(...e){let t=Gm(e),{args:r,keys:n}=lf(e),a=new Je(i=>{let{length:o}=r;if(!o){i.complete();return}let l=new Array(o),h=o,u=o;for(let c=0;c<o;c++){let m=!1;qt(r[c]).subscribe(It(i,b=>{m||(m=!0,u--),l[c]=b},()=>h--,void 0,()=>{(!h||!m)&&(u||i.next(n?uf(n,l):l),i.complete())}))}});return t?a.pipe(sf(t)):a}function _5(e=0,t,r=H4){let n=-1;return t!=null&&($m(t)?r=t:n=t),new Je(a=>{let i=l5(e)?+e-r.now():e;i<0&&(i=0);let o=0;return r.schedule(function(){a.closed||(a.next(o++),0<=n?this.schedule(void 0,n):a.complete())},i)})}function hf(...e){let t=Li(e),r=q4(e,1/0),n=e;return n.length?n.length===1?qt(n[0]):cf(r)(ea(n,t)):qm}function Bs(e,t){return Pt((r,n)=>{let a=0;r.subscribe(It(n,i=>e.call(t,i,a++)&&n.next(i)))})}function w5(e){return Pt((t,r)=>{let n=!1,a=null,i=null,o=!1,l=()=>{if(i==null||i.unsubscribe(),i=null,n){n=!1;let u=a;a=null,r.next(u)}o&&r.complete()},h=()=>{i=null,o&&r.complete()};t.subscribe(It(r,u=>{n=!0,a=u,i||qt(e(u)).subscribe(i=It(r,l,h))},()=>{o=!0,(!n||!i||i.closed)&&r.complete()}))})}function pf(e,t=wc){return w5(()=>_5(e,t))}function Hs(e){return Pt((t,r)=>{let n=null,a=!1,i;n=t.subscribe(It(r,void 0,void 0,o=>{i=qt(e(o,Hs(e)(t))),n?(n.unsubscribe(),n=null,i.subscribe(r)):a=!0})),a&&(n.unsubscribe(),n=null,i.subscribe(r))})}function mf(e,t){return Ge(t)?bi(e,t,1):bi(e,1)}function x5(e,t=wc){return Pt((r,n)=>{let a=null,i=null,o=null,l=()=>{if(a){a.unsubscribe(),a=null;let u=i;i=null,n.next(u)}};function h(){let u=o+e,c=t.now();if(c<u){a=this.schedule(void 0,u-c),n.add(a);return}l()}r.subscribe(It(n,u=>{i=u,o=t.now(),a||(a=t.schedule(h,e),n.add(a))},()=>{l(),n.complete()},void 0,()=>{i=a=null}))})}function rr(e){return e<=0?()=>qm:Pt((t,r)=>{let n=0;t.subscribe(It(r,a=>{++n<=e&&(r.next(a),e<=n&&r.complete())}))})}function E5(e,t=Fa){return e=e??S5,Pt((r,n)=>{let a,i=!0;r.subscribe(It(n,o=>{let l=t(o);(i||!e(a,l))&&(i=!1,a=l,n.next(o))}))})}function S5(e,t){return e===t}function ff(e){return Pt((t,r)=>{try{t.subscribe(r)}finally{r.add(e)}})}function gf(e={}){let{connector:t=()=>new Pe,resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:a=!0}=e;return i=>{let o,l,h,u=0,c=!1,m=!1,b=()=>{l==null||l.unsubscribe(),l=void 0},g=()=>{b(),o=h=void 0,c=m=!1},w=()=>{let x=o;g(),x==null||x.unsubscribe()};return Pt((x,S)=>{u++,!m&&!c&&b();let N=h=h??t();S.add(()=>{u--,u===0&&!m&&!c&&(l=yl(w,a))}),N.subscribe(S),!o&&u>0&&(o=new Ca({next:L=>N.next(L),error:L=>{m=!0,b(),l=yl(g,r,L),N.error(L)},complete:()=>{c=!0,b(),l=yl(g,n),N.complete()}}),qt(x).subscribe(o))})(i)}}function yl(e,t,...r){if(t===!0){e();return}if(t===!1)return;let n=new Ca({next:()=>{n.unsubscribe(),e()}});return qt(t(...r)).subscribe(n)}function mh(e,t,r){let n;return n=e,gf({connector:()=>new _c(n,t,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:!1})}function vf(e){return Bs((t,r)=>e<=r)}function bf(...e){let t=Li(e);return Pt((r,n)=>{(t?yi(e,r,t):yi(e,r)).subscribe(n)})}function rs(e,t){return Pt((r,n)=>{let a=null,i=0,o=!1,l=()=>o&&!a&&n.complete();r.subscribe(It(n,h=>{a==null||a.unsubscribe();let u=0,c=i++;qt(e(h,c)).subscribe(a=It(n,m=>n.next(t?t(h,m,c,u++):m),()=>{a=null,l()}))},()=>{o=!0,l()}))})}function Fi(e){return Pt((t,r)=>{qt(e).subscribe(It(r,()=>r.complete(),uu)),!r.closed&&t.subscribe(r)})}function Ho(e,t,r){let n=Ge(e)||t||r?{next:e,error:t,complete:r}:e;return n?Pt((a,i)=>{var o;(o=n.subscribe)===null||o===void 0||o.call(n);let l=!0;a.subscribe(It(i,h=>{var u;(u=n.next)===null||u===void 0||u.call(n,h),i.next(h)},()=>{var h;l=!1,(h=n.complete)===null||h===void 0||h.call(n),i.complete()},h=>{var u;l=!1,(u=n.error)===null||u===void 0||u.call(n,h),i.error(h)},()=>{var h,u;l&&((h=n.unsubscribe)===null||h===void 0||h.call(n)),(u=n.finalize)===null||u===void 0||u.call(n)}))}):Fa}var yf="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",U=class extends Error{constructor(t,r){super(C5(t,r));s(this,"code");this.code=t}};function k5(e){return`NG0${Math.abs(e)}`}function C5(e,t){return`${k5(e)}${t?": "+t:""}`}var _f=Symbol("InputSignalNode#UNSET"),I5=Qt(ge({},k4),{transformFn:void 0,applyValueToInputSignal(e,t){S4(e,t)}});function wf(e,t){let r=Object.create(I5);r.value=e,r.transformFn=t==null?void 0:t.transform;function n(){if(Dm(r),r.value===_f){let a=null;throw new U(-950,a)}return r.value}return n[mc]=r,n}function ji(e){return{toString:e}.toString()}var vo="__parameters__";function D5(e){return function(...t){}}function xf(e,t,r){return ji(()=>{let n=D5();function a(...i){if(this instanceof a)return n.apply(this,i),this;let o=new a(...i);return l.annotation=o,l;function l(h,u,c){let m=h.hasOwnProperty(vo)?h[vo]:Object.defineProperty(h,vo,{value:[]})[vo];for(;m.length<=c;)m.push(null);return(m[c]=m[c]||[]).push(o),h}}return a.prototype.ngMetadataName=e,a.annotationCls=a,a})}var pa=globalThis;function Ue(e){for(let t in e)if(e[t]===Ue)return t;throw Error("Could not find renamed property on target object.")}function N5(e,t){for(let r in t)t.hasOwnProperty(r)&&!e.hasOwnProperty(r)&&(e[r]=t[r])}function un(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(un).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let r=e.toString();if(r==null)return""+r;let n=r.indexOf(`
15
+ `);return n>=0?r.slice(0,n):r}function hu(e,t){return e?t?`${e} ${t}`:e:t||""}var T5=Ue({__forward_ref__:Ue});function Ef(e){return e.__forward_ref__=Ef,e.toString=function(){return un(this())},e}function Ft(e){return Sf(e)?e():e}function Sf(e){return typeof e=="function"&&e.hasOwnProperty(T5)&&e.__forward_ref__===Ef}function $(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function kf(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ec(e){return fh(e,Cf)||fh(e,If)}function fh(e,t){return e.hasOwnProperty(t)?e[t]:null}function M5(e){return e&&(e[Cf]||e[If])||null}function gh(e){return e&&(e.hasOwnProperty(vh)||e.hasOwnProperty(O5))?e[vh]:null}var Cf=Ue({ɵprov:Ue}),vh=Ue({ɵinj:Ue}),If=Ue({ngInjectableDef:Ue}),O5=Ue({ngInjectorDef:Ue}),Q=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=$({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Df(e){return e&&!!e.ɵproviders}var R5=Ue({ɵcmp:Ue}),P5=Ue({ɵdir:Ue}),A5=Ue({ɵpipe:Ue}),as=Ue({ɵfac:Ue}),hi=Ue({__NG_ELEMENT_ID__:Ue}),bh=Ue({__NG_ENV_ID__:Ue});function _i(e){return typeof e=="string"?e:e==null?"":String(e)}function L5(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():_i(e)}function Nf(e,t){throw new U(-200,e)}function Sc(e,t){throw new U(-201,!1)}var be=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}(be||{}),pu;function Tf(){return pu}function zt(e){let t=pu;return pu=e,t}function Mf(e,t,r){let n=Ec(e);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&be.Optional)return null;if(t!==void 0)return t;Sc()}var F5={},Gr=F5,mu="__NG_DI_FLAG__",Of=class{constructor(e){s(this,"injector");this.injector=e}retrieve(e,t){let r=t;return this.injector.get(e,r.optional?jm:Gr,r)}},is="ngTempTokenPath",j5="ngTokenPath",V5=/\n/gm,z5="ɵ",yh="__source";function B5(e,t=be.Default){if(zo()===void 0)throw new U(-203,!1);if(zo()===null)return Mf(e,void 0,t);{let r=zo(),n;return r instanceof Of?n=r.injector:n=r,n.get(e,t&be.Optional?null:void 0,t)}}function ee(e,t=be.Default){return(Tf()||B5)(Ft(e),t)}function D(e,t=be.Default){return ee(e,qs(t))}function qs(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function fu(e){let t=[];for(let r=0;r<e.length;r++){let n=Ft(e[r]);if(Array.isArray(n)){if(n.length===0)throw new U(900,!1);let a,i=be.Default;for(let o=0;o<n.length;o++){let l=n[o],h=H5(l);typeof h=="number"?h===-1?a=l.token:i|=h:a=l}t.push(ee(a,i))}else t.push(ee(n))}return t}function Rf(e,t){return e[mu]=t,e.prototype[mu]=t,e}function H5(e){return e[mu]}function q5(e,t,r,n){let a=e[is];throw t[yh]&&a.unshift(t[yh]),e.message=$5(`
16
+ `+e.message,a,r,n),e[j5]=a,e[is]=null,e}function $5(e,t,r,n=null){e=e&&e.charAt(0)===`
17
+ `&&e.charAt(1)==z5?e.slice(2):e;let a=un(t);if(Array.isArray(t))a=t.map(un).join(" -> ");else if(typeof t=="object"){let i=[];for(let o in t)if(t.hasOwnProperty(o)){let l=t[o];i.push(o+":"+(typeof l=="string"?JSON.stringify(l):un(l)))}a=`{${i.join(", ")}}`}return`${r}${n?"("+n+")":""}[${a}]: ${e.replace(V5,`
18
+ `)}`}var G5=Rf(xf("Optional"),8),U5=Rf(xf("SkipSelf"),4);function Ur(e,t){return e.hasOwnProperty(as)?e[as]:null}function W5(e,t,r){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let a=e[n],i=t[n];if(r&&(a=r(a),i=r(i)),i!==a)return!1}return!0}function Z5(e){return e.flat(Number.POSITIVE_INFINITY)}function kc(e,t){e.forEach(r=>Array.isArray(r)?kc(r,t):t(r))}function Pf(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function os(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Y5(e,t){let r=[];for(let n=0;n<e;n++)r.push(t);return r}function K5(e,t,r,n){let a=e.length;if(a==t)e.push(r,n);else if(a===1)e.push(n,e[0]),e[0]=r;else{for(a--,e.push(e[a-1],e[a]);a>t;){let i=a-2;e[a]=e[i],a--}e[t]=r,e[t+1]=n}}function Cc(e,t,r){let n=Vi(e,t);return n>=0?e[n|1]=r:(n=~n,K5(e,n,t,r)),n}function _l(e,t){let r=Vi(e,t);if(r>=0)return e[r|1]}function Vi(e,t){return Q5(e,t,1)}function Q5(e,t,r){let n=0,a=e.length>>r;for(;a!==n;){let i=n+(a-n>>1),o=e[i<<r];if(t===o)return i<<r;o>t?a=i:n=i+1}return~(a<<r)}var Wr={},Bt=[],ss=new Q(""),Af=new Q("",-1),Lf=new Q(""),Ff=class{get(e,t=Gr){if(t===Gr){let r=new Error(`NullInjectorError: No provider for ${un(e)}!`);throw r.name="NullInjectorError",r}return t}};function Ia(e){return e[R5]||null}function J5(e){return e[P5]||null}function X5(e){return e[A5]||null}function Ic(e){return{ɵproviders:e}}function e9(...e){return{ɵproviders:jf(!0,e),ɵfromNgModule:!0}}function jf(e,...t){let r=[],n=new Set,a,i=o=>{r.push(o)};return kc(t,o=>{let l=o;gu(l,i,[],n)&&(a||(a=[]),a.push(l))}),a!==void 0&&Vf(a,i),r}function Vf(e,t){for(let r=0;r<e.length;r++){let{ngModule:n,providers:a}=e[r];Dc(a,i=>{t(i,n)})}}function gu(e,t,r,n){if(e=Ft(e),!e)return!1;let a=null,i=gh(e),o=!i&&Ia(e);if(!i&&!o){let h=e.ngModule;if(i=gh(h),i)a=h;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 h=typeof o.dependencies=="function"?o.dependencies():o.dependencies;for(let u of h)gu(u,t,r,n)}}else if(i){if(i.imports!=null&&!l){n.add(a);let u;try{kc(i.imports,c=>{gu(c,t,r,n)&&(u||(u=[]),u.push(c))})}finally{}u!==void 0&&Vf(u,t)}if(!l){let u=Ur(a)||(()=>new a);t({provide:a,useFactory:u,deps:Bt},a),t({provide:Lf,useValue:a,multi:!0},a),t({provide:ss,useValue:()=>ee(a),multi:!0},a)}let h=i.providers;if(h!=null&&!l){let u=e;Dc(h,c=>{t(c,u)})}}else return!1;return a!==e&&e.providers!==void 0}function Dc(e,t){for(let r of e)Df(r)&&(r=r.ɵproviders),Array.isArray(r)?Dc(r,t):t(r)}var t9=Ue({provide:String,useValue:Ue});function zf(e){return e!==null&&typeof e=="object"&&t9 in e}function n9(e){return!!(e&&e.useExisting)}function r9(e){return!!(e&&e.useFactory)}function Da(e){return typeof e=="function"}function a9(e){return!!e.useClass}var Nc=new Q(""),qo={},_h={},wl;function $s(){return wl===void 0&&(wl=new Ff),wl}var Ln=class{},Tc=class extends Ln{constructor(t,r,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=r,this.source=n,this.scopes=a,bu(t,o=>this.processProvider(o)),this.records.set(Af,ma(void 0,this)),a.has("environment")&&this.records.set(Ln,ma(void 0,this));let i=this.records.get(Nc);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Lf,Bt,be.Self))}get destroyed(){return this._destroyed}retrieve(t,r){let n=r;return this.get(t,n.optional?jm:Gr,n)}destroy(){ii(this),this._destroyed=!0;let t=xe(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),xe(t)}}onDestroy(t){return ii(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){ii(this);let r=vr(this),n=zt(void 0);try{return t()}finally{vr(r),zt(n)}}get(t,r=Gr,n=be.Default){if(ii(this),t.hasOwnProperty(bh))return t[bh](this);n=qs(n);let a=vr(this),i=zt(void 0);try{if(!(n&be.SkipSelf)){let l=this.records.get(t);if(l===void 0){let h=u9(t)&&Ec(t);h&&this.injectableDefInScope(h)?l=ma(vu(t),qo):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,n)}let o=n&be.Self?$s():this.parent;return r=n&be.Optional&&r===Gr?null:r,o.get(t,r)}catch(o){if(o.name==="NullInjectorError"){if((o[is]=o[is]||[]).unshift(un(t)),a)throw o;return q5(o,t,"R3InjectorError",this.source)}else throw o}finally{zt(i),vr(a)}}resolveInjectorInitializers(){let t=xe(null),r=vr(this),n=zt(void 0);try{let a=this.get(ss,Bt,be.Self);for(let i of a)i()}finally{vr(r),zt(n),xe(t)}}toString(){let t=[],r=this.records;for(let n of r.keys())t.push(un(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Ft(t);let r=Da(t)?t:Ft(t&&t.provide),n=o9(t);if(!Da(t)&&t.multi===!0){let a=this.records.get(r);a||(a=ma(void 0,qo,!0),a.factory=()=>fu(a.multi),this.records.set(r,a)),r=t,a.multi.push(t)}this.records.set(r,n)}hydrate(t,r,n){let a=xe(null);try{return r.value===_h?Nf(un(t)):r.value===qo&&(r.value=_h,r.value=r.factory(void 0,n)),typeof r.value=="object"&&r.value&&l9(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{xe(a)}}injectableDefInScope(t){if(!t.providedIn)return!1;let r=Ft(t.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(t){let r=this._onDestroyHooks.indexOf(t);r!==-1&&this._onDestroyHooks.splice(r,1)}};function vu(e){let t=Ec(e),r=t!==null?t.factory:Ur(e);if(r!==null)return r;if(e instanceof Q)throw new U(204,!1);if(e instanceof Function)return i9(e);throw new U(204,!1)}function i9(e){if(e.length>0)throw new U(204,!1);let t=M5(e);return t!==null?()=>t.factory(e):()=>new e}function o9(e){if(zf(e))return ma(void 0,e.useValue);{let t=Bf(e);return ma(t,qo)}}function Bf(e,t,r){let n;if(Da(e)){let a=Ft(e);return Ur(a)||vu(a)}else if(zf(e))n=()=>Ft(e.useValue);else if(r9(e))n=()=>e.useFactory(...fu(e.deps||[]));else if(n9(e))n=(a,i)=>ee(Ft(e.useExisting),i!==void 0&&i&be.Optional?be.Optional:void 0);else{let a=Ft(e&&(e.useClass||e.provide));if(s9(e))n=()=>new a(...fu(e.deps));else return Ur(a)||vu(a)}return n}function ii(e){if(e.destroyed)throw new U(205,!1)}function ma(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function s9(e){return!!e.deps}function l9(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function u9(e){return typeof e=="function"||typeof e=="object"&&e instanceof Q}function bu(e,t){for(let r of e)Array.isArray(r)?bu(r,t):r&&Df(r)?bu(r.ɵproviders,t):t(r)}function Mc(e,t){let r;e instanceof Tc?(ii(e),r=e):r=new Of(e);let n=vr(r),a=zt(void 0);try{return t()}finally{vr(n),zt(a)}}function Hf(){return Tf()!==void 0||zo()!=null}function Oc(e){if(!Hf())throw new U(-203,!1)}function c9(e){return typeof e=="function"}var ur=0,le=1,oe=2,Rt=3,wn=4,$t=5,Na=6,_a=7,xt=8,Ta=9,Cr=10,ft=11,wi=12,wh=13,ja=14,hn=15,Zr=16,fa=17,xn=18,Gs=19,qf=20,Er=21,xl=22,ls=23,cn=24,Sr=25,gt=26,$f=1,Yr=7,us=8,Ma=9,Mt=10;function kr(e){return Array.isArray(e)&&typeof e[$f]=="object"}function cr(e){return Array.isArray(e)&&e[$f]===!0}function Gf(e){return(e.flags&4)!==0}function Va(e){return e.componentOffset>-1}function Rc(e){return(e.flags&1)===1}function Fn(e){return!!e.template}function cs(e){return(e[oe]&512)!==0}function za(e){return(e[oe]&256)===256}var d9=class{constructor(e,t,r){s(this,"previousValue");s(this,"currentValue");s(this,"firstChange");this.previousValue=e,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}};function Uf(e,t,r,n){t!==null?t.applyValueToInputSignal(t,n):e[r]=n}var h9=(()=>{let e=()=>Wf;return e.ngInherit=!0,e})();function Wf(e){return e.type.prototype.ngOnChanges&&(e.setInput=m9),p9}function p9(){let e=Yf(this),t=e==null?void 0:e.current;if(t){let r=e.previous;if(r===Wr)e.previous=t;else for(let n in t)r[n]=t[n];e.current=null,this.ngOnChanges(t)}}function m9(e,t,r,n,a){let i=this.declaredInputs[n],o=Yf(e)||f9(e,{previous:Wr,current:null}),l=o.current||(o.current={}),h=o.previous,u=h[i];l[i]=new d9(u&&u.currentValue,r,h===Wr),Uf(e,t,a,r)}var Zf="__ngSimpleChanges__";function Yf(e){return e[Zf]||null}function f9(e,t){return e[Zf]=t}var Kr=function(e,t=null,r){},g9="svg",v9="math";function jn(e){for(;Array.isArray(e);)e=e[ur];return e}function Kf(e,t){return jn(t[e])}function zn(e,t){return jn(t[e.index])}function Pc(e,t){return e.data[t]}function Ac(e,t){return e[t]}function Lc(e,t,r,n){r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=n}function Vn(e,t){let r=t[e];return kr(r)?r:r[ur]}function b9(e){return(e[oe]&4)===4}function Fc(e){return(e[oe]&128)===128}function y9(e){return cr(e[Rt])}function xi(e,t){return t==null?null:e[t]}function Qf(e){e[fa]=0}function jc(e){e[oe]&1024||(e[oe]|=1024,Fc(e)&&Bi(e))}function _9(e,t){for(;e>0;)t=t[ja],e--;return t}function zi(e){var t;return!!(e[oe]&9216||(t=e[cn])!=null&&t.dirty)}function yu(e){var t;(t=e[Cr].changeDetectionScheduler)==null||t.notify(8),e[oe]&64&&(e[oe]|=1024),zi(e)&&Bi(e)}function Bi(e){var r;(r=e[Cr].changeDetectionScheduler)==null||r.notify(0);let t=Qr(e);for(;t!==null&&!(t[oe]&8192||(t[oe]|=8192,!Fc(t)));)t=Qr(t)}function Jf(e,t){if(za(e))throw new U(911,!1);e[Er]===null&&(e[Er]=[]),e[Er].push(t)}function w9(e,t){if(e[Er]===null)return;let r=e[Er].indexOf(t);r!==-1&&e[Er].splice(r,1)}function Qr(e){let t=e[Rt];return cr(t)?t[Rt]:t}function Vc(e){return e[_a]??(e[_a]=[])}function zc(e){return e.cleanup??(e.cleanup=[])}function x9(e,t,r,n){let a=Vc(t);a.push(r),e.firstCreatePass&&zc(e).push(n,a.length-1)}var me={lFrame:ug(null),bindingsEnabled:!0,skipHydrationRootTNode:null},_u=!1;function E9(){return me.lFrame.elementDepthCount}function S9(){me.lFrame.elementDepthCount++}function k9(){me.lFrame.elementDepthCount--}function C9(){return me.bindingsEnabled}function Xf(){return me.skipHydrationRootTNode!==null}function I9(e){return me.skipHydrationRootTNode===e}function D9(){me.skipHydrationRootTNode=null}function he(){return me.lFrame.lView}function bt(){return me.lFrame.tView}function eg(e){return me.lFrame.contextLView=e,e[xt]}function tg(e){return me.lFrame.contextLView=null,e}function Xt(){let e=ng();for(;e!==null&&e.type===64;)e=e.parent;return e}function ng(){return me.lFrame.currentTNode}function N9(){let e=me.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ba(e,t){let r=me.lFrame;r.currentTNode=e,r.isParent=t}function rg(){return me.lFrame.isParent}function ag(){me.lFrame.isParent=!1}function T9(){return me.lFrame.contextLView}function ig(){return _u}function xh(e){let t=_u;return _u=e,t}function Hi(){let e=me.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function M9(){return me.lFrame.bindingIndex}function O9(e){return me.lFrame.bindingIndex=e}function qi(){return me.lFrame.bindingIndex++}function Bc(e){let t=me.lFrame,r=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,r}function R9(){return me.lFrame.inI18n}function P9(e,t){let r=me.lFrame;r.bindingIndex=r.bindingRootIndex=e,wu(t)}function A9(){return me.lFrame.currentDirectiveIndex}function wu(e){me.lFrame.currentDirectiveIndex=e}function L9(e){let t=me.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function og(){return me.lFrame.currentQueryIndex}function Hc(e){me.lFrame.currentQueryIndex=e}function F9(e){let t=e[le];return t.type===2?t.declTNode:t.type===1?e[$t]:null}function sg(e,t,r){if(r&be.SkipSelf){let a=t,i=e;for(;(a=a.parent,a===null&&!(r&be.Host))&&(a=F9(i),!(a===null||(i=i[ja],a.type&10))););if(a===null)return!1;t=a,e=i}let n=me.lFrame=lg();return n.currentTNode=t,n.lView=e,!0}function qc(e){let t=lg(),r=e[le];me.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex,t.inI18n=!1}function lg(){let e=me.lFrame,t=e===null?null:e.child;return t===null?ug(e):t}function ug(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 cg(){let e=me.lFrame;return me.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var dg=cg;function $c(){let e=cg();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 j9(e){return(me.lFrame.contextLView=_9(e,me.lFrame.contextLView))[xt]}function Bn(){return me.lFrame.selectedIndex}function Jr(e){me.lFrame.selectedIndex=e}function hg(){let e=me.lFrame;return Pc(e.tView,e.selectedIndex)}function V9(){return me.lFrame.currentNamespace}var pg=!0;function Gc(){return pg}function Uc(e){pg=e}function z9(e,t,r){let{ngOnChanges:n,ngOnInit:a,ngDoCheck:i}=t.type.prototype;if(n){let o=Wf(t);(r.preOrderHooks??(r.preOrderHooks=[])).push(e,o),(r.preOrderCheckHooks??(r.preOrderCheckHooks=[])).push(e,o)}a&&(r.preOrderHooks??(r.preOrderHooks=[])).push(0-e,a),i&&((r.preOrderHooks??(r.preOrderHooks=[])).push(e,i),(r.preOrderCheckHooks??(r.preOrderCheckHooks=[])).push(e,i))}function mg(e,t){for(let r=t.directiveStart,n=t.directiveEnd;r<n;r++){let a=e.data[r].type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:o,ngAfterViewInit:l,ngAfterViewChecked:h,ngOnDestroy:u}=a;i&&(e.contentHooks??(e.contentHooks=[])).push(-r,i),o&&((e.contentHooks??(e.contentHooks=[])).push(r,o),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(r,o)),l&&(e.viewHooks??(e.viewHooks=[])).push(-r,l),h&&((e.viewHooks??(e.viewHooks=[])).push(r,h),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(r,h)),u!=null&&(e.destroyHooks??(e.destroyHooks=[])).push(r,u)}}function $o(e,t,r){fg(e,t,3,r)}function Go(e,t,r,n){(e[oe]&3)===r&&fg(e,t,r,n)}function El(e,t){let r=e[oe];(r&3)===t&&(r&=16383,r+=1,e[oe]=r)}function fg(e,t,r,n){let a=n!==void 0?e[fa]&65535:0,i=n??-1,o=t.length-1,l=0;for(let h=a;h<o;h++)if(typeof t[h+1]=="number"){if(l=t[h],n!=null&&l>=n)break}else t[h]<0&&(e[fa]+=65536),(l<i||i==-1)&&(B9(e,r,t,h),e[fa]=(e[fa]&4294901760)+h+2),h++}function Eh(e,t){let r=xe(null);try{t.call(e)}finally{xe(r)}}function B9(e,t,r,n){let a=r[n]<0,i=r[n+1],o=a?-r[n]:r[n],l=e[o];a?e[oe]>>14<e[fa]>>16&&(e[oe]&3)===t&&(e[oe]+=16384,Eh(l,i)):Eh(l,i)}var wa=-1,$i=class{constructor(e,t,r){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=r}};function H9(e){return(e.flags&8)!==0}function q9(e){return(e.flags&16)!==0}function $9(e,t,r){let n=0;for(;n<r.length;){let a=r[n];if(typeof a=="number"){if(a!==0)break;n++;let i=r[n++],o=r[n++],l=r[n++];e.setAttribute(t,o,l,i)}else{let i=a,o=r[++n];G9(i)?e.setProperty(t,i,o):e.setAttribute(t,i,o),n++}}return n}function gg(e){return e===3||e===4||e===6}function G9(e){return e.charCodeAt(0)===64}function Ei(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let r=-1;for(let n=0;n<t.length;n++){let a=t[n];typeof a=="number"?r=a:r===0||(r===-1||r===2?Sh(e,r,a,null,t[++n]):Sh(e,r,a,null,null))}}return e}function Sh(e,t,r,n,a){let i=0,o=e.length;if(t===-1)o=-1;else for(;i<e.length;){let l=e[i++];if(typeof l=="number"){if(l===t){o=-1;break}else if(l>t){o=i-1;break}}}for(;i<e.length;){let l=e[i];if(typeof l=="number")break;if(l===r){a!==null&&(e[i+1]=a);return}i++,a!==null&&i++}o!==-1&&(e.splice(o,0,t),i=o+1),e.splice(i++,0,r),a!==null&&e.splice(i++,0,a)}function vg(e){return e!==wa}function ds(e){return e&32767}function U9(e){return e>>16}function hs(e,t){let r=U9(e),n=t;for(;r>0;)n=n[ja],r--;return n}var xu=!0;function ps(e){let t=xu;return xu=e,t}var W9=256,bg=W9-1,yg=5,Z9=0,An={};function Y9(e,t,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(hi)&&(n=r[hi]),n==null&&(n=r[hi]=Z9++);let a=n&bg,i=1<<a;t.data[e+(a>>yg)]|=i}function ms(e,t){let r=_g(e,t);if(r!==-1)return r;let n=t[le];n.firstCreatePass&&(e.injectorIndex=t.length,Sl(n.data,e),Sl(t,null),Sl(n.blueprint,null));let a=Wc(e,t),i=e.injectorIndex;if(vg(a)){let o=ds(a),l=hs(a,t),h=l[le].data;for(let u=0;u<8;u++)t[i+u]=l[o+u]|h[o+u]}return t[i+8]=a,i}function Sl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function _g(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Wc(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let r=0,n=null,a=t;for(;a!==null;){if(n=kg(a),n===null)return wa;if(r++,a=a[ja],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return wa}function Eu(e,t,r){Y9(e,t,r)}function K9(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let r=e.attrs;if(r){let n=r.length,a=0;for(;a<n;){let i=r[a];if(gg(i))break;if(i===0)a=a+2;else if(typeof i=="number")for(a++;a<n&&typeof r[a]=="string";)a++;else{if(i===t)return r[a+1];a=a+2}}}return null}function wg(e,t,r){if(r&be.Optional||e!==void 0)return e;Sc()}function xg(e,t,r,n){if(r&be.Optional&&n===void 0&&(n=null),(r&(be.Self|be.Host))===0){let a=e[Ta],i=zt(void 0);try{return a?a.get(t,n,r&be.Optional):Mf(t,n,r&be.Optional)}finally{zt(i)}}return wg(n,t,r)}function Eg(e,t,r,n=be.Default,a){if(e!==null){if(t[oe]&2048&&!(n&be.Self)){let o=eH(e,t,r,n,An);if(o!==An)return o}let i=Sg(e,t,r,n,An);if(i!==An)return i}return xg(t,r,n,a)}function Sg(e,t,r,n,a){let i=J9(r);if(typeof i=="function"){if(!sg(t,e,n))return n&be.Host?wg(a,r,n):xg(t,r,n,a);try{let o;if(o=i(n),o==null&&!(n&be.Optional))Sc(r);else return o}finally{dg()}}else if(typeof i=="number"){let o=null,l=_g(e,t),h=wa,u=n&be.Host?t[hn][$t]:null;for((l===-1||n&be.SkipSelf)&&(h=l===-1?Wc(e,t):t[l+8],h===wa||!Ch(n,!1)?l=-1:(o=t[le],l=ds(h),t=hs(h,t)));l!==-1;){let c=t[le];if(kh(i,l,c.data)){let m=Q9(l,t,r,o,n,u);if(m!==An)return m}h=t[l+8],h!==wa&&Ch(n,t[le].data[l+8]===u)&&kh(i,l,t)?(o=c,l=ds(h),t=hs(h,t)):l=-1}}return a}function Q9(e,t,r,n,a,i){let o=t[le],l=o.data[e+8],h=n==null?Va(l)&&xu:n!=o&&(l.type&3)!==0,u=a&be.Host&&i===l,c=Uo(l,o,r,h,u);return c!==null?Si(t,o,c,l,a):An}function Uo(e,t,r,n,a){let i=e.providerIndexes,o=t.data,l=i&1048575,h=e.directiveStart,u=e.directiveEnd,c=i>>20,m=n?l:l+c,b=a?l+c:u;for(let g=m;g<b;g++){let w=o[g];if(g<h&&r===w||g>=h&&w.type===r)return g}if(a){let g=o[h];if(g&&Fn(g)&&g.type===r)return h}return null}function Si(e,t,r,n,a){let i=e[r],o=t.data;if(i instanceof $i){let l=i;l.resolving&&Nf(L5(o[r]));let h=ps(l.canSeeViewProviders);l.resolving=!0;let u=l.injectImpl?zt(l.injectImpl):null;sg(e,n,be.Default);try{i=e[r]=l.factory(void 0,a,o,e,n),t.firstCreatePass&&r>=n.directiveStart&&z9(r,o[r],t)}finally{u!==null&&zt(u),ps(h),l.resolving=!1,dg()}}return i}function J9(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(hi)?e[hi]:void 0;return typeof t=="number"?t>=0?t&bg:X9:t}function kh(e,t,r){let n=1<<e;return!!(r[t+(e>>yg)]&n)}function Ch(e,t){return!(e&be.Self)&&!(e&be.Host&&t)}var pi=class{constructor(e,t){s(this,"_tNode");s(this,"_lView");this._tNode=e,this._lView=t}get(e,t,r){return Eg(this._tNode,this._lView,e,qs(r),t)}};function X9(){return new pi(Xt(),he())}function Sn(e){return ji(()=>{let t=e.prototype.constructor,r=t[as]||Su(t),n=Object.prototype,a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==n;){let i=a[as]||Su(a);if(i&&i!==r)return i;a=Object.getPrototypeOf(a)}return i=>new i})}function Su(e){return Sf(e)?()=>{let t=Su(Ft(e));return t&&t()}:Ur(e)}function eH(e,t,r,n,a){let i=e,o=t;for(;i!==null&&o!==null&&o[oe]&2048&&!cs(o);){let l=Sg(i,o,r,n|be.Self,An);if(l!==An)return l;let h=i.parent;if(!h){let u=o[qf];if(u){let c=u.get(r,An,n);if(c!==An)return c}h=kg(o),o=o[ja]}i=h}return a}function kg(e){let t=e[le],r=t.type;return r===2?t.declTNode:r===1?e[$t]:null}function tH(e){return K9(Xt(),e)}function Ih(e,t=null,r=null,n){let a=nH(e,t,r,n);return a.resolveInjectorInitializers(),a}function nH(e,t=null,r=null,n,a=new Set){let i=[r||Bt,e9(e)];return n=n||(typeof e=="object"?void 0:un(e)),new Tc(i,t||$s(),n||null,a)}var Mn,Ot=(Mn=class{static create(t,r){if(Array.isArray(t))return Ih({name:""},r,t,"");{let n=t.name??"";return Ih({name:n},t.parent,t.providers,n)}}},s(Mn,"THROW_IF_NOT_FOUND",Gr),s(Mn,"NULL",new Ff),s(Mn,"ɵprov",$({token:Mn,providedIn:"any",factory:()=>ee(Af)})),s(Mn,"__NG_ELEMENT_ID__",-1),Mn),rH=class{constructor(e){s(this,"attributeName");s(this,"__NG_ELEMENT_ID__",()=>tH(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},aH=new Q("");aH.__NG_ELEMENT_ID__=e=>{let t=Xt();if(t===null)throw new U(204,!1);if(t.type&2)return t.value;if(e&be.Optional)return null;throw new U(204,!1)};var Cg=!1,Gi=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",oH),s(e,"__NG_ENV_ID__",r=>r),e})(),iH=class extends Gi{constructor(t){super();s(this,"_lView");this._lView=t}onDestroy(t){let r=this._lView;return za(r)?(t(),()=>{}):(Jf(r,t),()=>w9(r,t))}};function oH(){return new iH(he())}var Ui=class{},Ig=new Q("",{providedIn:"root",factory:()=>!1}),Dg=new Q(""),Ng=new Q(""),Wi=(()=>{const t=class t{constructor(){s(this,"taskId",0);s(this,"pendingTasks",new Set);s(this,"hasPendingTasks",new bc(!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",$({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),sH=class extends Pe{constructor(t=!1){super();s(this,"__isAsync");s(this,"destroyRef");s(this,"pendingTasks");this.__isAsync=t,Hf()&&(this.destroyRef=D(Gi,{optional:!0})??void 0,this.pendingTasks=D(Wi,{optional:!0})??void 0)}emit(t){let r=xe(null);try{super.next(t)}finally{xe(r)}}subscribe(t,r,n){var h,u,c;let a=t,i=r||(()=>null),o=n;if(t&&typeof t=="object"){let m=t;a=(h=m.next)==null?void 0:h.bind(m),i=(u=m.error)==null?void 0:u.bind(m),o=(c=m.complete)==null?void 0:c.bind(m)}this.__isAsync&&(i=this.wrapInTimeout(i),a&&(a=this.wrapInTimeout(a)),o&&(o=this.wrapInTimeout(o)));let l=super.subscribe({next:a,error:i,complete:o});return t instanceof Yt&&t.add(l),l}wrapInTimeout(t){return r=>{var a;let n=(a=this.pendingTasks)==null?void 0:a.add();setTimeout(()=>{var i;try{t(r)}finally{n!==void 0&&((i=this.pendingTasks)==null||i.remove(n))}})}}},jt=sH;function fs(...e){}function Tg(e){let t,r;function n(){e=fs;try{r!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(r),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),n()}),typeof requestAnimationFrame=="function"&&(r=requestAnimationFrame(()=>{e(),n()})),()=>n()}function Dh(e){return queueMicrotask(()=>e()),()=>{e=fs}}var Zc="isAngularZone",gs=Zc+"_ID",lH=0,je=class ku{constructor(t){s(this,"hasPendingMacrotasks",!1);s(this,"hasPendingMicrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new jt(!1));s(this,"onMicrotaskEmpty",new jt(!1));s(this,"onStable",new jt(!1));s(this,"onError",new jt(!1));let{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:a=!1,scheduleInRootZone:i=Cg}=t;if(typeof Zone>"u")throw new U(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)),r&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!a&&n,o.shouldCoalesceRunChangeDetection=a,o.callbackScheduled=!1,o.scheduleInRootZone=i,dH(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Zc)===!0}static assertInAngularZone(){if(!ku.isInAngularZone())throw new U(909,!1)}static assertNotInAngularZone(){if(ku.isInAngularZone())throw new U(909,!1)}run(t,r,n){return this._inner.run(t,r,n)}runTask(t,r,n,a){let i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+a,t,uH,fs,fs);try{return i.runTask(o,r,n)}finally{i.cancelTask(o)}}runGuarded(t,r,n){return this._inner.runGuarded(t,r,n)}runOutsideAngular(t){return this._outer.run(t)}},uH={};function Yc(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 cH(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Tg(()=>{e.callbackScheduled=!1,Cu(e),e.isCheckStableRunning=!0,Yc(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Cu(e)}function dH(e){let t=()=>{cH(e)},r=lH++;e._inner=e._inner.fork({name:"angular",properties:{[Zc]:!0,[gs]:r,[gs+r]:!0},onInvokeTask:(n,a,i,o,l,h)=>{if(pH(h))return n.invokeTask(i,o,l,h);try{return Nh(e),n.invokeTask(i,o,l,h)}finally{(e.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Th(e)}},onInvoke:(n,a,i,o,l,h,u)=>{try{return Nh(e),n.invoke(i,o,l,h,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!mH(h)&&t(),Th(e)}},onHasTask:(n,a,i,o)=>{n.hasTask(i,o),a===i&&(o.change=="microTask"?(e._hasPendingMicrotasks=o.microTask,Cu(e),Yc(e)):o.change=="macroTask"&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,a,i,o)=>(n.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}function Cu(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Nh(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Th(e){e._nesting--,Yc(e)}var hH=class{constructor(){s(this,"hasPendingMicrotasks",!1);s(this,"hasPendingMacrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new jt);s(this,"onMicrotaskEmpty",new jt);s(this,"onStable",new jt);s(this,"onError",new jt)}run(e,t,r){return e.apply(t,r)}runGuarded(e,t,r){return e.apply(t,r)}runOutsideAngular(e){return e()}runTask(e,t,r,n){return e.apply(t,r)}};function pH(e){return Mg(e,"__ignore_ng_zone__")}function mH(e){return Mg(e,"__scheduler_tick__")}function Mg(e,t){var r,n;return!Array.isArray(e)||e.length!==1?!1:((n=(r=e[0])==null?void 0:r.data)==null?void 0:n[t])===!0}var Hn=class{constructor(){s(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}},fH=new Q("",{providedIn:"root",factory:()=>{let e=D(je),t=D(Hn);return r=>e.runOutsideAngular(()=>t.handleError(r))}});function Mh(e,t){return wf(e,t)}function gH(e){return wf(_f,e)}var Wt=(Mh.required=gH,Mh);function vH(){return Ha(Xt(),he())}function Ha(e,t){return new en(zn(e,t))}var en=(()=>{class e{constructor(r){s(this,"nativeElement");this.nativeElement=r}}return s(e,"__NG_ELEMENT_ID__",vH),e})();function bH(e){return e instanceof en?e.nativeElement:e}function yH(){return this._results[Symbol.iterator]()}var gm,_H=(gm=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,gm,yH);this._emitDistinctChangesOnly=e}get changes(){return this._changes??(this._changes=new Pe)}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 r=Z5(e);(this._changesDetected=!W5(this._results,r,t))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[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 Og(e){return(e.flags&128)===128}var Rg=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Rg||{}),Pg=new Map,wH=0;function xH(){return wH++}function EH(e){Pg.set(e[Gs],e)}function Iu(e){Pg.delete(e[Gs])}var Oh="__ngContext__";function Zi(e,t){kr(t)?(e[Oh]=t[Gs],EH(t)):e[Oh]=t}function Ag(e){return Fg(e[wi])}function Lg(e){return Fg(e[wn])}function Fg(e){for(;e!==null&&!cr(e);)e=e[wn];return e}var Du;function SH(e){Du=e}function kH(){if(Du!==void 0)return Du;if(typeof document<"u")return document;throw new U(210,!1)}var Kc=new Q("",{providedIn:"root",factory:()=>CH}),CH="ng",jg=new Q(""),Us=new Q("",{providedIn:"platform",factory:()=>"unknown"}),Yi=new Q(""),Qc=new Q("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=kH().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),Vg=!1,IH=new Q("",{providedIn:"root",factory:()=>Vg}),Jc=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Jc||{}),Ki=new Q(""),Rh=new Set;function ta(e){var t;Rh.has(e)||(Rh.add(e),(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}}))}var zg=(()=>{class e{constructor(r,n){s(this,"view");s(this,"node");this.view=r,this.node=n}}return s(e,"__NG_ELEMENT_ID__",DH),e})();function DH(){return new zg(he(),Xt())}var ga=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(ga||{}),Bg=(()=>{const t=class t{constructor(){s(this,"impl",null)}execute(){var n;(n=this.impl)==null||n.execute()}};s(t,"ɵprov",$({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),NH=[ga.EarlyRead,ga.Write,ga.MixedReadWrite,ga.Read],TH=(()=>{const t=class t{constructor(){s(this,"ngZone",D(je));s(this,"scheduler",D(Ui));s(this,"errorHandler",D(Hn,{optional:!0}));s(this,"sequences",new Set);s(this,"deferredRegistrations",new Set);s(this,"executing",!1);D(Ki,{optional:!0})}execute(){var n;this.sequences.size>0,this.executing=!0;for(let a of NH)for(let i of this.sequences)if(!(i.erroredOrDestroyed||!i.hooks[a]))try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=i.hooks[a];return o(i.pipelinedValue)},i.snapshot))}catch(o){i.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[Sr]??(a[Sr]=[])).push(n),Bi(a),a[oe]|=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(Jc.AFTER_NEXT_RENDER,n):n()}};s(t,"ɵprov",$({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),MH=class{constructor(e,t,r,n,a,i=null){s(this,"impl");s(this,"hooks");s(this,"view");s(this,"once");s(this,"snapshot");s(this,"erroredOrDestroyed",!1);s(this,"pipelinedValue");s(this,"unregisterOnDestroy");this.impl=e,this.hooks=t,this.view=r,this.once=n,this.snapshot=i,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,r;this.impl.unregister(this),(t=this.unregisterOnDestroy)==null||t.call(this);let e=(r=this.view)==null?void 0:r[Sr];e&&(this.view[Sr]=e.filter(n=>n!==this))}};function Hg(e,t){!(t!=null&&t.injector)&&Oc();let r=(t==null?void 0:t.injector)??D(Ot);return ta("NgAfterRender"),qg(e,r,t,!1)}function OH(e,t){!(t!=null&&t.injector)&&Oc();let r=(t==null?void 0:t.injector)??D(Ot);return ta("NgAfterNextRender"),qg(e,r,t,!0)}function RH(e,t){if(e instanceof Function){let r=[void 0,void 0,void 0,void 0];return r[t]=e,r}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function qg(e,t,r,n){let a=t.get(Bg);a.impl??(a.impl=t.get(TH));let i=t.get(Ki,null,{optional:!0}),o=(r==null?void 0:r.phase)??ga.MixedReadWrite,l=(r==null?void 0:r.manualCleanup)!==!0?t.get(Gi):null,h=t.get(zg,null,{optional:!0}),u=new MH(a.impl,RH(e,o),h==null?void 0:h.view,n,l,i==null?void 0:i.snapshot(null));return a.impl.register(u),u}var PH=()=>null;function $g(e,t,r=!1){return PH()}function Gg(e,t){let r=e.contentQueries;if(r!==null){let n=xe(null);try{for(let a=0;a<r.length;a+=2){let i=r[a],o=r[a+1];if(o!==-1){let l=e.data[o];Hc(i),l.contentQueries(2,t[o],o)}}}finally{xe(n)}}}function Nu(e,t,r){Hc(0);let n=xe(null);try{t(e,r)}finally{xe(n)}}function Ug(e,t,r){if(Gf(t)){let n=xe(null);try{let a=t.directiveStart,i=t.directiveEnd;for(let o=a;o<i;o++){let l=e.data[o];if(l.contentQueries){let h=r[o];l.contentQueries(1,h,o)}}}finally{xe(n)}}}var ar=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(ar||{}),bo;function AH(){if(bo===void 0&&(bo=null,pa.trustedTypes))try{bo=pa.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return bo}function Ws(e){var t;return((t=AH())==null?void 0:t.createHTML(e))||e}var na=class{constructor(e){s(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${yf})`}},LH=class extends na{getTypeName(){return"HTML"}},FH=class extends na{getTypeName(){return"Style"}},jH=class extends na{getTypeName(){return"Script"}},VH=class extends na{getTypeName(){return"URL"}},zH=class extends na{getTypeName(){return"ResourceURL"}};function Hr(e){return e instanceof na?e.changingThisBreaksApplicationSecurity:e}function Qa(e,t){let r=BH(e);if(r!=null&&r!==t){if(r==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${r} (see ${yf})`)}return r===t}function BH(e){return e instanceof na&&e.getTypeName()||null}function HH(e){return new LH(e)}function qH(e){return new FH(e)}function $H(e){return new jH(e)}function GH(e){return new VH(e)}function UH(e){return new zH(e)}function WH(e){let t=new YH(e);return KH()?new ZH(t):t}var ZH=class{constructor(e){s(this,"inertDocumentHelper");this.inertDocumentHelper=e}getInertBodyElement(e){var t;e="<body><remove></remove>"+e;try{let r=new window.DOMParser().parseFromString(Ws(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):((t=r.firstChild)==null||t.remove(),r)}catch{return null}}},YH=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=Ws(e),t}};function KH(){try{return!!new window.DOMParser().parseFromString(Ws(""),"text/html")}catch{return!1}}var QH=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Wg(e){return e=String(e),e.match(QH)?e:"unsafe:"+e}function dr(e){let t={};for(let r of e.split(","))t[r]=!0;return t}function Qi(...e){let t={};for(let r of e)for(let n in r)r.hasOwnProperty(n)&&(t[n]=!0);return t}var Zg=dr("area,br,col,hr,img,wbr"),Yg=dr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Kg=dr("rp,rt"),JH=Qi(Kg,Yg),XH=Qi(Yg,dr("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")),eq=Qi(Kg,dr("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")),Ph=Qi(Zg,XH,eq,JH),Qg=dr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),tq=dr("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"),nq=dr("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"),rq=Qi(Qg,tq,nq),aq=dr("script,style,template"),iq=class{constructor(){s(this,"sanitizedSomething",!1);s(this,"buf",[])}sanitizeChildren(e){let t=e.firstChild,r=!0,n=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild){n.push(t),t=lq(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let a=sq(t);if(a){t=a;break}t=n.pop()}}return this.buf.join("")}startElement(e){let t=Ah(e).toLowerCase();if(!Ph.hasOwnProperty(t))return this.sanitizedSomething=!0,!aq.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let r=e.attributes;for(let n=0;n<r.length;n++){let a=r.item(n),i=a.name,o=i.toLowerCase();if(!rq.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let l=a.value;Qg[o]&&(l=Wg(l)),this.buf.push(" ",i,'="',Lh(l),'"')}return this.buf.push(">"),!0}endElement(e){let t=Ah(e).toLowerCase();Ph.hasOwnProperty(t)&&!Zg.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(Lh(e))}};function oq(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function sq(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Jg(t);return t}function lq(e){let t=e.firstChild;if(t&&oq(e,t))throw Jg(t);return t}function Ah(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Jg(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var uq=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,cq=/([^\#-~ |!])/g;function Lh(e){return e.replace(/&/g,"&amp;").replace(uq,function(t){let r=t.charCodeAt(0),n=t.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(cq,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var yo;function dq(e,t){let r=null;try{yo=yo||WH(e);let n=t?String(t):"";r=yo.getInertBodyElement(n);let a=5,i=n;do{if(a===0)throw new Error("Failed to sanitize html because the input is unstable");a--,n=i,i=r.innerHTML,r=yo.getInertBodyElement(n)}while(n!==i);let o=new iq().sanitizeChildren(Fh(r)||r);return Ws(o)}finally{if(r){let n=Fh(r)||r;for(;n.firstChild;)n.firstChild.remove()}}}function Fh(e){return"content"in e&&hq(e)?e.content:null}function hq(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var sn=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(sn||{});function pq(e,t,r){let n=e.length;for(;;){let a=e.indexOf(t,r);if(a===-1)return a;if(a===0||e.charCodeAt(a-1)<=32){let i=t.length;if(a+i===n||e.charCodeAt(a+i)<=32)return a}r=a+1}}var Xg="ng-template";function mq(e,t,r,n){let a=0;if(n){for(;a<t.length&&typeof t[a]=="string";a+=2)if(t[a]==="class"&&pq(t[a+1].toLowerCase(),r,0)!==-1)return!0}else if(Xc(e))return!1;if(a=t.indexOf(1,a),a>-1){let i;for(;++a<t.length&&typeof(i=t[a])=="string";)if(i.toLowerCase()===r)return!0}return!1}function Xc(e){return e.type===4&&e.value!==Xg}function fq(e,t,r){let n=e.type===4&&!r?Xg:e.value;return t===n}function gq(e,t,r){let n=4,a=e.attrs,i=a!==null?yq(a):0,o=!1;for(let l=0;l<t.length;l++){let h=t[l];if(typeof h=="number"){if(!o&&!vn(n)&&!vn(h))return!1;if(o&&vn(h))continue;o=!1,n=h|n&1;continue}if(!o)if(n&4){if(n=2|n&1,h!==""&&!fq(e,h,r)||h===""&&t.length===1){if(vn(n))return!1;o=!0}}else if(n&8){if(a===null||!mq(e,a,h,r)){if(vn(n))return!1;o=!0}}else{let u=t[++l],c=vq(h,a,Xc(e),r);if(c===-1){if(vn(n))return!1;o=!0;continue}if(u!==""){let m;if(c>i?m="":m=a[c+1].toLowerCase(),n&2&&u!==m){if(vn(n))return!1;o=!0}}}}return vn(n)||o}function vn(e){return(e&1)===0}function vq(e,t,r,n){if(t===null)return-1;let a=0;if(n||!r){let i=!1;for(;a<t.length;){let o=t[a];if(o===e)return a;if(o===3||o===6)i=!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+=i?1:2}return-1}else return _q(t,e)}function ev(e,t,r=!1){for(let n=0;n<t.length;n++)if(gq(e,t[n],r))return!0;return!1}function bq(e){let t=e.attrs;if(t!=null){let r=t.indexOf(5);if(!(r&1))return t[r+1]}return null}function yq(e){for(let t=0;t<e.length;t++){let r=e[t];if(gg(r))return t}return e.length}function _q(e,t){let r=e.indexOf(4);if(r>-1)for(r++;r<e.length;){let n=e[r];if(typeof n=="number")return-1;if(n===t)return r;r++}return-1}function wq(e,t){e:for(let r=0;r<t.length;r++){let n=t[r];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 jh(e,t){return e?":not("+t.trim()+")":t}function xq(e){let t=e[0],r=1,n=2,a="",i=!1;for(;r<e.length;){let o=e[r];if(typeof o=="string")if(n&2){let l=e[++r];a+="["+o+(l.length>0?'="'+l+'"':"")+"]"}else n&8?a+="."+o:n&4&&(a+=" "+o);else a!==""&&!vn(o)&&(t+=jh(i,a),a=""),n=o,i=i||!vn(n);r++}return a!==""&&(t+=jh(i,a)),t}function Eq(e){return e.map(xq).join(",")}function Sq(e){let t=[],r=[],n=1,a=2;for(;n<e.length;){let i=e[n];if(typeof i=="string")a===2?i!==""&&t.push(i,e[++n]):a===8&&r.push(i);else{if(!vn(a))break;a=i}n++}return r.length&&t.push(1,...r),t}var tn={};function kq(e,t){return e.createText(t)}function Cq(e,t,r){e.setValue(t,r)}function tv(e,t,r){return e.createElement(t,r)}function vs(e,t,r,n,a){e.insertBefore(t,r,n,a)}function nv(e,t,r){e.appendChild(t,r)}function Vh(e,t,r,n,a){n!==null?vs(e,t,r,n,a):nv(e,t,r)}function Iq(e,t,r){e.removeChild(null,t,r)}function Dq(e,t,r){e.setAttribute(t,"style",r)}function Nq(e,t,r){r===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",r)}function rv(e,t,r){let{mergedAttrs:n,classes:a,styles:i}=r;n!==null&&$9(e,t,n),a!==null&&Nq(e,t,a),i!==null&&Dq(e,t,i)}function ed(e,t,r,n,a,i,o,l,h,u,c){let m=gt+n,b=m+a,g=Tq(m,b),w=typeof u=="function"?u():u;return g[le]={type:e,blueprint:g,template:r,queries:null,viewQuery:l,declTNode:t,data:g.slice().fill(null,m),bindingStartIndex:m,expandoStartIndex:b,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof o=="function"?o():o,firstChild:null,schemas:h,consts:w,incompleteFirstPass:!1,ssrId:c}}function Tq(e,t){let r=[];for(let n=0;n<t;n++)r.push(n<e?null:tn);return r}function Mq(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=ed(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function td(e,t,r,n,a,i,o,l,h,u,c){let m=t.blueprint.slice();return m[ur]=a,m[oe]=n|4|128|8|64|1024,(u!==null||e&&e[oe]&2048)&&(m[oe]|=2048),Qf(m),m[Rt]=m[ja]=e,m[xt]=r,m[Cr]=o||e&&e[Cr],m[ft]=l||e&&e[ft],m[Ta]=h||e&&e[Ta]||null,m[$t]=i,m[Gs]=xH(),m[Na]=c,m[qf]=u,m[hn]=t.type==2?e[hn]:m,m}function Oq(e,t,r){let n=zn(t,e),a=Mq(r),i=e[Cr].rendererFactory,o=nd(e,td(e,a,null,av(r),n,t,null,i.createRenderer(n,r),null,null,null));return e[t.index]=o}function av(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function iv(e,t,r,n){if(r===0)return-1;let a=t.length;for(let i=0;i<r;i++)t.push(n),e.blueprint.push(n),e.data.push(null);return a}function nd(e,t){return e[wi]?e[wh][wn]=t:e[wi]=t,e[wh]=t,t}function we(e=1){ov(bt(),he(),Bn()+e)}function ov(e,t,r,n){if((t[oe]&3)===3){let a=e.preOrderCheckHooks;a!==null&&$o(t,a,r)}else{let a=e.preOrderHooks;a!==null&&Go(t,a,0,r)}Jr(r)}var Zs=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Zs||{});function Tu(e,t,r,n){let a=xe(null);try{let[i,o,l]=e.inputs[r],h=null;o&Zs.SignalBased&&(h=t[i][mc]),h!==null&&h.transformFn!==void 0?n=h.transformFn(n):l!==null&&(n=l.call(t,n)),e.setInput!==null?e.setInput(t,h,n,r,i):Uf(t,h,i,n)}finally{xe(a)}}function sv(e,t,r,n,a){let i=Bn(),o=n&2;try{Jr(-1),o&&t.length>gt&&ov(e,t,gt,!1),Kr(o?2:0,a),r(n,a)}finally{Jr(i)}}function rd(e,t,r){Fq(e,t,r),(r.flags&64)===64&&jq(e,t,r)}function lv(e,t,r=zn){let n=t.localNames;if(n!==null){let a=t.index+1;for(let i=0;i<n.length;i+=2){let o=n[i+1],l=o===-1?r(t,e):e[o];e[a++]=l}}}function Rq(e,t,r,n){let a=n.get(IH,Vg)||r===ar.ShadowDom;return e.selectRootElement(t,a)}function Pq(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Aq(e,t,r,n,a,i,o,l){if(ad(t,e,r,n,a)){Va(t)&&Lq(r,t.index);return}if(t.type&3){let h=zn(t,r);n=Pq(n),a=o!=null?o(a,t.value||"",n):a,i.setProperty(h,n,a)}else t.type&12}function Lq(e,t){let r=Vn(t,e);r[oe]&16||(r[oe]|=64)}function Fq(e,t,r){let n=r.directiveStart,a=r.directiveEnd;Va(r)&&Oq(t,r,e.data[n+r.componentOffset]),e.firstCreatePass||ms(r,t);let i=r.initialInputs;for(let o=n;o<a;o++){let l=e.data[o],h=Si(t,e,o,r);if(Zi(h,t),i!==null&&Hq(t,o-n,h,l,r,i),Fn(l)){let u=Vn(r.index,t);u[xt]=Si(t,e,o,r)}}}function jq(e,t,r){let n=r.directiveStart,a=r.directiveEnd,i=r.index,o=A9();try{Jr(i);for(let l=n;l<a;l++){let h=e.data[l],u=t[l];wu(l),(h.hostBindings!==null||h.hostVars!==0||h.hostAttrs!==null)&&Vq(h,u)}}finally{Jr(-1),wu(o)}}function Vq(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function uv(e,t){let r=e.directiveRegistry,n=null;if(r)for(let a=0;a<r.length;a++){let i=r[a];ev(t,i.selectors,!1)&&(n??(n=[]),Fn(i)?n.unshift(i):n.push(i))}return n}function zq(e,t,r,n,a,i){let o=zn(e,t);Bq(t[ft],o,i,e.value,r,n,a)}function Bq(e,t,r,n,a,i,o){if(i==null)e.removeAttribute(t,a,r);else{let l=o==null?_i(i):o(i,n||"",a);e.setAttribute(t,a,l,r)}}function Hq(e,t,r,n,a,i){let o=i[t];if(o!==null)for(let l=0;l<o.length;l+=2){let h=o[l],u=o[l+1];Tu(n,r,h,u)}}function qq(e,t){let r=e[Ta],n=r?r.get(Hn,null):null;n&&n.handleError(t)}function ad(e,t,r,n,a){var h,u;let i=(h=e.inputs)==null?void 0:h[n],o=(u=e.hostDirectiveInputs)==null?void 0:u[n],l=!1;if(o)for(let c=0;c<o.length;c+=2){let m=o[c],b=o[c+1],g=t.data[m];Tu(g,r[m],b,a),l=!0}if(i)for(let c of i){let m=r[c],b=t.data[c];Tu(b,m,n,a),l=!0}return l}function $q(e,t){let r=Vn(t,e),n=r[le];Gq(n,r);let a=r[ur];a!==null&&r[Na]===null&&(r[Na]=$g(a,r[Ta])),id(n,r,r[xt]),Kr(19,r[xt])}function Gq(e,t){for(let r=t.length;r<e.blueprint.length;r++)t.push(e.blueprint[r])}function id(e,t,r){var n;qc(t);try{let a=e.viewQuery;a!==null&&Nu(1,a,r);let i=e.template;i!==null&&sv(e,t,i,1,r),e.firstCreatePass&&(e.firstCreatePass=!1),(n=t[xn])==null||n.finishViewCreation(e),e.staticContentQueries&&Gg(e,t),e.staticViewQueries&&Nu(2,e.viewQuery,r);let o=e.components;o!==null&&Uq(t,o)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),a}finally{t[oe]&=-5,$c()}}function Uq(e,t){for(let r=0;r<t.length;r++)$q(e,t[r])}function Ji(e,t,r,n){let a=xe(null);try{let i=t.tView,o=e[oe]&4096?4096:16,l=td(e,i,r,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),h=e[t.index];l[Zr]=h;let u=e[xn];return u!==null&&(l[xn]=u.createEmbeddedView(i)),id(i,l,r),l}finally{xe(a)}}function Oa(e,t){return!t||t.firstChild===null||Og(e)}var Wq;function od(e,t){return Wq(e,t)}var va=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(va||{});function sd(e){return(e.flags&32)===32}function ba(e,t,r,n,a){if(n!=null){let i,o=!1;cr(n)?i=n:kr(n)&&(o=!0,n=n[ur]);let l=jn(n);e===0&&r!==null?a==null?nv(t,r,l):vs(t,r,l,a||null,!0):e===1&&r!==null?vs(t,r,l,a||null,!0):e===2?Iq(t,l,o):e===3&&t.destroyNode(l),i!=null&&r7(t,e,i,r,a)}}function Zq(e,t){cv(e,t),t[ur]=null,t[$t]=null}function Yq(e,t,r,n,a,i){n[ur]=a,n[$t]=t,Ks(e,n,r,1,a,i)}function cv(e,t){var r;(r=t[Cr].changeDetectionScheduler)==null||r.notify(9),Ks(e,t,t[ft],2,null,null)}function Kq(e){let t=e[wi];if(!t)return kl(e[le],e);for(;t;){let r=null;if(kr(t))r=t[wi];else{let n=t[Mt];n&&(r=n)}if(!r){for(;t&&!t[wn]&&t!==e;)kr(t)&&kl(t[le],t),t=t[Rt];t===null&&(t=e),kr(t)&&kl(t[le],t),r=t&&t[wn]}t=r}}function ld(e,t){let r=e[Ma],n=r.indexOf(t);r.splice(n,1)}function Ys(e,t){if(za(t))return;let r=t[ft];r.destroyNode&&Ks(e,t,r,3,null,null),Kq(t)}function kl(e,t){if(za(t))return;let r=xe(null);try{t[oe]&=-129,t[oe]|=256,t[cn]&&Rm(t[cn]),Jq(e,t),Qq(e,t),t[le].type===1&&t[ft].destroy();let n=t[Zr];if(n!==null&&cr(t[Rt])){n!==t[Rt]&&ld(n,t);let a=t[xn];a!==null&&a.detachView(e)}Iu(t)}finally{xe(r)}}function Qq(e,t){let r=e.cleanup,n=t[_a];if(r!==null)for(let o=0;o<r.length-1;o+=2)if(typeof r[o]=="string"){let l=r[o+3];l>=0?n[l]():n[-l].unsubscribe(),o+=2}else{let l=n[r[o+1]];r[o].call(l)}n!==null&&(t[_a]=null);let a=t[Er];if(a!==null){t[Er]=null;for(let o=0;o<a.length;o++){let l=a[o];l()}}let i=t[ls];if(i!==null){t[ls]=null;for(let o of i)o.destroy()}}function Jq(e,t){let r;if(e!=null&&(r=e.destroyHooks)!=null)for(let n=0;n<r.length;n+=2){let a=t[r[n]];if(!(a instanceof $i)){let i=r[n+1];if(Array.isArray(i))for(let o=0;o<i.length;o+=2){let l=a[i[o]],h=i[o+1];try{h.call(l)}finally{}}else try{i.call(a)}finally{}}}}function dv(e,t,r){return Xq(e,t.parent,r)}function Xq(e,t,r){let n=t;for(;n!==null&&n.type&168;)t=n,n=t.parent;if(n===null)return r[ur];if(Va(n)){let{encapsulation:a}=e.data[n.directiveStart+n.componentOffset];if(a===ar.None||a===ar.Emulated)return null}return zn(n,r)}function hv(e,t,r){return t7(e,t,r)}function e7(e,t,r){return e.type&40?zn(e,r):null}var t7=e7;function ud(e,t,r,n){let a=dv(e,n,t),i=t[ft],o=n.parent||t[$t],l=hv(o,n,t);if(a!=null)if(Array.isArray(r))for(let h=0;h<r.length;h++)Vh(i,a,r[h],l,!1);else Vh(i,a,r,l,!1)}function oi(e,t){if(t!==null){let r=t.type;if(r&3)return zn(t,e);if(r&4)return Mu(-1,e[t.index]);if(r&8){let n=t.child;if(n!==null)return oi(e,n);{let a=e[t.index];return cr(a)?Mu(-1,a):jn(a)}}else{if(r&128)return oi(e,t.next);if(r&32)return od(t,e)()||jn(e[t.index]);{let n=pv(e,t);if(n!==null){if(Array.isArray(n))return n[0];let a=Qr(e[hn]);return oi(a,n)}else return oi(e,t.next)}}}return null}function pv(e,t){if(t!==null){let r=e[hn][$t],n=t.projection;return r.projection[n]}return null}function Mu(e,t){let r=Mt+e+1;if(r<t.length){let n=t[r],a=n[le].firstChild;if(a!==null)return oi(n,a)}return t[Yr]}function cd(e,t,r,n,a,i,o){for(;r!=null;){if(r.type===128){r=r.next;continue}let l=n[r.index],h=r.type;if(o&&t===0&&(l&&Zi(jn(l),n),r.flags|=2),!sd(r))if(h&8)cd(e,t,r.child,n,a,i,!1),ba(t,e,a,l,i);else if(h&32){let u=od(r,n),c;for(;c=u();)ba(t,e,a,c,i);ba(t,e,a,l,i)}else h&16?mv(e,t,n,r,a,i):ba(t,e,a,l,i);r=o?r.projectionNext:r.next}}function Ks(e,t,r,n,a,i){cd(r,n,e.firstChild,t,a,i,!1)}function n7(e,t,r){let n=t[ft],a=dv(e,r,t),i=r.parent||t[$t],o=hv(i,r,t);mv(n,0,t,r,a,o)}function mv(e,t,r,n,a,i){let o=r[hn],l=o[$t].projection[n.projection];if(Array.isArray(l))for(let h=0;h<l.length;h++){let u=l[h];ba(t,e,a,u,i)}else{let h=l,u=o[Rt];Og(n)&&(h.flags|=128),cd(e,t,h,u,a,i,!0)}}function r7(e,t,r,n,a){let i=r[Yr],o=jn(r);i!==o&&ba(t,e,n,i,a);for(let l=Mt;l<r.length;l++){let h=r[l];Ks(h[le],h,e,t,n,i)}}function a7(e,t,r,n,a){a?e.addClass(r,n):e.removeClass(r,n)}function bs(e,t,r,n,a=!1){for(;r!==null;){if(r.type===128){r=a?r.projectionNext:r.next;continue}let i=t[r.index];i!==null&&n.push(jn(i)),cr(i)&&i7(i,n);let o=r.type;if(o&8)bs(e,t,r.child,n);else if(o&32){let l=od(r,t),h;for(;h=l();)n.push(h)}else if(o&16){let l=pv(t,r);if(Array.isArray(l))n.push(...l);else{let h=Qr(t[hn]);bs(h[le],h,l,n,!0)}}r=a?r.projectionNext:r.next}return n}function i7(e,t){for(let r=Mt;r<e.length;r++){let n=e[r],a=n[le].firstChild;a!==null&&bs(n[le],n,a,t)}e[Yr]!==e[ur]&&t.push(e[Yr])}function fv(e){if(e[Sr]!==null){for(let t of e[Sr])t.impl.addSequence(t);e[Sr].length=0}}var gv=[];function o7(e){return e[cn]??s7(e)}function s7(e){let t=gv.pop()??Object.create(u7);return t.lView=e,t}function l7(e){e.lView[cn]!==e&&(e.lView=null,gv.push(e))}var u7=Qt(ge({},js),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Bi(e.lView)},consumerOnSignalRead(){this.lView[cn]=this}});function c7(e){let t=e[cn]??Object.create(d7);return t.lView=e,t}var d7=Qt(ge({},js),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Qr(e.lView);for(;t&&!vv(t[le]);)t=Qr(t);t&&jc(t)},consumerOnSignalRead(){this.lView[cn]=this}});function vv(e){return e.type!==2}function bv(e){if(e[ls]===null)return;let t=!0;for(;t;){let r=!1;for(let n of e[ls])n.dirty&&(r=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));t=r&&!!(e[oe]&8192)}}var h7=100;function yv(e,t=!0,r=0){var a,i;let n=e[Cr].rendererFactory;(a=n.begin)==null||a.call(n);try{p7(e,r)}catch(o){throw t&&qq(e,o),o}finally{(i=n.end)==null||i.call(n)}}function p7(e,t){let r=ig();try{xh(!0),Ou(e,t);let n=0;for(;zi(e);){if(n===h7)throw new U(103,!1);n++,Ou(e,1)}}finally{xh(r)}}function m7(e,t,r,n){if(za(t))return;let a=t[oe],i=!1,o=!1;qc(t);let l=!0,h=null,u=null;vv(e)?(u=o7(t),h=ou(u)):f4()===null?(l=!1,u=c7(t),h=ou(u)):t[cn]&&(Rm(t[cn]),t[cn]=null);try{Qf(t),O9(e.bindingStartIndex),r!==null&&sv(e,t,r,2,n);let c=(a&3)===3;if(!i)if(c){let g=e.preOrderCheckHooks;g!==null&&$o(t,g,null)}else{let g=e.preOrderHooks;g!==null&&Go(t,g,0,null),El(t,0)}if(o||f7(t),bv(t),_v(t,0),e.contentQueries!==null&&Gg(e,t),!i)if(c){let g=e.contentCheckHooks;g!==null&&$o(t,g)}else{let g=e.contentHooks;g!==null&&Go(t,g,1),El(t,1)}v7(e,t);let m=e.components;m!==null&&xv(t,m,0);let b=e.viewQuery;if(b!==null&&Nu(2,b,n),!i)if(c){let g=e.viewCheckHooks;g!==null&&$o(t,g)}else{let g=e.viewHooks;g!==null&&Go(t,g,2),El(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[xl]){for(let g of t[xl])g();t[xl]=null}i||(fv(t),t[oe]&=-73)}catch(c){throw Bi(t),c}finally{u!==null&&(Mm(u,h),l&&l7(u)),$c()}}function _v(e,t){for(let r=Ag(e);r!==null;r=Lg(r))for(let n=Mt;n<r.length;n++){let a=r[n];wv(a,t)}}function f7(e){for(let t=Ag(e);t!==null;t=Lg(t)){if(!(t[oe]&2))continue;let r=t[Ma];for(let n=0;n<r.length;n++){let a=r[n];jc(a)}}}function g7(e,t,r){let n=Vn(t,e);wv(n,r),Kr(19,n[xt])}function wv(e,t){Fc(e)&&Ou(e,t)}function Ou(e,t){let r=e[le],n=e[oe],a=e[cn],i=!!(t===0&&n&16);if(i||(i=!!(n&64&&t===0)),i||(i=!!(n&1024)),i||(i=!!(a!=null&&a.dirty&&Om(a))),i||(i=!1),a&&(a.dirty=!1),e[oe]&=-9217,i)m7(r,e,r.template,e[xt]);else if(n&8192){bv(e),_v(e,1);let o=r.components;o!==null&&xv(e,o,1),fv(e)}}function xv(e,t,r){for(let n=0;n<t.length;n++)g7(e,t[n],r)}function v7(e,t){let r=e.hostBindingOpCodes;if(r!==null)try{for(let n=0;n<r.length;n++){let a=r[n];if(a<0)Jr(~a);else{let i=a,o=r[++n],l=r[++n];P9(o,i);let h=t[i];Kr(24,h),l(2,h),Kr(25,h)}}}finally{Jr(-1)}}function dd(e,t){var n;let r=ig()?64:1088;for((n=e[Cr].changeDetectionScheduler)==null?void 0:n.notify(t);e;){e[oe]|=r;let a=Qr(e);if(cs(e)&&!a)return e;e=a}return null}function Ev(e,t,r,n){return[e,!0,0,t,null,n,null,r,null,null]}function Sv(e,t){let r=Mt+t;if(r<e.length)return e[r]}function Xi(e,t,r,n=!0){let a=t[le];if(b7(a,t,e,r),n){let o=Mu(r,e),l=t[ft],h=l.parentNode(e[Yr]);h!==null&&Yq(a,e[$t],l,t,h,o)}let i=t[Na];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function kv(e,t){let r=ki(e,t);return r!==void 0&&Ys(r[le],r),r}function ki(e,t){if(e.length<=Mt)return;let r=Mt+t,n=e[r];if(n){let a=n[Zr];a!==null&&a!==e&&ld(a,n),t>0&&(e[r-1][wn]=n[wn]);let i=os(e,Mt+t);Zq(n[le],n);let o=i[xn];o!==null&&o.detachView(i[le]),n[Rt]=null,n[wn]=null,n[oe]&=-129}return n}function b7(e,t,r,n){let a=Mt+n,i=r.length;n>0&&(r[a-1][wn]=t),n<i-Mt?(t[wn]=r[a],Pf(r,Mt+n,t)):(r.push(t),t[wn]=null),t[Rt]=r;let o=t[Zr];o!==null&&r!==o&&Cv(o,t);let l=t[xn];l!==null&&l.insertView(e),yu(t),t[oe]|=128}function Cv(e,t){let r=e[Ma],n=t[Rt];if(kr(n))e[oe]|=2;else{let a=n[Rt][hn];t[hn]!==a&&(e[oe]|=2)}r===null?e[Ma]=[t]:r.push(t)}var Ci=class{constructor(e,t,r=!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=r}get rootNodes(){let e=this._lView,t=e[le];return bs(t,e,t.firstChild,[])}get context(){return this._lView[xt]}set context(e){this._lView[xt]=e}get destroyed(){return za(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[Rt];if(cr(e)){let t=e[us],r=t?t.indexOf(this):-1;r>-1&&(ki(e,r),os(t,r))}this._attachedToViewContainer=!1}Ys(this._lView[le],this._lView)}onDestroy(e){Jf(this._lView,e)}markForCheck(){dd(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[oe]&=-129}reattach(){yu(this._lView),this._lView[oe]|=128}detectChanges(){this._lView[oe]|=1024,yv(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new U(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=cs(this._lView),t=this._lView[Zr];t!==null&&!e&&ld(t,this._lView),cv(this._lView[le],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new U(902,!1);this._appRef=e;let t=cs(this._lView),r=this._lView[Zr];r!==null&&!t&&Cv(r,this._lView),yu(this._lView)}};function y7(e){return zi(e._lView)||!!(e._lView[oe]&64)}function _7(e){jc(e._cdRefInjectingView||e._lView)}var Ii=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",E7),e})(),w7=Ii,x7=class extends w7{constructor(t,r,n){super();s(this,"_declarationLView");s(this,"_declarationTContainer");s(this,"elementRef");this._declarationLView=t,this._declarationTContainer=r,this.elementRef=n}get ssrId(){var t;return((t=this._declarationTContainer.tView)==null?void 0:t.ssrId)||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,n){let a=Ji(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:n});return new Ci(a)}};function E7(){return hd(Xt(),he())}function hd(e,t){return e.type&4?new x7(t,e,Ha(e,t)):null}function eo(e,t,r,n,a){let i=e.data[t];if(i===null)i=S7(e,t,r,n,a),R9()&&(i.flags|=32);else if(i.type&64){i.type=r,i.value=n,i.attrs=a;let o=N9();i.injectorIndex=o===null?-1:o.injectorIndex}return Ba(i,!0),i}function S7(e,t,r,n,a){let i=ng(),o=rg(),l=o?i:i&&i.parent,h=e.data[t]=C7(e,l,r,t,n,a);return k7(e,h,i,o),h}function k7(e,t,r,n){e.firstChild===null&&(e.firstChild=t),r!==null&&(n?r.child==null&&t.parent!==null&&(r.child=t):r.next===null&&(r.next=t,t.prev=r))}function C7(e,t,r,n,a,i){let o=t?t.injectorIndex:-1,l=0;return Xf()&&(l|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:a,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var I7=()=>null;function Ra(e,t){return I7()}var D7=class{},Iv=class{},N7=class{resolveComponentFactory(e){throw Error(`No component factory found for ${un(e)}.`)}},au,to=(au=class{},s(au,"NULL",new N7),au),kn=class{},Qs=(()=>{class e{constructor(){s(this,"destroyNode",null)}}return s(e,"__NG_ELEMENT_ID__",()=>T7()),e})();function T7(){let e=he(),t=Xt(),r=Vn(t.index,e);return(kr(r)?r:e)[ft]}var M7=(()=>{const t=class t{};s(t,"ɵprov",$({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),Cl={},O7=class{constructor(e,t){s(this,"injector");s(this,"parentInjector");this.injector=e,this.parentInjector=t}get(e,t,r){r=qs(r);let n=this.injector.get(e,Cl,r);return n!==Cl||t===Cl?n:this.parentInjector.get(e,t,r)}};function zh(e,t,r){let n=r?e.styles:null,a=r?e.classes:null,i=0;if(t!==null)for(let o=0;o<t.length;o++){let l=t[o];if(typeof l=="number")i=l;else if(i==1)a=hu(a,l);else if(i==2){let h=l,u=t[++o];n=hu(n,h+": "+u+";")}}r?e.styles=n:e.stylesWithoutHost=n,r?e.classes=a:e.classesWithoutHost=a}function Vt(e,t=be.Default){let r=he();if(r===null)return ee(e,t);let n=Xt();return Eg(n,r,Ft(e),t)}function Dv(e,t,r,n,a){let i=n===null?null:{"":-1},o=a(e,r);if(o!==null){let l,h=null,u=null,c=P7(o);c===null?l=o:[l,h,u]=c,F7(e,t,r,l,i,h,u)}i!==null&&n!==null&&R7(r,n,i)}function R7(e,t,r){let n=e.localNames=[];for(let a=0;a<t.length;a+=2){let i=r[t[a+1]];if(i==null)throw new U(-301,!1);n.push(t[a],i)}}function P7(e){let t=null,r=!1;for(let o=0;o<e.length;o++){let l=e[o];if(o===0&&Fn(l)&&(t=l),l.findHostDirectiveDefs!==null){r=!0;break}}if(!r)return null;let n=null,a=null,i=null;for(let o of e)o.findHostDirectiveDefs!==null&&(n??(n=[]),a??(a=new Map),i??(i=new Map),A7(o,n,i,a)),o===t&&(n??(n=[]),n.push(o));return n!==null?(n.push(...t===null?e:e.slice(1)),[n,a,i]):null}function A7(e,t,r,n){let a=t.length;e.findHostDirectiveDefs(e,t,n),r.set(e,[a,t.length-1])}function L7(e,t,r){t.componentOffset=r,(e.components??(e.components=[])).push(t.index)}function F7(e,t,r,n,a,i,o){let l=n.length,h=!1;for(let b=0;b<l;b++){let g=n[b];!h&&Fn(g)&&(h=!0,L7(e,r,b)),Eu(ms(r,t),e,g.type)}q7(r,e.data.length,l);for(let b=0;b<l;b++){let g=n[b];g.providersResolver&&g.providersResolver(g)}let u=!1,c=!1,m=iv(e,t,l,null);l>0&&(r.directiveToIndex=new Map);for(let b=0;b<l;b++){let g=n[b];if(r.mergedAttrs=Ei(r.mergedAttrs,g.hostAttrs),V7(e,r,t,m,g),H7(m,g,a),o!==null&&o.has(g)){let[x,S]=o.get(g);r.directiveToIndex.set(g.type,[m,x+r.directiveStart,S+r.directiveStart])}else(i===null||!i.has(g))&&r.directiveToIndex.set(g.type,m);g.contentQueries!==null&&(r.flags|=4),(g.hostBindings!==null||g.hostAttrs!==null||g.hostVars!==0)&&(r.flags|=64);let w=g.type.prototype;!u&&(w.ngOnChanges||w.ngOnInit||w.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(r.index),u=!0),!c&&(w.ngOnChanges||w.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(r.index),c=!0),m++}j7(e,r,i)}function j7(e,t,r){for(let n=t.directiveStart;n<t.directiveEnd;n++){let a=e.data[n];if(r===null||!r.has(a))Bh(0,t,a,n),Bh(1,t,a,n),qh(t,n,!1);else{let i=r.get(a);Hh(0,t,i,n),Hh(1,t,i,n),qh(t,n,!0)}}}function Bh(e,t,r,n){let a=e===0?r.inputs:r.outputs;for(let i in a)if(a.hasOwnProperty(i)){let o;e===0?o=t.inputs??(t.inputs={}):o=t.outputs??(t.outputs={}),o[i]??(o[i]=[]),o[i].push(n),Nv(t,i)}}function Hh(e,t,r,n){let a=e===0?r.inputs:r.outputs;for(let i in a)if(a.hasOwnProperty(i)){let o=a[i],l;e===0?l=t.hostDirectiveInputs??(t.hostDirectiveInputs={}):l=t.hostDirectiveOutputs??(t.hostDirectiveOutputs={}),l[o]??(l[o]=[]),l[o].push(n,i),Nv(t,o)}}function Nv(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function qh(e,t,r){let{attrs:n,inputs:a,hostDirectiveInputs:i}=e;if(n===null||!r&&a===null||r&&i===null||Xc(e)){e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(null);return}let o=null,l=0;for(;l<n.length;){let h=n[l];if(h===0){l+=4;continue}else if(h===5){l+=2;continue}else if(typeof h=="number")break;if(!r&&a.hasOwnProperty(h)){let u=a[h];for(let c of u)if(c===t){o??(o=[]),o.push(h,n[l+1]);break}}else if(r&&i.hasOwnProperty(h)){let u=i[h];for(let c=0;c<u.length;c+=2)if(u[c]===t){o??(o=[]),o.push(u[c+1],n[l+1]);break}}l+=2}e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(o)}function V7(e,t,r,n,a){e.data[n]=a;let i=a.factory||(a.factory=Ur(a.type)),o=new $i(i,Fn(a),Vt);e.blueprint[n]=o,r[n]=o,z7(e,t,n,iv(e,r,a.hostVars,tn),a)}function z7(e,t,r,n,a){let i=a.hostBindings;if(i){let o=e.hostBindingOpCodes;o===null&&(o=e.hostBindingOpCodes=[]);let l=~t.index;B7(o)!=l&&o.push(l),o.push(r,n,i)}}function B7(e){let t=e.length;for(;t>0;){let r=e[--t];if(typeof r=="number"&&r<0)return r}return 0}function H7(e,t,r){if(r){if(t.exportAs)for(let n=0;n<t.exportAs.length;n++)r[t.exportAs[n]]=e;Fn(t)&&(r[""]=e)}}function q7(e,t,r){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+r,e.providerIndexes=t}function Tv(e,t,r,n,a,i,o,l){let h=t.consts,u=xi(h,o),c=eo(t,e,2,n,u);return Dv(t,r,c,xi(h,l),a),c.mergedAttrs=Ei(c.mergedAttrs,c.attrs),c.attrs!==null&&zh(c,c.attrs,!1),c.mergedAttrs!==null&&zh(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Mv(e,t){mg(e,t),Gf(t)&&e.queries.elementEnd(t)}var $7=class extends to{constructor(t){super();s(this,"ngModule");this.ngModule=t}resolveComponentFactory(t){let r=Ia(t);return new pd(r,this.ngModule)}};function G7(e){return Object.keys(e).map(t=>{let[r,n,a]=e[t],i={propName:r,templateName:t,isSignal:(n&Zs.SignalBased)!==0};return a&&(i.transform=a),i})}function U7(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function W7(e,t,r){let n=t instanceof Ln?t:t==null?void 0:t.injector;return n&&e.getStandaloneInjector!==null&&(n=e.getStandaloneInjector(n)||n),n?new O7(r,n):r}function Z7(e){let t=e.get(kn,null);if(t===null)throw new U(407,!1);let r=e.get(M7,null),n=e.get(Ui,null);return{rendererFactory:t,sanitizer:r,changeDetectionScheduler:n}}function Y7(e,t){let r=(e.selectors[0][0]||"div").toLowerCase();return tv(t,r,r==="svg"?g9:r==="math"?v9:null)}var pd=class extends Iv{constructor(t,r){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=r,this.componentType=t.type,this.selector=Eq(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!r}get inputs(){return this.cachedInputs??(this.cachedInputs=G7(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=U7(this.componentDef.outputs)),this.cachedOutputs}create(t,r,n,a){let i=xe(null);try{let o=this.componentDef,l=n?["ng-version","19.2.14"]:Sq(this.componentDef.selectors[0]),h=ed(0,null,null,1,0,null,null,null,null,[l],null),u=W7(o,a||this.ngModule,t),c=Z7(u),m=c.rendererFactory.createRenderer(null,o),b=n?Rq(m,n,o.encapsulation,u):Y7(o,m),g=td(null,h,null,512|av(o),null,null,c,m,u,null,$g(b,u,!0));g[gt]=b,qc(g);let w=null;try{let x=Tv(gt,h,g,"#host",()=>[this.componentDef],!0,0);b&&(rv(m,b,x),Zi(b,g)),rd(h,g,x),Ug(h,x,g),Mv(h,x),r!==void 0&&Q7(x,this.ngContentSelectors,r),w=Vn(x.index,g),g[xt]=w[xt],id(h,g,null)}catch(x){throw w!==null&&Iu(w),Iu(g),x}finally{Kr(23),$c()}return new K7(this.componentType,g)}finally{xe(i)}}},K7=class extends D7{constructor(t,r){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=r,this._tNode=Pc(r[le],gt),this.location=Ha(this._tNode,r),this.instance=Vn(this._tNode.index,r)[xt],this.hostView=this.changeDetectorRef=new Ci(r,void 0,!1),this.componentType=t}setInput(t,r){let n=this._tNode;if(this.previousInputValues??(this.previousInputValues=new Map),this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),r))return;let a=this._rootLView;ad(n,a[le],a,t,r),this.previousInputValues.set(t,r);let i=Vn(n.index,a);dd(i,1)}get injector(){return new pi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Q7(e,t,r){let n=e.projection=[];for(let a=0;a<t.length;a++){let i=r[a];n.push(i!=null&&i.length?Array.from(i):null)}}var Js=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",J7),e})();function J7(){let e=Xt();return Rv(e,he())}var X7=Js,Ov=class extends X7{constructor(t,r,n){super();s(this,"_lContainer");s(this,"_hostTNode");s(this,"_hostLView");this._lContainer=t,this._hostTNode=r,this._hostLView=n}get element(){return Ha(this._hostTNode,this._hostLView)}get injector(){return new pi(this._hostTNode,this._hostLView)}get parentInjector(){let t=Wc(this._hostTNode,this._hostLView);if(vg(t)){let r=hs(t,this._hostLView),n=ds(t),a=r[le].data[n+8];return new pi(a,r)}else return new pi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let r=$h(this._lContainer);return r!==null&&r[t]||null}get length(){return this._lContainer.length-Mt}createEmbeddedView(t,r,n){let a,i;typeof n=="number"?a=n:n!=null&&(a=n.index,i=n.injector);let o=Ra(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(r||{},i,o);return this.insertImpl(l,a,Oa(this._hostTNode,o)),l}createComponent(t,r,n,a,i){let o=t&&!c9(t),l;if(o)l=r;else{let w=r||{};l=w.index,n=w.injector,a=w.projectableNodes,i=w.environmentInjector||w.ngModuleRef}let h=o?t:new pd(Ia(t)),u=n||this.parentInjector;if(!i&&h.ngModule==null){let w=(o?u:this.parentInjector).get(Ln,null);w&&(i=w)}let c=Ia(h.componentType??{}),m=Ra(this._lContainer,(c==null?void 0:c.id)??null),b=null,g=h.create(u,a,b,i);return this.insertImpl(g.hostView,l,Oa(this._hostTNode,m)),g}insert(t,r){return this.insertImpl(t,r,!0)}insertImpl(t,r,n){let a=t._lView;if(y9(a)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let h=a[Rt],u=new Ov(h,h[$t],h[Rt]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(r),o=this._lContainer;return Xi(o,a,i,n),t.attachToViewContainerRef(),Pf(Il(o),i,t),t}move(t,r){return this.insert(t,r)}indexOf(t){let r=$h(this._lContainer);return r!==null?r.indexOf(t):-1}remove(t){let r=this._adjustIndex(t,-1),n=ki(this._lContainer,r);n&&(os(Il(this._lContainer),r),Ys(n[le],n))}detach(t){let r=this._adjustIndex(t,-1),n=ki(this._lContainer,r);return n&&os(Il(this._lContainer),r)!=null?new Ci(n):null}_adjustIndex(t,r=0){return t??this.length+r}};function $h(e){return e[us]}function Il(e){return e[us]||(e[us]=[])}function Rv(e,t){let r,n=t[e.index];return cr(n)?r=n:(r=Ev(n,t,null,e),t[e.index]=r,nd(t,r)),t$(r,t,e,n),new Ov(r,e,t)}function e$(e,t){let r=e[ft],n=r.createComment(""),a=zn(t,e),i=r.parentNode(a);return vs(r,i,n,r.nextSibling(a),!1),n}var t$=n$;function n$(e,t,r,n){if(e[Yr])return;let a;r.type&8?a=jn(n):a=e$(t,r),e[Yr]=a}var r$=class Pv{constructor(t){s(this,"queryList");s(this,"matches",null);this.queryList=t}clone(){return new Pv(this.queryList)}setDirty(){this.queryList.setDirty()}},a$=class Av{constructor(t=[]){s(this,"queries");this.queries=t}createEmbeddedView(t){let r=t.queries;if(r!==null){let n=t.contentQueries!==null?t.contentQueries[0]:r.length,a=[];for(let i=0;i<n;i++){let o=r.getByIndex(i),l=this.queries[o.indexInDeclarationView];a.push(l.clone())}return new Av(a)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let r=0;r<this.queries.length;r++)md(t,r).matches!==null&&this.queries[r].setDirty()}},i$=class{constructor(e,t,r=null){s(this,"flags");s(this,"read");s(this,"predicate");this.flags=t,this.read=r,typeof e=="string"?this.predicate=f$(e):this.predicate=e}},o$=class Lv{constructor(t=[]){s(this,"queries");this.queries=t}elementStart(t,r){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,r)}elementEnd(t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementEnd(t)}embeddedTView(t){let r=null;for(let n=0;n<this.length;n++){let a=r!==null?r.length:0,i=this.getByIndex(n).embeddedTView(t,a);i&&(i.indexInDeclarationView=n,r!==null?r.push(i):r=[i])}return r!==null?new Lv(r):null}template(t,r){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,r)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},s$=class Fv{constructor(t,r=-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=r}elementStart(t,r){this.isApplyingToNode(r)&&this.matchTNode(t,r)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,r){this.elementStart(t,r)}embeddedTView(t,r){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,r),new Fv(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let r=this._declarationNodeIndex,n=t.parent;for(;n!==null&&n.type&8&&n.index!==r;)n=n.parent;return r===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(t,r){let n=this.metadata.predicate;if(Array.isArray(n))for(let a=0;a<n.length;a++){let i=n[a];this.matchTNodeWithReadOption(t,r,l$(r,i)),this.matchTNodeWithReadOption(t,r,Uo(r,t,i,!1,!1))}else n===Ii?r.type&4&&this.matchTNodeWithReadOption(t,r,-1):this.matchTNodeWithReadOption(t,r,Uo(r,t,n,!1,!1))}matchTNodeWithReadOption(t,r,n){if(n!==null){let a=this.metadata.read;if(a!==null)if(a===en||a===Js||a===Ii&&r.type&4)this.addMatch(r.index,-2);else{let i=Uo(r,t,a,!1,!1);i!==null&&this.addMatch(r.index,i)}else this.addMatch(r.index,n)}}addMatch(t,r){this.matches===null?this.matches=[t,r]:this.matches.push(t,r)}};function l$(e,t){let r=e.localNames;if(r!==null){for(let n=0;n<r.length;n+=2)if(r[n]===t)return r[n+1]}return null}function u$(e,t){return e.type&11?Ha(e,t):e.type&4?hd(e,t):null}function c$(e,t,r,n){return r===-1?u$(t,e):r===-2?d$(e,t,n):Si(e,e[le],r,t)}function d$(e,t,r){if(r===en)return Ha(t,e);if(r===Ii)return hd(t,e);if(r===Js)return Rv(t,e)}function jv(e,t,r,n){let a=t[xn].queries[n];if(a.matches===null){let i=e.data,o=r.matches,l=[];for(let h=0;o!==null&&h<o.length;h+=2){let u=o[h];if(u<0)l.push(null);else{let c=i[u];l.push(c$(t,c,o[h+1],r.metadata.read))}}a.matches=l}return a.matches}function Ru(e,t,r,n){let a=e.queries.getByIndex(r),i=a.matches;if(i!==null){let o=jv(e,t,a,r);for(let l=0;l<i.length;l+=2){let h=i[l];if(h>0)n.push(o[l/2]);else{let u=i[l+1],c=t[-h];for(let m=Mt;m<c.length;m++){let b=c[m];b[Zr]===b[Rt]&&Ru(b[le],b,u,n)}if(c[Ma]!==null){let m=c[Ma];for(let b=0;b<m.length;b++){let g=m[b];Ru(g[le],g,u,n)}}}}}return n}function h$(e,t){return e[xn].queries[t].queryList}function p$(e,t,r){let n=new _H((r&4)===4);return x9(e,t,n,n.destroy),(t[xn]??(t[xn]=new a$)).queries.push(new r$(n))-1}function m$(e,t,r){let n=bt();return n.firstCreatePass&&(g$(n,new i$(e,t,r),-1),n.staticViewQueries=!0),p$(n,he(),t)}function f$(e){return e.split(",").map(t=>t.trim())}function g$(e,t,r){e.queries===null&&(e.queries=new o$),e.queries.track(new s$(t,r))}function md(e,t){return e.queries.getByIndex(t)}function v$(e,t){let r=e[le],n=md(r,t);return n.crossesNgTemplate?Ru(r,e,t,[]):jv(r,e,n,t)}var Di=class{},Vv=class extends Di{constructor(t){super();s(this,"injector");s(this,"componentFactoryResolver",new $7(this));s(this,"instance",null);let r=new Tc([...t.providers,{provide:Di,useValue:this},{provide:to,useValue:this.componentFactoryResolver}],t.parent||$s(),t.debugName,new Set(["environment"]));this.injector=r,t.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function b$(e,t,r=null){return new Vv({providers:e,parent:t,debugName:r,runEnvironmentInitializers:!0}).injector}var y$=(()=>{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=jf(!1,n.type),i=a.length>0?b$([a],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};s(t,"ɵprov",$({token:t,providedIn:"environment",factory:()=>new t(ee(Ln))}));let e=t;return e})();function Dt(e){return ji(()=>{let t=Bv(e),r=Qt(ge({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Rg.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?a=>a.get(y$).getOrCreateStandaloneInjector(r):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ar.Emulated,styles:e.styles||Bt,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&ta("NgStandalone"),Hv(r);let n=e.dependencies;return r.directiveDefs=Gh(n,!1),r.pipeDefs=Gh(n,!0),r.id=S$(r),r})}function _$(e){return Ia(e)||J5(e)}function w$(e){return e!==null}function zv(e){return ji(()=>({type:e.type,bootstrap:e.bootstrap||Bt,declarations:e.declarations||Bt,imports:e.imports||Bt,exports:e.exports||Bt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function x$(e,t){if(e==null)return Wr;let r={};for(let n in e)if(e.hasOwnProperty(n)){let a=e[n],i,o,l,h;Array.isArray(a)?(l=a[0],i=a[1],o=a[2]??i,h=a[3]||null):(i=a,o=a,l=Zs.None,h=null),r[i]=[n,l,h],t[i]=o}return r}function E$(e){if(e==null)return Wr;let t={};for(let r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}function hr(e){return ji(()=>{let t=Bv(e);return Hv(t),t})}function ra(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 Bv(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||Wr,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Bt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:x$(e.inputs,t),outputs:E$(e.outputs),debugInfo:null}}function Hv(e){var t;(t=e.features)==null||t.forEach(r=>r(e))}function Gh(e,t){if(!e)return null;let r=t?X5:_$;return()=>(typeof e=="function"?e():e).map(n=>r(n)).filter(w$)}function S$(e){let t=0,r=typeof e.consts=="function"?"":e.consts,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,r,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 k$(e){return Object.getPrototypeOf(e.prototype).constructor}function Tr(e){let t=k$(e.type),r=!0,n=[e];for(;t;){let a;if(Fn(e))a=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new U(903,!1);a=t.ɵdir}if(a){if(r){n.push(a);let o=e;o.inputs=Dl(e.inputs),o.declaredInputs=Dl(e.declaredInputs),o.outputs=Dl(e.outputs);let l=a.hostBindings;l&&T$(e,l);let h=a.viewQuery,u=a.contentQueries;if(h&&D$(e,h),u&&N$(e,u),C$(e,a),N5(e.outputs,a.outputs),Fn(a)&&a.data.animation){let c=e.data;c.animation=(c.animation||[]).concat(a.data.animation)}}let i=a.features;if(i)for(let o=0;o<i.length;o++){let l=i[o];l&&l.ngInherit&&l(e),l===Tr&&(r=!1)}}t=Object.getPrototypeOf(t)}I$(n)}function C$(e,t){for(let r in t.inputs){if(!t.inputs.hasOwnProperty(r)||e.inputs.hasOwnProperty(r))continue;let n=t.inputs[r];n!==void 0&&(e.inputs[r]=n,e.declaredInputs[r]=t.declaredInputs[r])}}function I$(e){let t=0,r=null;for(let n=e.length-1;n>=0;n--){let a=e[n];a.hostVars=t+=a.hostVars,a.hostAttrs=Ei(a.hostAttrs,r=Ei(r,a.hostAttrs))}}function Dl(e){return e===Wr?{}:e===Bt?[]:e}function D$(e,t){let r=e.viewQuery;r?e.viewQuery=(n,a)=>{t(n,a),r(n,a)}:e.viewQuery=t}function N$(e,t){let r=e.contentQueries;r?e.contentQueries=(n,a,i)=>{t(n,a,i),r(n,a,i)}:e.contentQueries=t}function T$(e,t){let r=e.hostBindings;r?e.hostBindings=(n,a)=>{t(n,a),r(n,a)}:e.hostBindings=t}function qv(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Xs(e,t,r){return e[t]=r}function $v(e,t){return e[t]}function En(e,t,r){let n=e[t];return Object.is(n,r)?!1:(e[t]=r,!0)}function ys(e,t,r,n){let a=En(e,t,r);return En(e,t+1,n)||a}function M$(e,t,r,n,a,i){let o=ys(e,t,r,n);return ys(e,t+2,a,i)||o}function O$(e,t,r,n,a,i,o,l,h){let u=t.consts,c=eo(t,e,4,o||null,l||null);Dv(t,r,c,xi(u,h),uv),c.mergedAttrs=Ei(c.mergedAttrs,c.attrs),mg(t,c);let m=c.tView=ed(2,c,n,a,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return t.queries!==null&&(t.queries.template(t,c),m.queries=t.queries.embeddedTView(c)),c}function Gv(e,t,r,n,a,i,o,l,h,u){let c=r+gt,m=t.firstCreatePass?O$(c,t,e,n,a,i,o,l,h):t.data[c];Ba(m,!1);let b=R$(t,e);Gc()&&ud(t,e,b,m),Zi(b,e);let g=Ev(b,e,b,m);return e[c]=g,nd(e,g),Rc(m)&&rd(t,e,m),h!=null&&lv(e,m,u),m}function Ht(e,t,r,n,a,i,o,l){let h=he(),u=bt(),c=xi(u.consts,i);return Gv(h,u,e,t,r,n,a,c,o,l),Ht}var R$=P$;function P$(e,t,r,n){return Uc(!0),t[ft].createComment("")}var A$=new Q(""),L$=(()=>{const t=class t{};s(t,"ɵprov",$({token:t,providedIn:"root",factory:()=>new F$}));let e=t;return e})(),F$=class{constructor(){s(this,"queuedEffectCount",0);s(this,"queues",new Map)}schedule(e){this.enqueue(e)}remove(e){let t=e.zone,r=this.queues.get(t);r.has(e)&&(r.delete(e),this.queuedEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(e)||(this.queuedEffectCount++,r.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 fd(e){return!!e&&typeof e.then=="function"}function Uv(e){return!!e&&typeof e.subscribe=="function"}var j$=new Q(""),Wv=(()=>{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",D(j$,{optional:!0})??[]);s(this,"injector",D(Ot))}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=Mc(this.injector,i);if(fd(o))n.push(o);else if(Uv(o)){let l=new Promise((h,u)=>{o.subscribe({complete:h,error:u})});n.push(l)}}let a=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{a()}).catch(i=>{this.reject(i)}),n.length===0&&a(),this.initialized=!0}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),V$=new Q("");function z$(){E4(()=>{throw new U(600,!1)})}function B$(e){return e.isBoundToModule}var H$=10,Ir=(()=>{const t=class t{constructor(){s(this,"_runningTick",!1);s(this,"_destroyed",!1);s(this,"_destroyListeners",[]);s(this,"_views",[]);s(this,"internalErrorHandler",D(fH));s(this,"afterRenderManager",D(Bg));s(this,"zonelessEnabled",D(Ig));s(this,"rootEffectScheduler",D(L$));s(this,"dirtyFlags",0);s(this,"tracingSnapshot",null);s(this,"externalTestViews",new Set);s(this,"afterTick",new Pe);s(this,"componentTypes",[]);s(this,"components",[]);s(this,"isStable",D(Wi).hasPendingTasks.pipe(wt(n=>!n)));s(this,"_injector",D(Ln));s(this,"_rendererFactory",null);s(this,"tickImpl",()=>{var a;if(this._runningTick)throw new U(101,!1);let n=xe(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,(a=this.tracingSnapshot)==null||a.dispose(),this.tracingSnapshot=null,xe(n),this.afterTick.next()}});D(Ki,{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:i=>{i&&a()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,a){return this.bootstrapImpl(n,a)}bootstrapImpl(n,a,i=Ot.NULL){let o=n instanceof Iv;if(!this._injector.get(Wv).done){let g="";throw new U(405,g)}let l;o?l=n:l=this._injector.get(to).resolveComponentFactory(n),this.componentTypes.push(l.componentType);let h=B$(l)?void 0:this._injector.get(Di),u=a||l.selector,c=l.create(i,[],u,h),m=c.location.nativeElement,b=c.injector.get(A$,null);return b==null||b.registerApplication(m),c.onDestroy(()=>{this.detachView(c.hostView),Wo(this.components,c),b==null||b.unregisterApplication(m)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){this.tracingSnapshot!==null?this.tracingSnapshot.run(Jc.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(kn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<H$;)this.synchronizeOnce()}synchronizeOnce(){var n,a,i,o;if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let l=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:h,notifyErrorHandler:u}of this.allViews)q$(h,u,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=(i=this._rendererFactory)==null?void 0:i.end)==null||o.call(i);this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>zi(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;Wo(this._views,a),a.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(V$,[]).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),()=>Wo(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new U(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",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Wo(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}function q$(e,t,r,n){!r&&!zi(e)||yv(e,t,r&&!n?0:1)}function qa(e,t,r,n){let a=he(),i=qi();if(En(a,i,t)){bt();let o=hg();zq(o,a,e,t,r,n)}return qa}function $$(e,t,r,n){return En(e,qi(),r)?t+_i(r)+n:tn}function G$(e,t,r,n,a,i){let o=M9(),l=ys(e,o,r,a);return Bc(2),l?t+_i(r)+n+_i(a)+i:tn}function _o(e,t){return e<<17|t<<2}function Xr(e){return e>>17&32767}function U$(e){return(e&2)==2}function W$(e,t){return e&131071|t<<17}function Pu(e){return e|2}function Pa(e){return(e&131068)>>2}function Nl(e,t){return e&-131069|t<<2}function Z$(e){return(e&1)===1}function Au(e){return e|1}function Y$(e,t,r,n,a,i){let o=t.classBindings,l=Xr(o),h=Pa(o);e[n]=r;let u=!1,c;if(Array.isArray(r)){let m=r;c=m[1],(c===null||Vi(m,c)>0)&&(u=!0)}else c=r;if(a)if(h!==0){let m=Xr(e[l+1]);e[n+1]=_o(m,l),m!==0&&(e[m+1]=Nl(e[m+1],n)),e[l+1]=W$(e[l+1],n)}else e[n+1]=_o(l,0),l!==0&&(e[l+1]=Nl(e[l+1],n)),l=n;else e[n+1]=_o(h,0),l===0?l=n:e[h+1]=Nl(e[h+1],n),h=n;u&&(e[n+1]=Pu(e[n+1])),Uh(e,c,n,!0),Uh(e,c,n,!1),K$(t,c,e,n),o=_o(l,h),t.classBindings=o}function K$(e,t,r,n,a){let i=e.residualClasses;i!=null&&typeof t=="string"&&Vi(i,t)>=0&&(r[n+1]=Au(r[n+1]))}function Uh(e,t,r,n){let a=e[r+1],i=t===null,o=n?Xr(a):Pa(a),l=!1;for(;o!==0&&(l===!1||i);){let h=e[o],u=e[o+1];Q$(h,t)&&(l=!0,e[o+1]=n?Au(u):Pu(u)),o=n?Xr(u):Pa(u)}l&&(e[r+1]=n?Pu(a):Au(a))}function Q$(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Vi(e,t)>=0:!1}var _n={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function J$(e){return e.substring(_n.key,_n.keyEnd)}function X$(e){return eG(e),Zv(e,Yv(e,0,_n.textEnd))}function Zv(e,t){let r=_n.textEnd;return r===t?-1:(t=_n.keyEnd=tG(e,_n.key=t,r),Yv(e,t,r))}function eG(e){_n.key=0,_n.keyEnd=0,_n.value=0,_n.valueEnd=0,_n.textEnd=e.length}function Yv(e,t,r){for(;t<r&&e.charCodeAt(t)<=32;)t++;return t}function tG(e,t,r){for(;t<r&&e.charCodeAt(t)>32;)t++;return t}function $a(e,t,r){let n=he(),a=qi();if(En(n,a,t)){let i=bt(),o=hg();Aq(i,o,n,e,t,n[ft],r)}return $a}function Lu(e,t,r,n,a){ad(t,e,r,a?"class":"style",n)}function Dr(e,t){return rG(e,t,null,!0),Dr}function gd(e){aG(cG,nG,e,!0)}function nG(e,t){for(let r=X$(t);r>=0;r=Zv(t,r))Cc(e,J$(t),!0)}function rG(e,t,r,n){let a=he(),i=bt(),o=Bc(2);if(i.firstUpdatePass&&Qv(i,e,o,n),t!==tn&&En(a,o,t)){let l=i.data[Bn()];Jv(i,l,a,a[ft],e,a[o+1]=hG(t),n,o)}}function aG(e,t,r,n){let a=bt(),i=Bc(2);a.firstUpdatePass&&Qv(a,null,i,n);let o=he();if(r!==tn&&En(o,i,r)){let l=a.data[Bn()];if(Xv(l)&&!Kv(a,i)){let h=l.classesWithoutHost;h!==null&&(r=hu(h,r||"")),Lu(a,l,o,r,n)}else dG(a,l,o,o[ft],o[i+1],o[i+1]=uG(e,t,r),n,i)}}function Kv(e,t){return t>=e.expandoStartIndex}function Qv(e,t,r,n){let a=e.data;if(a[r+1]===null){let i=a[Bn()],o=Kv(e,r);Xv(i)&&t===null&&!o&&(t=!1),t=iG(a,i,t,n),Y$(a,i,t,r,o)}}function iG(e,t,r,n){let a=L9(e),i=t.residualClasses;if(a===null)t.classBindings===0&&(r=Tl(null,e,t,r),r=Ni(r,t.attrs),i=null);else{let o=t.directiveStylingLast;if(o===-1||e[o]!==a)if(r=Tl(a,e,t,r),i===null){let l=oG(e,t);l!==void 0&&Array.isArray(l)&&(l=Tl(null,e,t,l[1]),l=Ni(l,t.attrs),sG(e,t,n,l))}else i=lG(e,t)}return i!==void 0&&(t.residualClasses=i),r}function oG(e,t,r){let n=t.classBindings;if(Pa(n)!==0)return e[Xr(n)]}function sG(e,t,r,n){let a=t.classBindings;e[Xr(a)]=n}function lG(e,t,r){let n,a=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<a;i++){let o=e[i].hostAttrs;n=Ni(n,o)}return Ni(n,t.attrs)}function Tl(e,t,r,n,a){let i=null,o=r.directiveEnd,l=r.directiveStylingLast;for(l===-1?l=r.directiveStart:l++;l<o&&(i=t[l],n=Ni(n,i.hostAttrs),i!==e);)l++;return e!==null&&(r.directiveStylingLast=l),n}function Ni(e,t,r){let n=1,a=-1;if(t!==null)for(let i=0;i<t.length;i++){let o=t[i];typeof o=="number"?a=o:a===n&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Cc(e,o,!0))}return e===void 0?null:e}function uG(e,t,r){if(r==null||r==="")return Bt;let n=[],a=Hr(r);if(Array.isArray(a))for(let i=0;i<a.length;i++)e(n,a[i],!0);else if(typeof a=="object")for(let i in a)a.hasOwnProperty(i)&&e(n,i,a[i]);else typeof a=="string"&&t(n,a);return n}function cG(e,t,r){let n=String(t);n!==""&&!n.includes(" ")&&Cc(e,n,r)}function dG(e,t,r,n,a,i,o,l){a===tn&&(a=Bt);let h=0,u=0,c=0<a.length?a[0]:null,m=0<i.length?i[0]:null;for(;c!==null||m!==null;){let b=h<a.length?a[h+1]:void 0,g=u<i.length?i[u+1]:void 0,w=null,x;c===m?(h+=2,u+=2,b!==g&&(w=m,x=g)):m===null||c!==null&&c<m?(h+=2,w=c):(u+=2,w=m,x=g),w!==null&&Jv(e,t,r,n,w,x,o,l),c=h<a.length?a[h]:null,m=u<i.length?i[u]:null}}function Jv(e,t,r,n,a,i,o,l){if(!(t.type&3))return;let h=e.data,u=h[l+1],c=Z$(u)?Wh(h,t,r,a,Pa(u)):void 0;if(!_s(c)){_s(i)||U$(u)&&(i=Wh(h,null,r,a,l));let m=Kf(Bn(),r);a7(n,o,m,a,i)}}function Wh(e,t,r,n,a,i){let o=t===null,l;for(;a>0;){let h=e[a],u=Array.isArray(h),c=u?h[1]:h,m=c===null,b=r[a+1];b===tn&&(b=m?Bt:void 0);let g=m?_l(b,n):c===n?b:void 0;if(u&&!_s(g)&&(g=_l(h,n)),_s(g)&&(l=g,o))return l;let w=e[a+1];a=o?Xr(w):Pa(w)}if(t!==null){let h=t.residualClasses;h!=null&&(l=_l(h,n))}return l}function _s(e){return e!==void 0}function hG(e,t){return e==null||e===""||typeof e=="object"&&(e=un(Hr(e))),e}function Xv(e,t){return(e.flags&8)!==0}var pG=class{destroy(e){}updateValue(e,t){}swap(e,t){let r=Math.min(e,t),n=Math.max(e,t),a=this.detach(n);if(n-r>1){let i=this.detach(r);this.attach(r,a),this.attach(n,i)}else this.attach(r,a)}move(e,t){this.attach(t,this.detach(e))}};function Ml(e,t,r,n,a){return e===r&&Object.is(t,n)?1:Object.is(a(e,t),a(r,n))?-1:0}function mG(e,t,r){let n,a,i=0,o=e.length-1;if(Array.isArray(t)){let l=t.length-1;for(;i<=o&&i<=l;){let h=e.at(i),u=t[i],c=Ml(i,h,i,u,r);if(c!==0){c<0&&e.updateValue(i,u),i++;continue}let m=e.at(o),b=t[l],g=Ml(o,m,l,b,r);if(g!==0){g<0&&e.updateValue(o,b),o--,l--;continue}let w=r(i,h),x=r(o,m),S=r(i,u);if(Object.is(S,x)){let N=r(l,b);Object.is(N,w)?(e.swap(i,o),e.updateValue(o,b),l--,o--):e.move(o,i),e.updateValue(i,u),i++;continue}if(n??(n=new Kh),a??(a=Yh(e,i,o,r)),Fu(e,n,i,S))e.updateValue(i,u),i++,o++;else if(a.has(S))n.set(w,e.detach(i)),o--;else{let N=e.create(i,t[i]);e.attach(i,N),i++,o++}}for(;i<=l;)Zh(e,n,r,i,t[i]),i++}else if(t!=null){let l=t[Symbol.iterator](),h=l.next();for(;!h.done&&i<=o;){let u=e.at(i),c=h.value,m=Ml(i,u,i,c,r);if(m!==0)m<0&&e.updateValue(i,c),i++,h=l.next();else{n??(n=new Kh),a??(a=Yh(e,i,o,r));let b=r(i,c);if(Fu(e,n,i,b))e.updateValue(i,c),i++,o++,h=l.next();else if(!a.has(b))e.attach(i,e.create(i,c)),i++,o++,h=l.next();else{let g=r(i,u);n.set(g,e.detach(i)),o--}}}for(;!h.done;)Zh(e,n,r,e.length,h.value),h=l.next()}for(;i<=o;)e.destroy(e.detach(o--));n==null||n.forEach(l=>{e.destroy(l)})}function Fu(e,t,r,n){return t!==void 0&&t.has(n)?(e.attach(r,t.get(n)),t.delete(n),!0):!1}function Zh(e,t,r,n,a){if(Fu(e,t,n,r(n,a)))e.updateValue(n,a);else{let i=e.create(n,a);e.attach(n,i)}}function Yh(e,t,r,n){let a=new Set;for(let i=t;i<=r;i++)a.add(n(i,e.at(i)));return a}var Kh=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 r=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let n=this._vMap;for(;n.has(r);)r=n.get(r);n.set(r,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,r]of this.kvMap)if(e(r,t),this._vMap!==void 0){let n=this._vMap;for(;n.has(r);)r=n.get(r),e(r,t)}}};function ln(e,t){ta("NgControlFlow");let r=he(),n=qi(),a=r[n]!==tn?r[n]:-1,i=a!==-1?ws(r,gt+a):void 0,o=0;if(En(r,n,e)){let l=xe(null);try{if(i!==void 0&&kv(i,o),e!==-1){let h=gt+e,u=ws(r,h),c=ju(r[le],h),m=Ra(u,c.tView.ssrId),b=Ji(r,c,t,{dehydratedView:m});Xi(u,b,o,Oa(c,m))}}finally{xe(l)}}else if(i!==void 0){let l=Sv(i,o);l!==void 0&&(l[xt]=t)}}var fG=class{constructor(e,t,r){s(this,"lContainer");s(this,"$implicit");s(this,"$index");this.lContainer=e,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-Mt}};function gG(e){return e}function vG(e,t){return t}var bG=class{constructor(e,t,r){s(this,"hasEmptyBlock");s(this,"trackByFn");s(this,"liveCollection");this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=r}};function e0(e,t,r,n,a,i,o,l,h,u,c,m,b){ta("NgControlFlow");let g=he(),w=bt(),x=h!==void 0,S=he(),N=o,L=new bG(x,N);S[gt+e]=L,Gv(g,w,e+1,t,r,n,a,xi(w.consts,i))}var yG=class extends pG{constructor(t,r,n){super();s(this,"lContainer");s(this,"hostLView");s(this,"templateTNode");s(this,"operationsCounter");s(this,"needsIndexUpdate",!1);this.lContainer=t,this.hostLView=r,this.templateTNode=n}get length(){return this.lContainer.length-Mt}at(t){return this.getLView(t)[xt].$implicit}attach(t,r){let n=r[Na];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),Xi(this.lContainer,r,t,Oa(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),_G(this.lContainer,t)}create(t,r){var i;let n=Ra(this.lContainer,this.templateTNode.tView.ssrId),a=Ji(this.hostLView,this.templateTNode,new fG(this.lContainer,r,t),{dehydratedView:n});return(i=this.operationsCounter)==null||i.recordCreate(),a}destroy(t){var r;Ys(t[le],t),(r=this.operationsCounter)==null||r.recordDestroy()}updateValue(t,r){this.getLView(t)[xt].$implicit=r}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)[xt].$index=t}getLView(t){return wG(this.lContainer,t)}};function t0(e){let t=xe(null),r=Bn();try{let n=he(),a=n[le],i=n[r],o=r+1,l=ws(n,o);if(i.liveCollection===void 0){let u=ju(a,o);i.liveCollection=new yG(l,n,u)}else i.liveCollection.reset();let h=i.liveCollection;if(mG(h,e,i.trackByFn),h.updateIndexes(),i.hasEmptyBlock){let u=qi(),c=h.length===0;if(En(n,u,c)){let m=r+2,b=ws(n,m);if(c){let g=ju(a,m),w=Ra(b,g.tView.ssrId),x=Ji(n,g,void 0,{dehydratedView:w});Xi(b,x,0,Oa(g,w))}else kv(b,0)}}}finally{xe(t)}}function ws(e,t){return e[t]}function _G(e,t){return ki(e,t)}function wG(e,t){return Sv(e,t)}function ju(e,t){return Pc(e,t)}function ke(e,t,r,n){let a=he(),i=bt(),o=gt+e,l=a[ft],h=i.firstCreatePass?Tv(o,i,a,t,uv,C9(),r,n):i.data[o],u=xG(i,a,h,l,t);a[o]=u;let c=Rc(h);return Ba(h,!0),rv(l,u,h),!sd(h)&&Gc()&&ud(i,a,u,h),(E9()===0||c)&&Zi(u,a),S9(),c&&(rd(i,a,h),Ug(i,h,a)),n!==null&&lv(a,h),ke}function Ce(){let e=Xt();rg()?ag():(e=e.parent,Ba(e,!1));let t=e;I9(t)&&D9(),k9();let r=bt();return r.firstCreatePass&&Mv(r,t),t.classesWithoutHost!=null&&H9(t)&&Lu(r,t,he(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&q9(t)&&Lu(r,t,he(),t.stylesWithoutHost,!1),Ce}function Kt(e,t,r,n){return ke(e,t,r,n),Ce(),Kt}var xG=(e,t,r,n,a,i)=>(Uc(!0),tv(n,a,V9()));function n0(){return he()}var Rr=void 0;function EG(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var SG=["en",[["a","p"],["AM","PM"],Rr],[["AM","PM"],Rr,Rr],[["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"]],Rr,[["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"]],Rr,[["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}",Rr,"{1} 'at' {0}",Rr],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",EG],mi={};function kG(e,t,r){typeof t!="string"&&(r=t,t=e[ct.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),mi[t]=e,r&&(mi[t][ct.ExtraData]=r)}function Cn(e){let t=CG(e),r=Qh(t);if(r)return r;let n=t.split("-")[0];if(r=Qh(n),r)return r;if(n==="en")return SG;throw new U(701,!1)}function Qh(e){return e in mi||(mi[e]=pa.ng&&pa.ng.common&&pa.ng.common.locales&&pa.ng.common.locales[e]),mi[e]}var ct=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}(ct||{});function CG(e){return e.toLowerCase().replace(/_/g,"-")}var Vu="en-US";function IG(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function Jh(e,t,r){return function n(a){if(a===Function)return r;let i=Va(e)?Vn(e.index,t):t;dd(i,5);let o=t[xt],l=Xh(t,o,r,a),h=n.__ngNextListenerFn__;for(;h;)l=Xh(t,o,h,a)&&l,h=h.__ngNextListenerFn__;return l}}function Xh(e,t,r,n){let a=xe(null);try{return Kr(6,t,r),r(n)!==!1}catch(i){return DG(e,i),!1}finally{xe(a)}}function DG(e,t){let r=e[Ta],n=r?r.get(Hn,null):null;n&&n.handleError(t)}function ep(e,t,r,n,a,i){let o=t[r],l=t[le],h=l.data[r].outputs[n],u=o[h],c=l.firstCreatePass?zc(l):null,m=Vc(t),b=u.subscribe(i),g=m.length;m.push(i,b),c&&c.push(a,e.index,g,-(g+1))}function el(e,t,r,n){let a=he(),i=bt(),o=Xt();return TG(i,a,a[ft],o,e,t,n),el}function NG(e,t,r,n){let a=e.cleanup;if(a!=null)for(let i=0;i<a.length-1;i+=2){let o=a[i];if(o===r&&a[i+1]===n){let l=t[_a],h=a[i+2];return l.length>h?l[h]:null}typeof o=="string"&&(i+=2)}return null}function TG(e,t,r,n,a,i,o){var m,b;let l=Rc(n),h=e.firstCreatePass?zc(e):null,u=Vc(t),c=!0;if(n.type&3||o){let g=zn(n,t),w=o?o(g):g,x=u.length,S=o?L=>o(jn(L[n.index])):n.index,N=null;if(!o&&l&&(N=NG(e,t,a,n.index)),N!==null){let L=N.__ngLastListenerFn__||N;L.__ngNextListenerFn__=i,N.__ngLastListenerFn__=i,c=!1}else{i=Jh(n,t,i);let L=r.listen(w,a,i);u.push(i,L),h&&h.push(a,S,x,x+1)}}else i=Jh(n,t,i);if(c){let g=(m=n.outputs)==null?void 0:m[a],w=(b=n.hostDirectiveOutputs)==null?void 0:b[a];if(w&&w.length)for(let x=0;x<w.length;x+=2){let S=w[x],N=w[x+1];ep(n,t,S,N,a,i)}if(g&&g.length)for(let x of g)ep(n,t,x,a,a,i)}}function Et(e=1){return j9(e)}function MG(e,t){let r=null,n=bq(e);for(let a=0;a<t.length;a++){let i=t[a];if(i==="*"){r=a;continue}if(n===null?ev(e,i,!0):wq(n,i))return a}return r}function Ga(e){let t=he()[hn][$t];if(!t.projection){let r=e?e.length:1,n=t.projection=Y5(r,null),a=n.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let o=e?MG(i,e):0;o!==null&&(a[o]?a[o].projectionNext=i:n[o]=i,a[o]=i)}i=i.next}}}function dn(e,t=0,r,n,a,i){let o=he(),l=bt(),h=null,u=eo(l,gt+e,16,null,null);u.projection===null&&(u.projection=t),ag();let c=!o[Na]||Xf();o[hn][$t].projection[u.projection]===null&&h!==null?OG(o,l,h):c&&!sd(u)&&n7(l,o,u)}function OG(e,t,r){let n=gt+r,a=t.data[n],i=e[n],o=Ra(i,a.tView.ssrId),l=Ji(e,a,void 0,{dehydratedView:o});Xi(i,l,0,Oa(a,o))}function tp(e,t,r){m$(e,t,r)}function np(e){let t=he(),r=bt(),n=og();Hc(n+1);let a=md(r,n);if(e.dirty&&b9(t)===((a.metadata.flags&2)===2)){if(a.matches===null)e.reset([]);else{let i=v$(t,n);e.reset(i,bH),e.notifyOnChanges()}return!0}return!1}function rp(){return h$(he(),og())}function Ae(e,t=""){let r=he(),n=bt(),a=e+gt,i=n.firstCreatePass?eo(n,a,1,t,null):n.data[a],o=RG(n,r,i,t);r[a]=o,Gc()&&ud(n,r,o,i),Ba(i,!1)}var RG=(e,t,r,n,a)=>(Uc(!0),kq(t[ft],n));function mt(e){return lr("",e,""),mt}function lr(e,t,r){let n=he(),a=$$(n,e,t,r);return a!==tn&&r0(n,Bn(),a),lr}function vd(e,t,r,n,a){let i=he(),o=G$(i,e,t,r,n,a);return o!==tn&&r0(i,Bn(),o),vd}function r0(e,t,r){let n=Kf(t,e);Cq(e[ft],n,r)}var a0={};function i0(e){let t=bt(),r=he(),n=e+gt,a=eo(t,n,128,null,null);return Ba(a,!1),Lc(t,r,n,a0),i0}function ap(e){ta("NgLet");let t=bt(),r=he(),n=Bn();return Lc(t,r,n,e),e}function ip(e){let t=T9(),r=Ac(t,gt+e);if(r===a0)throw new U(314,!1);return r}function PG(e,t,r){let n=bt();if(n.firstCreatePass){let a=Fn(e);zu(r,n.data,n.blueprint,a,!0),zu(t,n.data,n.blueprint,a,!1)}}function zu(e,t,r,n,a){if(e=Ft(e),Array.isArray(e))for(let i=0;i<e.length;i++)zu(e[i],t,r,n,a);else{let i=bt(),o=he(),l=Xt(),h=Da(e)?e:Ft(e.provide),u=Bf(e),c=l.providerIndexes&1048575,m=l.directiveStart,b=l.providerIndexes>>20;if(Da(e)||!e.multi){let g=new $i(u,a,Vt),w=Rl(h,t,a?c:c+b,m);w===-1?(Eu(ms(l,o),i,h),Ol(i,e,t.length),t.push(h),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),r.push(g),o.push(g)):(r[w]=g,o[w]=g)}else{let g=Rl(h,t,c+b,m),w=Rl(h,t,c,c+b),x=g>=0&&r[g],S=w>=0&&r[w];if(a&&!S||!a&&!x){Eu(ms(l,o),i,h);let N=FG(a?LG:AG,r.length,a,n,u);!a&&S&&(r[w].providerFactory=N),Ol(i,e,t.length,0),t.push(h),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),r.push(N),o.push(N)}else{let N=o0(r[a?w:g],u,!a&&n);Ol(i,e,g>-1?g:w,N)}!a&&n&&S&&r[w].componentProviders++}}}function Ol(e,t,r,n){let a=Da(t),i=a9(t);if(a||i){let o=(i?Ft(t.useClass):t).prototype.ngOnDestroy;if(o){let l=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){let h=l.indexOf(r);h===-1?l.push(r,[n,o]):l[h+1].push(n,o)}else l.push(r,o)}}}function o0(e,t,r){return r&&e.componentProviders++,e.multi.push(t)-1}function Rl(e,t,r,n){for(let a=r;a<n;a++)if(t[a]===e)return a;return-1}function AG(e,t,r,n,a){return Bu(this.multi,[])}function LG(e,t,r,n,a){let i=this.multi,o;if(this.providerFactory){let l=this.providerFactory.componentProviders,h=Si(n,n[le],this.providerFactory.index,a);o=h.slice(0,l),Bu(i,o);for(let u=l;u<h.length;u++)o.push(h[u])}else o=[],Bu(i,o);return o}function Bu(e,t){for(let r=0;r<e.length;r++){let n=e[r];t.push(n())}return t}function FG(e,t,r,n,a){let i=new $i(e,r,Vt);return i.multi=[],i.index=t,i.componentProviders=0,o0(i,a,n&&!r),i}function jG(e,t=[]){return r=>{r.providersResolver=(n,a)=>PG(n,a?a(e):e,t)}}function VG(e,t,r){let n=Hi()+e,a=he();return a[n]===tn?Xs(a,n,t()):$v(a,n)}function zG(e,t,r,n){return l0(he(),Hi(),e,t,r,n)}function BG(e,t,r,n,a,i,o,l){let h=Hi()+e,u=he(),c=M$(u,h,r,n,a,i);return En(u,h+4,o)||c?Xs(u,h+5,t(r,n,a,i,o)):$v(u,h+5)}function s0(e,t){let r=e[t];return r===tn?void 0:r}function l0(e,t,r,n,a,i){let o=t+r;return En(e,o,a)?Xs(e,o+1,i?n.call(i,a):n(a)):s0(e,o+1)}function HG(e,t,r,n,a,i,o){let l=t+r;return ys(e,l,a,i)?Xs(e,l+2,o?n.call(o,a,i):n(a,i)):s0(e,l+2)}function $e(e,t){let r=bt(),n,a=e+gt;r.firstCreatePass?(n=qG(t,r.pipeRegistry),r.data[a]=n,n.onDestroy&&(r.destroyHooks??(r.destroyHooks=[])).push(a,n.onDestroy)):n=r.data[a];let i=n.factory||(n.factory=Ur(n.type)),o=zt(Vt);try{let l=ps(!1),h=i();return ps(l),Lc(r,he(),a,h),h}finally{zt(o)}}function qG(e,t){if(t)for(let r=t.length-1;r>=0;r--){let n=t[r];if(e===n.name)return n}}function Qe(e,t,r){let n=e+gt,a=he(),i=Ac(a,n);return c0(a,n)?l0(a,Hi(),t,i.transform,r,i):i.transform(r)}function u0(e,t,r,n){let a=e+gt,i=he(),o=Ac(i,a);return c0(i,a)?HG(i,Hi(),t,o.transform,r,n,o):o.transform(r,n)}function c0(e,t){return e[le].data[t].pure}var $G=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(".")}},op=new $G("19.2.14"),GG=(()=>{const t=class t{constructor(){s(this,"zone",D(je));s(this,"changeDetectionScheduler",D(Ui));s(this,"applicationRef",D(Ir));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",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function UG({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:r}){return e??(e=()=>new je(Qt(ge({},WG()),{scheduleInRootZone:r}))),[{provide:je,useFactory:e},{provide:ss,multi:!0,useFactory:()=>{let n=D(GG,{optional:!0});return()=>n.initialize()}},{provide:ss,multi:!0,useFactory:()=>{let n=D(ZG);return()=>{n.initialize()}}},t===!0?{provide:Dg,useValue:!0}:[],{provide:Ng,useValue:r??Cg}]}function WG(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var ZG=(()=>{const t=class t{constructor(){s(this,"subscription",new Yt);s(this,"initialized",!1);s(this,"zone",D(je));s(this,"pendingTasks",D(Wi))}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{je.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{je.assertInAngularZone(),n??(n=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),YG=(()=>{var t;const r=class r{constructor(){s(this,"appRef",D(Ir));s(this,"taskService",D(Wi));s(this,"ngZone",D(je));s(this,"zonelessEnabled",D(Ig));s(this,"tracing",D(Ki,{optional:!0}));s(this,"disableScheduling",D(Dg,{optional:!0})??!1);s(this,"zoneIsDefined",typeof Zone<"u"&&!!Zone.root.run);s(this,"schedulerTickApplyArgs",[{data:{__scheduler_tick__:!0}}]);s(this,"subscriptions",new Yt);s(this,"angularZoneId",this.zoneIsDefined?(t=this.ngZone._inner)==null?void 0:t.get(gs):null);s(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&(D(Ng,{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 hH||!this.zoneIsDefined))}notify(a){var l;if(!this.zonelessEnabled&&a===5)return;let i=!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,i=!0;break}case 12:{this.appRef.dirtyFlags|=16,i=!0;break}case 13:{this.appRef.dirtyFlags|=2,i=!0;break}case 11:{i=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=((l=this.tracing)==null?void 0:l.snapshot(this.appRef.tracingSnapshot))??null,!this.shouldScheduleTick(i))return;let o=this.useMicrotaskScheduler?Dh:Tg;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(gs+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(i){throw this.taskService.remove(a),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Dh(()=>{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 i=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(i)}}};s(r,"ɵfac",function(a){return new(a||r)}),s(r,"ɵprov",$({token:r,factory:r.ɵfac,providedIn:"root"}));let e=r;return e})();function KG(){return typeof $localize<"u"&&$localize.locale||Vu}var tl=new Q("",{providedIn:"root",factory:()=>D(tl,be.Optional|be.SkipSelf)||KG()}),Hu=new Q(""),QG=new Q("");function Ja(e){return!e.moduleRef}function JG(e){let t=Ja(e)?e.r3Injector:e.moduleRef.injector,r=t.get(je);return r.run(()=>{Ja(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let n=t.get(Hn,null),a;if(r.runOutsideAngular(()=>{a=r.onError.subscribe({next:i=>{n.handleError(i)}})}),Ja(e)){let i=()=>t.destroy(),o=e.platformInjector.get(Hu);o.add(i),t.onDestroy(()=>{a.unsubscribe(),o.delete(i)})}else{let i=()=>e.moduleRef.destroy(),o=e.platformInjector.get(Hu);o.add(i),e.moduleRef.onDestroy(()=>{Wo(e.allPlatformModules,e.moduleRef),a.unsubscribe(),o.delete(i)})}return eU(n,r,()=>{let i=t.get(Wv);return i.runInitializers(),i.donePromise.then(()=>{let o=t.get(tl,Vu);if(IG(o||Vu),!t.get(QG,!0))return Ja(e)?t.get(Ir):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Ja(e)){let l=t.get(Ir);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return XG(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function XG(e,t){let r=e.injector.get(Ir);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(n=>r.bootstrap(n));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(r);else throw new U(-403,!1);t.push(e)}function eU(e,t,r){try{let n=r();return fd(n)?n.catch(a=>{throw t.runOutsideAngular(()=>e.handleError(a)),a}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}var Zo=null;function tU(e=[],t){return Ot.create({name:t,providers:[{provide:Nc,useValue:"platform"},{provide:Hu,useValue:new Set([()=>Zo=null])},...e]})}function nU(e=[]){if(Zo)return Zo;let t=tU(e);return Zo=t,z$(),rU(t),t}function rU(e){let t=e.get(jg,null);Mc(e,()=>{t==null||t.forEach(r=>r())})}function aU(){return!1}var nl=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",iU),e})();function iU(e){return oU(Xt(),he(),(e&16)===16)}function oU(e,t,r){if(Va(e)&&!r){let n=Vn(e.index,t);return new Ci(n,n)}else if(e.type&175){let n=t[hn];return new Ci(n,t)}return null}var sU=class{constructor(){}supports(e){return e instanceof Map||qv(e)}create(){return new lU}},lU=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||qv(e)))throw new U(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(r,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{let a=this._getOrCreateRecordForKey(n,r);t=this._insertBeforeOrAppend(t,a)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){let r=e._prev;return t._next=e,t._prev=r,e._prev=t,r&&(r._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,i=n._next;return a&&(a._next=i),i&&(i._prev=a),n._next=null,n._prev=null,n}let r=new uU(e);return this._records.set(e,r),r.currentValue=t,this._addToAdditions(r),r}_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(r=>t(e[r],r))}},uU=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 sp(){return new d0([new sU])}var d0=(()=>{const t=class t{constructor(n){s(this,"factories");this.factories=n}static create(n,a){if(a){let i=a.factories.slice();n=n.concat(i)}return new t(n)}static extend(n){return{provide:t,useFactory:a=>t.create(n,a||sp()),deps:[[t,new U5,new G5]]}}find(n){let a=this.factories.find(i=>i.supports(n));if(a)return a;throw new U(901,!1)}};s(t,"ɵprov",$({token:t,providedIn:"root",factory:sp}));let e=t;return e})();function cU(e){try{let{rootComponent:t,appProviders:r,platformProviders:n}=e,a=nU(n),i=[UG({}),{provide:Ui,useExisting:YG},...r||[]],o=new Vv({providers:i,parent:a,debugName:"",runEnvironmentInitializers:!1});return JG({r3Injector:o.injector,platformInjector:a,rootComponent:t})}catch(t){return Promise.reject(t)}finally{}}function si(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function h0(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function qu(e){return I4(e)}function lp(e,t){return y4(e)}function p0(e,t){let r=Ia(e),n=t.elementInjector||$s();return new pd(r).create(n,t.projectableNodes,t.hostElement,t.environmentInjector)}var dU={schedule(e,t){let r=setTimeout(e,t);return()=>clearTimeout(r)}};function hU(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function pU(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var Pl;function mU(e,t){if(!Pl){let r=Element.prototype;Pl=r.matches||r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?Pl.call(e,t):!1}function fU(e){let t={};return e.forEach(({propName:r,templateName:n,transform:a})=>{t[hU(n)]=[r,a]}),t}function gU(e,t){return t.get(to).resolveComponentFactory(e).inputs}function vU(e,t){let r=e.childNodes,n=t.map(()=>[]),a=-1;t.some((i,o)=>i==="*"?(a=o,!0):!1);for(let i=0,o=r.length;i<o;++i){let l=r[i],h=bU(l,t,a);h!==-1&&n[h].push(l)}return n}function bU(e,t,r){let n=r;return pU(e)&&t.some((a,i)=>a!=="*"&&mU(e,a)?(n=i,!0):!1),n}var yU=10,_U=class{constructor(e,t){s(this,"componentFactory");s(this,"inputMap",new Map);this.componentFactory=t.get(to).resolveComponentFactory(e);for(let r of this.componentFactory.inputs)this.inputMap.set(r.propName,r.templateName)}create(e){return new wU(this.componentFactory,e,this.inputMap)}},wU=class{constructor(e,t,r){s(this,"componentFactory");s(this,"injector");s(this,"inputMap");s(this,"eventEmitters",new _c(1));s(this,"events",this.eventEmitters.pipe(rs(e=>hf(...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=r,this.ngZone=this.injector.get(je),this.appRef=this.injector.get(Ir),this.cdScheduler=t.get(Ui),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=dU.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},yU))})}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),y7(this.componentRef.hostView)&&(_7(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=Ot.create({providers:[],parent:this.injector}),r=vU(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,r,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:r,templateName:n})=>{let a=e.instance[r];return new Je(i=>{let o=a.subscribe(l=>i.next({name:n,value:l}));return()=>o.unsubscribe()})});this.eventEmitters.next(t)}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},xU=class extends HTMLElement{constructor(){super(...arguments);s(this,"ngElementEventsSubscription",null)}};function EU(e,t){let r=gU(e,t.injector),n=t.strategyFactory||new _U(e,t.injector),a=fU(r);class i extends xU{constructor(h){super();s(this,"injector");s(this,"_ngElementStrategy");this.injector=h}get ngElementStrategy(){if(!this._ngElementStrategy){let h=this._ngElementStrategy=n.create(this.injector||t.injector);r.forEach(({propName:u,transform:c})=>{if(!this.hasOwnProperty(u))return;let m=this[u];delete this[u],h.setInputValue(u,m,c)})}return this._ngElementStrategy}attributeChangedCallback(h,u,c,m){let[b,g]=a[h];this.ngElementStrategy.setInputValue(b,c,g)}connectedCallback(){let h=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),h=!0),this.ngElementStrategy.connect(this),h||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(h=>{let u=new CustomEvent(h.name,{detail:h.value});this.dispatchEvent(u)})}}return s(i,"observedAttributes",Object.keys(a)),r.forEach(({propName:o,transform:l})=>{Object.defineProperty(i.prototype,o,{get(){return this.ngElementStrategy.getInputValue(o)},set(h){this.ngElementStrategy.setInputValue(o,h,l)},configurable:!0,enumerable:!0})}),i}var Le=new Q(""),m0=null;function fi(){return m0}function SU(e){m0??(m0=e)}var kU=class{},f0=(()=>{const t=class t{historyGo(n){throw new Error("")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:()=>D(CU),providedIn:"platform"}));let e=t;return e})(),CU=(()=>{const t=class t extends f0{constructor(){super();s(this,"_location");s(this,"_history");s(this,"_doc",D(Le));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return fi().getBaseHref(this._doc)}onPopState(a){let i=fi().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",a,!1),()=>i.removeEventListener("popstate",a)}onHashChange(a){let i=fi().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",a,!1),()=>i.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,i,o){this._history.pushState(a,i,o)}replaceState(a,i,o){this._history.replaceState(a,i,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",$({token:t,factory:()=>new t,providedIn:"platform"}));let e=t;return e})();function g0(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function up(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function qr(e){return e&&e[0]!=="?"?`?${e}`:e}var bd=(()=>{const t=class t{historyGo(n){throw new Error("")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:()=>D(DU),providedIn:"root"}));let e=t;return e})(),IU=new Q(""),DU=(()=>{const t=class t extends bd{constructor(a,i){var o;super();s(this,"_platformLocation");s(this,"_baseHref");s(this,"_removeListenerFns",[]);this._platformLocation=a,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??((o=D(Le).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 g0(this._baseHref,a)}path(a=!1){let i=this._platformLocation.pathname+qr(this._platformLocation.search),o=this._platformLocation.hash;return o&&a?`${i}${o}`:i}pushState(a,i,o,l){let h=this.prepareExternalUrl(o+qr(l));this._platformLocation.pushState(a,i,h)}replaceState(a,i,o,l){let h=this.prepareExternalUrl(o+qr(l));this._platformLocation.replaceState(a,i,h)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(a=0){var i,o;(o=(i=this._platformLocation).historyGo)==null||o.call(i,a)}};s(t,"ɵfac",function(a){return new(a||t)(ee(f0),ee(IU,8))}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),v0=(()=>{const t=class t{constructor(n){s(this,"_subject",new Pe);s(this,"_basePath");s(this,"_locationStrategy");s(this,"_urlChangeListeners",[]);s(this,"_urlChangeSubscription",null);this._locationStrategy=n;let a=this._locationStrategy.getBaseHref();this._basePath=MU(up(cp(a))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){var n;(n=this._urlChangeSubscription)==null||n.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,a=""){return this.path()==this.normalize(n+qr(a))}normalize(n){return t.stripTrailingSlash(TU(this._basePath,cp(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,a="",i=null){this._locationStrategy.pushState(i,"",n,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+qr(a)),i)}replaceState(n,a="",i=null){this._locationStrategy.replaceState(i,"",n,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+qr(a)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){var a,i;(i=(a=this._locationStrategy).historyGo)==null||i.call(a,n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??(this._urlChangeSubscription=this.subscribe(a=>{this._notifyUrlChangeListeners(a.url,a.state)})),()=>{var i;let a=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(a,1),this._urlChangeListeners.length===0&&((i=this._urlChangeSubscription)==null||i.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",a){this._urlChangeListeners.forEach(i=>i(n,a))}subscribe(n,a,i){return this._subject.subscribe({next:n,error:a??void 0,complete:i??void 0})}};s(t,"normalizeQueryParams",qr),s(t,"joinWithSlash",g0),s(t,"stripTrailingSlash",up),s(t,"ɵfac",function(n){return new(n||t)(ee(bd))}),s(t,"ɵprov",$({token:t,factory:()=>NU(),providedIn:"root"}));let e=t;return e})();function NU(){return new v0(ee(bd))}function TU(e,t){if(!e||!t.startsWith(e))return t;let r=t.substring(e.length);return r===""||["/",";","?","#"].includes(r[0])?r:t}function cp(e){return e.replace(/\/index.html$/,"")}function MU(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Lt=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(Lt||{}),Fe=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(Fe||{}),Gt=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(Gt||{}),rl={MinusSign:5};function OU(e){return Cn(e)[ct.LocaleId]}function RU(e,t,r){let n=Cn(e),a=[n[ct.DayPeriodsFormat],n[ct.DayPeriodsStandalone]],i=pn(a,t);return pn(i,r)}function PU(e,t,r){let n=Cn(e),a=[n[ct.DaysFormat],n[ct.DaysStandalone]],i=pn(a,t);return pn(i,r)}function AU(e,t,r){let n=Cn(e),a=[n[ct.MonthsFormat],n[ct.MonthsStandalone]],i=pn(a,t);return pn(i,r)}function LU(e,t){let r=Cn(e)[ct.Eras];return pn(r,t)}function wo(e,t){let r=Cn(e);return pn(r[ct.DateFormat],t)}function xo(e,t){let r=Cn(e);return pn(r[ct.TimeFormat],t)}function Eo(e,t){let r=Cn(e)[ct.DateTimeFormat];return pn(r,t)}function al(e,t){return Cn(e)[ct.NumberSymbols][t]}function b0(e){if(!e[ct.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[ct.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function FU(e){let t=Cn(e);return b0(t),(t[ct.ExtraData][2]||[]).map(r=>typeof r=="string"?Al(r):[Al(r[0]),Al(r[1])])}function jU(e,t,r){let n=Cn(e);b0(n);let a=[n[ct.ExtraData][0],n[ct.ExtraData][1]],i=pn(a,t)||[];return pn(i,r)||[]}function pn(e,t){for(let r=t;r>-1;r--)if(typeof e[r]<"u")return e[r];throw new Error("Locale data API: locale data undefined")}function Al(e){let[t,r]=e.split(":");return{hours:+t,minutes:+r}}var VU=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,la={},zU=/((?:[^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 BU(e,t,r,n){let a=KU(e);t=tr(r,t)||t;let i=[],o;for(;t;)if(o=zU.exec(t),o){i=i.concat(o.slice(1));let u=i.pop();if(!u)break;t=u}else{i.push(t);break}let l=a.getTimezoneOffset();n&&(l=_0(n,l),a=YU(a,n));let h="";return i.forEach(u=>{let c=WU(u);h+=c?c(a,r,l):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),h}function xs(e,t,r){let n=new Date(0);return n.setFullYear(e,t,r),n.setHours(0,0,0),n}function tr(e,t){let r=OU(e);if(la[r]??(la[r]={}),la[r][t])return la[r][t];let n="";switch(t){case"shortDate":n=wo(e,Gt.Short);break;case"mediumDate":n=wo(e,Gt.Medium);break;case"longDate":n=wo(e,Gt.Long);break;case"fullDate":n=wo(e,Gt.Full);break;case"shortTime":n=xo(e,Gt.Short);break;case"mediumTime":n=xo(e,Gt.Medium);break;case"longTime":n=xo(e,Gt.Long);break;case"fullTime":n=xo(e,Gt.Full);break;case"short":let a=tr(e,"shortTime"),i=tr(e,"shortDate");n=So(Eo(e,Gt.Short),[a,i]);break;case"medium":let o=tr(e,"mediumTime"),l=tr(e,"mediumDate");n=So(Eo(e,Gt.Medium),[o,l]);break;case"long":let h=tr(e,"longTime"),u=tr(e,"longDate");n=So(Eo(e,Gt.Long),[h,u]);break;case"full":let c=tr(e,"fullTime"),m=tr(e,"fullDate");n=So(Eo(e,Gt.Full),[c,m]);break}return n&&(la[r][t]=n),n}function So(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(r,n){return t!=null&&n in t?t[n]:r})),e}function yn(e,t,r="-",n,a){let i="";(e<0||a&&e<=0)&&(a?e=-e+1:(e=-e,i=r));let o=String(e);for(;o.length<t;)o="0"+o;return n&&(o=o.slice(o.length-t)),i+o}function HU(e,t){return yn(e,3).substring(0,t)}function lt(e,t,r=0,n=!1,a=!1){return function(i,o){let l=qU(e,i);if((r>0||l>-r)&&(l+=r),e===3)l===0&&r===-12&&(l=12);else if(e===6)return HU(l,t);let h=al(o,rl.MinusSign);return yn(l,t,h,n,a)}}function qU(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 ze(e,t,r=Lt.Format,n=!1){return function(a,i){return $U(a,i,e,t,r,n)}}function $U(e,t,r,n,a,i){switch(r){case 2:return AU(t,a,n)[e.getMonth()];case 1:return PU(t,a,n)[e.getDay()];case 0:let o=e.getHours(),l=e.getMinutes();if(i){let u=FU(t),c=jU(t,a,n),m=u.findIndex(b=>{if(Array.isArray(b)){let[g,w]=b,x=o>=g.hours&&l>=g.minutes,S=o<w.hours||o===w.hours&&l<w.minutes;if(g.hours<w.hours){if(x&&S)return!0}else if(x||S)return!0}else if(b.hours===o&&b.minutes===l)return!0;return!1});if(m!==-1)return c[m]}return RU(t,a,n)[o<12?0:1];case 3:return LU(t,n)[e.getFullYear()<=0?0:1];default:let h=r;throw new Error(`unexpected translation type ${h}`)}}function ko(e){return function(t,r,n){let a=-1*n,i=al(r,rl.MinusSign),o=a>0?Math.floor(a/60):Math.ceil(a/60);switch(e){case 0:return(a>=0?"+":"")+yn(o,2,i)+yn(Math.abs(a%60),2,i);case 1:return"GMT"+(a>=0?"+":"")+yn(o,1,i);case 2:return"GMT"+(a>=0?"+":"")+yn(o,2,i)+":"+yn(Math.abs(a%60),2,i);case 3:return n===0?"Z":(a>=0?"+":"")+yn(o,2,i)+":"+yn(Math.abs(a%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var GU=0,Yo=4;function UU(e){let t=xs(e,GU,1).getDay();return xs(e,0,1+(t<=Yo?Yo:Yo+7)-t)}function y0(e){let t=e.getDay(),r=t===0?-3:Yo-t;return xs(e.getFullYear(),e.getMonth(),e.getDate()+r)}function Ll(e,t=!1){return function(r,n){let a;if(t){let i=new Date(r.getFullYear(),r.getMonth(),1).getDay()-1,o=r.getDate();a=1+Math.floor((o+i)/7)}else{let i=y0(r),o=UU(i.getFullYear()),l=i.getTime()-o.getTime();a=1+Math.round(l/6048e5)}return yn(a,e,al(n,rl.MinusSign))}}function Co(e,t=!1){return function(r,n){let a=y0(r).getFullYear();return yn(a,e,al(n,rl.MinusSign),t)}}var Fl={};function WU(e){if(Fl[e])return Fl[e];let t;switch(e){case"G":case"GG":case"GGG":t=ze(3,Fe.Abbreviated);break;case"GGGG":t=ze(3,Fe.Wide);break;case"GGGGG":t=ze(3,Fe.Narrow);break;case"y":t=lt(0,1,0,!1,!0);break;case"yy":t=lt(0,2,0,!0,!0);break;case"yyy":t=lt(0,3,0,!1,!0);break;case"yyyy":t=lt(0,4,0,!1,!0);break;case"Y":t=Co(1);break;case"YY":t=Co(2,!0);break;case"YYY":t=Co(3);break;case"YYYY":t=Co(4);break;case"M":case"L":t=lt(1,1,1);break;case"MM":case"LL":t=lt(1,2,1);break;case"MMM":t=ze(2,Fe.Abbreviated);break;case"MMMM":t=ze(2,Fe.Wide);break;case"MMMMM":t=ze(2,Fe.Narrow);break;case"LLL":t=ze(2,Fe.Abbreviated,Lt.Standalone);break;case"LLLL":t=ze(2,Fe.Wide,Lt.Standalone);break;case"LLLLL":t=ze(2,Fe.Narrow,Lt.Standalone);break;case"w":t=Ll(1);break;case"ww":t=Ll(2);break;case"W":t=Ll(1,!0);break;case"d":t=lt(2,1);break;case"dd":t=lt(2,2);break;case"c":case"cc":t=lt(7,1);break;case"ccc":t=ze(1,Fe.Abbreviated,Lt.Standalone);break;case"cccc":t=ze(1,Fe.Wide,Lt.Standalone);break;case"ccccc":t=ze(1,Fe.Narrow,Lt.Standalone);break;case"cccccc":t=ze(1,Fe.Short,Lt.Standalone);break;case"E":case"EE":case"EEE":t=ze(1,Fe.Abbreviated);break;case"EEEE":t=ze(1,Fe.Wide);break;case"EEEEE":t=ze(1,Fe.Narrow);break;case"EEEEEE":t=ze(1,Fe.Short);break;case"a":case"aa":case"aaa":t=ze(0,Fe.Abbreviated);break;case"aaaa":t=ze(0,Fe.Wide);break;case"aaaaa":t=ze(0,Fe.Narrow);break;case"b":case"bb":case"bbb":t=ze(0,Fe.Abbreviated,Lt.Standalone,!0);break;case"bbbb":t=ze(0,Fe.Wide,Lt.Standalone,!0);break;case"bbbbb":t=ze(0,Fe.Narrow,Lt.Standalone,!0);break;case"B":case"BB":case"BBB":t=ze(0,Fe.Abbreviated,Lt.Format,!0);break;case"BBBB":t=ze(0,Fe.Wide,Lt.Format,!0);break;case"BBBBB":t=ze(0,Fe.Narrow,Lt.Format,!0);break;case"h":t=lt(3,1,-12);break;case"hh":t=lt(3,2,-12);break;case"H":t=lt(3,1);break;case"HH":t=lt(3,2);break;case"m":t=lt(4,1);break;case"mm":t=lt(4,2);break;case"s":t=lt(5,1);break;case"ss":t=lt(5,2);break;case"S":t=lt(6,1);break;case"SS":t=lt(6,2);break;case"SSS":t=lt(6,3);break;case"Z":case"ZZ":case"ZZZ":t=ko(0);break;case"ZZZZZ":t=ko(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=ko(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=ko(2);break;default:return null}return Fl[e]=t,t}function _0(e,t){e=e.replace(/:/g,"");let r=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(r)?t:r}function ZU(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function YU(e,t,r){let n=e.getTimezoneOffset(),a=_0(t,n);return ZU(e,-1*(a-n))}function KU(e){if(dp(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,i=1,o=1]=e.split("-").map(l=>+l);return xs(a,i-1,o)}let r=parseFloat(e);if(!isNaN(e-r))return new Date(r);let n;if(n=e.match(VU))return QU(n)}let t=new Date(e);if(!dp(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function QU(e){let t=new Date(0),r=0,n=0,a=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(r=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)-r,l=Number(e[5]||0)-n,h=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,o,l,h,u),t}function dp(e){return e instanceof Date&&!isNaN(e.valueOf())}var jl=/\s+/,hp=[],JU=(()=>{const t=class t{constructor(n,a){s(this,"_ngEl");s(this,"_renderer");s(this,"initialClasses",hp);s(this,"rawClass");s(this,"stateMap",new Map);this._ngEl=n,this._renderer=a}set klass(n){this.initialClasses=n!=null?n.trim().split(jl):hp}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(jl):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 i=this.stateMap.get(n);i!==void 0?(i.enabled!==a&&(i.changed=!0,i.enabled=a),i.touched=!0):this.stateMap.set(n,{enabled:a,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let a=n[0],i=n[1];i.changed?(this._toggleClass(a,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(a,!1),this.stateMap.delete(a)),i.touched=!1}}_toggleClass(n,a){n=n.trim(),n.length>0&&n.split(jl).forEach(i=>{a?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};s(t,"ɵfac",function(n){return new(n||t)(Vt(en),Vt(Qs))}),s(t,"ɵdir",hr({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let e=t;return e})(),XU=(()=>{const t=class t{constructor(n,a,i){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=i}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,a){let[i,o]=n.split("."),l=i.indexOf("-")===-1?void 0:va.DashCase;a!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,o?`${a}${o}`:a,l):this._renderer.removeStyle(this._ngEl.nativeElement,i,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)(Vt(en),Vt(d0),Vt(Qs))}),s(t,"ɵdir",hr({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let e=t;return e})();function w0(e,t){return new U(2100,!1)}var e8=class{createSubscription(e,t){return qu(()=>e.subscribe({next:t,error:r=>{throw r}}))}dispose(e){qu(()=>e.unsubscribe())}},t8=class{createSubscription(e,t){return e.then(r=>t==null?void 0:t(r),r=>{throw r}),{unsubscribe:()=>{t=null}}}dispose(e){e.unsubscribe()}},n8=new t8,r8=new e8,a8=(()=>{const t=class t{constructor(n){s(this,"_ref");s(this,"_latestValue",null);s(this,"markForCheckOnValueUpdate",!0);s(this,"_subscription",null);s(this,"_obj",null);s(this,"_strategy",null);this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,a=>this._updateLatestValue(n,a))}_selectStrategy(n){if(fd(n))return n8;if(Uv(n))return r8;throw w0()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,a){var i;n===this._obj&&(this._latestValue=a,this.markForCheckOnValueUpdate&&((i=this._ref)==null||i.markForCheck()))}};s(t,"ɵfac",function(n){return new(n||t)(Vt(nl,16))}),s(t,"ɵpipe",ra({name:"async",type:t,pure:!1}));let e=t;return e})(),i8="mediumDate",o8=new Q(""),s8=new Q(""),l8=(()=>{const t=class t{constructor(n,a,i){s(this,"locale");s(this,"defaultTimezone");s(this,"defaultOptions");this.locale=n,this.defaultTimezone=a,this.defaultOptions=i}transform(n,a,i,o){var l,h;if(n==null||n===""||n!==n)return null;try{let u=a??((l=this.defaultOptions)==null?void 0:l.dateFormat)??i8,c=i??((h=this.defaultOptions)==null?void 0:h.timezone)??this.defaultTimezone??void 0;return BU(n,u,o||this.locale,c)}catch(u){throw w0(t,u.message)}}};s(t,"ɵfac",function(n){return new(n||t)(Vt(tl,16),Vt(o8,24),Vt(s8,24))}),s(t,"ɵpipe",ra({name:"date",type:t,pure:!0}));let e=t;return e})(),u8=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",zv({type:t})),s(t,"ɵinj",kf({}));let e=t;return e})();function x0(e,t){t=encodeURIComponent(t);for(let r of e.split(";")){let n=r.indexOf("="),[a,i]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(a.trim()===t)return decodeURIComponent(i)}return null}var E0="browser",c8="server";function d8(e){return e===E0}function S0(e){return e===c8}var k0=class{};function il(e,t,r){return kG(e,t,r)}var $u=new Q(""),C0=(()=>{const t=class t{constructor(n,a){s(this,"_zone");s(this,"_plugins");s(this,"_eventNameToPlugin",new Map);this._zone=a,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,a,i,o){return this._findPluginFor(a).addEventListener(n,a,i,o)}getZone(){return this._zone}_findPluginFor(n){let a=this._eventNameToPlugin.get(n);if(a)return a;if(a=this._plugins.find(i=>i.supports(n)),!a)throw new U(5101,!1);return this._eventNameToPlugin.set(n,a),a}};s(t,"ɵfac",function(n){return new(n||t)(ee($u),ee(je))}),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})(),I0=class{constructor(e){s(this,"_doc");s(this,"manager");this._doc=e}},Ko="ng-app-id";function pp(e){for(let t of e)t.remove()}function mp(e,t){let r=t.createElement("style");return r.textContent=e,r}function h8(e,t,r,n){var i;let a=(i=e.head)==null?void 0:i.querySelectorAll(`style[${Ko}="${t}"],link[${Ko}="${t}"]`);if(a)for(let o of a)o.removeAttribute(Ko),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&r.set(o.textContent,{usage:0,elements:[o]})}function Gu(e,t){let r=t.createElement("link");return r.setAttribute("rel","stylesheet"),r.setAttribute("href",e),r}var D0=(()=>{const t=class t{constructor(n,a,i,o={}){s(this,"doc");s(this,"appId");s(this,"nonce");s(this,"inline",new Map);s(this,"external",new Map);s(this,"hosts",new Set);s(this,"isServer");this.doc=n,this.appId=a,this.nonce=i,this.isServer=S0(o),h8(n,a,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,a){for(let i of n)this.addUsage(i,this.inline,mp);a==null||a.forEach(i=>this.addUsage(i,this.external,Gu))}removeStyles(n,a){for(let i of n)this.removeUsage(i,this.inline);a==null||a.forEach(i=>this.removeUsage(i,this.external))}addUsage(n,a,i){let o=a.get(n);o?o.usage++:a.set(n,{usage:1,elements:[...this.hosts].map(l=>this.addElement(l,i(n,this.doc)))})}removeUsage(n,a){let i=a.get(n);i&&(i.usage--,i.usage<=0&&(pp(i.elements),a.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])pp(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[a,{elements:i}]of this.inline)i.push(this.addElement(n,mp(a,this.doc)));for(let[a,{elements:i}]of this.external)i.push(this.addElement(n,Gu(a,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,a){return this.nonce&&a.setAttribute("nonce",this.nonce),this.isServer&&a.setAttribute(Ko,this.appId),n.appendChild(a)}};s(t,"ɵfac",function(n){return new(n||t)(ee(Le),ee(Kc),ee(Qc,8),ee(Us))}),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})(),Vl={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"},yd=/%COMP%/g,N0="%COMP%",p8=`_nghost-${N0}`,m8=`_ngcontent-${N0}`,f8=!0,g8=new Q("",{providedIn:"root",factory:()=>f8});function v8(e){return m8.replace(yd,e)}function b8(e){return p8.replace(yd,e)}function T0(e,t){return t.map(r=>r.replace(yd,e))}var Uu=(()=>{const t=class t{constructor(n,a,i,o,l,h,u,c=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=i,this.removeStylesOnCompDestroy=o,this.doc=l,this.platformId=h,this.ngZone=u,this.nonce=c,this.tracingService=m,this.platformIsServer=S0(h),this.defaultRenderer=new _d(n,l,u,this.platformIsServer,this.tracingService)}createRenderer(n,a){if(!n||!a)return this.defaultRenderer;this.platformIsServer&&a.encapsulation===ar.ShadowDom&&(a=Qt(ge({},a),{encapsulation:ar.Emulated}));let i=this.getOrCreateRenderer(n,a);return i instanceof gp?i.applyToHost(n):i instanceof Wu&&i.applyStyles(),i}getOrCreateRenderer(n,a){let i=this.rendererByCompId,o=i.get(a.id);if(!o){let l=this.doc,h=this.ngZone,u=this.eventManager,c=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,b=this.platformIsServer,g=this.tracingService;switch(a.encapsulation){case ar.Emulated:o=new gp(u,c,a,this.appId,m,l,h,b,g);break;case ar.ShadowDom:return new y8(u,c,n,a,l,h,this.nonce,b,g);default:o=new Wu(u,c,a,m,l,h,b,g);break}i.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)(ee(C0),ee(D0),ee(Kc),ee(g8),ee(Le),ee(Us),ee(je),ee(Qc),ee(Ki,8))}),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})(),_d=class{constructor(e,t,r,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=r,this.platformIsServer=n,this.tracingService=a}destroy(){}createElement(e,t){return t?this.doc.createElementNS(Vl[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(fp(e)?e.content:e).appendChild(t)}insertBefore(e,t,r){e&&(fp(e)?e.content:e).insertBefore(t,r)}removeChild(e,t){t.remove()}selectRootElement(e,t){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new U(-5104,!1);return t||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,r,n){if(n){t=n+":"+t;let a=Vl[n];a?e.setAttributeNS(a,t,r):e.setAttribute(t,r)}else e.setAttribute(t,r)}removeAttribute(e,t,r){if(r){let n=Vl[r];n?e.removeAttributeNS(n,t):e.removeAttribute(`${r}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,r,n){n&(va.DashCase|va.Important)?e.style.setProperty(t,r,n&va.Important?"important":""):e.style[t]=r}removeStyle(e,t,r){r&va.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,r){e!=null&&(e[t]=r)}setValue(e,t){e.nodeValue=t}listen(e,t,r,n){var i;if(typeof e=="string"&&(e=fi().getGlobalEventTarget(this.doc,e),!e))throw new U(5102,!1);let a=this.decoratePreventDefault(r);return(i=this.tracingService)!=null&&i.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 fp(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var y8=class extends _d{constructor(t,r,n,a,i,o,l,h,u){var b;super(t,i,o,h,u);s(this,"sharedStylesHost");s(this,"hostEl");s(this,"shadowRoot");this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=a.styles;c=T0(a.id,c);for(let g of c){let w=document.createElement("style");l&&w.setAttribute("nonce",l),w.textContent=g,this.shadowRoot.appendChild(w)}let m=(b=a.getExternalStyles)==null?void 0:b.call(a);if(m)for(let g of m){let w=Gu(g,i);l&&w.setAttribute("nonce",l),this.shadowRoot.appendChild(w)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,r){return super.appendChild(this.nodeOrShadowRoot(t),r)}insertBefore(t,r,n){return super.insertBefore(this.nodeOrShadowRoot(t),r,n)}removeChild(t,r){return super.removeChild(null,r)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Wu=class extends _d{constructor(t,r,n,a,i,o,l,h,u){var m;super(t,i,o,l,h);s(this,"sharedStylesHost");s(this,"removeStylesOnCompDestroy");s(this,"styles");s(this,"styleUrls");this.sharedStylesHost=r,this.removeStylesOnCompDestroy=a;let c=n.styles;this.styles=u?T0(u,c):c,this.styleUrls=(m=n.getExternalStyles)==null?void 0:m.call(n,u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},gp=class extends Wu{constructor(t,r,n,a,i,o,l,h,u){let c=a+"-"+n.id;super(t,r,n,i,o,l,h,u,c);s(this,"contentAttr");s(this,"hostAttr");this.contentAttr=v8(c),this.hostAttr=b8(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,r){let n=super.createElement(t,r);return super.setAttribute(n,this.contentAttr,""),n}},_8=class M0 extends kU{constructor(){super(...arguments);s(this,"supportsDOMEvents",!0)}static makeCurrent(){SU(new M0)}onAndCancel(r,n,a,i){return r.addEventListener(n,a,i),()=>{r.removeEventListener(n,a,i)}}dispatchEvent(r,n){r.dispatchEvent(n)}remove(r){r.remove()}createElement(r,n){return n=n||this.getDefaultDocument(),n.createElement(r)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE}isShadowRoot(r){return r instanceof DocumentFragment}getGlobalEventTarget(r,n){return n==="window"?window:n==="document"?r:n==="body"?r.body:null}getBaseHref(r){let n=w8();return n==null?null:x8(n)}resetBaseElement(){li=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return x0(document.cookie,r)}},li=null;function w8(){return li=li||document.head.querySelector("base"),li?li.getAttribute("href"):null}function x8(e){return new URL(e,document.baseURI).pathname}var E8=(()=>{const t=class t{build(){return new XMLHttpRequest}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})(),S8=(()=>{const t=class t extends I0{constructor(n){super(n)}supports(n){return!0}addEventListener(n,a,i,o){return n.addEventListener(a,i,o),()=>this.removeEventListener(n,a,i,o)}removeEventListener(n,a,i,o){return n.removeEventListener(a,i,o)}};s(t,"ɵfac",function(n){return new(n||t)(ee(Le))}),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})(),vp=["alt","control","meta","shift"],k8={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},C8={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},I8=(()=>{const t=class t extends I0{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,a,i,o){let l=t.parseEventName(a),h=t.eventCallback(l.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>fi().onAndCancel(n,l.domEventName,h,o))}static parseEventName(n){let a=n.toLowerCase().split("."),i=a.shift();if(a.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(a.pop()),l="",h=a.indexOf("code");if(h>-1&&(a.splice(h,1),l="code."),vp.forEach(c=>{let m=a.indexOf(c);m>-1&&(a.splice(m,1),l+=c+".")}),l+=o,a.length!=0||o.length===0)return null;let u={};return u.domEventName=i,u.fullKey=l,u}static matchEventFullKeyCode(n,a){let i=k8[n.key]||n.key,o="";return a.indexOf("code.")>-1&&(i=n.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),vp.forEach(l=>{if(l!==i){let h=C8[l];h(n)&&(o+=l+".")}}),o+=i,o===a)}static eventCallback(n,a,i){return o=>{t.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>a(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}};s(t,"ɵfac",function(n){return new(n||t)(ee(Le))}),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})();function D8(e){return cU(N8(e))}function N8(e){return{appProviders:[...P8,...(e==null?void 0:e.providers)??[]],platformProviders:R8}}function T8(){_8.makeCurrent()}function M8(){return new Hn}function O8(){return SH(document),document}var R8=[{provide:Us,useValue:E0},{provide:jg,useValue:T8,multi:!0},{provide:Le,useFactory:O8}],P8=[{provide:Nc,useValue:"root"},{provide:Hn,useFactory:M8},{provide:$u,useClass:S8,multi:!0,deps:[Le]},{provide:$u,useClass:I8,multi:!0,deps:[Le]},Uu,D0,C0,{provide:kn,useExisting:Uu},{provide:k0,useClass:E8},[]],wd=class{},O0=class{},Aa=class Qo{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(r=>{let n=r.indexOf(":");if(n>0){let a=r.slice(0,n),i=r.slice(n+1).trim();this.addHeaderEntry(a,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((r,n)=>{this.addHeaderEntry(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let r=this.headers.get(t.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,r){return this.clone({name:t,value:r,op:"a"})}set(t,r){return this.clone({name:t,value:r,op:"s"})}delete(t,r){return this.clone({name:t,value:r,op:"d"})}maybeSetNormalizedName(t,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,t)}init(){this.lazyInit&&(this.lazyInit instanceof Qo?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(r=>{this.headers.set(r,t.headers.get(r)),this.normalizedNames.set(r,t.normalizedNames.get(r))})}clone(t){let r=new Qo;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof Qo?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([t]),r}applyUpdate(t){let r=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,r);let a=(t.op==="a"?this.headers.get(r):void 0)||[];a.push(...n),this.headers.set(r,a);break;case"d":let i=t.value;if(!i)this.headers.delete(r),this.normalizedNames.delete(r);else{let o=this.headers.get(r);if(!o)return;o=o.filter(l=>i.indexOf(l)===-1),o.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,o)}break}}addHeaderEntry(t,r){let n=t.toLowerCase();this.maybeSetNormalizedName(t,n),this.headers.has(n)?this.headers.get(n).push(r):this.headers.set(n,[r])}setHeaderEntries(t,r){let n=(Array.isArray(r)?r:[r]).map(i=>i.toString()),a=t.toLowerCase();this.headers.set(a,n),this.maybeSetNormalizedName(t,a)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>t(this.normalizedNames.get(r),this.headers.get(r)))}},A8=class{encodeKey(e){return bp(e)}encodeValue(e){return bp(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function L8(e,t){let r=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(n=>{let a=n.indexOf("="),[i,o]=a==-1?[t.decodeKey(n),""]:[t.decodeKey(n.slice(0,a)),t.decodeValue(n.slice(a+1))],l=r.get(i)||[];l.push(o),r.set(i,l)}),r}var F8=/%(\d[a-f0-9])/gi,j8={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function bp(e){return encodeURIComponent(e).replace(F8,(t,r)=>j8[r]??t)}function Io(e){return`${e}`}var xa=class R0{constructor(t={}){s(this,"map");s(this,"encoder");s(this,"updates",null);s(this,"cloneFrom",null);if(this.encoder=t.encoder||new A8,t.fromString){if(t.fromObject)throw new U(2805,!1);this.map=L8(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(r=>{let n=t.fromObject[r],a=Array.isArray(n)?n.map(Io):[Io(n)];this.map.set(r,a)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let r=this.map.get(t);return r?r[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,r){return this.clone({param:t,value:r,op:"a"})}appendAll(t){let r=[];return Object.keys(t).forEach(n=>{let a=t[n];Array.isArray(a)?a.forEach(i=>{r.push({param:n,value:i,op:"a"})}):r.push({param:n,value:a,op:"a"})}),this.clone(r)}set(t,r){return this.clone({param:t,value:r,op:"s"})}delete(t,r){return this.clone({param:t,value:r,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let r=this.encoder.encodeKey(t);return this.map.get(t).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let r=new R0({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(t),r}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 r=(t.op==="a"?this.map.get(t.param):void 0)||[];r.push(Io(t.value)),this.map.set(t.param,r);break;case"d":if(t.value!==void 0){let n=this.map.get(t.param)||[],a=n.indexOf(Io(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)}},V8=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 z8(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function yp(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function _p(e){return typeof Blob<"u"&&e instanceof Blob}function wp(e){return typeof FormData<"u"&&e instanceof FormData}function B8(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var xp="Content-Type",Ep="Accept",P0="X-Request-URL",A0="text/plain",L0="application/json",H8=`${L0}, ${A0}, */*`,zl=class F0{constructor(t,r,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=r,this.method=t.toUpperCase();let i;if(z8(this.method)||a?(this.body=n!==void 0?n:null,i=a):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??(this.headers=new Aa),this.context??(this.context=new V8),!this.params)this.params=new xa,this.urlWithParams=r;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=r;else{let l=r.indexOf("?"),h=l===-1?"?":l<r.length-1?"&":"";this.urlWithParams=r+h+o}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||yp(this.body)||_p(this.body)||wp(this.body)||B8(this.body)?this.body:this.body instanceof xa?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||wp(this.body)?null:_p(this.body)?this.body.type||null:yp(this.body)?null:typeof this.body=="string"?A0:this.body instanceof xa?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?L0:null}clone(t={}){let r=t.method||this.method,n=t.url||this.url,a=t.responseType||this.responseType,i=t.transferCache??this.transferCache,o=t.body!==void 0?t.body:this.body,l=t.withCredentials??this.withCredentials,h=t.reportProgress??this.reportProgress,u=t.headers||this.headers,c=t.params||this.params,m=t.context??this.context;return t.setHeaders!==void 0&&(u=Object.keys(t.setHeaders).reduce((b,g)=>b.set(g,t.setHeaders[g]),u)),t.setParams&&(c=Object.keys(t.setParams).reduce((b,g)=>b.set(g,t.setParams[g]),c)),new F0(r,n,o,{params:c,headers:u,context:m,reportProgress:h,responseType:a,withCredentials:l,transferCache:i})}},Ea=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}(Ea||{}),xd=class{constructor(e,t=200,r="OK"){s(this,"headers");s(this,"status");s(this,"statusText");s(this,"url");s(this,"ok");s(this,"type");this.headers=e.headers||new Aa,this.status=e.status!==void 0?e.status:t,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},q8=class j0 extends xd{constructor(r={}){super(r);s(this,"type",Ea.ResponseHeader)}clone(r={}){return new j0({headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},V0=class z0 extends xd{constructor(r={}){super(r);s(this,"body");s(this,"type",Ea.Response);this.body=r.body!==void 0?r.body:null}clone(r={}){return new z0({body:r.body!==void 0?r.body:this.body,headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},Sp=class extends xd{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}},$8=200,G8=204;function Bl(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 no=(()=>{const t=class t{constructor(n){s(this,"handler");this.handler=n}request(n,a,i={}){let o;if(n instanceof zl)o=n;else{let u;i.headers instanceof Aa?u=i.headers:u=new Aa(i.headers);let c;i.params&&(i.params instanceof xa?c=i.params:c=new xa({fromObject:i.params})),o=new zl(n,a,i.body!==void 0?i.body:null,{headers:u,context:i.context,params:c,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let l=_t(o).pipe(mf(u=>this.handler.handle(u)));if(n instanceof zl||i.observe==="events")return l;let h=l.pipe(Bs(u=>u instanceof V0));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return h.pipe(wt(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new U(2806,!1);return u.body}));case"blob":return h.pipe(wt(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new U(2807,!1);return u.body}));case"text":return h.pipe(wt(u=>{if(u.body!==null&&typeof u.body!="string")throw new U(2808,!1);return u.body}));case"json":default:return h.pipe(wt(u=>u.body))}case"response":return h;default:throw new U(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 xa().append(a,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,a={}){return this.request("OPTIONS",n,a)}patch(n,a,i={}){return this.request("PATCH",n,Bl(i,a))}post(n,a,i={}){return this.request("POST",n,Bl(i,a))}put(n,a,i={}){return this.request("PUT",n,Bl(i,a))}};s(t,"ɵfac",function(n){return new(n||t)(ee(wd))}),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})(),U8=new Q("");function W8(e,t){return t(e)}function Z8(e,t,r){return(n,a)=>Mc(r,()=>t(n,i=>e(i,a)))}var Ed=new Q(""),Y8=new Q(""),K8=new Q("",{providedIn:"root",factory:()=>!0}),kp=(()=>{const t=class t extends wd{constructor(a,i){super();s(this,"backend");s(this,"injector");s(this,"chain",null);s(this,"pendingTasks",D(Wi));s(this,"contributeToStability",D(K8));this.backend=a,this.injector=i}handle(a){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Ed),...this.injector.get(Y8,[])]));this.chain=i.reduceRight((o,l)=>Z8(o,l,this.injector),W8)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(a,o=>this.backend.handle(o)).pipe(ff(()=>this.pendingTasks.remove(i)))}else return this.chain(a,i=>this.backend.handle(i))}};s(t,"ɵfac",function(a){return new(a||t)(ee(O0),ee(Ln))}),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})(),Q8=/^\)\]\}',?\n/,J8=RegExp(`^${P0}:`,"m");function X8(e){return"responseURL"in e&&e.responseURL?e.responseURL:J8.test(e.getAllResponseHeaders())?e.getResponseHeader(P0):null}var Cp=(()=>{const t=class t{constructor(n){s(this,"xhrFactory");this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new U(-2800,!1);let a=this.xhrFactory;return(a.ɵloadImpl?ea(a.ɵloadImpl()):_t(null)).pipe(rs(()=>new Je(i=>{let o=a.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((x,S)=>o.setRequestHeader(x,S.join(","))),n.headers.has(Ep)||o.setRequestHeader(Ep,H8),!n.headers.has(xp)){let x=n.detectContentTypeHeader();x!==null&&o.setRequestHeader(xp,x)}if(n.responseType){let x=n.responseType.toLowerCase();o.responseType=x!=="json"?x:"text"}let l=n.serializeBody(),h=null,u=()=>{if(h!==null)return h;let x=o.statusText||"OK",S=new Aa(o.getAllResponseHeaders()),N=X8(o)||n.url;return h=new q8({headers:S,status:o.status,statusText:x,url:N}),h},c=()=>{let{headers:x,status:S,statusText:N,url:L}=u(),A=null;S!==G8&&(A=typeof o.response>"u"?o.responseText:o.response),S===0&&(S=A?$8:0);let Y=S>=200&&S<300;if(n.responseType==="json"&&typeof A=="string"){let ne=A;A=A.replace(Q8,"");try{A=A!==""?JSON.parse(A):null}catch(ue){A=ne,Y&&(Y=!1,A={error:ue,text:A})}}Y?(i.next(new V0({body:A,headers:x,status:S,statusText:N,url:L||void 0})),i.complete()):i.error(new Sp({error:A,headers:x,status:S,statusText:N,url:L||void 0}))},m=x=>{let{url:S}=u(),N=new Sp({error:x,status:o.status||0,statusText:o.statusText||"Unknown Error",url:S||void 0});i.error(N)},b=!1,g=x=>{b||(i.next(u()),b=!0);let S={type:Ea.DownloadProgress,loaded:x.loaded};x.lengthComputable&&(S.total=x.total),n.responseType==="text"&&o.responseText&&(S.partialText=o.responseText),i.next(S)},w=x=>{let S={type:Ea.UploadProgress,loaded:x.loaded};x.lengthComputable&&(S.total=x.total),i.next(S)};return o.addEventListener("load",c),o.addEventListener("error",m),o.addEventListener("timeout",m),o.addEventListener("abort",m),n.reportProgress&&(o.addEventListener("progress",g),l!==null&&o.upload&&o.upload.addEventListener("progress",w)),o.send(l),i.next({type:Ea.Sent}),()=>{o.removeEventListener("error",m),o.removeEventListener("abort",m),o.removeEventListener("load",c),o.removeEventListener("timeout",m),n.reportProgress&&(o.removeEventListener("progress",g),l!==null&&o.upload&&o.upload.removeEventListener("progress",w)),o.readyState!==o.DONE&&o.abort()}})))}};s(t,"ɵfac",function(n){return new(n||t)(ee(k0))}),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})(),B0=new Q(""),e6="XSRF-TOKEN",t6=new Q("",{providedIn:"root",factory:()=>e6}),n6="X-XSRF-TOKEN",r6=new Q("",{providedIn:"root",factory:()=>n6}),H0=class{},a6=(()=>{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=x0(n,this.cookieName),this.lastCookieString=n),this.lastToken}};s(t,"ɵfac",function(n){return new(n||t)(ee(Le),ee(t6))}),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})();function i6(e,t){let r=e.url.toLowerCase();if(!D(B0)||e.method==="GET"||e.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return t(e);let n=D(H0).getToken(),a=D(r6);return n!=null&&!e.headers.has(a)&&(e=e.clone({headers:e.headers.set(a,n)})),t(e)}var q0=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}(q0||{});function o6(e,t){return{ɵkind:e,ɵproviders:t}}function s6(...e){let t=[no,Cp,kp,{provide:wd,useExisting:kp},{provide:O0,useFactory:()=>D(U8,{optional:!0})??D(Cp)},{provide:Ed,useValue:i6,multi:!0},{provide:B0,useValue:!0},{provide:H0,useClass:a6}];for(let r of e)t.push(...r.ɵproviders);return Ic(t)}function l6(e){return o6(q0.Interceptors,e.map(t=>({provide:Ed,useValue:t,multi:!0})))}var $0=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:function(n){let a=null;return n?a=new(n||t):a=ee(u6),a},providedIn:"root"}));let e=t;return e})(),u6=(()=>{const t=class t extends $0{constructor(a){super();s(this,"_doc");this._doc=a}sanitize(a,i){if(i==null)return null;switch(a){case sn.NONE:return i;case sn.HTML:return Qa(i,"HTML")?Hr(i):dq(this._doc,String(i)).toString();case sn.STYLE:return Qa(i,"Style")?Hr(i):i;case sn.SCRIPT:if(Qa(i,"Script"))return Hr(i);throw new U(5200,!1);case sn.URL:return Qa(i,"URL")?Hr(i):Wg(String(i));case sn.RESOURCE_URL:if(Qa(i,"ResourceURL"))return Hr(i);throw new U(5201,!1);default:throw new U(5202,!1)}}bypassSecurityTrustHtml(a){return HH(a)}bypassSecurityTrustStyle(a){return qH(a)}bypassSecurityTrustScript(a){return $H(a)}bypassSecurityTrustUrl(a){return GH(a)}bypassSecurityTrustResourceUrl(a){return UH(a)}};s(t,"ɵfac",function(a){return new(a||t)(ee(Le))}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),ro=class{},c6=(()=>{const t=class t extends ro{getTranslation(n){return _t({})}};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=Sn(t)))(a||t)}})()),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})(),G0=class{},d6=(()=>{const t=class t{handle(n){return n.key}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})();function Es(e,t){if(e===t)return!0;if(e===null||t===null)return!1;if(e!==e&&t!==t)return!0;let r=typeof e,n=typeof t,a,i,o;if(r==n&&r=="object")if(Array.isArray(e)){if(!Array.isArray(t))return!1;if((a=e.length)==t.length){for(i=0;i<a;i++)if(!Es(e[i],t[i]))return!1;return!0}}else{if(Array.isArray(t))return!1;o=Object.create(null);for(i in e){if(!Es(e[i],t[i]))return!1;o[i]=!0}for(i in t)if(!(i in o)&&typeof t[i]<"u")return!1;return!0}return!1}function _r(e){return typeof e<"u"&&e!==null}function ao(e){return Jo(e)&&!Sd(e)&&e!==null}function Jo(e){return typeof e=="object"}function Sd(e){return Array.isArray(e)}function kd(e){return typeof e=="string"}function h6(e){return typeof e=="function"}function Zu(e,t){let r=Object.assign({},e);return Jo(e)?(Jo(e)&&Jo(t)&&Object.keys(t).forEach(n=>{ao(t[n])?n in e?r[n]=Zu(e[n],t[n]):Object.assign(r,{[n]:t[n]}):Object.assign(r,{[n]:t[n]})}),r):Zu({},t)}function Yu(e,t){let r=t.split(".");t="";do t+=r.shift(),_r(e)&&_r(e[t])&&(ao(e[t])||Sd(e[t])||!r.length)?(e=e[t],t=""):r.length?t+=".":e=void 0;while(r.length);return e}function p6(e,t,r){let n=t.split("."),a=e;for(let i=0;i<n.length;i++){let o=n[i];i===n.length-1?a[o]=r:((!a[o]||!ao(a[o]))&&(a[o]={}),a=a[o])}}var Cd=class{},m6=(()=>{const t=class t extends Cd{constructor(){super(...arguments);s(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(a,i){if(kd(a))return this.interpolateString(a,i);if(h6(a))return this.interpolateFunction(a,i)}interpolateFunction(a,i){return a(i)}interpolateString(a,i){return i?a.replace(this.templateMatcher,(o,l)=>{let h=Yu(i,l);return _r(h)?h:o}):a}};s(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=Sn(t)))(i||t)}})()),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})(),io=class{},f6=(()=>{const t=class t extends io{compile(n,a){return n}compileTranslations(n,a){return n}};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=Sn(t)))(a||t)}})()),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})(),Ku=class{constructor(){s(this,"defaultLang");s(this,"currentLang",this.defaultLang);s(this,"translations",{});s(this,"langs",[]);s(this,"onTranslationChange",new jt);s(this,"onLangChange",new jt);s(this,"onDefaultLangChange",new jt)}},U0=new Q("ISOLATE_TRANSLATE_SERVICE"),W0=new Q("USE_DEFAULT_LANG"),Z0=new Q("DEFAULT_LANGUAGE"),Y0=new Q("USE_EXTEND"),Xa=e=>di(e)?e:_t(e),qn=(()=>{const t=class t{constructor(n,a,i,o,l,h=!0,u=!1,c=!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=i,this.parser=o,this.missingTranslationHandler=l,this.useDefaultLang=h,this.extend=c,u&&(this.store=new Ku),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(rr(1)).subscribe(()=>{this.changeDefaultLang(n)})):this.changeDefaultLang(n)}getDefaultLang(){return this.defaultLang}use(n){if(this.lastUseLanguage=n,n===this.currentLang)return _t(this.translations[n]);this.currentLang||(this.currentLang=n);let a=this.retrieveTranslations(n);return di(a)?(a.pipe(rr(1)).subscribe(()=>{this.changeLang(n)}),a):(this.changeLang(n),_t(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(mh(1),rr(1));return this.loadingTranslations=a.pipe(wt(i=>this.compiler.compileTranslations(i,n)),mh(1),rr(1)),this.loadingTranslations.subscribe({next:i=>{this.translations[n]=this.extend&&this.translations[n]?ge(ge({},i),this.translations[n]):i,this.updateLangs(),this.pending=!1},error:i=>{this.pending=!1}}),a}setTranslation(n,a,i=!1){let o=this.compiler.compileTranslations(a,n);(i||this.extend)&&this.translations[n]?this.translations[n]=Zu(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(i=>!this.langs.includes(i));a.length>0&&(this.langs=[...this.langs,...a])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(n,a,i){let o;if(n&&(o=this.runInterpolation(Yu(n,a),i)),o===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.runInterpolation(Yu(this.translations[this.defaultLang],a),i)),o===void 0){let l={key:a,translateService:this};typeof i<"u"&&(l.interpolateParams=i),o=this.missingTranslationHandler.handle(l)}return o!==void 0?o:a}runInterpolation(n,a){if(Sd(n))return n.map(i=>this.runInterpolation(i,a));if(ao(n)){let i={};for(let o in n){let l=this.runInterpolation(n[o],a);l!==void 0&&(i[o]=l)}return i}else return this.parser.interpolate(n,a)}getParsedResult(n,a,i){if(a instanceof Array){let o={},l=!1;for(let u of a)o[u]=this.getParsedResultForKey(n,u,i),l=l||di(o[u]);if(!l)return o;let h=a.map(u=>Xa(o[u]));return df(h).pipe(wt(u=>{let c={};return u.forEach((m,b)=>{c[a[b]]=m}),c}))}return this.getParsedResultForKey(n,a,i)}get(n,a){if(!_r(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(mf(i=>Xa(this.getParsedResult(i,n,a)))):Xa(this.getParsedResult(this.translations[this.currentLang],n,a))}getStreamOnTranslationChange(n,a){if(!_r(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return yi(ph(()=>this.get(n,a)),this.onTranslationChange.pipe(rs(i=>{let o=this.getParsedResult(i.translations,n,a);return Xa(o)})))}stream(n,a){if(!_r(n)||!n.length)throw new Error('Parameter "key" required');return yi(ph(()=>this.get(n,a)),this.onLangChange.pipe(rs(i=>{let o=this.getParsedResult(i.translations,n,a);return Xa(o)})))}instant(n,a){if(!_r(n)||n.length===0)throw new Error('Parameter "key" is required and cannot be empty');let i=this.getParsedResult(this.translations[this.currentLang],n,a);return di(i)?Array.isArray(n)?n.reduce((o,l)=>(o[l]=l,o),{}):n:i}set(n,a,i=this.currentLang){p6(this.translations[i],n,kd(a)?this.compiler.compile(a,i):this.compiler.compileTranslations(a,i)),this.updateLangs(),this.onTranslationChange.emit({lang:i,translations:this.translations[i]})}changeDefaultLang(n){this.defaultLang=n,this.onDefaultLangChange.emit({lang:n,translations:this.translations[n]})}reloadLang(n){return this.resetLang(n),this.loadAndCompileTranslations(n)}resetLang(n){delete this._translationRequests[n],delete this.translations[n]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let n=this.getBrowserCultureLang();return n?n.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}};s(t,"ɵfac",function(n){return new(n||t)(ee(Ku),ee(ro),ee(io),ee(Cd),ee(G0),ee(W0),ee(U0),ee(Y0),ee(Z0))}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Id=(()=>{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,i){let o=l=>{this.value=l!==void 0?l:n,this.lastKey=n,this._ref.markForCheck()};if(i){let l=this.translate.getParsedResult(i,n,a);di(l)?l.subscribe(o):o(l)}this.translate.get(n,a).subscribe(o)}transform(n,...a){if(!n||!n.length)return n;if(Es(n,this.lastKey)&&Es(a,this.lastParams))return this.value;let i;if(_r(a[0])&&a.length)if(kd(a[0])&&a[0].length){let o=a[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{i=JSON.parse(o)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${a[0]}`)}}else ao(a[0])&&(i=a[0]);return this.lastKey=n,this.lastParams=a,this.updateValue(n,i),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(n,i,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,i,o.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,i))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}};s(t,"ɵfac",function(n){return new(n||t)(Vt(qn,16),Vt(nl,16))}),s(t,"ɵpipe",ra({name:"translate",type:t,pure:!1})),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})(),g6=(e={})=>Ic([e.loader||{provide:ro,useClass:c6},e.compiler||{provide:io,useClass:f6},e.parser||{provide:Cd,useClass:m6},e.missingTranslationHandler||{provide:G0,useClass:d6},Ku,{provide:U0,useValue:e.isolate},{provide:W0,useValue:e.useDefaultLang},{provide:Y0,useValue:e.extend},{provide:Z0,useValue:e.defaultLanguage},qn]);function K0(e){return e.buttons===0||e.detail===0}function Q0(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 Hl;function v6(){if(Hl==null){let e=typeof document<"u"?document.head:null;Hl=!!(e&&(e.createShadowRoot||e.attachShadow))}return Hl}function b6(e){if(v6()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function sr(e){return e.composedPath?e.composedPath()[0]:e.target}function wr(e,t,r,n,a){let i=parseInt(op.major),o=parseInt(op.minor);return i>19||i===19&&o>0||i===0&&o===0?e.listen(t,r,n,a):(t.addEventListener(r,n,a),()=>{t.removeEventListener(r,n,a)})}var Qu;try{Qu=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Qu=!1}var $n=(()=>{const t=class t{constructor(){s(this,"_platformId",D(Us));s(this,"isBrowser",this._platformId?d8(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||Qu)&&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",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),ei;function y6(){if(ei==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ei=!0}))}finally{ei=ei||!1}return ei}function Dd(e){return y6()?e:!!e.capture}function Sa(e){return e instanceof en?e.nativeElement:e}var _6=new Q("cdk-input-modality-detector-options"),w6={ignoreKeys:[18,17,224,91,16]},J0=650,ql={passive:!0,capture:!0},x6=(()=>{const t=class t{constructor(){s(this,"_platform",D($n));s(this,"_listenerCleanups");s(this,"modalityDetected");s(this,"modalityChanged");s(this,"_mostRecentTarget",null);s(this,"_modality",new bc(null));s(this,"_options");s(this,"_lastTouchMs",0);s(this,"_onKeydown",n=>{var a,i;(i=(a=this._options)==null?void 0:a.ignoreKeys)!=null&&i.some(o=>o===n.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=sr(n))});s(this,"_onMousedown",n=>{Date.now()-this._lastTouchMs<J0||(this._modality.next(K0(n)?"keyboard":"mouse"),this._mostRecentTarget=sr(n))});s(this,"_onTouchstart",n=>{if(Q0(n)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=sr(n)});let n=D(je),a=D(Le),i=D(_6,{optional:!0});if(this._options=ge(ge({},w6),i),this.modalityDetected=this._modality.pipe(vf(1)),this.modalityChanged=this.modalityDetected.pipe(E5()),this._platform.isBrowser){let o=D(kn).createRenderer(null,null);this._listenerCleanups=n.runOutsideAngular(()=>[wr(o,a,"keydown",this._onKeydown,ql),wr(o,a,"mousedown",this._onMousedown,ql),wr(o,a,"touchstart",this._onTouchstart,ql)])}}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",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Xo=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(Xo||{}),E6=new Q("cdk-focus-monitor-default-options"),Do=Dd({passive:!0,capture:!0}),S6=(()=>{const t=class t{constructor(){s(this,"_ngZone",D(je));s(this,"_platform",D($n));s(this,"_inputModalityDetector",D(x6));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",D(Le,{optional:!0}));s(this,"_stopInputModalityDetector",new Pe);s(this,"_rootNodeFocusAndBlurListener",n=>{let a=sr(n);for(let i=a;i;i=i.parentElement)n.type==="focus"?this._onFocus(n,i):this._onBlur(n,i)});let n=D(E6,{optional:!0});this._detectionMode=(n==null?void 0:n.detectionMode)||Xo.IMMEDIATE}monitor(n,a=!1){let i=Sa(n);if(!this._platform.isBrowser||i.nodeType!==1)return _t();let o=b6(i)||this._getDocument(),l=this._elementInfo.get(i);if(l)return a&&(l.checkChildren=!0),l.subject;let h={checkChildren:a,subject:new Pe,rootNode:o};return this._elementInfo.set(i,h),this._registerGlobalListeners(h),h.subject}stopMonitoring(n){let a=Sa(n),i=this._elementInfo.get(a);i&&(i.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(i))}focusVia(n,a,i){let o=Sa(n),l=this._getDocument().activeElement;o===l?this._getClosestElementsInfo(o).forEach(([h,u])=>this._originChanged(h,a,u)):(this._setOrigin(a),typeof o.focus=="function"&&o.focus(i))}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===Xo.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===Xo.IMMEDIATE){clearTimeout(this._originTimeoutId);let i=this._originFromTouchInteraction?J0:1;this._originTimeoutId=setTimeout(()=>this._origin=null,i)}})}_onFocus(n,a){let i=this._elementInfo.get(a),o=sr(n);!i||!i.checkChildren&&a!==o||this._originChanged(a,this._getFocusOrigin(o),i)}_onBlur(n,a){let i=this._elementInfo.get(a);!i||i.checkChildren&&n.relatedTarget instanceof Node&&a.contains(n.relatedTarget)||(this._setClasses(a),this._emitOrigin(i,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,i=this._rootNodeFocusListenerCount.get(a)||0;i||this._ngZone.runOutsideAngular(()=>{a.addEventListener("focus",this._rootNodeFocusAndBlurListener,Do),a.addEventListener("blur",this._rootNodeFocusAndBlurListener,Do)}),this._rootNodeFocusListenerCount.set(a,i+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Fi(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(n){let a=n.rootNode;if(this._rootNodeFocusListenerCount.has(a)){let i=this._rootNodeFocusListenerCount.get(a);i>1?this._rootNodeFocusListenerCount.set(a,i-1):(a.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Do),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Do),this._rootNodeFocusListenerCount.delete(a))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,a,i){this._setClasses(n,a),this._emitOrigin(i,a),this._lastFocusOrigin=a}_getClosestElementsInfo(n){let a=[];return this._elementInfo.forEach((i,o)=>{(o===n||i.checkChildren&&o.contains(n))&&a.push([o,i])}),a}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:a,mostRecentModality:i}=this._inputModalityDetector;if(i!=="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",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),No=new WeakMap,ol=(()=>{const t=class t{constructor(){s(this,"_appRef");s(this,"_injector",D(Ot));s(this,"_environmentInjector",D(Ln))}load(n){let a=this._appRef=this._appRef||this._injector.get(Ir),i=No.get(a);i||(i={loaders:new Set,refs:[]},No.set(a,i),a.onDestroy(()=>{var o;(o=No.get(a))==null||o.refs.forEach(l=>l.destroy()),No.delete(a)})),i.loaders.has(n)||(i.loaders.add(n),i.refs.push(p0(n,{environmentInjector:this._environmentInjector})))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Ss(e){return Array.isArray(e)?e:[e]}var Ip=new Set,Pr,k6=(()=>{const t=class t{constructor(){s(this,"_platform",D($n));s(this,"_nonce",D(Qc,{optional:!0}));s(this,"_matchMedia");this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):I6}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&C6(n,this._nonce),this._matchMedia(n)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function C6(e,t){if(!Ip.has(e))try{Pr||(Pr=document.createElement("style"),t&&Pr.setAttribute("nonce",t),Pr.setAttribute("type","text/css"),document.head.appendChild(Pr)),Pr.sheet&&(Pr.sheet.insertRule(`@media ${e} {body{ }}`,0),Ip.add(e))}catch(r){console.error(r)}}function I6(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var D6=(()=>{const t=class t{constructor(){s(this,"_mediaMatcher",D(k6));s(this,"_zone",D(je));s(this,"_queries",new Map);s(this,"_destroySubject",new Pe)}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return Dp(Ss(n)).some(a=>this._registerQuery(a).mql.matches)}observe(n){let a=Dp(Ss(n)).map(o=>this._registerQuery(o).observable),i=g5(a);return i=yi(i.pipe(rr(1)),i.pipe(vf(1),x5(0))),i.pipe(wt(o=>{let l={matches:!1,breakpoints:{}};return o.forEach(({matches:h,query:u})=>{l.matches=l.matches||h,l.breakpoints[u]=h}),l}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let a=this._mediaMatcher.matchMedia(n),i={observable:new Je(o=>{let l=h=>this._zone.run(()=>o.next(h));return a.addListener(l),()=>{a.removeListener(l)}}).pipe(bf(a),wt(({matches:o})=>({query:n,matches:o})),Fi(this._destroySubject)),mql:a};return this._queries.set(n,i),i}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Dp(e){return e.map(t=>t.split(",")).reduce((t,r)=>t.concat(r)).map(t=>t.trim())}var N6=new Q("liveAnnouncerElement",{providedIn:"root",factory:T6});function T6(){return null}var M6=new Q("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),O6=0,R6=(()=>{const t=class t{constructor(){s(this,"_ngZone",D(je));s(this,"_defaultOptions",D(M6,{optional:!0}));s(this,"_liveElement");s(this,"_document",D(Le));s(this,"_previousTimeout");s(this,"_currentPromise");s(this,"_currentResolve");let n=D(N6,{optional:!0});this._liveElement=n||this._createLiveElement()}announce(n,...a){let i=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=i&&i.politeness?i.politeness:"polite"),l==null&&i&&(l=i.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(h=>this._currentResolve=h)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{var h;this._liveElement.textContent=n,typeof l=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),l)),(h=this._currentResolve)==null||h.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),i=this._document.createElement("div");for(let o=0;o<a.length;o++)a[o].remove();return i.classList.add(n),i.classList.add("cdk-visually-hidden"),i.setAttribute("aria-atomic","true"),i.setAttribute("aria-live","polite"),i.id=`cdk-live-announcer-${O6++}`,this._document.body.appendChild(i),i}_exposeAnnouncerToModals(n){let a=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let i=0;i<a.length;i++){let o=a[i],l=o.getAttribute("aria-owns");l?l.indexOf(n)===-1&&o.setAttribute("aria-owns",l+" "+n):o.setAttribute("aria-owns",n)}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),$l={},X0=(()=>{const t=class t{constructor(){s(this,"_appId",D(Kc))}getId(n){return this._appId!=="ng"&&(n+=this._appId),$l.hasOwnProperty(n)||($l[n]=0),`${n}${$l[n]++}`}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),P6=new Q("cdk-dir-doc",{providedIn:"root",factory:A6});function A6(){return D(Le)}var L6=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function F6(e){let t=(e==null?void 0:e.toLowerCase())||"";return t==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?L6.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var j6=(()=>{const t=class t{constructor(){s(this,"value","ltr");s(this,"change",new jt);let n=D(P6,{optional:!0});if(n){let a=n.body?n.body.dir:null,i=n.documentElement?n.documentElement.dir:null;this.value=F6(a||i||"ltr")}}ngOnDestroy(){this.change.complete()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ju=new Q("MAT_DATE_LOCALE",{providedIn:"root",factory:V6});function V6(){return D(tl)}var ua="Method not implemented",eb=class{constructor(){s(this,"locale");s(this,"_localeChanges",new Pe);s(this,"localeChanges",this._localeChanges)}setTime(e,t,r,n){throw new Error(ua)}getHours(e){throw new Error(ua)}getMinutes(e){throw new Error(ua)}getSeconds(e){throw new Error(ua)}parseTime(e,t){throw new Error(ua)}addSeconds(e,t){throw new Error(ua)}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 r=this.isValid(e),n=this.isValid(t);return r&&n?!this.compareDate(e,t):r==n}return e==t}sameTime(e,t){if(e&&t){let r=this.isValid(e),n=this.isValid(t);return r&&n?!this.compareTime(e,t):r==n}return e==t}clampDate(e,t,r){return t&&this.compareDate(e,t)<0?t:r&&this.compareDate(e,r)>0?r:e}},z6=new Q("mat-date-formats"),B6=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Dt({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}}
20
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Ar;function H6(){if(Ar==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Ar=!1,Ar;if("scrollBehavior"in document.documentElement.style)Ar=!0;else{let e=Element.prototype.scrollTo;e?Ar=!/\{\s*\[native code\]\s*\}/.test(e.toString()):Ar=!1}}return Ar}function Np(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function ut(e){return e==null?"":typeof e=="string"?e:`${e}px`}var an=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}(an||{}),q6=class{constructor(e,t,r,n=!1){s(this,"_renderer");s(this,"element");s(this,"config");s(this,"_animationForciblyDisabledThroughCss");s(this,"state",an.HIDDEN);this._renderer=e,this.element=t,this.config=r,this._animationForciblyDisabledThroughCss=n}fadeOut(){this._renderer.fadeOutRipple(this)}},Tp=Dd({passive:!0,capture:!0}),$6=class{constructor(){s(this,"_events",new Map);s(this,"_delegateEventHandler",e=>{var r;let t=sr(e);t&&((r=this._events.get(e.type))==null||r.forEach((n,a)=>{(a===t||a.contains(t))&&n.forEach(i=>i.handleEvent(e))}))})}addHandler(e,t,r,n){let a=this._events.get(t);if(a){let i=a.get(r);i?i.add(n):a.set(r,new Set([n]))}else this._events.set(t,new Map([[r,new Set([n])]])),e.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,Tp)})}removeHandler(e,t,r){let n=this._events.get(e);if(!n)return;let a=n.get(t);a&&(a.delete(r),a.size===0&&n.delete(t),n.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,Tp)))}},ks={enterDuration:225,exitDuration:150},G6=800,Mp=Dd({passive:!0,capture:!0}),Op=["mousedown","touchstart"],Rp=["mouseup","mouseleave","touchend","touchcancel"],U6=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Dt({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}
21
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),xr,W6=(xr=class{constructor(t,r,n,a,i){s(this,"_target");s(this,"_ngZone");s(this,"_platform");s(this,"_containerElement");s(this,"_triggerElement");s(this,"_isPointerDown",!1);s(this,"_activeRipples",new Map);s(this,"_mostRecentTransientRipple");s(this,"_lastTouchStartEvent");s(this,"_pointerUpEventsRegistered",!1);s(this,"_containerRect");this._target=t,this._ngZone=r,this._platform=a,a.isBrowser&&(this._containerElement=Sa(n)),i&&i.get(ol).load(U6)}fadeInRipple(t,r,n={}){let a=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i=ge(ge({},ks),n.animation);n.centered&&(t=a.left+a.width/2,r=a.top+a.height/2);let o=n.radius||Z6(t,r,a),l=t-a.left,h=r-a.top,u=i.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=`${l-o}px`,c.style.top=`${h-o}px`,c.style.height=`${o*2}px`,c.style.width=`${o*2}px`,n.color!=null&&(c.style.backgroundColor=n.color),c.style.transitionDuration=`${u}ms`,this._containerElement.appendChild(c);let m=window.getComputedStyle(c),b=m.transitionProperty,g=m.transitionDuration,w=b==="none"||g==="0s"||g==="0s, 0s"||a.width===0&&a.height===0,x=new q6(this,c,n,w);c.style.transform="scale3d(1, 1, 1)",x.state=an.FADING_IN,n.persistent||(this._mostRecentTransientRipple=x);let S=null;return!w&&(u||i.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let N=()=>{S&&(S.fallbackTimer=null),clearTimeout(A),this._finishRippleTransition(x)},L=()=>this._destroyRipple(x),A=setTimeout(L,u+100);c.addEventListener("transitionend",N),c.addEventListener("transitioncancel",L),S={onTransitionEnd:N,onTransitionCancel:L,fallbackTimer:A}}),this._activeRipples.set(x,S),(w||!u)&&this._finishRippleTransition(x),x}fadeOutRipple(t){if(t.state===an.FADING_OUT||t.state===an.HIDDEN)return;let r=t.element,n=ge(ge({},ks),t.config.animation);r.style.transitionDuration=`${n.exitDuration}ms`,r.style.opacity="0",t.state=an.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 r=Sa(t);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,Op.forEach(n=>{xr._eventManager.addHandler(this._ngZone,n,r,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Rp.forEach(r=>{this._triggerElement.addEventListener(r,this,Mp)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===an.FADING_IN?this._startFadeOutTransition(t):t.state===an.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let r=t===this._mostRecentTransientRipple,{persistent:n}=t.config;t.state=an.VISIBLE,!n&&(!r||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let r=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=an.HIDDEN,r!==null&&(t.element.removeEventListener("transitionend",r.onTransitionEnd),t.element.removeEventListener("transitioncancel",r.onTransitionCancel),r.fallbackTimer!==null&&clearTimeout(r.fallbackTimer)),t.element.remove()}_onMousedown(t){let r=K0(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+G6;!this._target.rippleDisabled&&!r&&!n&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!Q0(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let r=t.changedTouches;if(r)for(let n=0;n<r.length;n++)this.fadeInRipple(r[n].clientX,r[n].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{let r=t.state===an.VISIBLE||t.config.terminateOnPointerUp&&t.state===an.FADING_IN;!t.config.persistent&&r&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(Op.forEach(r=>xr._eventManager.removeHandler(r,t,this)),this._pointerUpEventsRegistered&&(Rp.forEach(r=>t.removeEventListener(r,this,Mp)),this._pointerUpEventsRegistered=!1))}},s(xr,"_eventManager",new $6),xr);function Z6(e,t,r){let n=Math.max(Math.abs(e-r.left),Math.abs(e-r.right)),a=Math.max(Math.abs(t-r.top),Math.abs(t-r.bottom));return Math.sqrt(n*n+a*a)}var Y6=new Q("mat-ripple-global-options"),K6={capture:!0},Q6=["focus","mousedown","mouseenter","touchstart"],Gl="mat-ripple-loader-uninitialized",Ul="mat-ripple-loader-class-name",Pp="mat-ripple-loader-centered",To="mat-ripple-loader-disabled",J6=(()=>{const t=class t{constructor(){s(this,"_document",D(Le));s(this,"_animationMode",D(Yi,{optional:!0}));s(this,"_globalRippleOptions",D(Y6,{optional:!0}));s(this,"_platform",D($n));s(this,"_ngZone",D(je));s(this,"_injector",D(Ot));s(this,"_eventCleanups");s(this,"_hosts",new Map);s(this,"_onInteraction",n=>{var i;let a=sr(n);if(a instanceof HTMLElement){let o=a.closest(`[${Gl}="${((i=this._globalRippleOptions)==null?void 0:i.namespace)??""}"]`);o&&this._createRipple(o)}});let n=D(kn).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>Q6.map(a=>wr(n,this._document,a,this._onInteraction,K6)))}ngOnDestroy(){let n=this._hosts.keys();for(let a of n)this.destroyRipple(a);this._eventCleanups.forEach(a=>a())}configureRipple(n,a){var i;n.setAttribute(Gl,((i=this._globalRippleOptions)==null?void 0:i.namespace)??""),(a.className||!n.hasAttribute(Ul))&&n.setAttribute(Ul,a.className||""),a.centered&&n.setAttribute(Pp,""),a.disabled&&n.setAttribute(To,"")}setDisabled(n,a){let i=this._hosts.get(n);i?(i.target.rippleDisabled=a,!a&&!i.hasSetUpEvents&&(i.hasSetUpEvents=!0,i.renderer.setupTriggerEvents(n))):a?n.setAttribute(To,""):n.removeAttribute(To)}_createRipple(n){var b,g,w;if(!this._document||this._hosts.has(n))return;(b=n.querySelector(".mat-ripple"))==null||b.remove();let a=this._document.createElement("span");a.classList.add("mat-ripple",n.getAttribute(Ul)),n.append(a);let i=this._animationMode==="NoopAnimations",o=this._globalRippleOptions,l=i?0:((g=o==null?void 0:o.animation)==null?void 0:g.enterDuration)??ks.enterDuration,h=i?0:((w=o==null?void 0:o.animation)==null?void 0:w.exitDuration)??ks.exitDuration,u={rippleDisabled:i||(o==null?void 0:o.disabled)||n.hasAttribute(To),rippleConfig:{centered:n.hasAttribute(Pp),terminateOnPointerUp:o==null?void 0:o.terminateOnPointerUp,animation:{enterDuration:l,exitDuration:h}}},c=new W6(u,this._ngZone,a,this._platform,this._injector),m=!u.rippleDisabled;m&&c.setupTriggerEvents(n),this._hosts.set(n,{target:u,renderer:c,hasSetUpEvents:m}),n.removeAttribute(Gl)}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",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),X6=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,eW=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function Wl(e,t){let r=Array(e);for(let n=0;n<e;n++)r[n]=t(n);return r}var tW=(()=>{const t=class t extends eb{constructor(){super();s(this,"useUtcForDisplay",!1);s(this,"_matDateLocale",D(Ju,{optional:!0}));let a=D(Ju,{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 i=new Intl.DateTimeFormat(this.locale,{month:a,timeZone:"utc"});return Wl(12,o=>this._format(i,new Date(2017,o,1)))}getDateNames(){let a=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Wl(31,i=>this._format(a,new Date(2017,0,i+1)))}getDayOfWeekNames(a){let i=new Intl.DateTimeFormat(this.locale,{weekday:a,timeZone:"utc"});return Wl(7,o=>this._format(i,new Date(2017,0,o+1)))}getYearName(a){let i=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(i,a)}getFirstDayOfWeek(){var a,i;if(typeof Intl<"u"&&Intl.Locale){let o=new Intl.Locale(this.locale),l=((i=((a=o.getWeekInfo)==null?void 0:a.call(o))||o.weekInfo)==null?void 0:i.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,i,o){let l=this._createDateWithOverflow(a,i,o);return l.getMonth()!=i,l}today(){return new Date}parse(a,i){return typeof a=="number"?new Date(a):a?new Date(Date.parse(a)):null}format(a,i){if(!this.isValid(a))throw Error("NativeDateAdapter: Cannot format invalid date.");let o=new Intl.DateTimeFormat(this.locale,Qt(ge({},i),{timeZone:"utc"}));return this._format(o,a)}addCalendarYears(a,i){return this.addCalendarMonths(a,i*12)}addCalendarMonths(a,i){let o=this._createDateWithOverflow(this.getYear(a),this.getMonth(a)+i,this.getDate(a));return this.getMonth(o)!=((this.getMonth(a)+i)%12+12)%12&&(o=this._createDateWithOverflow(this.getYear(o),this.getMonth(o),0)),o}addCalendarDays(a,i){return this._createDateWithOverflow(this.getYear(a),this.getMonth(a),this.getDate(a)+i)}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(X6.test(a)){let i=new Date(a);if(this.isValid(i))return i}}return super.deserialize(a)}isDateInstance(a){return a instanceof Date}isValid(a){return!isNaN(a.getTime())}invalid(){return new Date(NaN)}setTime(a,i,o,l){let h=this.clone(a);return h.setHours(i,o,l,0),h}getHours(a){return a.getHours()}getMinutes(a){return a.getMinutes()}getSeconds(a){return a.getSeconds()}parseTime(a,i){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 h=o.replace(/[^0-9:(AM|PM)]/gi,"").trim();h.length>0&&(l=this._parseTimeString(h))}return l||this.invalid()}addSeconds(a,i){return new Date(a.getTime()+i*1e3)}_createDateWithOverflow(a,i,o){let l=new Date;return l.setFullYear(a,i,o),l.setHours(0,0,0,0),l}_2digit(a){return("00"+a).slice(-2)}_format(a,i){let o=new Date;return o.setUTCFullYear(i.getFullYear(),i.getMonth(),i.getDate()),o.setUTCHours(i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()),a.format(o)}_parseTimeString(a){let i=a.toUpperCase().match(eW);if(i){let o=parseInt(i[1]),l=parseInt(i[2]),h=i[3]==null?void 0:parseInt(i[3]),u=i[4];if(o===12?o=u==="AM"?0:o:u==="PM"&&(o+=12),Zl(o,0,23)&&Zl(l,0,59)&&(h==null||Zl(h,0,59)))return this.setTime(this.today(),o,l,h||0)}return null}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})();function Zl(e,t,r){return!isNaN(e)&&e>=t&&e<=r}var Nd=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}},Xu=class extends Nd{constructor(t,r,n,a,i){super();s(this,"component");s(this,"viewContainerRef");s(this,"injector");s(this,"componentFactoryResolver");s(this,"projectableNodes");this.component=t,this.viewContainerRef=r,this.injector=n,this.projectableNodes=i}},tb=class extends Nd{constructor(t,r,n,a){super();s(this,"templateRef");s(this,"viewContainerRef");s(this,"context");s(this,"injector");this.templateRef=t,this.viewContainerRef=r,this.context=n,this.injector=a}get origin(){return this.templateRef.elementRef}attach(t,r=this.context){return this.context=r,super.attach(t)}detach(){return this.context=void 0,super.detach()}},nW=class extends Nd{constructor(t){super();s(this,"element");this.element=t instanceof en?t.nativeElement:t}},Td=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 Xu)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof tb)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof nW)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)}},rW=class extends Td{constructor(t,r,n,a,i){super();s(this,"outletElement");s(this,"_appRef");s(this,"_defaultInjector");s(this,"_document");s(this,"attachDomPortal",t=>{let r=t.element;r.parentNode;let n=this._document.createComment("dom-portal");r.parentNode.insertBefore(n,r),this.outletElement.appendChild(r),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(r,n)})});this.outletElement=t,this._appRef=n,this._defaultInjector=a,this._document=i}attachComponentPortal(t){let r;if(t.viewContainerRef){let n=t.injector||t.viewContainerRef.injector,a=n.get(Di,null,{optional:!0})||void 0;r=t.viewContainerRef.createComponent(t.component,{index:t.viewContainerRef.length,injector:n,ngModuleRef:a,projectableNodes:t.projectableNodes||void 0}),this.setDisposeFn(()=>r.destroy())}else{let n=this._appRef,a=t.injector||this._defaultInjector||Ot.NULL,i=a.get(Ln,n.injector);r=p0(t.component,{elementInjector:a,environmentInjector:i,projectableNodes:t.projectableNodes||void 0}),n.attachView(r.hostView),this.setDisposeFn(()=>{n.viewCount>0&&n.detachView(r.hostView),r.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=t,r}attachTemplatePortal(t){let r=t.viewContainerRef,n=r.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return n.rootNodes.forEach(a=>this.outletElement.appendChild(a)),n.detectChanges(),this.setDisposeFn(()=>{let a=r.indexOf(n);a!==-1&&r.remove(a)}),this._attachedPortal=t,n}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}},Ap=(()=>{const t=class t extends Td{constructor(){super();s(this,"_moduleRef",D(Di,{optional:!0}));s(this,"_document",D(Le));s(this,"_viewContainerRef",D(Js));s(this,"_isInitialized",!1);s(this,"_attachedRef");s(this,"attached",new jt);s(this,"attachDomPortal",a=>{let i=a.element;i.parentNode;let o=this._document.createComment("dom-portal");a.setAttachedHost(this),i.parentNode.insertBefore(o,i),this._getRootNode().appendChild(i),this._attachedPortal=a,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(i,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 i=a.viewContainerRef!=null?a.viewContainerRef:this._viewContainerRef,o=i.createComponent(a.component,{index:i.length,injector:a.injector||i.injector,projectableNodes:a.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return i!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=a,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(a){a.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(a.templateRef,a.context,{injector:a.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=a,this._attachedRef=i,this.attached.emit(i),i}_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",hr({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Tr]}));let e=t;return e})(),aW=20,iW=(()=>{const t=class t{constructor(){s(this,"_ngZone",D(je));s(this,"_platform",D($n));s(this,"_renderer",D(kn).createRenderer(null,null));s(this,"_cleanupGlobalListener");s(this,"_scrolled",new Pe);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=aW){return this._platform.isBrowser?new Je(a=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let i=n>0?this._scrolled.pipe(pf(n)).subscribe(a):this._scrolled.subscribe(a);return this._scrolledCount++,()=>{var o;i.unsubscribe(),this._scrolledCount--,this._scrolledCount||((o=this._cleanupGlobalListener)==null||o.call(this),this._cleanupGlobalListener=void 0)}}):_t()}ngOnDestroy(){var n;(n=this._cleanupGlobalListener)==null||n.call(this),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((a,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(n,a){let i=this.getAncestorScrollContainers(n);return this.scrolled(a).pipe(Bs(o=>!o||i.indexOf(o)>-1))}getAncestorScrollContainers(n){let a=[];return this.scrollContainers.forEach((i,o)=>{this._scrollableContainsElement(o,n)&&a.push(o)}),a}_scrollableContainsElement(n,a){let i=Sa(a),o=n.getElementRef().nativeElement;do if(i==o)return!0;while(i=i.parentElement);return!1}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),oW=20,nb=(()=>{const t=class t{constructor(){s(this,"_platform",D($n));s(this,"_listeners");s(this,"_viewportSize");s(this,"_change",new Pe);s(this,"_document",D(Le,{optional:!0}));let n=D(je),a=D(kn).createRenderer(null,null);n.runOutsideAngular(()=>{if(this._platform.isBrowser){let i=o=>this._change.next(o);this._listeners=[a.listen("window","resize",i),a.listen("window","orientationchange",i)]}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:i}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+i,right:n.left+a,height:i,width:a}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let n=this._document,a=this._getWindow(),i=n.documentElement,o=i.getBoundingClientRect(),l=-o.top||n.body.scrollTop||a.scrollY||i.scrollTop||0,h=-o.left||n.body.scrollLeft||a.scrollX||i.scrollLeft||0;return{top:l,left:h}}change(n=oW){return n>0?this._change.pipe(pf(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",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Lp=H6(),sW=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=ut(-this._previousScrollPosition.left),e.style.top=ut(-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,r=e.style,n=t.style,a=r.scrollBehavior||"",i=n.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),Lp&&(r.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Lp&&(r.scrollBehavior=a,n.scrollBehavior=i)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}},lW=class{constructor(e,t,r,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=r,this._config=n}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(Bs(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}},rb=class{enable(){}disable(){}attach(){}};function ec(e,t){return t.some(r=>{let n=e.bottom<r.top,a=e.top>r.bottom,i=e.right<r.left,o=e.left>r.right;return n||a||i||o})}function Fp(e,t){return t.some(r=>{let n=e.top<r.top,a=e.bottom>r.bottom,i=e.left<r.left,o=e.right>r.right;return n||a||i||o})}var uW=class{constructor(e,t,r,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=r,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:r,height:n}=this._viewportRuler.getViewportSize();ec(t,[{width:r,height:n,bottom:n,right:r,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}},cW=(()=>{const t=class t{constructor(){s(this,"_scrollDispatcher",D(iW));s(this,"_viewportRuler",D(nb));s(this,"_ngZone",D(je));s(this,"_document",D(Le));s(this,"noop",()=>new rb);s(this,"close",n=>new lW(this._scrollDispatcher,this._ngZone,this._viewportRuler,n));s(this,"block",()=>new sW(this._viewportRuler,this._document));s(this,"reposition",n=>new uW(this._scrollDispatcher,this._viewportRuler,this._ngZone,n))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),ab=class{constructor(e){s(this,"positionStrategy");s(this,"scrollStrategy",new rb);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 r of t)e[r]!==void 0&&(this[r]=e[r])}}},dW=class{constructor(e,t){s(this,"connectionPair");s(this,"scrollableViewProperties");this.connectionPair=e,this.scrollableViewProperties=t}},ib=(()=>{const t=class t{constructor(){s(this,"_attachedOverlays",[]);s(this,"_document",D(Le));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",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),hW=(()=>{const t=class t extends ib{constructor(){super(...arguments);s(this,"_ngZone",D(je));s(this,"_renderer",D(kn).createRenderer(null,null));s(this,"_cleanupKeydown");s(this,"_keydownListener",a=>{let i=this._attachedOverlays;for(let o=i.length-1;o>-1;o--)if(i[o]._keydownEvents.observers.length>0){this._ngZone.run(()=>i[o]._keydownEvents.next(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(i){return(a||(a=Sn(t)))(i||t)}})()),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),pW=(()=>{const t=class t extends ib{constructor(){super(...arguments);s(this,"_platform",D($n));s(this,"_ngZone",D(je));s(this,"_renderer",D(kn).createRenderer(null,null));s(this,"_cursorOriginalValue");s(this,"_cursorStyleIsSet",!1);s(this,"_pointerDownEventTarget");s(this,"_cleanups");s(this,"_pointerDownListener",a=>{this._pointerDownEventTarget=sr(a)});s(this,"_clickListener",a=>{let i=sr(a),o=a.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let l=this._attachedOverlays.slice();for(let h=l.length-1;h>-1;h--){let u=l[h];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(jp(u.overlayElement,i)||jp(u.overlayElement,o))break;let c=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>c.next(a)):c.next(a)}})}add(a){if(super.add(a),!this._isAttached){let i=this._document.body,o={capture:!0};this._cleanups=this._ngZone.runOutsideAngular(()=>[wr(this._renderer,i,"pointerdown",this._pointerDownListener,o),wr(this._renderer,i,"click",this._clickListener,o),wr(this._renderer,i,"auxclick",this._clickListener,o),wr(this._renderer,i,"contextmenu",this._clickListener,o)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){var a;this._isAttached&&((a=this._cleanups)==null||a.forEach(i=>i()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}};s(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=Sn(t)))(i||t)}})()),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function jp(e,t){let r=typeof ShadowRoot<"u"&&ShadowRoot,n=t;for(;n;){if(n===e)return!0;n=r&&n instanceof ShadowRoot?n.host:n.parentNode}return!1}var ob=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Dt({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}
22
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),sb=(()=>{const t=class t{constructor(){s(this,"_platform",D($n));s(this,"_containerElement");s(this,"_document",D(Le));s(this,"_styleLoader",D(ol))}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||Np()){let i=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let o=0;o<i.length;o++)i[o].remove()}let a=this._document.createElement("div");a.classList.add(n),Np()?a.setAttribute("platform","test"):this._platform.isBrowser||a.setAttribute("platform","server"),this._document.body.appendChild(a),this._containerElement=a}_loadStyles(){this._styleLoader.load(ob)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),mW=class{constructor(e,t,r,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=r,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")})}},fW=class{constructor(e,t,r,n,a,i,o,l,h,u=!1,c,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 Pe);s(this,"_attachments",new Pe);s(this,"_detachments",new Pe);s(this,"_positionStrategy");s(this,"_scrollStrategy");s(this,"_locationChanges",Yt.EMPTY);s(this,"_backdropRef",null);s(this,"_previousHostParent");s(this,"_keydownEvents",new Pe);s(this,"_outsidePointerEvents",new Pe);s(this,"_renders",new Pe);s(this,"_afterRenderRef");s(this,"_afterNextRenderRef");this._portalOutlet=e,this._host=t,this._pane=r,this._config=n,this._ngZone=a,this._keyboardDispatcher=i,this._document=o,this._location=l,this._outsideClickDispatcher=h,this._animationsDisabled=u,this._injector=c,this._renderer=m,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy,this._afterRenderRef=qu(()=>Hg(()=>{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 r;!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(),(r=this._afterNextRenderRef)==null||r.destroy(),this._afterNextRenderRef=OH(()=>{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,r,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),(r=this._host)==null||r.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=ge(ge({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Qt(ge({},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=ut(this._config.width),e.height=ut(this._config.height),e.minWidth=ut(this._config.minWidth),e.minHeight=ut(this._config.minHeight),e.maxWidth=ut(this._config.maxWidth),e.maxHeight=ut(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 mW(this._document,this._renderer,this._ngZone,r=>{this._backdropClick.next(r)}),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 r;return(r=this._backdropRef)==null?void 0:r.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,r){let n=Ss(t||[]).filter(a=>!!a);n.length&&(r?e.classList.add(...n):e.classList.remove(...n))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let e=this._renders.pipe(Fi(hf(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)}},Vp="cdk-overlay-connected-position-bounding-box",gW=/([A-Za-z%]+)$/,vW=class{constructor(e,t,r,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 Pe);s(this,"_resizeSubscription",Yt.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=r,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(Vp),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,r=this._viewportRect,n=this._containerRect,a=[],i;for(let o of this._preferredPositions){let l=this._getOriginPoint(e,n,o),h=this._getOverlayPoint(l,t,o),u=this._getOverlayFit(h,t,r,o);if(u.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(o,l);return}if(this._canFitWithFlexibleDimensions(u,h,r)){a.push({position:o,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,o)});continue}(!i||i.overlayFit.visibleArea<u.visibleArea)&&(i={overlayFit:u,overlayPoint:h,originPoint:l,position:o,overlayRect:t})}if(a.length){let o=null,l=-1;for(let h of a){let u=h.boundingBoxRect.width*h.boundingBoxRect.height*(h.position.weight||1);u>l&&(l=u,o=h)}this._isPushed=!1,this._applyPosition(o.position,o.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(i.position,i.originPoint);return}this._applyPosition(i.position,i.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Lr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Vp),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,r){let n;if(r.originX=="center")n=e.left+e.width/2;else{let i=this._isRtl()?e.right:e.left,o=this._isRtl()?e.left:e.right;n=r.originX=="start"?i:o}t.left<0&&(n-=t.left);let a;return r.originY=="center"?a=e.top+e.height/2:a=r.originY=="top"?e.top:e.bottom,t.top<0&&(a-=t.top),{x:n,y:a}}_getOverlayPoint(e,t,r){let n;r.overlayX=="center"?n=-t.width/2:r.overlayX==="start"?n=this._isRtl()?-t.width:0:n=this._isRtl()?0:-t.width;let a;return r.overlayY=="center"?a=-t.height/2:a=r.overlayY=="top"?0:-t.height,{x:e.x+n,y:e.y+a}}_getOverlayFit(e,t,r,n){let a=Bp(t),{x:i,y:o}=e,l=this._getOffset(n,"x"),h=this._getOffset(n,"y");l&&(i+=l),h&&(o+=h);let u=0-i,c=i+a.width-r.width,m=0-o,b=o+a.height-r.height,g=this._subtractOverflows(a.width,u,c),w=this._subtractOverflows(a.height,m,b),x=g*w;return{visibleArea:x,isCompletelyWithinViewport:a.width*a.height===x,fitsInViewportVertically:w===a.height,fitsInViewportHorizontally:g==a.width}}_canFitWithFlexibleDimensions(e,t,r){if(this._hasFlexibleDimensions){let n=r.bottom-t.y,a=r.right-t.x,i=zp(this._overlayRef.getConfig().minHeight),o=zp(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||i!=null&&i<=n,h=e.fitsInViewportHorizontally||o!=null&&o<=a;return l&&h}return!1}_pushOverlayOnScreen(e,t,r){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let n=Bp(t),a=this._viewportRect,i=Math.max(e.x+n.width-a.width,0),o=Math.max(e.y+n.height-a.height,0),l=Math.max(a.top-r.top-e.y,0),h=Math.max(a.left-r.left-e.x,0),u=0,c=0;return n.width<=a.width?u=h||-i:u=e.x<this._viewportMargin?a.left-r.left-e.x:0,n.height<=a.height?c=l||-o:c=e.y<this._viewportMargin?a.top-r.top-e.y:0,this._previousPushAmount={x:u,y:c},{x:e.x+u,y:e.y+c}}_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 r=this._getScrollVisibility();if(e!==this._lastPosition||!this._lastScrollVisibility||!bW(this._lastScrollVisibility,r)){let n=new dW(e,r);this._positionChanges.next(n)}this._lastScrollVisibility=r}this._lastPosition=e,this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;let t=this._boundingBox.querySelectorAll(this._transformOriginSelector),r,n=e.overlayY;e.overlayX==="center"?r="center":this._isRtl()?r=e.overlayX==="start"?"right":"left":r=e.overlayX==="start"?"left":"right";for(let a=0;a<t.length;a++)t[a].style.transformOrigin=`${r} ${n}`}_calculateBoundingBoxRect(e,t){let r=this._viewportRect,n=this._isRtl(),a,i,o;if(t.overlayY==="top")i=e.y,a=r.height-i+this._viewportMargin;else if(t.overlayY==="bottom")o=r.height-e.y+this._viewportMargin*2,a=r.height-o+this._viewportMargin;else{let b=Math.min(r.bottom-e.y+r.top,e.y),g=this._lastBoundingBoxSize.height;a=b*2,i=e.y-b,a>g&&!this._isInitialRender&&!this._growAfterOpen&&(i=e.y-g/2)}let l=t.overlayX==="start"&&!n||t.overlayX==="end"&&n,h=t.overlayX==="end"&&!n||t.overlayX==="start"&&n,u,c,m;if(h)m=r.width-e.x+this._viewportMargin*2,u=e.x-this._viewportMargin;else if(l)c=e.x,u=r.right-e.x;else{let b=Math.min(r.right-e.x+r.left,e.x),g=this._lastBoundingBoxSize.width;u=b*2,c=e.x-b,u>g&&!this._isInitialRender&&!this._growAfterOpen&&(c=e.x-g/2)}return{top:i,left:c,bottom:o,right:m,width:u,height:a}}_setBoundingBoxStyles(e,t){let r=this._calculateBoundingBoxRect(e,t);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.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,i=this._overlayRef.getConfig().maxWidth;n.height=ut(r.height),n.top=ut(r.top),n.bottom=ut(r.bottom),n.width=ut(r.width),n.left=ut(r.left),n.right=ut(r.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=ut(a)),i&&(n.maxWidth=ut(i))}this._lastBoundingBoxSize=r,Lr(this._boundingBox.style,n)}_resetBoundingBoxStyles(){Lr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Lr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){let r={},n=this._hasExactPosition(),a=this._hasFlexibleDimensions,i=this._overlayRef.getConfig();if(n){let u=this._viewportRuler.getViewportScrollPosition();Lr(r,this._getExactOverlayY(t,e,u)),Lr(r,this._getExactOverlayX(t,e,u))}else r.position="static";let o="",l=this._getOffset(t,"x"),h=this._getOffset(t,"y");l&&(o+=`translateX(${l}px) `),h&&(o+=`translateY(${h}px)`),r.transform=o.trim(),i.maxHeight&&(n?r.maxHeight=ut(i.maxHeight):a&&(r.maxHeight="")),i.maxWidth&&(n?r.maxWidth=ut(i.maxWidth):a&&(r.maxWidth="")),Lr(this._pane.style,r)}_getExactOverlayY(e,t,r){let n={top:"",bottom:""},a=this._getOverlayPoint(t,this._overlayRect,e);if(this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,r)),e.overlayY==="bottom"){let i=this._document.documentElement.clientHeight;n.bottom=`${i-(a.y+this._overlayRect.height)}px`}else n.top=ut(a.y);return n}_getExactOverlayX(e,t,r){let n={left:"",right:""},a=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,r));let i;if(this._isRtl()?i=e.overlayX==="end"?"left":"right":i=e.overlayX==="end"?"right":"left",i==="right"){let o=this._document.documentElement.clientWidth;n.right=`${o-(a.x+this._overlayRect.width)}px`}else n.left=ut(a.x);return n}_getScrollVisibility(){let e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),r=this._scrollables.map(n=>n.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Fp(e,r),isOriginOutsideView:ec(e,r),isOverlayClipped:Fp(t,r),isOverlayOutsideView:ec(t,r)}}_subtractOverflows(e,...t){return t.reduce((r,n)=>r-Math.max(n,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+e-this._viewportMargin,bottom:r.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&&Ss(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 en)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let t=e.width||0,r=e.height||0;return{top:e.y,bottom:e.y+r,left:e.x,right:e.x+t,height:r,width:t}}};function Lr(e,t){for(let r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e}function zp(e){if(typeof e!="number"&&e!=null){let[t,r]=e.split(gW);return!r||r==="px"?parseFloat(t):null}return e||null}function Bp(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 bW(e,t){return e===t?!0:e.isOriginClipped===t.isOriginClipped&&e.isOriginOutsideView===t.isOriginOutsideView&&e.isOverlayClipped===t.isOverlayClipped&&e.isOverlayOutsideView===t.isOverlayOutsideView}var Hp="cdk-global-overlay-wrapper",yW=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(Hp),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,r=this._overlayRef.getConfig(),{width:n,height:a,maxWidth:i,maxHeight:o}=r,l=(n==="100%"||n==="100vw")&&(!i||i==="100%"||i==="100vw"),h=(a==="100%"||a==="100vh")&&(!o||o==="100%"||o==="100vh"),u=this._xPosition,c=this._xOffset,m=this._overlayRef.getConfig().direction==="rtl",b="",g="",w="";l?w="flex-start":u==="center"?(w="center",m?g=c:b=c):m?u==="left"||u==="end"?(w="flex-end",b=c):(u==="right"||u==="start")&&(w="flex-start",g=c):u==="left"||u==="start"?(w="flex-start",b=c):(u==="right"||u==="end")&&(w="flex-end",g=c),e.position=this._cssPosition,e.marginLeft=l?"0":b,e.marginTop=h?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":g,t.justifyContent=w,t.alignItems=h?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,r=t.style;t.classList.remove(Hp),r.justifyContent=r.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},_W=(()=>{const t=class t{constructor(){s(this,"_viewportRuler",D(nb));s(this,"_document",D(Le));s(this,"_platform",D($n));s(this,"_overlayContainer",D(sb))}global(){return new yW}flexibleConnectedTo(n){return new vW(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),wW=(()=>{const t=class t{constructor(){s(this,"scrollStrategies",D(cW));s(this,"_overlayContainer",D(sb));s(this,"_positionBuilder",D(_W));s(this,"_keyboardDispatcher",D(hW));s(this,"_injector",D(Ot));s(this,"_ngZone",D(je));s(this,"_document",D(Le));s(this,"_directionality",D(j6));s(this,"_location",D(v0));s(this,"_outsideClickDispatcher",D(pW));s(this,"_animationsModuleType",D(Yi,{optional:!0}));s(this,"_idGenerator",D(X0));s(this,"_renderer",D(kn).createRenderer(null,null));s(this,"_appRef");s(this,"_styleLoader",D(ol))}create(n){this._styleLoader.load(ob);let a=this._createHostElement(),i=this._createPaneElement(a),o=this._createPortalOutlet(i),l=new ab(n);return l.direction=l.direction||this._directionality.value,new fW(o,a,i,l,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(Ln),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(Ir)),new rW(n,null,this._appRef,this._injector,this._document)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),xW=new Q("mat-mdc-dialog-default-options"),EW=new Q("MAT_BUTTON_CONFIG"),SW=[{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"]}],lb=(()=>{const t=class t{constructor(){s(this,"_elementRef",D(en));s(this,"_ngZone",D(je));s(this,"_animationMode",D(Yi,{optional:!0}));s(this,"_focusMonitor",D(S6));s(this,"_rippleLoader",D(J6));s(this,"_isFab",!1);s(this,"color");s(this,"_disableRipple",!1);s(this,"_disabled",!1);s(this,"ariaDisabled");s(this,"disabledInteractive");var o;D(ol).load(B6);let n=D(EW,{optional:!0}),a=this._elementRef.nativeElement,i=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:h}of SW)a.hasAttribute(l)&&i.add(...h)}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",hr({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",si],disabled:[2,"disabled","disabled",si],ariaDisabled:[2,"aria-disabled","ariaDisabled",si],disabledInteractive:[2,"disabledInteractive","disabledInteractive",si]}}));let e=t;return e})(),kW=(()=>{const t=class t extends lb{constructor(){super(...arguments);s(this,"_renderer",D(Qs));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(i){return(a||(a=Sn(t)))(i||t)}})()),s(t,"ɵdir",hr({type:t,inputs:{tabIndex:[2,"tabIndex","tabIndex",a=>a==null?void 0:h0(a)]},features:[Tr]}));let e=t;return e})(),ub=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],cb=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],CW=`.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)}
23
+ `,IW=`@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}}
24
+ `,DW=(()=>{const t=class t extends lb{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=Sn(t)))(a||t)}})()),s(t,"ɵcmp",Dt({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&&(qa("disabled",a._getDisabledAttribute())("aria-disabled",a._getAriaDisabled()),gd(a.color?"mat-"+a.color:""),Dr("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:[Tr],ngContentSelectors:cb,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&&(Ga(ub),Kt(0,"span",0),dn(1),ke(2,"span",1),dn(3,1),Ce(),dn(4,2),Kt(5,"span",2)(6,"span",3)),n&2&&Dr("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)}
25
25
  `,`@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}}
26
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),CW=(()=>{const t=class t extends xW{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=En(t)))(a||t)}})()),s(t,"ɵcmp",It({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&&(Ha("disabled",a._getDisabledAttribute())("tabindex",a.disabled&&!a.disabledInteractive?-1:a.tabIndex)("aria-disabled",a._getAriaDisabled()),fd(a.color?"mat-"+a.color:""),Dr("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:[Tr],ngContentSelectors:db,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&&($a(cb),Yt(0,"span",0),cn(1),ke(2,"span",1),cn(3,1),Ce(),cn(4,2),Yt(5,"span",2)(6,"span",3)),n&2&&Dr("mdc-button__ripple",!a._isFab)("mdc-fab__ripple",a._isFab)},styles:[EW,SW],encapsulation:2,changeDetection:0}));let e=t;return e})(),hb=(()=>{const t=class t{constructor(){s(this,"changes",new Pe);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,i)=>{if(i==0||a==0)return`0 of ${i}`;i=Math.max(i,0);let o=n*a,l=o<i?Math.min(o+a,i):o+a;return`${o+1} – ${l} of ${i}`})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),_e=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}(_e||{}),ir="*";function IW(e,t=null){return{type:_e.Sequence,steps:e,options:t}}function qp(e){return{type:_e.Style,styles:e,offset:null}}var Ti=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(r=>r()),t.length=0}},pb=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,r=0,n=0,a=this.players.length;a==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(i=>{i.onDone(()=>{++t==a&&this._onFinish()}),i.onDestroy(()=>{++r==a&&this._onDestroy()}),i.onStart(()=>{++n==a&&this._onStart()})}),this.totalTime=this.players.reduce((i,o)=>Math.max(i,o.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let t=e*this.totalTime;this.players.forEach(r=>{let n=r.totalTime?Math.min(1,t/r.totalTime):1;r.setPosition(n)})}getPosition(){let e=this.players.reduce((t,r)=>t===null||r.totalTime>t.totalTime?r: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(r=>r()),t.length=0}},Td="!";function $p(e){return new U(3e3,!1)}function DW(){return new U(3100,!1)}function NW(){return new U(3101,!1)}function TW(e){return new U(3001,!1)}function MW(e){return new U(3003,!1)}function RW(e){return new U(3004,!1)}function OW(e,t){return new U(3005,!1)}function PW(){return new U(3006,!1)}function AW(){return new U(3007,!1)}function LW(e,t){return new U(3008,!1)}function FW(e){return new U(3002,!1)}function jW(e,t,r,n,a){return new U(3010,!1)}function VW(){return new U(3011,!1)}function BW(){return new U(3012,!1)}function zW(){return new U(3200,!1)}function HW(){return new U(3202,!1)}function qW(){return new U(3013,!1)}function $W(e){return new U(3014,!1)}function GW(e){return new U(3015,!1)}function UW(e){return new U(3016,!1)}function WW(e,t){return new U(3404,!1)}function ZW(e){return new U(3502,!1)}function YW(e){return new U(3503,!1)}function KW(){return new U(3300,!1)}function QW(e){return new U(3504,!1)}function JW(e){return new U(3301,!1)}function XW(e,t){return new U(3302,!1)}function eZ(e){return new U(3303,!1)}function tZ(e,t){return new U(3400,!1)}function nZ(e){return new U(3401,!1)}function rZ(e){return new U(3402,!1)}function aZ(e,t){return new U(3505,!1)}function br(e){switch(e.length){case 0:return new Ti;case 1:return e[0];default:return new pb(e)}}function mb(e,t,r=new Map,n=new Map){let a=[],i=[],o=-1,l=null;if(t.forEach(h=>{let u=h.get("offset"),c=u==o,m=c&&l||new Map;h.forEach((b,g)=>{let w=g,x=b;if(g!=="offset")switch(w=e.normalizePropertyName(w,a),x){case Td:x=r.get(g);break;case ir:x=n.get(g);break;default:x=e.normalizeStyleValue(g,w,x,a);break}m.set(w,x)}),c||i.push(m),l=m,o=u}),a.length)throw ZW();return i}function Md(e,t,r,n){switch(t){case"start":e.onStart(()=>n(r&&Yl(r,"start",e)));break;case"done":e.onDone(()=>n(r&&Yl(r,"done",e)));break;case"destroy":e.onDestroy(()=>n(r&&Yl(r,"destroy",e)));break}}function Yl(e,t,r){let n=r.totalTime,a=!!r.disabled,i=Rd(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,n??e.totalTime,a),o=e._data;return o!=null&&(i._data=o),i}function Rd(e,t,r,n,a="",i=0,o){return{element:e,triggerName:t,fromState:r,toState:n,phaseName:a,totalTime:i,disabled:!!o}}function Wt(e,t,r){let n=e.get(t);return n||e.set(t,n=r),n}function Gp(e){let t=e.indexOf(":"),r=e.substring(1,t),n=e.slice(t+1);return[r,n]}var iZ=typeof document>"u"?null:document.documentElement;function Od(e){let t=e.parentNode||e.host||null;return t===iZ?null:t}function oZ(e){return e.substring(1,6)=="ebkit"}var Fr=null,Up=!1;function sZ(e){Fr||(Fr=lZ()||{},Up=Fr.style?"WebkitAppearance"in Fr.style:!1);let t=!0;return Fr.style&&!oZ(e)&&(t=e in Fr.style,!t&&Up&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Fr.style)),t}function lZ(){return typeof document<"u"?document.body:null}function fb(e,t){for(;t;){if(t===e)return!0;t=Od(t)}return!1}function gb(e,t,r){if(r)return Array.from(e.querySelectorAll(t));let n=e.querySelector(t);return n?[n]:[]}var uZ=1e3,vb="{{",cZ="}}",bb="ng-enter",tc="ng-leave",Mo="ng-trigger",Is=".ng-trigger",Wp="ng-animating",nc=".ng-animating";function nr(e){if(typeof e=="number")return e;let t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:rc(parseFloat(t[1]),t[2])}function rc(e,t){switch(t){case"s":return e*uZ;default:return e}}function Ds(e,t,r){return e.hasOwnProperty("duration")?e:dZ(e,t,r)}function dZ(e,t,r){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,a,i=0,o="";if(typeof e=="string"){let l=e.match(n);if(l===null)return t.push($p()),{duration:0,delay:0,easing:""};a=rc(parseFloat(l[1]),l[2]);let h=l[3];h!=null&&(i=rc(parseFloat(h),l[4]));let u=l[5];u&&(o=u)}else a=e;if(!r){let l=!1,h=t.length;a<0&&(t.push(DW()),l=!0),i<0&&(t.push(NW()),l=!0),l&&t.splice(h,0,$p())}return{duration:a,delay:i,easing:o}}function hZ(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}function Rn(e,t,r){t.forEach((n,a)=>{let i=Pd(a);r&&!r.has(a)&&r.set(a,e.style[i]),e.style[i]=n})}function $r(e,t){t.forEach((r,n)=>{let a=Pd(n);e.style[a]=""})}function ei(e){return Array.isArray(e)?e.length==1?e[0]:IW(e):e}function pZ(e,t,r){let n=t.params||{},a=yb(e);a.length&&a.forEach(i=>{n.hasOwnProperty(i)||r.push(TW())})}var ac=new RegExp(`${vb}\\s*(.+?)\\s*${cZ}`,"g");function yb(e){let t=[];if(typeof e=="string"){let r;for(;r=ac.exec(e);)t.push(r[1]);ac.lastIndex=0}return t}function Mi(e,t,r){let n=`${e}`,a=n.replace(ac,(i,o)=>{let l=t[o];return l==null&&(r.push(MW()),l=""),l.toString()});return a==n?e:a}var mZ=/-+([a-z0-9])/g;function Pd(e){return e.replace(mZ,(...t)=>t[1].toUpperCase())}function fZ(e,t){return e===0||t===0}function gZ(e,t,r){if(r.size&&t.length){let n=t[0],a=[];if(r.forEach((i,o)=>{n.has(o)||a.push(o),n.set(o,i)}),a.length)for(let i=1;i<t.length;i++){let o=t[i];a.forEach(l=>o.set(l,Ad(e,l)))}}return t}function Gt(e,t,r){switch(t.type){case _e.Trigger:return e.visitTrigger(t,r);case _e.State:return e.visitState(t,r);case _e.Transition:return e.visitTransition(t,r);case _e.Sequence:return e.visitSequence(t,r);case _e.Group:return e.visitGroup(t,r);case _e.Animate:return e.visitAnimate(t,r);case _e.Keyframes:return e.visitKeyframes(t,r);case _e.Style:return e.visitStyle(t,r);case _e.Reference:return e.visitReference(t,r);case _e.AnimateChild:return e.visitAnimateChild(t,r);case _e.AnimateRef:return e.visitAnimateRef(t,r);case _e.Query:return e.visitQuery(t,r);case _e.Stagger:return e.visitStagger(t,r);default:throw RW(t.type)}}function Ad(e,t){return window.getComputedStyle(e)[t]}var vZ=(()=>{const t=class t{validateStyleProperty(n){return sZ(n)}containsElement(n,a){return fb(n,a)}getParentElement(n){return Od(n)}query(n,a,i){return gb(n,a,i)}computeStyle(n,a,i){return i||""}animate(n,a,i,o,l,h=[],u){return new Ti(i,o)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})(),iu,_b=(iu=class{},s(iu,"NOOP",new vZ),iu),Ld=class{},bZ=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"]),yZ=class extends Ld{normalizePropertyName(e,t){return Pd(e)}normalizeStyleValue(e,t,r,n){let a="",i=r.toString().trim();if(bZ.has(t)&&r!==0&&r!=="0")if(typeof r=="number")a="px";else{let o=r.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&n.push(OW())}return i+a}},Ns="*";function _Z(e,t){let r=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(n=>wZ(n,r,t)):r.push(e),r}function wZ(e,t,r){if(e[0]==":"){let h=xZ(e,r);if(typeof h=="function"){t.push(h);return}e=h}let n=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return r.push(GW()),t;let a=n[1],i=n[2],o=n[3];t.push(Zp(a,o));let l=a==Ns&&o==Ns;i[0]=="<"&&!l&&t.push(Zp(o,a))}function xZ(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(r,n)=>parseFloat(n)>parseFloat(r);case":decrement":return(r,n)=>parseFloat(n)<parseFloat(r);default:return t.push(UW()),"* => *"}}var Ro=new Set(["true","1"]),Oo=new Set(["false","0"]);function Zp(e,t){let r=Ro.has(e)||Oo.has(e),n=Ro.has(t)||Oo.has(t);return(a,i)=>{let o=e==Ns||e==a,l=t==Ns||t==i;return!o&&r&&typeof a=="boolean"&&(o=a?Ro.has(e):Oo.has(e)),!l&&n&&typeof i=="boolean"&&(l=i?Ro.has(t):Oo.has(t)),o&&l}}var wb=":self",EZ=new RegExp(`s*${wb}s*,?`,"g");function xb(e,t,r,n){return new SZ(e).build(t,r,n)}var Yp="",SZ=class{constructor(e){s(this,"_driver");this._driver=e}build(e,t,r){let n=new IZ(t);return this._resetContextStyleTimingState(n),Gt(this,ei(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=Yp,e.collectedStyles=new Map,e.collectedStyles.set(Yp,new Map),e.currentTime=0}visitTrigger(e,t){let r=t.queryCount=0,n=t.depCount=0,a=[],i=[];return e.name.charAt(0)=="@"&&t.errors.push(PW()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==_e.State){let l=o,h=l.name;h.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,a.push(this.visitState(l,t))}),l.name=h}else if(o.type==_e.Transition){let l=this.visitTransition(o,t);r+=l.queryCount,n+=l.depCount,i.push(l)}else t.errors.push(AW())}),{type:_e.Trigger,name:e.name,states:a,transitions:i,queryCount:r,depCount:n,options:null}}visitState(e,t){let r=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(r.containsDynamicStyles){let a=new Set,i=n||{};r.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{yb(l).forEach(h=>{i.hasOwnProperty(h)||a.add(h)})})}),a.size&&t.errors.push(LW(e.name,[...a.values()]))}return{type:_e.State,name:e.name,style:r,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let r=Gt(this,ei(e.animation),t),n=_Z(e.expr,t.errors);return{type:_e.Transition,matchers:n,animation:r,queryCount:t.queryCount,depCount:t.depCount,options:jr(e.options)}}visitSequence(e,t){return{type:_e.Sequence,steps:e.steps.map(r=>Gt(this,r,t)),options:jr(e.options)}}visitGroup(e,t){let r=t.currentTime,n=0,a=e.steps.map(i=>{t.currentTime=r;let o=Gt(this,i,t);return n=Math.max(n,t.currentTime),o});return t.currentTime=n,{type:_e.Group,steps:a,options:jr(e.options)}}visitAnimate(e,t){let r=NZ(e.timings,t.errors);t.currentAnimateTimings=r;let n,a=e.styles?e.styles:qp({});if(a.type==_e.Keyframes)n=this.visitKeyframes(a,t);else{let i=e.styles,o=!1;if(!i){o=!0;let h={};r.easing&&(h.easing=r.easing),i=qp(h)}t.currentTime+=r.duration+r.delay;let l=this.visitStyle(i,t);l.isEmptyStep=o,n=l}return t.currentAnimateTimings=null,{type:_e.Animate,timings:r,style:n,options:null}}visitStyle(e,t){let r=this._makeStyleAst(e,t);return this._validateStyleAst(r,t),r}_makeStyleAst(e,t){let r=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of n)typeof o=="string"?o===ir?r.push(o):t.errors.push(FW()):r.push(new Map(Object.entries(o)));let a=!1,i=null;return r.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(i=o.get("easing"),o.delete("easing")),!a)){for(let l of o.values())if(l.toString().indexOf(vb)>=0){a=!0;break}}}),{type:_e.Style,styles:r,easing:i,offset:e.offset,containsDynamicStyles:a,options:null}}_validateStyleAst(e,t){let r=t.currentAnimateTimings,n=t.currentTime,a=t.currentTime;r&&a>0&&(a-=r.duration+r.delay),e.styles.forEach(i=>{typeof i!="string"&&i.forEach((o,l)=>{let h=t.collectedStyles.get(t.currentQuerySelector),u=h.get(l),c=!0;u&&(a!=n&&a>=u.startTime&&n<=u.endTime&&(t.errors.push(jW(l,u.startTime,u.endTime)),c=!1),a=u.startTime),c&&h.set(l,{startTime:a,endTime:n}),t.options&&pZ(o,t.options,t.errors)})})}visitKeyframes(e,t){let r={type:_e.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(VW()),r;let n=1,a=0,i=[],o=!1,l=!1,h=0,u=e.steps.map(S=>{let N=this._makeStyleAst(S,t),L=N.offset!=null?N.offset:DZ(N.styles),A=0;return L!=null&&(a++,A=N.offset=L),l=l||A<0||A>1,o=o||A<h,h=A,i.push(A),N});l&&t.errors.push(BW()),o&&t.errors.push(zW());let c=e.steps.length,m=0;a>0&&a<c?t.errors.push(HW()):a==0&&(m=n/(c-1));let b=c-1,g=t.currentTime,w=t.currentAnimateTimings,x=w.duration;return u.forEach((S,N)=>{let L=m>0?N==b?1:m*N:i[N],A=L*x;t.currentTime=g+w.delay+A,w.duration=A,this._validateStyleAst(S,t),S.offset=L,r.styles.push(S)}),r}visitReference(e,t){return{type:_e.Reference,animation:Gt(this,ei(e.animation),t),options:jr(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:_e.AnimateChild,options:jr(e.options)}}visitAnimateRef(e,t){return{type:_e.AnimateRef,animation:this.visitReference(e.animation,t),options:jr(e.options)}}visitQuery(e,t){let r=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;let[a,i]=kZ(e.selector);t.currentQuerySelector=r.length?r+" "+a:a,Wt(t.collectedStyles,t.currentQuerySelector,new Map);let o=Gt(this,ei(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=r,{type:_e.Query,selector:a,limit:n.limit||0,optional:!!n.optional,includeSelf:i,animation:o,originalSelector:e.selector,options:jr(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(qW());let r=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Ds(e.timings,t.errors,!0);return{type:_e.Stagger,animation:Gt(this,ei(e.animation),t),timings:r,options:null}}};function kZ(e){let t=!!e.split(/\s*,\s*/).find(r=>r==wb);return t&&(e=e.replace(EZ,"")),e=e.replace(/@\*/g,Is).replace(/@\w+/g,r=>Is+"-"+r.slice(1)).replace(/:animating/g,nc),[e,t]}function CZ(e){return e?ge({},e):null}var IZ=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 DZ(e){if(typeof e=="string")return null;let t=null;if(Array.isArray(e))e.forEach(r=>{if(r instanceof Map&&r.has("offset")){let n=r;t=parseFloat(n.get("offset")),n.delete("offset")}});else if(e instanceof Map&&e.has("offset")){let r=e;t=parseFloat(r.get("offset")),r.delete("offset")}return t}function NZ(e,t){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let a=Ds(e,t).duration;return Kl(a,0,"")}let r=e;if(r.split(/\s+/).some(a=>a.charAt(0)=="{"&&a.charAt(1)=="{")){let a=Kl(0,0,"");return a.dynamic=!0,a.strValue=r,a}let n=Ds(r,t);return Kl(n.duration,n.delay,n.easing)}function jr(e){return e?(e=ge({},e),e.params&&(e.params=CZ(e.params))):e={},e}function Kl(e,t,r){return{duration:e,delay:t,easing:r}}function Fd(e,t,r,n,a,i,o=null,l=!1){return{type:1,element:e,keyframes:t,preStyleProps:r,postStyleProps:n,duration:a,delay:i,totalTime:a+i,easing:o,subTimeline:l}}var jd=class{constructor(){s(this,"_map",new Map)}get(e){return this._map.get(e)||[]}append(e,t){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},TZ=1,MZ=":enter",RZ=new RegExp(MZ,"g"),OZ=":leave",PZ=new RegExp(OZ,"g");function Eb(e,t,r,n,a,i=new Map,o=new Map,l,h,u=[]){return new AZ().buildKeyframes(e,t,r,n,a,i,o,l,h,u)}var AZ=class{buildKeyframes(e,t,r,n,a,i,o,l,h,u=[]){h=h||new jd;let c=new LZ(e,t,h,n,a,u,[]);c.options=l;let m=l.delay?nr(l.delay):0;c.currentTimeline.delayNextStep(m),c.currentTimeline.setStyles([i],null,c.errors,l),Gt(this,r,c);let b=c.timelines.filter(g=>g.containsAnimation());if(b.length&&o.size){let g;for(let w=b.length-1;w>=0;w--){let x=b[w];if(x.element===t){g=x;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([o],null,c.errors,l)}return b.length?b.map(g=>g.buildKeyframes()):[Fd(t,[],[],[],0,m,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let r=t.subInstructions.get(t.element);if(r){let n=t.createSubContext(e.options),a=t.currentTimeline.currentTime,i=this._visitSubInstructions(r,n,n.options);a!=i&&t.transformIntoNewTimeline(i)}t.previousNode=e}visitAnimateRef(e,t){let r=t.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,r),this.visitReference(e.animation,r),t.transformIntoNewTimeline(r.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,r){for(let n of e){let a=n==null?void 0:n.delay;if(a){let i=typeof a=="number"?a:nr(Mi(a,(n==null?void 0:n.params)??{},t.errors));r.delayNextStep(i)}}}_visitSubInstructions(e,t,r){let n=t.currentTimeline.currentTime,a=r.duration!=null?nr(r.duration):null,i=r.delay!=null?nr(r.delay):null;return a!==0&&e.forEach(o=>{let l=t.appendInstructionToTimeline(o,a,i);n=Math.max(n,l.duration+l.delay)}),n}visitReference(e,t){t.updateOptions(e.options,!0),Gt(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let r=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==_e.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Ts);let i=nr(a.delay);n.delayNextStep(i)}e.steps.length&&(e.steps.forEach(i=>Gt(this,i,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>r&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let r=[],n=t.currentTimeline.currentTime,a=e.options&&e.options.delay?nr(e.options.delay):0;e.steps.forEach(i=>{let o=t.createSubContext(e.options);a&&o.delayNextStep(a),Gt(this,i,o),n=Math.max(n,o.currentTimeline.currentTime),r.push(o.currentTimeline)}),r.forEach(i=>t.currentTimeline.mergeTimelineCollectedStyles(i)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let r=e.strValue,n=t.params?Mi(r,t.params,t.errors):r;return Ds(n,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let r=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;r.delay&&(t.incrementTime(r.delay),n.snapshotCurrentStyles());let a=e.style;a.type==_e.Keyframes?this.visitKeyframes(a,t):(t.incrementTime(r.duration),this.visitStyle(a,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let r=t.currentTimeline,n=t.currentAnimateTimings;!n&&r.hasCurrentStyleProperties()&&r.forwardFrame();let a=n&&n.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(a):r.setStyles(e.styles,a,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let r=t.currentAnimateTimings,n=t.currentTimeline.duration,a=r.duration,i=t.createSubContext().currentTimeline;i.easing=r.easing,e.styles.forEach(o=>{let l=o.offset||0;i.forwardTime(l*a),i.setStyles(o.styles,o.easing,t.errors,t.options),i.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(i),t.transformIntoNewTimeline(n+a),t.previousNode=e}visitQuery(e,t){let r=t.currentTimeline.currentTime,n=e.options||{},a=n.delay?nr(n.delay):0;a&&(t.previousNode.type===_e.Style||r==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Ts);let i=r,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((h,u)=>{t.currentQueryIndex=u;let c=t.createSubContext(e.options,h);a&&c.delayNextStep(a),h===t.element&&(l=c.currentTimeline),Gt(this,e.animation,c),c.currentTimeline.applyStylesToKeyframe();let m=c.currentTimeline.currentTime;i=Math.max(i,m)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(i),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let r=t.parentContext,n=t.currentTimeline,a=e.timings,i=Math.abs(a.duration),o=i*(t.currentQueryTotal-1),l=i*t.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":l=o-l;break;case"full":l=r.currentStaggerTime;break}let h=t.currentTimeline;l&&h.delayNextStep(l);let u=h.currentTime;Gt(this,e.animation,t),t.previousNode=e,r.currentStaggerTime=n.currentTime-u+(n.startTime-r.currentTimeline.startTime)}},Ts={},LZ=class Sb{constructor(t,r,n,a,i,o,l,h){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",Ts);s(this,"subContextCount",0);s(this,"options",{});s(this,"currentQueryIndex",0);s(this,"currentQueryTotal",0);s(this,"currentStaggerTime",0);this._driver=t,this.element=r,this.subInstructions=n,this._enterClassName=a,this._leaveClassName=i,this.errors=o,this.timelines=l,this.currentTimeline=h||new kb(this._driver,r,0),l.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,r){if(!t)return;let n=t,a=this.options;n.duration!=null&&(a.duration=nr(n.duration)),n.delay!=null&&(a.delay=nr(n.delay));let i=n.params;if(i){let o=a.params;o||(o=this.options.params={}),Object.keys(i).forEach(l=>{(!r||!o.hasOwnProperty(l))&&(o[l]=Mi(i[l],o,this.errors))})}}_copyOptions(){let t={};if(this.options){let r=this.options.params;if(r){let n=t.params={};Object.keys(r).forEach(a=>{n[a]=r[a]})}}return t}createSubContext(t=null,r,n){let a=r||this.element,i=new Sb(this._driver,a,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(a,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(t),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(t){return this.previousNode=Ts,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,r,n){let a={duration:r??t.duration,delay:this.currentTimeline.currentTime+(n??0)+t.delay,easing:""},i=new FZ(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,a,t.stretchStartingKeyframe);return this.timelines.push(i),a}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,r,n,a,i,o){let l=[];if(a&&l.push(this.element),t.length>0){t=t.replace(RZ,"."+this._enterClassName),t=t.replace(PZ,"."+this._leaveClassName);let h=n!=1,u=this._driver.query(this.element,t,h);n!==0&&(u=n<0?u.slice(u.length+n,u.length):u.slice(0,n)),l.push(...u)}return!i&&l.length==0&&o.push($W()),l}},kb=class Cb{constructor(t,r,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=r,this.startTime=n,this._elementTimelineStylesLookup=a,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(r),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(r,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 r=this._keyframes.size===1&&this._pendingStyles.size;this.duration||r?(this.forwardTime(this.currentTime+t),r&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,r){return this.applyStylesToKeyframe(),new Cb(this._driver,t,r||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+=TZ,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,r){this._localTimelineStyles.set(t,r),this._globalTimelineStyles.set(t,r),this._styleSummary.set(t,{time:this.currentTime,value:r})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[r,n]of this._globalTimelineStyles)this._backFill.set(r,n||ir),this._currentKeyframe.set(r,ir);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,r,n,a){r&&this._previousKeyframe.set("easing",r);let i=a&&a.params||{},o=jZ(t,this._globalTimelineStyles);for(let[l,h]of o){let u=Mi(h,i,n);this._pendingStyles.set(l,u),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??ir),this._updateStyle(l,u)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,r)=>{this._currentKeyframe.set(r,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,r)=>{this._currentKeyframe.has(r)||this._currentKeyframe.set(r,t)}))}snapshotCurrentStyles(){for(let[t,r]of this._localTimelineStyles)this._pendingStyles.set(t,r),this._updateStyle(t,r)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let r in this._currentKeyframe)t.push(r);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((r,n)=>{let a=this._styleSummary.get(n);(!a||r.time>a.time)&&this._updateStyle(n,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,r=new Set,n=this._keyframes.size===1&&this.duration===0,a=[];this._keyframes.forEach((l,h)=>{let u=new Map([...this._backFill,...l]);u.forEach((c,m)=>{c===Td?t.add(m):c===ir&&r.add(m)}),n||u.set("offset",h/this.duration),a.push(u)});let i=[...t.values()],o=[...r.values()];if(n){let l=a[0],h=new Map(l);l.set("offset",0),h.set("offset",1),a=[l,h]}return Fd(this.element,a,i,o,this.duration,this.startTime,this.easing,!1)}},FZ=class extends kb{constructor(t,r,n,a,i,o,l=!1){super(t,r,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=i,this._stretchStartingKeyframe=l,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:r,duration:n,easing:a}=this.timings;if(this._stretchStartingKeyframe&&r){let i=[],o=n+r,l=r/o,h=new Map(t[0]);h.set("offset",0),i.push(h);let u=new Map(t[0]);u.set("offset",Kp(l)),i.push(u);let c=t.length-1;for(let m=1;m<=c;m++){let b=new Map(t[m]),g=b.get("offset"),w=r+g*n;b.set("offset",Kp(w/o)),i.push(b)}n=o,r=0,a="",t=i}return Fd(this.element,t,this.preStyleProps,this.postStyleProps,n,r,a,!0)}};function Kp(e,t=3){let r=Math.pow(10,t-1);return Math.round(e*r)/r}function jZ(e,t){let r=new Map,n;return e.forEach(a=>{if(a==="*"){n??(n=t.keys());for(let i of n)r.set(i,ir)}else for(let[i,o]of a)r.set(i,o)}),r}function Qp(e,t,r,n,a,i,o,l,h,u,c,m,b){return{type:0,element:e,triggerName:t,isRemovalTransition:a,fromState:r,fromStyles:i,toState:n,toStyles:o,timelines:l,queriedElements:h,preStyleProps:u,postStyleProps:c,totalTime:m,errors:b}}var Ql={},Ib=class{constructor(e,t,r){s(this,"_triggerName");s(this,"ast");s(this,"_stateStyles");this._triggerName=e,this.ast=t,this._stateStyles=r}match(e,t,r,n){return VZ(this.ast.matchers,e,t,r,n)}buildStyles(e,t,r){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e==null?void 0:e.toString())||n),n?n.buildStyles(t,r):new Map}build(e,t,r,n,a,i,o,l,h,u){var dt;let c=[],m=this.ast.options&&this.ast.options.params||Ql,b=o&&o.params||Ql,g=this.buildStyles(r,b,c),w=l&&l.params||Ql,x=this.buildStyles(n,w,c),S=new Set,N=new Map,L=new Map,A=n==="void",Y={params:Db(w,m),delay:(dt=this.ast.options)==null?void 0:dt.delay},ne=u?[]:Eb(e,t,this.ast.animation,a,i,g,x,Y,h,c),ue=0;return ne.forEach(tt=>{ue=Math.max(tt.duration+tt.delay,ue)}),c.length?Qp(t,this._triggerName,r,n,A,g,x,[],[],N,L,ue,c):(ne.forEach(tt=>{let ze=tt.element,ot=Wt(N,ze,new Set);tt.preStyleProps.forEach(z=>ot.add(z));let Z=Wt(L,ze,new Set);tt.postStyleProps.forEach(z=>Z.add(z)),ze!==t&&S.add(ze)}),Qp(t,this._triggerName,r,n,A,g,x,ne,[...S.values()],N,L,ue))}};function VZ(e,t,r,n,a){return e.some(i=>i(t,r,n,a))}function Db(e,t){let r=ge({},t);return Object.entries(e).forEach(([n,a])=>{a!=null&&(r[n]=a)}),r}var BZ=class{constructor(e,t,r){s(this,"styles");s(this,"defaultParams");s(this,"normalizer");this.styles=e,this.defaultParams=t,this.normalizer=r}buildStyles(e,t){let r=new Map,n=Db(e,this.defaultParams);return this.styles.styles.forEach(a=>{typeof a!="string"&&a.forEach((i,o)=>{i&&(i=Mi(i,n,t));let l=this.normalizer.normalizePropertyName(o,t);i=this.normalizer.normalizeStyleValue(o,l,i,t),r.set(o,i)})}),r}};function zZ(e,t,r){return new HZ(e,t,r)}var HZ=class{constructor(e,t,r){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=r,t.states.forEach(n=>{let a=n.options&&n.options.params||{};this.states.set(n.name,new BZ(n.style,a,r))}),Jp(this.states,"true","1"),Jp(this.states,"false","0"),t.transitions.forEach(n=>{this.transitionFactories.push(new Ib(e,n,this.states))}),this.fallbackTransition=qZ(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,r,n){return this.transitionFactories.find(a=>a.match(e,t,r,n))||null}matchStyles(e,t,r){return this.fallbackTransition.buildStyles(e,t,r)}};function qZ(e,t,r){let n=[(o,l)=>!0],a={type:_e.Sequence,steps:[],options:null},i={type:_e.Transition,animation:a,matchers:n,options:null,queryCount:0,depCount:0};return new Ib(e,i,t)}function Jp(e,t,r){e.has(t)?e.has(r)||e.set(r,e.get(t)):e.has(r)&&e.set(t,e.get(r))}var $Z=new jd,GZ=class{constructor(e,t,r){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=r}register(e,t){let r=[],n=[],a=xb(this._driver,t,r,n);if(r.length)throw YW();this._animations.set(e,a)}_buildPlayer(e,t,r){let n=e.element,a=mb(this._normalizer,e.keyframes,t,r);return this._driver.animate(n,a,e.duration,e.delay,e.easing,[],!0)}create(e,t,r={}){let n=[],a=this._animations.get(e),i,o=new Map;if(a?(i=Eb(this._driver,t,a,bb,tc,new Map,new Map,r,$Z,n),i.forEach(u=>{let c=Wt(o,u.element,new Map);u.postStyleProps.forEach(m=>c.set(m,null))})):(n.push(KW()),i=[]),n.length)throw QW();o.forEach((u,c)=>{u.forEach((m,b)=>{u.set(b,this._driver.computeStyle(c,b,ir))})});let l=i.map(u=>{let c=o.get(u.element);return this._buildPlayer(u,new Map,c)}),h=br(l);return this._playersById.set(e,h),h.onDestroy(()=>this.destroy(e)),this.players.push(h),h}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let r=this.players.indexOf(t);r>=0&&this.players.splice(r,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw JW();return t}listen(e,t,r,n){let a=Rd(t,"","","");return Md(this._getPlayer(e),r,a,n),()=>{}}command(e,t,r,n){if(r=="register"){this.register(e,n[0]);return}if(r=="create"){let i=n[0]||{};this.create(e,t,i);return}let a=this._getPlayer(e);switch(r){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}}},Xp="ng-animate-queued",UZ=".ng-animate-queued",Jl="ng-animate-disabled",WZ=".ng-animate-disabled",ZZ="ng-star-inserted",YZ=".ng-star-inserted",KZ=[],Nb={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},QZ={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},vn="__ng_removed",ic=class{constructor(e,t=""){s(this,"namespaceId");s(this,"value");s(this,"options");this.namespaceId=t;let r=e&&e.hasOwnProperty("value"),n=r?e.value:e;if(this.value=tY(n),r){let a=e,{value:i}=a,o=Iz(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 r=this.options.params;Object.keys(t).forEach(n=>{r[n]==null&&(r[n]=t[n])})}}},fi="void",Xl=new ic(fi),JZ=class{constructor(e,t,r){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=r,this._hostClassName="ng-tns-"+e,an(t,this._hostClassName)}listen(e,t,r,n){if(!this._triggers.has(t))throw XW();if(r==null||r.length==0)throw eZ();if(!nY(r))throw tZ();let a=Wt(this._elementListeners,e,[]),i={name:t,phase:r,callback:n};a.push(i);let o=Wt(this._engine.statesByElement,e,new Map);return o.has(t)||(an(e,Mo),an(e,Mo+"-"+t),o.set(t,Xl)),()=>{this._engine.afterFlush(()=>{let l=a.indexOf(i);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 nZ();return t}trigger(e,t,r,n=!0){let a=this._getTrigger(t),i=new oc(this.id,t,e),o=this._engine.statesByElement.get(e);o||(an(e,Mo),an(e,Mo+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),h=new ic(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&h.absorbOptions(l.options),o.set(t,h),l||(l=Xl),h.value!==fi&&l.value===h.value){if(!iY(l.params,h.params)){let b=[],g=a.matchStyles(l.value,l.params,b),w=a.matchStyles(h.value,h.params,b);b.length?this._engine.reportError(b):this._engine.afterFlush(()=>{$r(e,g),Rn(e,w)})}return}let u=Wt(this._engine.playersByElement,e,[]);u.forEach(b=>{b.namespaceId==this.id&&b.triggerName==t&&b.queued&&b.destroy()});let c=a.matchTransition(l.value,h.value,e,h.params),m=!1;if(!c){if(!n)return;c=a.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:c,fromState:l,toState:h,player:i,isFallbackTransition:m}),m||(an(e,Xp),i.onStart(()=>{da(e,Xp)})),i.onDone(()=>{let b=this.players.indexOf(i);b>=0&&this.players.splice(b,1);let g=this._engine.playersByElement.get(e);if(g){let w=g.indexOf(i);w>=0&&g.splice(w,1)}}),this.players.push(i),u.push(i),i}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,r)=>{this._elementListeners.set(r,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(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let r=this._engine.driver.query(e,Is,!0);r.forEach(n=>{if(n[vn])return;let a=this._engine.fetchNamespacesByElement(n);a.size?a.forEach(i=>i.triggerLeaveAnimation(n,t,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,t,r,n){let a=this._engine.statesByElement.get(e),i=new Map;if(a){let o=[];if(a.forEach((l,h)=>{if(i.set(h,l.value),this._triggers.has(h)){let u=this.trigger(e,h,fi,n);u&&o.push(u)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,i),r&&br(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(t&&r){let n=new Set;t.forEach(a=>{let i=a.name;if(n.has(i))return;n.add(i);let o=this._triggers.get(i).fallbackTransition,l=r.get(i)||Xl,h=new ic(fi),u=new oc(this.id,i,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:o,fromState:l,toState:h,player:u,isFallbackTransition:!0})})}}removeNode(e,t){let r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(r.totalAnimations){let a=r.players.length?r.playersByQueriedElement.get(e):[];if(a&&a.length)n=!0;else{let i=e;for(;i=i.parentNode;)if(r.statesByElement.get(i)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)r.markElementAsRemoved(this.id,e,!1,t);else{let a=e[vn];(!a||a===Nb)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}insertNode(e,t){an(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(r=>{let n=r.player;if(n.destroyed)return;let a=r.element,i=this._elementListeners.get(a);i&&i.forEach(o=>{if(o.name==r.triggerName){let l=Rd(a,r.triggerName,r.fromState.value,r.toState.value);l._data=e,Md(r.player,o.phase,l,o.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(r)}),this._queue=[],t.sort((r,n)=>{let a=r.transition.ast.depCount,i=n.transition.ast.depCount;return a==0||i==0?a-i:this._engine.driver.containsElement(r.element,n.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},XZ=class{constructor(e,t,r){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=r}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,t){let r=new JZ(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(r,t):(this.newHostElements.set(t,r),this.collectEnterElement(t)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,t){let r=this._namespaceList,n=this.namespacesByHostElement;if(r.length-1>=0){let a=!1,i=this.driver.getParentElement(t);for(;i;){let o=n.get(i);if(o){let l=r.indexOf(o);r.splice(l+1,0,e),a=!0;break}i=this.driver.getParentElement(i)}a||r.unshift(e)}else r.push(e);return n.set(t,e),e}register(e,t){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,t)),r}registerTrigger(e,t,r){let n=this._namespaceLookup[e];n&&n.register(t,r)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(e);this.namespacesByHostElement.delete(r.hostElement);let n=this._namespaceList.indexOf(r);n>=0&&this._namespaceList.splice(n,1),r.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,r=this.statesByElement.get(e);if(r){for(let n of r.values())if(n.namespaceId){let a=this._fetchNamespace(n.namespaceId);a&&t.add(a)}}return t}trigger(e,t,r,n){if(Po(t)){let a=this._fetchNamespace(e);if(a)return a.trigger(t,r,n),!0}return!1}insertNode(e,t,r,n){if(!Po(t))return;let a=t[vn];if(a&&a.setForRemoval){a.setForRemoval=!1,a.setForMove=!0;let i=this.collectedLeaveElements.indexOf(t);i>=0&&this.collectedLeaveElements.splice(i,1)}if(e){let i=this._fetchNamespace(e);i&&i.insertNode(t,r)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),an(e,Jl)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),da(e,Jl))}removeNode(e,t,r){if(Po(t)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r);let a=this.namespacesByHostElement.get(t);a&&a.id!==e&&a.removeNode(t,r)}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,r,n,a){this.collectedLeaveElements.push(t),t[vn]={namespaceId:e,setForRemoval:n,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:a}}listen(e,t,r,n,a){return Po(t)?this._fetchNamespace(e).listen(t,r,n,a):()=>{}}_buildInstruction(e,t,r,n,a){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,n,e.fromState.options,e.toState.options,t,a)}destroyInnerAnimations(e){let t=this.driver.query(e,Is,!0);t.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,nc,!0),t.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return br(this.players).onDone(()=>e());e()})}processLeaveNode(e){var r;let t=e[vn];if(t&&t.setForRemoval){if(e[vn]=Nb,t.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}(r=e.classList)!=null&&r.contains(Jl)&&this.markElementAsDisabled(e,!1),this.driver.query(e,WZ,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,n)=>this._balanceNamespaceList(r,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++){let n=this.collectedEnterElements[r];an(n,ZZ)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let r=[];try{t=this._flushAnimations(r,e)}finally{for(let n=0;n<r.length;n++)r[n]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++){let n=this.collectedLeaveElements[r];this.processLeaveNode(n)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],t.length?br(t).onDone(()=>{r.forEach(n=>n())}):r.forEach(n=>n())}}reportError(e){throw rZ()}_flushAnimations(e,t){let r=new jd,n=[],a=new Map,i=[],o=new Map,l=new Map,h=new Map,u=new Set;this.disabledNodes.forEach(P=>{u.add(P);let j=this.driver.query(P,UZ,!0);for(let G=0;G<j.length;G++)u.add(j[G])});let c=this.bodyNode,m=Array.from(this.statesByElement.keys()),b=nm(m,this.collectedEnterElements),g=new Map,w=0;b.forEach((P,j)=>{let G=bb+w++;g.set(j,G),P.forEach(ve=>an(ve,G))});let x=[],S=new Set,N=new Set;for(let P=0;P<this.collectedLeaveElements.length;P++){let j=this.collectedLeaveElements[P],G=j[vn];G&&G.setForRemoval&&(x.push(j),S.add(j),G.hasAnimation?this.driver.query(j,YZ,!0).forEach(ve=>S.add(ve)):N.add(j))}let L=new Map,A=nm(m,Array.from(S));A.forEach((P,j)=>{let G=tc+w++;L.set(j,G),P.forEach(ve=>an(ve,G))}),e.push(()=>{b.forEach((P,j)=>{let G=g.get(j);P.forEach(ve=>da(ve,G))}),A.forEach((P,j)=>{let G=L.get(j);P.forEach(ve=>da(ve,G))}),x.forEach(P=>{this.processLeaveNode(P)})});let Y=[],ne=[];for(let P=this._namespaceList.length-1;P>=0;P--)this._namespaceList[P].drainQueuedTransitions(t).forEach(j=>{let G=j.player,ve=j.element;if(Y.push(G),this.collectedEnterElements.length){let He=ve[vn];if(He&&He.setForMove){if(He.previousTriggersValues&&He.previousTriggersValues.has(j.triggerName)){let Nt=He.previousTriggersValues.get(j.triggerName),ht=this.statesByElement.get(j.element);if(ht&&ht.has(j.triggerName)){let Cn=ht.get(j.triggerName);Cn.value=Nt,ht.set(j.triggerName,Cn)}}G.destroy();return}}let Ve=!c||!this.driver.containsElement(c,ve),Dt=L.get(ve),Ee=g.get(ve),De=this._buildInstruction(j,r,Ee,Dt,Ve);if(De.errors&&De.errors.length){ne.push(De);return}if(Ve){G.onStart(()=>$r(ve,De.fromStyles)),G.onDestroy(()=>Rn(ve,De.toStyles)),n.push(G);return}if(j.isFallbackTransition){G.onStart(()=>$r(ve,De.fromStyles)),G.onDestroy(()=>Rn(ve,De.toStyles)),n.push(G);return}let Ye=[];De.timelines.forEach(He=>{He.stretchStartingKeyframe=!0,this.disabledNodes.has(He.element)||Ye.push(He)}),De.timelines=Ye,r.append(ve,De.timelines);let pn={instruction:De,player:G,element:ve};i.push(pn),De.queriedElements.forEach(He=>Wt(o,He,[]).push(G)),De.preStyleProps.forEach((He,Nt)=>{if(He.size){let ht=l.get(Nt);ht||l.set(Nt,ht=new Set),He.forEach((Cn,pr)=>ht.add(pr))}}),De.postStyleProps.forEach((He,Nt)=>{let ht=h.get(Nt);ht||h.set(Nt,ht=new Set),He.forEach((Cn,pr)=>ht.add(pr))})});if(ne.length){let P=[];ne.forEach(j=>{P.push(aZ(j.triggerName,j.errors))}),Y.forEach(j=>j.destroy()),this.reportError(P)}let ue=new Map,dt=new Map;i.forEach(P=>{let j=P.element;r.has(j)&&(dt.set(j,j),this._beforeAnimationBuild(P.player.namespaceId,P.instruction,ue))}),n.forEach(P=>{let j=P.element;this._getPreviousPlayers(j,!1,P.namespaceId,P.triggerName,null).forEach(G=>{Wt(ue,j,[]).push(G),G.destroy()})});let tt=x.filter(P=>rm(P,l,h)),ze=new Map;tm(ze,this.driver,N,h,ir).forEach(P=>{rm(P,l,h)&&tt.push(P)});let ot=new Map;b.forEach((P,j)=>{tm(ot,this.driver,new Set(P),l,Td)}),tt.forEach(P=>{let j=ze.get(P),G=ot.get(P);ze.set(P,new Map([...(j==null?void 0:j.entries())??[],...(G==null?void 0:G.entries())??[]]))});let Z=[],z=[],de={};i.forEach(P=>{let{element:j,player:G,instruction:ve}=P;if(r.has(j)){if(u.has(j)){G.onDestroy(()=>Rn(j,ve.toStyles)),G.disabled=!0,G.overrideTotalTime(ve.totalTime),n.push(G);return}let Ve=de;if(dt.size>1){let Ee=j,De=[];for(;Ee=Ee.parentNode;){let Ye=dt.get(Ee);if(Ye){Ve=Ye;break}De.push(Ee)}De.forEach(Ye=>dt.set(Ye,Ve))}let Dt=this._buildAnimation(G.namespaceId,ve,ue,a,ot,ze);if(G.setRealPlayer(Dt),Ve===de)Z.push(G);else{let Ee=this.playersByElement.get(Ve);Ee&&Ee.length&&(G.parentPlayer=br(Ee)),n.push(G)}}else $r(j,ve.fromStyles),G.onDestroy(()=>Rn(j,ve.toStyles)),z.push(G),u.has(j)&&n.push(G)}),z.forEach(P=>{let j=a.get(P.element);if(j&&j.length){let G=br(j);P.setRealPlayer(G)}}),n.forEach(P=>{P.parentPlayer?P.syncPlayerEvents(P.parentPlayer):P.destroy()});for(let P=0;P<x.length;P++){let j=x[P],G=j[vn];if(da(j,tc),G&&G.hasAnimation)continue;let ve=[];if(o.size){let Dt=o.get(j);Dt&&Dt.length&&ve.push(...Dt);let Ee=this.driver.query(j,nc,!0);for(let De=0;De<Ee.length;De++){let Ye=o.get(Ee[De]);Ye&&Ye.length&&ve.push(...Ye)}}let Ve=ve.filter(Dt=>!Dt.destroyed);Ve.length?rY(this,j,Ve):this.processLeaveNode(j)}return x.length=0,Z.forEach(P=>{this.players.push(P),P.onDone(()=>{P.destroy();let j=this.players.indexOf(P);this.players.splice(j,1)}),P.play()}),Z}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,r,n,a){let i=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(i=o)}else{let o=this.playersByElement.get(e);if(o){let l=!a||a==fi;o.forEach(h=>{h.queued||!l&&h.triggerName!=n||i.push(h)})}}return(r||n)&&(i=i.filter(o=>!(r&&r!=o.namespaceId||n&&n!=o.triggerName))),i}_beforeAnimationBuild(e,t,r){let n=t.triggerName,a=t.element,i=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:n;for(let l of t.timelines){let h=l.element,u=h!==a,c=Wt(r,h,[]);this._getPreviousPlayers(h,u,i,o,t.toState).forEach(m=>{let b=m.getRealPlayer();b.beforeDestroy&&b.beforeDestroy(),m.destroy(),c.push(m)})}$r(a,t.fromStyles)}_buildAnimation(e,t,r,n,a,i){let o=t.triggerName,l=t.element,h=[],u=new Set,c=new Set,m=t.timelines.map(g=>{let w=g.element;u.add(w);let x=w[vn];if(x&&x.removedBeforeQueried)return new Ti(g.duration,g.delay);let S=w!==l,N=aY((r.get(w)||KZ).map(ue=>ue.getRealPlayer())).filter(ue=>{let dt=ue;return dt.element?dt.element===w:!1}),L=a.get(w),A=i.get(w),Y=mb(this._normalizer,g.keyframes,L,A),ne=this._buildPlayer(g,Y,N);if(g.subTimeline&&n&&c.add(w),S){let ue=new oc(e,o,w);ue.setRealPlayer(ne),h.push(ue)}return ne});h.forEach(g=>{Wt(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>eY(this.playersByQueriedElement,g.element,g))}),u.forEach(g=>an(g,Wp));let b=br(m);return b.onDestroy(()=>{u.forEach(g=>da(g,Wp)),Rn(l,t.toStyles)}),c.forEach(g=>{Wt(n,g,[]).push(b)}),b}_buildPlayer(e,t,r){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,r):new Ti(e.duration,e.delay)}},oc=class{constructor(e,t,r){s(this,"namespaceId");s(this,"triggerName");s(this,"element");s(this,"_player",new Ti);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=r}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,r)=>{t.forEach(n=>Md(e,r,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){Wt(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 eY(e,t,r){let n=e.get(t);if(n){if(n.length){let a=n.indexOf(r);n.splice(a,1)}n.length==0&&e.delete(t)}return n}function tY(e){return e??null}function Po(e){return e&&e.nodeType===1}function nY(e){return e=="start"||e=="done"}function em(e,t){let r=e.style.display;return e.style.display=t??"none",r}function tm(e,t,r,n,a){let i=[];r.forEach(h=>i.push(em(h)));let o=[];n.forEach((h,u)=>{let c=new Map;h.forEach(m=>{let b=t.computeStyle(u,m,a);c.set(m,b),(!b||b.length==0)&&(u[vn]=QZ,o.push(u))}),e.set(u,c)});let l=0;return r.forEach(h=>em(h,i[l++])),o}function nm(e,t){let r=new Map;if(e.forEach(l=>r.set(l,[])),t.length==0)return r;let n=1,a=new Set(t),i=new Map;function o(l){if(!l)return n;let h=i.get(l);if(h)return h;let u=l.parentNode;return r.has(u)?h=u:a.has(u)?h=n:h=o(u),i.set(l,h),h}return t.forEach(l=>{let h=o(l);h!==n&&r.get(h).push(l)}),r}function an(e,t){var r;(r=e.classList)==null||r.add(t)}function da(e,t){var r;(r=e.classList)==null||r.remove(t)}function rY(e,t,r){br(r).onDone(()=>e.processLeaveNode(t))}function aY(e){let t=[];return Tb(e,t),t}function Tb(e,t){for(let r=0;r<e.length;r++){let n=e[r];n instanceof pb?Tb(n.players,t):t.push(n)}}function iY(e,t){let r=Object.keys(e),n=Object.keys(t);if(r.length!=n.length)return!1;for(let a=0;a<r.length;a++){let i=r[a];if(!t.hasOwnProperty(i)||e[i]!==t[i])return!1}return!0}function rm(e,t,r){let n=r.get(e);if(!n)return!1;let a=t.get(e);return a?n.forEach(i=>a.add(i)):t.set(e,n),r.delete(e),!0}var sc=class{constructor(e,t,r){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=r,this._transitionEngine=new XZ(e.body,t,r),this._timelineEngine=new GZ(e.body,t,r),this._transitionEngine.onRemovalComplete=(n,a)=>this.onRemovalComplete(n,a)}registerTrigger(e,t,r,n,a){let i=e+"-"+n,o=this._triggerCache[i];if(!o){let l=[],h=[],u=xb(this._driver,a,l,h);if(l.length)throw WW();o=zZ(n,u,this._normalizer),this._triggerCache[i]=o}this._transitionEngine.registerTrigger(t,n,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,r,n){this._transitionEngine.insertNode(e,t,r,n)}onRemove(e,t,r){this._transitionEngine.removeNode(e,t,r)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,r,n){if(r.charAt(0)=="@"){let[a,i]=Gp(r),o=n;this._timelineEngine.command(a,t,i,o)}else this._transitionEngine.trigger(e,t,r,n)}listen(e,t,r,n,a){if(r.charAt(0)=="@"){let[i,o]=Gp(r);return this._timelineEngine.listen(i,t,o,a)}return this._transitionEngine.listen(e,t,r,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 oY(e,t){let r=null,n=null;return Array.isArray(t)&&t.length?(r=eu(t[0]),t.length>1&&(n=eu(t[t.length-1]))):t instanceof Map&&(r=eu(t)),r||n?new sY(e,r,n):null}var sY=(()=>{const t=class t{constructor(n,a,i){s(this,"_element");s(this,"_startStyles");s(this,"_endStyles");s(this,"_state",0);s(this,"_initialStyles");this._element=n,this._startStyles=a,this._endStyles=i;let o=t.initialStylesByElement.get(n);o||t.initialStylesByElement.set(n,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Rn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Rn(this._element,this._initialStyles),this._endStyles&&(Rn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&($r(this._element,this._startStyles),this._endStyles=null),this._endStyles&&($r(this._element,this._endStyles),this._endStyles=null),Rn(this._element,this._initialStyles),this._state=3)}};s(t,"initialStylesByElement",new WeakMap);let e=t;return e})();function eu(e){let t=null;return e.forEach((r,n)=>{lY(n)&&(t=t||new Map,t.set(n,r))}),t}function lY(e){return e==="display"||e==="position"}var am=class{constructor(e,t,r,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=r,this._specialStyles=n,this._duration=r.duration,this._delay=r.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(r=>{t.push(Object.fromEntries(r))}),t}_triggerWebAnimation(e,t,r){return e.animate(this._convertKeyframesToObject(t),r)}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,r)=>{r!=="offset"&&e.set(r,this._finished?t:Ad(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}},uY=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return fb(e,t)}getParentElement(e){return Od(e)}query(e,t,r){return gb(e,t,r)}computeStyle(e,t,r){return Ad(e,t)}animate(e,t,r,n,a,i=[]){let o=n==0?"both":"forwards",l={duration:r,delay:n,fill:o};a&&(l.easing=a);let h=new Map,u=i.filter(b=>b instanceof am);fZ(r,n)&&u.forEach(b=>{b.currentSnapshot.forEach((g,w)=>h.set(w,g))});let c=hZ(t).map(b=>new Map(b));c=gZ(e,c,h);let m=oY(e,c);return new am(e,c,l,m)}},es="@",Mb="@.disabled",Rb=class{constructor(e,t,r,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=r,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(e){var t,r;(r=(t=this.delegate).destroyNode)==null||r.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,r,n=!0){this.delegate.insertBefore(e,t,r),this.engine.onInsert(this.namespaceId,t,e,n)}removeChild(e,t,r){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,r,n){this.delegate.setAttribute(e,t,r,n)}removeAttribute(e,t,r){this.delegate.removeAttribute(e,t,r)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,r,n){this.delegate.setStyle(e,t,r,n)}removeStyle(e,t,r){this.delegate.removeStyle(e,t,r)}setProperty(e,t,r){t.charAt(0)==es&&t==Mb?this.disableAnimations(e,!!r):this.delegate.setProperty(e,t,r)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,r,n){return this.delegate.listen(e,t,r,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},cY=class extends Rb{constructor(t,r,n,a,i){super(r,n,a,i);s(this,"factory");this.factory=t,this.namespaceId=r}setProperty(t,r,n){r.charAt(0)==es?r.charAt(1)=="."&&r==Mb?(n=n===void 0?!0:!!n,this.disableAnimations(t,n)):this.engine.process(this.namespaceId,t,r.slice(1),n):this.delegate.setProperty(t,r,n)}listen(t,r,n,a){if(r.charAt(0)==es){let i=dY(t),o=r.slice(1),l="";return o.charAt(0)!=es&&([o,l]=hY(o)),this.engine.listen(this.namespaceId,i,o,l,h=>{let u=h._data||-1;this.factory.scheduleListenerCallback(u,n,h)})}return this.delegate.listen(t,r,n,a)}};function dY(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function hY(e){let t=e.indexOf("."),r=e.substring(0,t),n=e.slice(t+1);return[r,n]}var pY=class{constructor(e,t,r){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=r,t.onRemovalComplete=(n,a)=>{a==null||a.removeChild(null,n)}}createRenderer(e,t){var l;let r="",n=this.delegate.createRenderer(e,t);if(!e||!((l=t==null?void 0:t.data)!=null&&l.animation)){let h=this._rendererCache,u=h.get(n);if(!u){let c=()=>h.delete(n);u=new Rb(r,n,this.engine,c),h.set(n,u)}return u}let a=t.id,i=t.id+"-"+this._currentId;this._currentId++,this.engine.register(i,e);let o=h=>{Array.isArray(h)?h.forEach(o):this.engine.registerTrigger(a,i,e,h.name,h)};return t.data.animation.forEach(o),new cY(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,r){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(r));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(a=>{let[i,o]=a;i(o)}),this._animationCallbacksBuffer=[]})}),n.push([t,r])}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,r;this.engine.flush(),(r=(t=this.delegate).componentReplaced)==null||r.call(t,e)}},mY=(()=>{const t=class t extends sc{constructor(n,a,i){super(n,a,i)}ngOnDestroy(){this.flush()}};s(t,"ɵfac",function(n){return new(n||t)(ee(Le),ee(_b),ee(Ld))}),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})();function fY(){return new yZ}function gY(e,t,r){return new pY(e,t,r)}var vY=[{provide:Ld,useFactory:fY},{provide:sc,useClass:mY},{provide:Sn,useFactory:gY,deps:[Uu,sc,je]}],bY=[{provide:_b,useFactory:()=>new uY},{provide:Yi,useFactory:()=>"BrowserAnimations"},...vY];function yY(){return ta("NgEagerAnimations"),[...bY]}var _Y=(()=>{const t=class t extends hb{constructor(n){super(),this.translate=n,this.getRangeLabel=(a,i,o)=>{if(o===0||i===0)return`0 / ${o}`;o=Math.max(o,0);let l=a*i,h=l<o?Math.min(l+i,o):l+i;return`${l+1} - ${h} / ${o}`},this.getAndInitTranslations=()=>{this.nextPageLabel=this.translate.instant("commons.matPaginator.nextPage"),this.previousPageLabel=this.translate.instant("commons.matPaginator.prevPage"),this.firstPageLabel=this.translate.instant("commons.matPaginator.firstPage"),this.lastPageLabel=this.translate.instant("commons.matPaginator.lastPage"),this.itemsPerPageLabel=this.translate.instant("commons.matPaginator.itemsPerPage"),this.getRangeLabel=this.getRangeLabel.bind(this),this.changes.next()},this.translate.onLangChange.subscribe(()=>{this.getAndInitTranslations()}),this.getAndInitTranslations()}};t.ɵfac=function(n){return new(n||t)(ee(qn))},t.ɵprov=$({token:t,factory:t.ɵfac});let e=t;return e})(),Ob=6048e5,wY=864e5,xY=6e4,EY=36e5,SY=1e3,im=Symbol.for("constructDateFrom");function St(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&im in e?e[im](t):e instanceof Date?new e.constructor(t):new Date(t)}function vt(e,t){return St(t||e,e)}function Pb(e,t,r){let n=vt(e,r==null?void 0:r.in);return isNaN(t)?St((r==null?void 0:r.in)||e,NaN):(t&&n.setDate(n.getDate()+t),n)}var kY={};function Ga(){return kY}function Nr(e,t){var l,h,u,c;let r=Ga(),n=(t==null?void 0:t.weekStartsOn)??((h=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:h.weekStartsOn)??r.weekStartsOn??((c=(u=r.locale)==null?void 0:u.options)==null?void 0:c.weekStartsOn)??0,a=vt(e,t==null?void 0:t.in),i=a.getDay(),o=(i<n?7:0)+i-n;return a.setDate(a.getDate()-o),a.setHours(0,0,0,0),a}function Aa(e,t){return Nr(e,Kt(ge({},t),{weekStartsOn:1}))}function Ab(e,t){let r=vt(e,t==null?void 0:t.in),n=r.getFullYear(),a=St(r,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);let i=Aa(a),o=St(r,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);let l=Aa(o);return r.getTime()>=i.getTime()?n+1:r.getTime()>=l.getTime()?n:n-1}function Ms(e){let t=vt(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function CY(e,...t){let r=St.bind(null,t.find(n=>typeof n=="object"));return t.map(r)}function om(e,t){let r=vt(e,t==null?void 0:t.in);return r.setHours(0,0,0,0),r}function IY(e,t,r){let[n,a]=CY(r==null?void 0:r.in,e,t),i=om(n),o=om(a),l=+i-Ms(i),h=+o-Ms(o);return Math.round((l-h)/wY)}function DY(e,t){let r=Ab(e,t),n=St(e,0);return n.setFullYear(r,0,4),n.setHours(0,0,0,0),Aa(n)}function NY(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function TY(e){return!(!NY(e)&&typeof e!="number"||isNaN(+vt(e)))}function MY(e,t){let r=vt(e,t==null?void 0:t.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}var RY={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"}},OY=(e,t,r)=>{let n,a=RY[e];return typeof a=="string"?n=a:t===1?n=a.one:n=a.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};function tu(e){return(t={})=>{let r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}var PY={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},AY={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},LY={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},FY={date:tu({formats:PY,defaultWidth:"full"}),time:tu({formats:AY,defaultWidth:"full"}),dateTime:tu({formats:LY,defaultWidth:"full"})},jY={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},VY=(e,t,r,n)=>jY[e];function ti(e){return(t,r)=>{let n=r!=null&&r.context?String(r.context):"standalone",a;if(n==="formatting"&&e.formattingValues){let o=e.defaultFormattingWidth||e.defaultWidth,l=r!=null&&r.width?String(r.width):o;a=e.formattingValues[l]||e.formattingValues[o]}else{let o=e.defaultWidth,l=r!=null&&r.width?String(r.width):e.defaultWidth;a=e.values[l]||e.values[o]}let i=e.argumentCallback?e.argumentCallback(t):t;return a[i]}}var BY={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},zY={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},HY={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"]},qY={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"]},$Y={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"}},GY={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"}},UY=(e,t)=>{let r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},WY={ordinalNumber:UY,era:ti({values:BY,defaultWidth:"wide"}),quarter:ti({values:zY,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ti({values:HY,defaultWidth:"wide"}),day:ti({values:qY,defaultWidth:"wide"}),dayPeriod:ti({values:$Y,defaultWidth:"wide",formattingValues:GY,defaultFormattingWidth:"wide"})};function ni(e){return(t,r={})=>{let n=r.width,a=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],i=t.match(a);if(!i)return null;let o=i[0],l=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],h=Array.isArray(l)?YY(l,m=>m.test(o)):ZY(l,m=>m.test(o)),u;u=e.valueCallback?e.valueCallback(h):h,u=r.valueCallback?r.valueCallback(u):u;let c=t.slice(o.length);return{value:u,rest:c}}}function ZY(e,t){for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function YY(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}function KY(e){return(t,r={})=>{let n=t.match(e.matchPattern);if(!n)return null;let a=n[0],i=t.match(e.parsePattern);if(!i)return null;let o=e.valueCallback?e.valueCallback(i[0]):i[0];o=r.valueCallback?r.valueCallback(o):o;let l=t.slice(a.length);return{value:o,rest:l}}}var QY=/^(\d+)(th|st|nd|rd)?/i,JY=/\d+/i,XY={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},eK={any:[/^b/i,/^(a|c)/i]},tK={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},nK={any:[/1/i,/2/i,/3/i,/4/i]},rK={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},aK={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]},iK={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},oK={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]},sK={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},lK={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}},uK={ordinalNumber:KY({matchPattern:QY,parsePattern:JY,valueCallback:e=>parseInt(e,10)}),era:ni({matchPatterns:XY,defaultMatchWidth:"wide",parsePatterns:eK,defaultParseWidth:"any"}),quarter:ni({matchPatterns:tK,defaultMatchWidth:"wide",parsePatterns:nK,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ni({matchPatterns:rK,defaultMatchWidth:"wide",parsePatterns:aK,defaultParseWidth:"any"}),day:ni({matchPatterns:iK,defaultMatchWidth:"wide",parsePatterns:oK,defaultParseWidth:"any"}),dayPeriod:ni({matchPatterns:sK,defaultMatchWidth:"any",parsePatterns:lK,defaultParseWidth:"any"})},Lb={code:"en-US",formatDistance:OY,formatLong:FY,formatRelative:VY,localize:WY,match:uK,options:{weekStartsOn:0,firstWeekContainsDate:1}};function cK(e,t){let r=vt(e,t==null?void 0:t.in);return IY(r,MY(r))+1}function Fb(e,t){let r=vt(e,t==null?void 0:t.in),n=+Aa(r)-+DY(r);return Math.round(n/Ob)+1}function Vd(e,t){var c,m,b,g;let r=vt(e,t==null?void 0:t.in),n=r.getFullYear(),a=Ga(),i=(t==null?void 0:t.firstWeekContainsDate)??((m=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:m.firstWeekContainsDate)??a.firstWeekContainsDate??((g=(b=a.locale)==null?void 0:b.options)==null?void 0:g.firstWeekContainsDate)??1,o=St((t==null?void 0:t.in)||e,0);o.setFullYear(n+1,0,i),o.setHours(0,0,0,0);let l=Nr(o,t),h=St((t==null?void 0:t.in)||e,0);h.setFullYear(n,0,i),h.setHours(0,0,0,0);let u=Nr(h,t);return+r>=+l?n+1:+r>=+u?n:n-1}function dK(e,t){var o,l,h,u;let r=Ga(),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)??r.firstWeekContainsDate??((u=(h=r.locale)==null?void 0:h.options)==null?void 0:u.firstWeekContainsDate)??1,a=Vd(e,t),i=St((t==null?void 0:t.in)||e,0);return i.setFullYear(a,0,n),i.setHours(0,0,0,0),Nr(i,t)}function jb(e,t){let r=vt(e,t==null?void 0:t.in),n=+Nr(r,t)-+dK(r,t);return Math.round(n/Ob)+1}function Oe(e,t){let r=e<0?"-":"",n=Math.abs(e).toString().padStart(t,"0");return r+n}var gr={y(e,t){let r=e.getFullYear(),n=r>0?r:1-r;return Oe(t==="yy"?n%100:n,t.length)},M(e,t){let r=e.getMonth();return t==="M"?String(r+1):Oe(r+1,2)},d(e,t){return Oe(e.getDate(),t.length)},a(e,t){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h(e,t){return Oe(e.getHours()%12||12,t.length)},H(e,t){return Oe(e.getHours(),t.length)},m(e,t){return Oe(e.getMinutes(),t.length)},s(e,t){return Oe(e.getSeconds(),t.length)},S(e,t){let r=t.length,n=e.getMilliseconds(),a=Math.trunc(n*Math.pow(10,r-3));return Oe(a,t.length)}},ca={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},sm={G:function(e,t,r){let n=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if(t==="yo"){let n=e.getFullYear(),a=n>0?n:1-n;return r.ordinalNumber(a,{unit:"year"})}return gr.y(e,t)},Y:function(e,t,r,n){let a=Vd(e,n),i=a>0?a:1-a;if(t==="YY"){let o=i%100;return Oe(o,2)}return t==="Yo"?r.ordinalNumber(i,{unit:"year"}):Oe(i,t.length)},R:function(e,t){let r=Ab(e);return Oe(r,t.length)},u:function(e,t){let r=e.getFullYear();return Oe(r,t.length)},Q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return Oe(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return Oe(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){let n=e.getMonth();switch(t){case"M":case"MM":return gr.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){let n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return Oe(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){let a=jb(e,n);return t==="wo"?r.ordinalNumber(a,{unit:"week"}):Oe(a,t.length)},I:function(e,t,r){let n=Fb(e);return t==="Io"?r.ordinalNumber(n,{unit:"week"}):Oe(n,t.length)},d:function(e,t,r){return t==="do"?r.ordinalNumber(e.getDate(),{unit:"date"}):gr.d(e,t)},D:function(e,t,r){let n=cK(e);return t==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):Oe(n,t.length)},E:function(e,t,r){let n=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){let a=e.getDay(),i=(a-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return Oe(i,2);case"eo":return r.ordinalNumber(i,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});case"eeee":default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){let a=e.getDay(),i=(a-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return Oe(i,t.length);case"co":return r.ordinalNumber(i,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});case"cccc":default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,r){let n=e.getDay(),a=n===0?7:n;switch(t){case"i":return String(a);case"ii":return Oe(a,t.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,r){let n=e.getHours(),a;switch(n===12?a=ca.noon:n===0?a=ca.midnight:a=n/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,r){let n=e.getHours(),a;switch(n>=17?a=ca.evening:n>=12?a=ca.afternoon:n>=4?a=ca.morning:a=ca.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,r){if(t==="ho"){let n=e.getHours()%12;return n===0&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return gr.h(e,t)},H:function(e,t,r){return t==="Ho"?r.ordinalNumber(e.getHours(),{unit:"hour"}):gr.H(e,t)},K:function(e,t,r){let n=e.getHours()%12;return t==="Ko"?r.ordinalNumber(n,{unit:"hour"}):Oe(n,t.length)},k:function(e,t,r){let n=e.getHours();return n===0&&(n=24),t==="ko"?r.ordinalNumber(n,{unit:"hour"}):Oe(n,t.length)},m:function(e,t,r){return t==="mo"?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):gr.m(e,t)},s:function(e,t,r){return t==="so"?r.ordinalNumber(e.getSeconds(),{unit:"second"}):gr.s(e,t)},S:function(e,t){return gr.S(e,t)},X:function(e,t,r){let n=e.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return um(n);case"XXXX":case"XX":return Br(n);case"XXXXX":case"XXX":default:return Br(n,":")}},x:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"x":return um(n);case"xxxx":case"xx":return Br(n);case"xxxxx":case"xxx":default:return Br(n,":")}},O:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+lm(n,":");case"OOOO":default:return"GMT"+Br(n,":")}},z:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+lm(n,":");case"zzzz":default:return"GMT"+Br(n,":")}},t:function(e,t,r){let n=Math.trunc(+e/1e3);return Oe(n,t.length)},T:function(e,t,r){return Oe(+e,t.length)}};function lm(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),a=Math.trunc(n/60),i=n%60;return i===0?r+String(a):r+String(a)+t+Oe(i,2)}function um(e,t){return e%60===0?(e>0?"-":"+")+Oe(Math.abs(e)/60,2):Br(e,t)}function Br(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),a=Oe(Math.trunc(n/60),2),i=Oe(n%60,2);return r+a+t+i}var cm=(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"})}},Vb=(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"})}},hK=(e,t)=>{let r=e.match(/(P+)(p+)?/)||[],n=r[1],a=r[2];if(!a)return cm(e,t);let i;switch(n){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;case"PPPP":default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",cm(n,t)).replace("{{time}}",Vb(a,t))},lc={p:Vb,P:hK},pK=/^D+$/,mK=/^Y+$/,fK=["D","DD","YY","YYYY"];function Bb(e){return pK.test(e)}function zb(e){return mK.test(e)}function uc(e,t,r){let n=gK(e,t,r);if(console.warn(n),fK.includes(e))throw new RangeError(n)}function gK(e,t,r){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 \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var vK=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,bK=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,yK=/^'([^]*?)'?$/,_K=/''/g,wK=/[a-zA-Z]/;function xK(e,t,r){var c,m,b,g;let n=Ga(),a=n.locale??Lb,i=n.firstWeekContainsDate??((m=(c=n.locale)==null?void 0:c.options)==null?void 0:m.firstWeekContainsDate)??1,o=n.weekStartsOn??((g=(b=n.locale)==null?void 0:b.options)==null?void 0:g.weekStartsOn)??0,l=vt(e,r==null?void 0:r.in);if(!TY(l))throw new RangeError("Invalid time value");let h=t.match(bK).map(w=>{let x=w[0];if(x==="p"||x==="P"){let S=lc[x];return S(w,a.formatLong)}return w}).join("").match(vK).map(w=>{if(w==="''")return{isToken:!1,value:"'"};let x=w[0];if(x==="'")return{isToken:!1,value:EK(w)};if(sm[x])return{isToken:!0,value:w};if(x.match(wK))throw new RangeError("Format string contains an unescaped latin alphabet character `"+x+"`");return{isToken:!1,value:w}});a.localize.preprocessor&&(h=a.localize.preprocessor(l,h));let u={firstWeekContainsDate:i,weekStartsOn:o,locale:a};return h.map(w=>{if(!w.isToken)return w.value;let x=w.value;(zb(x)||Bb(x))&&uc(x,t,String(e));let S=sm[x[0]];return S(l,x,a.localize,u)}).join("")}function EK(e){let t=e.match(yK);return t?t[1].replace(_K,"'"):e}function SK(){return Object.assign({},Ga())}function kK(e,t){let r=vt(e,t==null?void 0:t.in).getDay();return r===0?7:r}function CK(e,t){let r=IK(t)?new t(0):St(t,0);return r.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),r.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),r}function IK(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}var DK=10,Hb=class{constructor(){s(this,"subPriority",0)}validate(e,t){return!0}},NK=class extends Hb{constructor(e,t,r,n,a){super(),this.value=e,this.validateValue=t,this.setValue=r,this.priority=n,a&&(this.subPriority=a)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,r){return this.setValue(e,t,this.value,r)}},TK=class extends Hb{constructor(t,r){super();s(this,"priority",DK);s(this,"subPriority",-1);this.context=t||(n=>St(r,n))}set(t,r){return r.timestampIsSet?t:St(t,CK(t,this.context))}},Me=class{run(e,t,r,n){let a=this.parse(e,t,r,n);return a?{setter:new NK(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(e,t,r){return!0}},MK=class extends Me{constructor(){super(...arguments);s(this,"priority",140);s(this,"incompatibleTokens",["R","u","t","T"])}parse(t,r,n){switch(r){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,r,n){return r.era=n,t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},at={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}/},On={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 it(e,t){return e&&{value:t(e.value),rest:e.rest}}function Ke(e,t){let r=t.match(e);return r?{value:parseInt(r[0],10),rest:t.slice(r[0].length)}:null}function Pn(e,t){let r=t.match(e);if(!r)return null;if(r[0]==="Z")return{value:0,rest:t.slice(1)};let n=r[1]==="+"?1:-1,a=r[2]?parseInt(r[2],10):0,i=r[3]?parseInt(r[3],10):0,o=r[5]?parseInt(r[5],10):0;return{value:n*(a*EY+i*xY+o*SY),rest:t.slice(r[0].length)}}function qb(e){return Ke(at.anyDigitsSigned,e)}function et(e,t){switch(e){case 1:return Ke(at.singleDigit,t);case 2:return Ke(at.twoDigits,t);case 3:return Ke(at.threeDigits,t);case 4:return Ke(at.fourDigits,t);default:return Ke(new RegExp("^\\d{1,"+e+"}"),t)}}function Rs(e,t){switch(e){case 1:return Ke(at.singleDigitSigned,t);case 2:return Ke(at.twoDigitsSigned,t);case 3:return Ke(at.threeDigitsSigned,t);case 4:return Ke(at.fourDigitsSigned,t);default:return Ke(new RegExp("^-?\\d{1,"+e+"}"),t)}}function Bd(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 $b(e,t){let r=t>0,n=r?t:1-t,a;if(n<=50)a=e||100;else{let i=n+50,o=Math.trunc(i/100)*100,l=e>=i%100;a=e+o-(l?100:0)}return r?a:1-a}function Gb(e){return e%400===0||e%4===0&&e%100!==0}var RK=class extends Me{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,r,n){let a=i=>({year:i,isTwoDigitYear:r==="yy"});switch(r){case"y":return it(et(4,t),a);case"yo":return it(n.ordinalNumber(t,{unit:"year"}),a);default:return it(et(r.length,t),a)}}validate(t,r){return r.isTwoDigitYear||r.year>0}set(t,r,n){let a=t.getFullYear();if(n.isTwoDigitYear){let o=$b(n.year,a);return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}let i=!("era"in r)||r.era===1?n.year:1-n.year;return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}},OK=class extends Me{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,r,n){let a=i=>({year:i,isTwoDigitYear:r==="YY"});switch(r){case"Y":return it(et(4,t),a);case"Yo":return it(n.ordinalNumber(t,{unit:"year"}),a);default:return it(et(r.length,t),a)}}validate(t,r){return r.isTwoDigitYear||r.year>0}set(t,r,n,a){let i=Vd(t,a);if(n.isTwoDigitYear){let l=$b(n.year,i);return t.setFullYear(l,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),Nr(t,a)}let o=!("era"in r)||r.era===1?n.year:1-n.year;return t.setFullYear(o,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),Nr(t,a)}},PK=class extends Me{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,r){return Rs(r==="R"?4:r.length,t)}set(t,r,n){let a=St(t,0);return a.setFullYear(n,0,4),a.setHours(0,0,0,0),Aa(a)}},AK=class extends Me{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,r){return Rs(r==="u"?4:r.length,t)}set(t,r,n){return t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},LK=class extends Me{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,r,n){switch(r){case"Q":case"QQ":return et(r.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,r){return r>=1&&r<=4}set(t,r,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}},FK=class extends Me{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,r,n){switch(r){case"q":case"qq":return et(r.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,r){return r>=1&&r<=4}set(t,r,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}},jK=class extends Me{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,r,n){let a=i=>i-1;switch(r){case"M":return it(Ke(at.month,t),a);case"MM":return it(et(2,t),a);case"Mo":return it(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,r){return r>=0&&r<=11}set(t,r,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}},VK=class extends Me{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,r,n){let a=i=>i-1;switch(r){case"L":return it(Ke(at.month,t),a);case"LL":return it(et(2,t),a);case"Lo":return it(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,r){return r>=0&&r<=11}set(t,r,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}};function BK(e,t,r){let n=vt(e,r==null?void 0:r.in),a=jb(n,r)-t;return n.setDate(n.getDate()-a*7),vt(n,r==null?void 0:r.in)}var zK=class extends Me{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,r,n){switch(r){case"w":return Ke(at.week,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return et(r.length,t)}}validate(t,r){return r>=1&&r<=53}set(t,r,n,a){return Nr(BK(t,n,a),a)}};function HK(e,t,r){let n=vt(e,r==null?void 0:r.in),a=Fb(n,r)-t;return n.setDate(n.getDate()-a*7),n}var qK=class extends Me{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,r,n){switch(r){case"I":return Ke(at.week,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return et(r.length,t)}}validate(t,r){return r>=1&&r<=53}set(t,r,n){return Aa(HK(t,n))}},$K=[31,28,31,30,31,30,31,31,30,31,30,31],GK=[31,29,31,30,31,30,31,31,30,31,30,31],UK=class extends Me{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,r,n){switch(r){case"d":return Ke(at.date,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return et(r.length,t)}}validate(t,r){let n=t.getFullYear(),a=Gb(n),i=t.getMonth();return a?r>=1&&r<=GK[i]:r>=1&&r<=$K[i]}set(t,r,n){return t.setDate(n),t.setHours(0,0,0,0),t}},WK=class extends Me{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,r,n){switch(r){case"D":case"DD":return Ke(at.dayOfYear,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return et(r.length,t)}}validate(t,r){let n=t.getFullYear();return Gb(n)?r>=1&&r<=366:r>=1&&r<=365}set(t,r,n){return t.setMonth(0,n),t.setHours(0,0,0,0),t}};function zd(e,t,r){var c,m,b,g;let n=Ga(),a=(r==null?void 0:r.weekStartsOn)??((m=(c=r==null?void 0:r.locale)==null?void 0:c.options)==null?void 0:m.weekStartsOn)??n.weekStartsOn??((g=(b=n.locale)==null?void 0:b.options)==null?void 0:g.weekStartsOn)??0,i=vt(e,r==null?void 0:r.in),o=i.getDay(),l=(t%7+7)%7,h=7-a,u=t<0||t>6?t-(o+h)%7:(l+h)%7-(o+h)%7;return Pb(i,u,r)}var ZK=class extends Me{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,r,n){switch(r){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,r){return r>=0&&r<=6}set(t,r,n,a){return t=zd(t,n,a),t.setHours(0,0,0,0),t}},YK=class extends Me{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,r,n,a){let i=o=>{let l=Math.floor((o-1)/7)*7;return(o+a.weekStartsOn+6)%7+l};switch(r){case"e":case"ee":return it(et(r.length,t),i);case"eo":return it(n.ordinalNumber(t,{unit:"day"}),i);case"eee":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeeee":return n.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,r){return r>=0&&r<=6}set(t,r,n,a){return t=zd(t,n,a),t.setHours(0,0,0,0),t}},KK=class extends Me{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,r,n,a){let i=o=>{let l=Math.floor((o-1)/7)*7;return(o+a.weekStartsOn+6)%7+l};switch(r){case"c":case"cc":return it(et(r.length,t),i);case"co":return it(n.ordinalNumber(t,{unit:"day"}),i);case"ccc":return n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"ccccc":return n.day(t,{width:"narrow",context:"standalone"});case"cccccc":return n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(t,{width:"wide",context:"standalone"})||n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"})}}validate(t,r){return r>=0&&r<=6}set(t,r,n,a){return t=zd(t,n,a),t.setHours(0,0,0,0),t}};function QK(e,t,r){let n=vt(e,r==null?void 0:r.in),a=kK(n,r),i=t-a;return Pb(n,i,r)}var JK=class extends Me{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,r,n){let a=i=>i===0?7:i;switch(r){case"i":case"ii":return et(r.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return it(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 it(n.day(t,{width:"narrow",context:"formatting"}),a);case"iiiiii":return it(n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),a);case"iiii":default:return it(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,r){return r>=1&&r<=7}set(t,r,n){return t=QK(t,n),t.setHours(0,0,0,0),t}},XK=class extends Me{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,r,n){switch(r){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,r,n){return t.setHours(Bd(n),0,0,0),t}},eQ=class extends Me{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,r,n){switch(r){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,r,n){return t.setHours(Bd(n),0,0,0),t}},tQ=class extends Me{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["a","b","t","T"])}parse(t,r,n){switch(r){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,r,n){return t.setHours(Bd(n),0,0,0),t}},nQ=class extends Me{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,r,n){switch(r){case"h":return Ke(at.hour12h,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return et(r.length,t)}}validate(t,r){return r>=1&&r<=12}set(t,r,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}},rQ=class extends Me{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,r,n){switch(r){case"H":return Ke(at.hour23h,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return et(r.length,t)}}validate(t,r){return r>=0&&r<=23}set(t,r,n){return t.setHours(n,0,0,0),t}},aQ=class extends Me{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,r,n){switch(r){case"K":return Ke(at.hour11h,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return et(r.length,t)}}validate(t,r){return r>=0&&r<=11}set(t,r,n){return t.getHours()>=12&&n<12?t.setHours(n+12,0,0,0):t.setHours(n,0,0,0),t}},iQ=class extends Me{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,r,n){switch(r){case"k":return Ke(at.hour24h,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return et(r.length,t)}}validate(t,r){return r>=1&&r<=24}set(t,r,n){let a=n<=24?n%24:n;return t.setHours(a,0,0,0),t}},oQ=class extends Me{constructor(){super(...arguments);s(this,"priority",60);s(this,"incompatibleTokens",["t","T"])}parse(t,r,n){switch(r){case"m":return Ke(at.minute,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return et(r.length,t)}}validate(t,r){return r>=0&&r<=59}set(t,r,n){return t.setMinutes(n,0,0),t}},sQ=class extends Me{constructor(){super(...arguments);s(this,"priority",50);s(this,"incompatibleTokens",["t","T"])}parse(t,r,n){switch(r){case"s":return Ke(at.second,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return et(r.length,t)}}validate(t,r){return r>=0&&r<=59}set(t,r,n){return t.setSeconds(n,0),t}},lQ=class extends Me{constructor(){super(...arguments);s(this,"priority",30);s(this,"incompatibleTokens",["t","T"])}parse(t,r){let n=a=>Math.trunc(a*Math.pow(10,-r.length+3));return it(et(r.length,t),n)}set(t,r,n){return t.setMilliseconds(n),t}},uQ=class extends Me{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","x"])}parse(t,r){switch(r){case"X":return Pn(On.basicOptionalMinutes,t);case"XX":return Pn(On.basic,t);case"XXXX":return Pn(On.basicOptionalSeconds,t);case"XXXXX":return Pn(On.extendedOptionalSeconds,t);case"XXX":default:return Pn(On.extended,t)}}set(t,r,n){return r.timestampIsSet?t:St(t,t.getTime()-Ms(t)-n)}},cQ=class extends Me{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","X"])}parse(t,r){switch(r){case"x":return Pn(On.basicOptionalMinutes,t);case"xx":return Pn(On.basic,t);case"xxxx":return Pn(On.basicOptionalSeconds,t);case"xxxxx":return Pn(On.extendedOptionalSeconds,t);case"xxx":default:return Pn(On.extended,t)}}set(t,r,n){return r.timestampIsSet?t:St(t,t.getTime()-Ms(t)-n)}},dQ=class extends Me{constructor(){super(...arguments);s(this,"priority",40);s(this,"incompatibleTokens","*")}parse(t){return qb(t)}set(t,r,n){return[St(t,n*1e3),{timestampIsSet:!0}]}},hQ=class extends Me{constructor(){super(...arguments);s(this,"priority",20);s(this,"incompatibleTokens","*")}parse(t){return qb(t)}set(t,r,n){return[St(t,n),{timestampIsSet:!0}]}},pQ={G:new MK,y:new RK,Y:new OK,R:new PK,u:new AK,Q:new LK,q:new FK,M:new jK,L:new VK,w:new zK,I:new qK,d:new UK,D:new WK,E:new ZK,e:new YK,c:new KK,i:new JK,a:new XK,b:new eQ,B:new tQ,h:new nQ,H:new rQ,K:new aQ,k:new iQ,m:new oQ,s:new sQ,S:new lQ,X:new uQ,x:new cQ,t:new dQ,T:new hQ},mQ=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,fQ=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,gQ=/^'([^]*?)'?$/,vQ=/''/g,bQ=/\S/,yQ=/[a-zA-Z]/;function _Q(e,t,r,n){var S,N,L,A;let a=()=>St(r,NaN),i=SK(),o=i.locale??Lb,l=i.firstWeekContainsDate??((N=(S=i.locale)==null?void 0:S.options)==null?void 0:N.firstWeekContainsDate)??1,h=i.weekStartsOn??((A=(L=i.locale)==null?void 0:L.options)==null?void 0:A.weekStartsOn)??0,u={firstWeekContainsDate:l,weekStartsOn:h,locale:o},c=[new TK(n==null?void 0:n.in,r)],m=t.match(fQ).map(Y=>{let ne=Y[0];if(ne in lc){let ue=lc[ne];return ue(Y,o.formatLong)}return Y}).join("").match(mQ),b=[];for(let Y of m){zb(Y)&&uc(Y,t,e),Bb(Y)&&uc(Y,t,e);let ne=Y[0],ue=pQ[ne];if(ue){let{incompatibleTokens:dt}=ue;if(Array.isArray(dt)){let ze=b.find(ot=>dt.includes(ot.token)||ot.token===ne);if(ze)throw new RangeError(`The format string mustn't contain \`${ze.fullToken}\` and \`${Y}\` at the same time`)}else if(ue.incompatibleTokens==="*"&&b.length>0)throw new RangeError(`The format string mustn't contain \`${Y}\` and any other token at the same time`);b.push({token:ne,fullToken:Y});let tt=ue.run(e,Y,o.match,u);if(!tt)return a();c.push(tt.setter),e=tt.rest}else{if(ne.match(yQ))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ne+"`");if(Y==="''"?Y="'":ne==="'"&&(Y=wQ(Y)),e.indexOf(Y)===0)e=e.slice(Y.length);else return a()}}if(e.length>0&&bQ.test(e))return a();let g=c.map(Y=>Y.priority).sort((Y,ne)=>ne-Y).filter((Y,ne,ue)=>ue.indexOf(Y)===ne).map(Y=>c.filter(ne=>ne.priority===Y).sort((ne,ue)=>ue.subPriority-ne.subPriority)).map(Y=>Y[0]),w=vt(r,n==null?void 0:n.in);if(isNaN(+w))return a();let x={};for(let Y of g){if(!Y.validate(w,u))return a();let ne=Y.set(w,x,u);Array.isArray(ne)?(w=ne[0],Object.assign(x,ne[1])):w=ne}return w}function wQ(e){return e.match(gQ)[1].replace(vQ,"'")}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||{}),Hd=new Q("ngx-mask config"),Ub=new Q("new ngx-mask config"),Wb=new Q("initial ngx-mask config"),xQ={suffix:"",prefix:"",thousandSeparator:" ",decimalMarker:[".",","],clearIfNotMatch:!1,showTemplate:!1,showMaskTyped:!1,placeHolderCharacter:"_",dropSpecialCharacters:!0,hiddenInput:null,shownMaskExpression:"",separatorLimit:"",allowNegativeNumbers:!1,validation:!0,specialCharacters:["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"],leadZeroDateTime:!1,apm:!1,leadZero:!1,keepCharacterPositions:!1,triggerOnMaskChange:!1,inputTransformFn:e=>e,outputTransformFn:e=>e,maskFilled:new Ft,patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},U:{pattern:new RegExp("[A-Z]")},L:{pattern:new RegExp("[a-z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}};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 EQ=(()=>{const t=class t{constructor(){s(this,"_config",D(Hd));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,i,o)=>{var g;let l=[],h="";if(Array.isArray(i)){let w=new RegExp(i.map(x=>"[\\^$.|?*+()".indexOf(x)>=0?`\\${x}`:x).join("|"));l=n.split(w),h=((g=n.match(w))==null?void 0:g[0])??I.EMPTY_STRING}else l=n.split(i),h=i;let u=l.length>1?`${h}${l[1]}`:I.EMPTY_STRING,c=l[0]??I.EMPTY_STRING,m=this.separatorLimit.replace(/\s/g,I.EMPTY_STRING);m&&+m&&(c[0]===I.MINUS?c=`-${c.slice(1,c.length).slice(0,m.length)}`:c=c.slice(0,m.length));let b=/(\d+)(\d{3})/;for(;a&&b.test(c);)c=c.replace(b,"$1"+a+"$2");return typeof o>"u"?c+u:o===0?c:c+u.substring(0,o+1)});s(this,"percentage",n=>{let a=n.replace(",","."),i=Number(this.allowNegativeNumbers&&n.includes(I.MINUS)?a.slice(1,n.length):a);return!isNaN(i)&&i>=0&&i<=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,i,o,l;for(let h=((a=this.suffix)==null?void 0:a.length)-1;h>=0;h--){let u=this.suffix.substring(h,(i=this.suffix)==null?void 0:i.length);if(n.includes(u)&&h!==((o=this.suffix)==null?void 0:o.length)-1&&(h-1<0||!n.includes(this.suffix.substring(h-1,(l=this.suffix)==null?void 0:l.length))))return n.replace(u,I.EMPTY_STRING)}return n});s(this,"checkInputPrecision",(n,a,i)=>{var h;let o=n,l=i;if(a<1/0){Array.isArray(l)&&(l=l.find(g=>g!==this.thousandSeparator)||l[0]);let u=new RegExp(this._charToRegExpExpression(l)+`\\d{${a}}.*$`),c=o.match(u),m=(c&&((h=c[0])==null?void 0:h.length))??0;if(m-1>a){let b=m-1-a;o=o.substring(0,o.length-b)}a===0&&this._compareOrIncludes(o[o.length-1],l,this.thousandSeparator)&&(o=o.substring(0,o.length-1))}return o})}applyMaskWithPattern(n,a){let[i,o]=a;return this.customPattern=o,this.applyMask(n,i)}applyMask(n,a,i=0,o=!1,l=!1,h=()=>{}){var tt,ze,ot;if(!a||typeof n!="string")return I.EMPTY_STRING;let u=0,c="",m=!1,b=!1,g=1,w=!1,x=n,S=i;x.slice(0,this.prefix.length)===this.prefix&&(x=x.slice(this.prefix.length,x.length)),this.suffix&&x.length>0&&(x=this.checkAndRemoveSuffix(x)),x==="("&&this.prefix&&(x="");let N=x.toString().split(I.EMPTY_STRING);if(this.allowNegativeNumbers&&x.slice(u,u+1)===I.MINUS&&(c+=x.slice(u,u+1)),a===I.IP){let Z=x.split(I.DOT);this.ipError=this._validIP(Z),a="099.099.099.099"}let L=[];for(let Z=0;Z<x.length;Z++)(tt=x[Z])!=null&&tt.match("\\d")&&L.push(x[Z]??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(x.match("[a-z]|[A-Z]")||x.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!l){x=this._stripToDecimal(x);let de=this.getPrecision(a);x=this.checkInputPrecision(x,de,this.decimalMarker)}let Z=typeof this.decimalMarker=="string"?this.decimalMarker:I.DOT;if(x.indexOf(Z)>0&&!this.percentage(x.substring(0,x.indexOf(Z)))){let de=x.substring(0,x.indexOf(Z)-1);this.allowNegativeNumbers&&x.slice(u,u+1)===I.MINUS&&!l&&(de=x.substring(0,x.indexOf(Z))),x=`${de}${x.substring(x.indexOf(Z),x.length)}`}let z="";this.allowNegativeNumbers&&x.slice(u,u+1)===I.MINUS?z=`${I.MINUS}${x.slice(u+1,u+x.length)}`:z=x,this.percentage(z)?c=this._splitPercentZero(x):c=this._splitPercentZero(x.substring(0,x.length-1))}else if(a.startsWith(I.SEPARATOR)){(x.match("[wа-яА-Я]")||x.match("[ЁёА-я]")||x.match("[a-z]|[A-Z]")||x.match(/[-@#!$%\\^&*()_£¬'+|~=`{}\]:";<>.?/]/)||x.match("[^A-Za-z0-9,]"))&&(x=this._stripToDecimal(x));let Z=this.getPrecision(a),z=Array.isArray(this.decimalMarker)?this.thousandSeparator===I.DOT?I.COMMA:I.DOT:this.decimalMarker;if(Z===0?x=this.allowNegativeNumbers?x.length>2&&x[0]===I.MINUS&&x[1]===I.NUMBER_ZERO&&x[2]!==this.thousandSeparator&&x[2]!==I.COMMA&&x[2]!==I.DOT?"-"+x.slice(2,x.length):x[0]===I.NUMBER_ZERO&&x.length>1&&x[1]!==this.thousandSeparator&&x[1]!==I.COMMA&&x[1]!==I.DOT?x.slice(1,x.length):x:x.length>1&&x[0]===I.NUMBER_ZERO&&x[1]!==this.thousandSeparator&&x[1]!==I.COMMA&&x[1]!==I.DOT?x.slice(1,x.length):x:(x[0]===z&&x.length>1&&(x=I.NUMBER_ZERO+x.slice(0,x.length+1),this.plusOnePosition=!0),x[0]===I.NUMBER_ZERO&&x[1]!==z&&x[1]!==this.thousandSeparator&&(x=x.length>1?x.slice(0,1)+z+x.slice(1,x.length+1):x,this.plusOnePosition=!0),this.allowNegativeNumbers&&x[0]===I.MINUS&&(x[1]===z||x[1]===I.NUMBER_ZERO)&&(x=x[1]===z&&x.length>2?x.slice(0,1)+I.NUMBER_ZERO+x.slice(1,x.length):x[1]===I.NUMBER_ZERO&&x.length>2&&x[2]!==z?x.slice(0,2)+z+x.slice(2,x.length):x,this.plusOnePosition=!0)),l){let Ee=x.slice(this._findFirstNonZeroDigitIndex(x),x.length),De=x[S]===I.NUMBER_ZERO||x[S]===z,Ye=x[0]===I.NUMBER_ZERO,pn=x[0]===I.MINUS,He=x[0]===this.thousandSeparator,Nt=x[1]===z,ht=x[1]===I.NUMBER_ZERO,Cn=x[2]===z;Ye&&Nt&&De&&S<2&&(x=Ee),pn&&ht&&Cn&&De&&S<3&&(x=I.MINUS+Ee),Ee!==I.MINUS&&(S===0&&(Ye||He)||this.allowNegativeNumbers&&S===1&&pn&&!ht)&&(x=pn?I.MINUS+Ee:Ee)}let de=this._charToRegExpExpression(this.thousandSeparator),P='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(de,"");if(Array.isArray(this.decimalMarker))for(let Ee of this.decimalMarker)P=P.replace(this._charToRegExpExpression(Ee),I.EMPTY_STRING);else P=P.replace(this._charToRegExpExpression(this.decimalMarker),"");let j=new RegExp("["+P+"]");x.match(j)&&(x=x.substring(0,x.length-1)),x=this.checkInputPrecision(x,Z,this.decimalMarker);let G=x.replace(new RegExp(de,"g"),"");c=this._formatWithSeparators(G,this.thousandSeparator,this.decimalMarker,Z);let ve=c.indexOf(I.COMMA)-x.indexOf(I.COMMA),Ve=c.length-x.length,Dt=l&&c.length<n.length&&this.separatorLimit;if((c[S-1]===this.thousandSeparator||c[S-this.prefix.length])&&this.prefix&&l)S=S-1;else if(Ve>0&&c[S]!==this.thousandSeparator||Dt){b=!0;let Ee=0;do this._shift.add(S+Ee),Ee++;while(Ee<Ve)}else c[S-1]===this.thousandSeparator||Ve===-4||Ve===-3||c[S]===this.thousandSeparator?(this._shift.clear(),this._shift.add(S-1)):ve!==0&&S>0&&!(c.indexOf(I.COMMA)>=S&&S>3)||!(c.indexOf(I.DOT)>=S&&S>3)&&Ve<=0?(this._shift.clear(),b=!0,g=Ve,S+=Ve,this._shift.add(S)):this._shift.clear()}else for(let Z=0,z=N[0];Z<N.length&&u!==a.length;Z++,z=N[Z]??I.EMPTY_STRING){let de=I.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(z,a[u]??I.EMPTY_STRING)&&a[u+1]===I.SYMBOL_QUESTION)c+=z,u+=2;else if(a[u+1]===I.SYMBOL_STAR&&m&&this._checkSymbolMask(z,a[u+2]??I.EMPTY_STRING))c+=z,u+=3,m=!1;else if(this._checkSymbolMask(z,a[u]??I.EMPTY_STRING)&&a[u+1]===I.SYMBOL_STAR&&!de)c+=z,m=!0;else if(a[u+1]===I.SYMBOL_QUESTION&&this._checkSymbolMask(z,a[u+2]??I.EMPTY_STRING))c+=z,u+=3;else if(this._checkSymbolMask(z,a[u]??I.EMPTY_STRING)){if(a[u]===I.HOURS&&(this.apm?Number(z)>9:Number(z)>2)){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(a,u,N.length),Z--,this.leadZeroDateTime&&(c+="0");continue}if(a[u]===I.HOUR&&(this.apm?c.length===1&&Number(c)>1||c==="1"&&Number(z)>2||x.slice(u-1,u).length===1&&Number(x.slice(u-1,u))>2||x.slice(u-1,u)==="1"&&Number(z)>2:c==="2"&&Number(z)>3||(c.slice(u-2,u)==="2"||c.slice(u-3,u)==="2"||c.slice(u-4,u)==="2"||c.slice(u-1,u)==="2")&&Number(z)>3&&u>10)){S=S+1,u+=1,Z--;continue}if((a[u]===I.MINUTE||a[u]===I.SECOND)&&Number(z)>5){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(a,u,N.length),Z--,this.leadZeroDateTime&&(c+="0");continue}let P=31,j=x[u],G=x[u+1],ve=x[u+2],Ve=x[u-1],Dt=x[u-2],Ee=x.slice(u-3,u-1),De=x.slice(u-1,u+1),Ye=x.slice(u,u+2),pn=x.slice(u-2,u);if(a[u]===I.DAY){let He=a.slice(0,2)===I.MONTHS,Nt=a.slice(0,2)===I.MONTHS&&this.specialCharacters.includes(Dt);if(Number(z)>3&&this.leadZeroDateTime||!He&&(Number(Ye)>P||Number(De)>P||this.specialCharacters.includes(G))||(Nt?Number(De)>P||!this.specialCharacters.includes(j)&&this.specialCharacters.includes(ve)||this.specialCharacters.includes(j):Number(Ye)>P||this.specialCharacters.includes(G)&&!l)){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(a,u,N.length),Z--,this.leadZeroDateTime&&(c+="0");continue}}if(a[u]===I.MONTH){let He=u===0&&(Number(z)>2||Number(Ye)>12||this.specialCharacters.includes(G)&&!l),Nt=a.slice(u+2,u+3),ht=Ee.includes(Nt)&&a.includes("d0")&&(this.specialCharacters.includes(Dt)&&Number(De)>12&&!this.specialCharacters.includes(j)||this.specialCharacters.includes(j)),Cn=Number(Ee)<=P&&!this.specialCharacters.includes(Ee)&&this.specialCharacters.includes(Ve)&&(Number(Ye)>12||this.specialCharacters.includes(G)),pr=Number(Ye)>12&&u===5||this.specialCharacters.includes(G)&&u===5,oo=Number(Ee)>P&&!this.specialCharacters.includes(Ee)&&!this.specialCharacters.includes(pn)&&Number(pn)>12&&a.includes("d0"),so=Number(Ee)<=P&&!this.specialCharacters.includes(Ee)&&!this.specialCharacters.includes(Ve)&&Number(De)>12;if(Number(z)>1&&this.leadZeroDateTime||He||ht||so||oo||Cn||pr&&!this.leadZeroDateTime){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(a,u,N.length),Z--,this.leadZeroDateTime&&(c+="0");continue}}c+=z,u++}else this.specialCharacters.includes(z)&&a[u]===z?(c+=z,u++):this.specialCharacters.indexOf(a[u]??I.EMPTY_STRING)!==-1?(c+=a[u],u++,this._shiftStep(a,u,N.length),Z--):a[u]===I.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(a,u,N.length):this.patterns[a[u]??I.EMPTY_STRING]&&((ze=this.patterns[a[u]??I.EMPTY_STRING])!=null&&ze.optional)?(N[u]&&a!=="099.099.099.099"&&a!=="000.000.000-00"&&a!=="00.000.000/0000-00"&&!a.match(/^9+\.0+$/)&&!((ot=this.patterns[a[u]??I.EMPTY_STRING])!=null&&ot.optional)&&(c+=N[u]),a.includes(I.NUMBER_NINE+I.SYMBOL_STAR)&&a.includes(I.NUMBER_ZERO+I.SYMBOL_STAR)&&u++,u++,Z--):this.maskExpression[u+1]===I.SYMBOL_STAR&&this._findSpecialChar(this.maskExpression[u+2]??I.EMPTY_STRING)&&this._findSpecialChar(z)===this.maskExpression[u+2]&&m||this.maskExpression[u+1]===I.SYMBOL_QUESTION&&this._findSpecialChar(this.maskExpression[u+2]??I.EMPTY_STRING)&&this._findSpecialChar(z)===this.maskExpression[u+2]&&m?(u+=3,c+=z):this.showMaskTyped&&this.specialCharacters.indexOf(z)<0&&z!==this.placeHolderCharacter&&this.placeHolderCharacter.length===1&&(w=!0)}c.length+1===a.length&&this.specialCharacters.indexOf(a[a.length-1]??I.EMPTY_STRING)!==-1&&(c+=a[a.length-1]);let A=S+1;for(;this._shift.has(A);)g++,A++;let Y=o&&!a.startsWith(I.SEPARATOR)?u:this._shift.has(S)?g:0;w&&Y--,h(Y,b),g<0&&this._shift.clear();let ne=!1;l&&(ne=N.every(Z=>this.specialCharacters.includes(Z)));let ue=`${this.prefix}${ne?I.EMPTY_STRING:c}${this.showMaskTyped?"":this.suffix}`;c.length===0&&(ue=this.dropSpecialCharacters?`${c}`:`${this.prefix}${c}`);let dt=x.length===1&&this.specialCharacters.includes(a[0])&&x!==a[0];if(!this._checkSymbolMask(x,a[1])&&dt)return"";if(c.includes(I.MINUS)&&this.prefix&&this.allowNegativeNumbers){if(l&&c===I.MINUS)return"";ue=`${I.MINUS}${this.prefix}${c.split(I.MINUS).join(I.EMPTY_STRING)}${this.suffix}`}return ue}_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 i,o;return this.patterns=this.customPattern?this.customPattern:this.patterns,(((i=this.patterns[a])==null?void 0:i.pattern)&&((o=this.patterns[a])==null?void 0:o.pattern.test(n)))??!1}_stripToDecimal(n){return n.split(I.EMPTY_STRING).filter((a,i)=>{let o=typeof this.decimalMarker=="string"?a===this.decimalMarker:this.decimalMarker.includes(a);return a.match("^-?\\d")||a===this.thousandSeparator||o||a===I.MINUS&&i===0&&this.allowNegativeNumbers}).join(I.EMPTY_STRING)}_charToRegExpExpression(n){return n&&(n===" "?"\\s":"[\\^$.|?*+()".indexOf(n)>=0?`\\${n}`:n)}_shiftStep(n,a,i){let o=/[*?]/g.test(n.slice(0,a))?i:a;this._shift.add(o+this.prefix.length||0)}_compareOrIncludes(n,a,i){return Array.isArray(a)?a.filter(o=>o!==i).includes(n):n===a}_validIP(n){return!(n.length===4&&!n.some((a,i)=>n.length!==i+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),i=this.allowNegativeNumbers&&n.includes(I.MINUS)?"-":"";if(a===-1){let o=parseInt(i?n.slice(1,n.length):n,10);return isNaN(o)?I.EMPTY_STRING:`${i}${o}`}else{let o=parseInt(n.replace("-","").substring(0,a),10),l=n.substring(a+1),h=isNaN(o)?"":o.toString(),u=typeof this.decimalMarker=="string"?this.decimalMarker:I.DOT;return h===I.EMPTY_STRING?I.EMPTY_STRING:`${i}${h}${u}${l}`}}_findFirstNonZeroDigitIndex(n){for(let a=0;a<n.length;a++){let i=n[a];if(i&&i>="1"&&i<="9")return a}return-1}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})(),SQ=(()=>{const t=class t extends EQ{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",D(Xt,{optional:!0}));s(this,"document",D(Le));s(this,"_config",D(Hd));s(this,"_renderer",D(Qs,{optional:!0}))}applyMask(a,i,o=0,l=!1,h=!1,u=()=>{}){if(!i)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 c=a&&typeof this.selStart=="number"?a[this.selStart]??I.EMPTY_STRING:I.EMPTY_STRING,m="",b=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,c):a.length<S.length&&(S.length-a.length===1?h?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),h&&this.specialCharacters.indexOf(this.maskExpression[b]??I.EMPTY_STRING)!==-1&&this.showMaskTyped&&!this.prefix&&(m=this._currentValue),this.deletedSpecialCharacter&&b&&(this.specialCharacters.includes(this.actualValue.slice(b,b+1))?b=b+1:i.slice(b-1,b+1)!==I.MONTHS&&(b=b-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,i,b,l,h,u);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?h?this.hideInput(g,this.maskExpression):`${this.hideInput(g,this.maskExpression)}${this.maskIsShown.slice(g.length)}`:g;let w=g.length,x=`${this.prefix}${this.maskIsShown}${this.suffix}`;if(this.maskExpression.includes(I.HOURS)){let S=this._numberSkipedSymbols(g);return`${g}${x.slice(w+S)}`}else if(this.maskExpression===I.IP||this.maskExpression===I.CPF_CNPJ)return`${g}${x}`;return`${g}${x.slice(w)}`}_numberSkipedSymbols(a){let i=/(^|\D)(\d\D)/g,o=i.exec(a),l=0;for(;o!=null;)l+=1,o=i.exec(a);return l}applyValueChanges(a,i,o,l=()=>{}){var u;let h=(u=this._elementRef)==null?void 0:u.nativeElement;h&&(h.value=this.applyMask(h.value,this.maskExpression,a,i,o,l),h!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(a,i){return a.split(I.EMPTY_STRING).map((o,l)=>{var h,u;return this.patterns&&this.patterns[i[l]??I.EMPTY_STRING]&&((h=this.patterns[i[l]??I.EMPTY_STRING])!=null&&h.symbol)?(u=this.patterns[i[l]??I.EMPTY_STRING])==null?void 0:u.symbol:o}).join(I.EMPTY_STRING)}getActualValue(a){let i=a.split(I.EMPTY_STRING).filter((o,l)=>{let h=this.maskExpression[l]??I.EMPTY_STRING;return this._checkSymbolMask(o,h)||this.specialCharacters.includes(h)&&o===h});return i.join(I.EMPTY_STRING)===a?i.join(I.EMPTY_STRING):a}shiftTypedSymbols(a){let i="";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 i=o,a[l+1];if(i.length){let h=i;return i=I.EMPTY_STRING,h}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 i;let a=(i=this._elementRef)==null?void 0:i.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,i]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>{var o,l;return(l=this._renderer)==null?void 0:l.setProperty((o=this._elementRef)==null?void 0:o.nativeElement,a,i)})}checkDropSpecialCharAmount(a){return a.split(I.EMPTY_STRING).filter(i=>this._findDropSpecialChar(i)).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 i=[];for(let o=0;o<a.length;o++){let l=a[o]??I.EMPTY_STRING;l&&l.match("\\d")&&i.push(l)}return i.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:i.length>3&&i.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:i.length>6&&i.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(a){let i=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,o=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if(a===I.HASH)return i;let l=[];for(let h=0;h<a.length;h++){let u=a[h]??I.EMPTY_STRING;u&&u.match("\\d")&&l.push(u)}return l.length<=3?i.slice(l.length,i.length):l.length>3&&l.length<=6?i.slice(l.length+1,i.length):l.length>6&&l.length<=9?i.slice(l.length+2,i.length):l.length>9&&l.length<11?i.slice(l.length+3,i.length):l.length===11?"":l.length===12?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 i=(o=a==null?void 0:a.activeElement)==null?void 0:o.shadowRoot;return i!=null&&i.activeElement?this._getActiveElement(i):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 i=Number(a);if(this.maskExpression.startsWith(I.SEPARATOR)&&Number.isNaN(i)){let o=String(a).replace(",",".");return Number(o)}return Number.isNaN(i)?a:i}_removeMask(a,i){return this.maskExpression.startsWith(I.PERCENT)&&a.includes(I.DOT)?a:a&&a.replace(this._regExpForRemove(i),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 i=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)&&(i=i.filter(o=>o!==I.WHITE_SPACE)),this._removeMask(a,i)}_regExpForRemove(a){return new RegExp(a.map(i=>`\\${i}`).join("|"),"gi")}_replaceDecimalMarkerToDot(a){let i=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return a.replace(this._regExpForRemove(i),I.DOT)}_checkSymbols(a){let i=a;if(i===I.EMPTY_STRING)return i;this.maskExpression.startsWith(I.PERCENT)&&this.decimalMarker===I.COMMA&&(i=i.replace(I.COMMA,I.DOT));let o=this._retrieveSeparatorPrecision(this.maskExpression),l=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(i));return this.isNumberValue&&o?i===this.decimalMarker?null:l.length>14?String(l):this._checkPrecision(this.maskExpression,l):l}_checkPatternForSpace(){var a,i,o;for(let l in this.patterns)if(this.patterns[l]&&((a=this.patterns[l])!=null&&a.hasOwnProperty("pattern"))){let h=(i=this.patterns[l])==null?void 0:i.pattern.toString(),u=(o=this.patterns[l])==null?void 0:o.pattern;if(h!=null&&h.includes(I.WHITE_SPACE)&&(u!=null&&u.test(this.maskExpression)))return!0}return!1}_retrieveSeparatorPrecision(a){let i=a.match(new RegExp("^separator\\.([^d]*)"));return i?Number(i[1]):null}_checkPrecision(a,i){let o=this.getPrecision(a),l=i;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((i,o,l)=>{if(this._start=o===I.CURLY_BRACKETS_LEFT?l:this._start,o!==I.CURLY_BRACKETS_RIGHT)return this._findSpecialChar(o)?i+o:i;this._end=l;let h=Number(a.slice(this._start+1,this._end)),u=new Array(h+1).join(a[this._start-1]);if(a.slice(0,this._start).length>1&&a.includes(I.LETTER_S)){let c=a.slice(0,this._start-1);return c.includes(I.CURLY_BRACKETS_LEFT)?i+u:c+i+u}else return i+u},"")||a}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}};s(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=En(t)))(i||t)}})()),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})();function kQ(){let e=D(Wb),t=D(Ub);return t instanceof Function?ge(ge({},e),t()):ge(ge({},e),t)}function CQ(e){return[{provide:Ub,useValue:e},{provide:Wb,useValue:xQ},{provide:Hd,useFactory:kQ},SQ]}function IQ(e){return Cc(CQ(e))}var li=class extends Error{};li.prototype.name="InvalidTokenError";function DQ(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,r)=>{let n=r.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}function NQ(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 DQ(t)}catch{return atob(t)}}function TQ(e,t){if(typeof e!="string")throw new li("Invalid token specified: must be a string");t||(t={});let r=t.header===!0?0:1,n=e.split(".")[r];if(typeof n!="string")throw new li(`Invalid token specified: missing part #${r+1}`);let a;try{a=NQ(n)}catch(i){throw new li(`Invalid token specified: invalid base64 for part #${r+1} (${i.message})`)}try{return JSON.parse(a)}catch(i){throw new li(`Invalid token specified: invalid json for part #${r+1} (${i.message})`)}}function MQ(e){var t,r,n,a;return((r=(t=e.userProfile)==null?void 0:t.children)==null?void 0:r.length)>0?e.userProfile.children[0].ssin:((a=(n=e.userProfile)==null?void 0:n.mandators)==null?void 0:a.length)>0?e.userProfile.mandators[0].ssin:e.userProfile.ssin}var RQ=(()=>{const t=class t{registerAccessToken(n){this.getLocalAccessToken=n}resolveAccessToken(){return ea(this.getLocalAccessToken("nihii-vidis"))}resolveSsin(){return Mn(this,null,function*(){if(this._isProfessional===!0)return this._patientSsin;let n=yield this.decodedToken();return MQ(n)})}resolvePatientInfo(){return Mn(this,null,function*(){return(yield this.decodedToken()).userProfile})}resolveUserInfo(){return Mn(this,null,function*(){var c,m,b,g;let n=(yield this.decodedToken()).userProfile,a=n.lastName,i=n.firstName,o=this.extractProfessionalRole(n),l=((c=n==null?void 0:n.organizations)==null?void 0:c.length)>0&&((m=n==null?void 0:n.organizations[0])!=null&&m.pharmacy)?"pharmacist":void 0,h=(b=n==null?void 0:n.organizations)!=null&&b.length&&l!==void 0?n==null?void 0:n.organizations[0]:void 0,u=this.resolveProfessional(n,o)?n[o]:void 0;return{firstName:i,ssin:n.ssin,lastName:a,role:l||o,organization:h&&l?h:void 0,professional:u,mandator:((g=n==null?void 0:n.mandators)==null?void 0:g.length)>0}})}isMandator(){return Mn(this,null,function*(){var n,a;return((a=(n=(yield this.decodedToken()).userProfile)==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"],i="patient";return a.forEach(o=>{n[o]&&(i=o)}),i}decodedToken(){return Mn(this,null,function*(){return TQ(yield this.getLocalAccessToken("nihii-vidis"))})}get isProfessional(){return this._isProfessional}set isProfessional(n){this._isProfessional=n}get patientSsin(){return this._patientSsin}set patientSsin(n){this._patientSsin=n}get isOfflineDataStorageEnabled(){return this._offlineDataStorageEnabled}set isOfflineDataStorageEnabled(n){this._offlineDataStorageEnabled=n}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=$({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),OQ=(()=>{const t=class t{constructor(){this._isProfessional=!1,this._patientSsin=""}resolveAccessToken(){return _t("demo token")}resolveSsin(){return Mn(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 Mn(this,null,function*(){return Promise.resolve(!1)})}registerAccessToken(n){}get isProfessional(){return this._isProfessional}set isProfessional(n){this._isProfessional=n}get patientSsin(){return this._patientSsin}set patientSsin(n){this._patientSsin=n}get isOfflineDataStorageEnabled(){return this._offlineDataStorageEnabled}set isOfflineDataStorageEnabled(n){this._offlineDataStorageEnabled=n}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=$({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function PQ(e){return e.firstName&&e.lastName?e.firstName+" "+e.lastName:e.name}var AQ={fr:["fr","nl","de","en"],nl:["nl","fr","de","en"],de:["de","fr","nl","en"],en:["en","nl","fr","de"]};function Zb(e,t){if(e){t=t==null?void 0:t.substring(0,2);for(let r of AQ[t]){let n=e.find(a=>a.lang===r);if(n)return n.value}return e.length>0?e[0].value:"Missing translation"}}var LQ=(()=>{const t=class t{constructor(){this.translate=D(qn)}transform(n){return this.findTranslation(n.name)+" "+(n.prefix?n.prefix+" ":"")+(n.value?n.value+" ":"")+(n.unit?this.translate.instant("commons.units."+n.unit,{count:n.value||1}):"")}findTranslation(n){return Zb(n,this.translate.currentLang)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=$({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),FQ={HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)"};function jQ(e,t){if(e&1){let r=r0();ke(0,"div",1)(1,"button",2),el("click",function(){tg(r);let n=Et();return ng(n.action())}),Ae(2),Ce()()}if(e&2){let r=Et();we(2),lr(" ",r.data.action," ")}}var VQ=["label"];function BQ(e,t){}var zQ=Math.pow(2,31)-1,cc=class{constructor(e,t){s(this,"_overlayRef");s(this,"instance");s(this,"containerInstance");s(this,"_afterDismissed",new Pe);s(this,"_afterOpened",new Pe);s(this,"_onAction",new Pe);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,zQ))}_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}},Yb=new Q("MatSnackBarData"),Os=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")}},HQ=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",hr({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}));let e=t;return e})(),qQ=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",hr({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}));let e=t;return e})(),$Q=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",hr({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}));let e=t;return e})(),GQ=(()=>{const t=class t{constructor(){s(this,"snackBarRef",D(cc));s(this,"data",D(Yb))}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",It({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&&(ke(0,"div",0),Ae(1),Ce(),zt(2,jQ,3,1,"div",1)),n&2&&(we(),lr(" ",a.data.message,`
27
- `),we(),sn(a.hasAction?2:-1))},dependencies:[kW,HQ,qQ,$Q],styles:[`.mat-mdc-simple-snack-bar{display:flex}
28
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),nu="_mat-snack-bar-enter",ru="_mat-snack-bar-exit",UQ=(()=>{const t=class t extends Nd{constructor(){super();s(this,"_ngZone",D(je));s(this,"_elementRef",D(Xt));s(this,"_changeDetectorRef",D(nl));s(this,"_platform",D($n));s(this,"_rendersRef");s(this,"_animationsDisabled",D(Yi,{optional:!0})==="NoopAnimations");s(this,"snackBarConfig",D(Os));s(this,"_document",D(Le));s(this,"_trackedModals",new Set);s(this,"_enterFallback");s(this,"_exitFallback");s(this,"_renders",new Pe);s(this,"_announceDelay",150);s(this,"_announceTimeoutId");s(this,"_destroyed",!1);s(this,"_portalOutlet");s(this,"_onAnnounce",new Pe);s(this,"_onExit",new Pe);s(this,"_onEnter",new Pe);s(this,"_animationState","void");s(this,"_live");s(this,"_label");s(this,"_role");s(this,"_liveElementId",D(eb).getId("mat-snack-bar-container-live-"));s(this,"attachDomPortal",a=>{this._assertNotAttached();let i=this._portalOutlet.attachDomPortal(a);return this._afterPortalAttached(),i});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=qg(()=>this._renders.next(),{manualCleanup:!0})}attachComponentPortal(a){this._assertNotAttached();let i=this._portalOutlet.attachComponentPortal(a);return this._afterPortalAttached(),i}attachTemplatePortal(a){this._assertNotAttached();let i=this._portalOutlet.attachTemplatePortal(a);return this._afterPortalAttached(),i}onAnimationEnd(a){a===ru?this._completeExit():a===nu&&(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(rr(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(nu)))}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(nu)},200)))}exit(){return this._destroyed?_t(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(rr(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(ru)))}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(ru),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,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(h=>a.classList.add(h)):a.classList.add(i)),this._exposeToModals();let o=this._label.nativeElement,l="mdc-snackbar__label";o.classList.toggle(l,!o.querySelector(`.${l}`))}_exposeToModals(){let a=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<i.length;o++){let l=i[o],h=l.getAttribute("aria-owns");this._trackedModals.add(l),h?h.indexOf(a)===-1&&l.setAttribute("aria-owns",h+" "+a):l.setAttribute("aria-owns",a)}}_clearFromModals(){this._trackedModals.forEach(a=>{let i=a.getAttribute("aria-owns");if(i){let o=i.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,i=a.querySelector("[aria-hidden]"),o=a.querySelector("[aria-live]");if(i&&o){let l=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&i.contains(document.activeElement)&&(l=document.activeElement),i.removeAttribute("aria-hidden"),o.appendChild(i),l==null||l.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵcmp",It({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(a,i){if(a&1&&(tp(Ap,7),tp(VQ,7)),a&2){let o;np(o=rp())&&(i._portalOutlet=o.first),np(o=rp())&&(i._label=o.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(a,i){a&1&&el("animationend",function(o){return i.onAnimationEnd(o.animationName)})("animationcancel",function(o){return i.onAnimationEnd(o.animationName)}),a&2&&Dr("mat-snack-bar-container-enter",i._animationState==="visible")("mat-snack-bar-container-exit",i._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!i._animationsDisabled)},features:[Tr],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,i){a&1&&(ke(0,"div",1)(1,"div",2,0)(3,"div",3),zt(4,BQ,0,0,"ng-template",4),Ce(),Yt(5,"div"),Ce()()),a&2&&(we(5),Ha("aria-live",i._live)("role",i._role)("id",i._liveElementId))},dependencies:[Ap],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}
29
- `],encapsulation:2}));let e=t;return e})();function WQ(){return new Os}var ZQ=new Q("mat-snack-bar-default-options",{providedIn:"root",factory:WQ}),YQ=(()=>{const t=class t{constructor(){s(this,"_overlay",D(bW));s(this,"_live",D(T6));s(this,"_injector",D(Mt));s(this,"_breakpointObserver",D(k6));s(this,"_parentSnackBar",D(t,{optional:!0,skipSelf:!0}));s(this,"_defaultConfig",D(ZQ));s(this,"_snackBarRefAtThisLevel",null);s(this,"simpleSnackBarComponent",GQ);s(this,"snackBarContainerComponent",UQ);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="",i){let o=ge(ge({},this._defaultConfig),i);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 i=a&&a.viewContainerRef&&a.viewContainerRef.injector,o=Mt.create({parent:i||this._injector,providers:[{provide:Os,useValue:a}]}),l=new Xu(this.snackBarContainerComponent,a.viewContainerRef,o),h=n.attach(l);return h.instance.snackBarConfig=a,h.instance}_attach(n,a){let i=ge(ge(ge({},new Os),this._defaultConfig),a),o=this._createOverlay(i),l=this._attachSnackBarContainer(o,i),h=new cc(l,o);if(n instanceof Ii){let u=new nb(n,null,{$implicit:i.data,snackBarRef:h});h.instance=l.attachTemplatePortal(u)}else{let u=this._createInjector(i,h),c=new Xu(n,void 0,u),m=l.attachComponentPortal(c);h.instance=m.instance}return this._breakpointObserver.observe(FQ.HandsetPortrait).pipe(Fi(o.detachments())).subscribe(u=>{o.overlayElement.classList.toggle(this.handsetCssClass,u.matches)}),i.announcementMessage&&l._onAnnounce.subscribe(()=>{this._live.announce(i.announcementMessage,i.politeness)}),this._animateSnackBar(h,i),this._openedSnackBarRef=h,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 ib;a.direction=n.direction;let i=this._overlay.position().global(),o=n.direction==="rtl",l=n.horizontalPosition==="left"||n.horizontalPosition==="start"&&!o||n.horizontalPosition==="end"&&o,h=!l&&n.horizontalPosition!=="center";return l?i.left("0"):h?i.right("0"):i.centerHorizontally(),n.verticalPosition==="top"?i.top("0"):i.bottom("0"),a.positionStrategy=i,this._overlay.create(a)}_createInjector(n,a){let i=n&&n.viewContainerRef&&n.viewContainerRef.injector;return Mt.create({parent:i||this._injector,providers:[{provide:cc,useValue:a},{provide:Yb,useValue:n.data}]})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),KQ=(()=>{const t=class t{constructor(){this.snackbar=D(YQ),this.translate=D(qn)}showSuccess(n,a="commons.close",i=5e3){return this.snackbar.open(this.translate.instant(n),this.translate.instant(a),{duration:i,panelClass:"mh-snackbar--success"})}showError(n,a="commons.close",i=5e3){return this.snackbar.open(this.translate.instant(n),this.translate.instant(a),{duration:i,panelClass:"mh-snackbar--error"})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=$({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),QQ="4.0",dc=QQ,yr=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(yr||{}),JQ={demo:{env:yr.DEMO},dev:{apiUrl:"http://vidis-fake-api.test.paas.vasdc.be",env:yr.DEV},int:{apiUrl:"https://vidis-api.int.pub.vascloud.be/REST/vidis",env:yr.INT},acc:{apiUrl:"https://vidis-api.acc.vasha.be/REST/vidis",env:yr.ACC},prod:{apiUrl:"https://vidis-api.vasha.be/REST/vidis",env:yr.PROD}},sl=(()=>{const t=class t{setEnvironment(n){this.configVariables=JQ[yr[n.toUpperCase()]]||{}}getEnvironmentVariable(n){return this.configVariables[n]}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=$({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),XQ=(()=>{const t=class t{constructor(){this.http=D(no),this.snackbarService=D(KQ)}getLeaflet(n,a){this.http.get(`/v2/leaflet/${n}/${a}`,{responseType:"text"}).pipe(rr(1),Hs(i=>(this.snackbarService.showError(i.status===404?"error.no-leaflet":"error.fetch-leaflet"),sf(()=>i)))).subscribe(i=>{window.open(i,"_blank")})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=$({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),qd=(()=>{const t=class t{constructor(){this.config=D(sl),this.injector=D(Mt),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(OQ):this.injector.get(RQ)}return this._instance}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=$({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),ts=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}(ts||{}),Kb=function(e){return e.CNK="cnk",e.INN="inn",e.VMP="vmp",e.EAN="ean",e.COMPOUND="compound",e}(Kb||{}),d=function(e){return e.NL="nl",e.FR="fr",e.DE="de",e.EN="en",e}(d||{});d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,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 Ao={getAuthorizationHeader:e=>`Bearer ${e}`,getUserType:e=>e.isProfessional?"professional":"patient",clientType:{webApp:"webapp",mobileApp:"mobapp"}},eJ=(()=>{const t=class t{constructor(){s(this,"version");s(this,"language");s(this,"configName");s(this,"services");s(this,"onPrint",new Ft);s(this,"_ngInitDone",!1);s(this,"correctlySetup",!1);s(this,"extraRequiredFields",[])}validateVersion(){let n=dc.split(".").map(i=>parseInt(i)),a=(this.version||"").split(".").map(i=>parseInt(i));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 (${dc})!`),!1):!0}validateInputs(){let n=this,a=["language","configName","services","version",...this.extraRequiredFields],{missingFields:i,presentFields:o}=a.reduce((l,h)=>(n[h]===void 0?l.missingFields.push(h):l.presentFields.push(h),l),{missingFields:[],presentFields:[]});return i.length?(console.log(`[BaseWebComponent] Waiting for missing inputs: ${i.join(", ")}; Present inputs: ${o.join(", ")}`),!1):(console.log("[BaseWebComponent] All required inputs are present"),this.validateVersion()?this.services.cacheDataStorage==null?(console.error("[BaseWebComponent] The given services input does not contain a cache service!"),!1):this.services.getAccessToken==null?(console.error("[BaseWebComponent] The given services input does not contain a getAccessToken() function!"),!1):this.services.registerRefreshCallback==null?(console.error("[BaseWebComponent] The given services input does not contain a registerRefreshCallback() function!"),!1):!0:!1)}ngOnChanges(n){this.correctlySetup=this.validateInputs(),this.correctlySetup&&(this._ngInitDone?this.onPropsChanged(n):(this.onInitialized(),this._ngInitDone=!0))}isCorrectlySetup(){return this.correctlySetup}onInitialized(){}onPropsChanged(n){}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",It({type:t,selectors:[["ng-component"]],inputs:{version:"version",language:"language",configName:"configName",services:"services"},outputs:{onPrint:"onPrint"},features:[u9],decls:0,vars:0,template:function(n,a){},encapsulation:2}));let e=t;return e})(),tJ=()=>{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)},nJ=(e,t)=>{let r=D(qd),n=D(sl).getEnvironmentVariable("apiUrl");if(e.url.includes("assets/")||e.url.startsWith("http"))return t(e);let a=e.headers||new Pa,i=r.getInstance().isProfessional;return r.getInstance().resolveAccessToken().pipe(bi(o=>t(e.clone({url:`${n}${e.url}`,headers:a.set("Authorization",Ao.getAuthorizationHeader(o)).set("user-type",Ao.getUserType({isProfessional:i})).set("client-type",tJ()?Ao.clientType.mobileApp:Ao.clientType.webApp)}))))};function rJ(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var aJ=["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",rJ];function iJ(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var oJ=["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",iJ];function sJ(e){let t=Math.floor(Math.abs(e)),r=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&&r===0||!(n>=0&&n<=5)?4:5}var lJ=["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",sJ];function uJ(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var cJ=["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",uJ];il(aJ,"de");il(cJ,"nl");il(lJ,"fr");il(oJ,"en");var dJ=class{handleError(e){throw new Error(e)}},hJ=class extends J6{getFirstDayOfWeek(){return 1}format(e){return xK(e,"dd/MM/yyyy")}parse(e){return _Q(e,"dd/MM/yyyy",new Date)}},pJ={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"}}},mJ=[yY(),a6(i6([nJ])),IQ(),{provide:Hn,useClass:dJ},{provide:tb,useClass:hJ,deps:[Ju]},{provide:F6,useValue:pJ},{provide:hb,useClass:_Y},{provide:yW,useValue:{panelClass:"mh-dialog-container"}}],fJ=bm(Nz(),1),gJ=new Q("MESSAGE_FORMAT_CONFIG"),vJ={biDiSupport:!1,formatters:{},strictNumberSign:!1,currency:"USD",strictPluralKeys:!0,throwOnError:!1,fallbackPrefix:void 0},bJ=(()=>{const t=class t extends io{constructor(n){super(),this.mfCache=new Map;let{formatters:a,biDiSupport:i,strictNumberSign:o,currency:l,strictPluralKeys:h,throwOnError:u,fallbackPrefix:c}=ge(ge({},vJ),n);this.messageFormatOptions={customFormatters:a,biDiSupport:i,strict:o,currency:l,strictPluralKeys:h},this.throwOnError=!!u,this.fallbackPrefix=c}compile(n,a){if(this.fallbackPrefix&&n.startsWith(this.fallbackPrefix))return n.slice(this.fallbackPrefix.length);let i;try{i=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}'`),i=_J(n,a)}return this.throwOnError||(i=yJ(i,n)),i}compileTranslations(n,a){return typeof n=="string"?this.compile(n,a):Object.keys(n).reduce((i,o)=>{let l=n[o];return i[o]=this.compileTranslations(l,a),i},{})}getMessageFormatInstance(n){return this.mfCache.has(n)||this.mfCache.set(n,new fJ.default(n,this.messageFormatOptions)),this.mfCache.get(n)}};t.ɵfac=function(n){return new(n||t)(ee(gJ,8))},t.ɵprov=$({token:t,factory:t.ɵfac});let e=t;return e})();function yJ(e,t){return r=>{let n=t;try{n=e(r)}catch(a){console.error(a),console.error(`[ngx-translate-messageformat-compiler] Could not interpolate '${t}' with params '${r}'`)}return n}}function _J(e,t){return()=>(console.warn(`[ngx-translate-messageformat-compiler] Falling back to original invalid message: '${e}' ('${t}')`),String(e))}var Qb={};re(Qb,{"00001":()=>Jb,"00002":()=>Xb,"00003":()=>ey,"00004":()=>ty,"00005":()=>ny,"00006":()=>ry,"00007":()=>ay,"00008":()=>iy,"00009":()=>oy,"00010":()=>sy,"00011":()=>ly,"00012":()=>uy,"00013":()=>cy,"00014":()=>dy,"00015":()=>hy,"00016":()=>py,"00017":()=>my,"00018":()=>fy,"00019":()=>gy,"00020":()=>vy,"00021":()=>by,"00022":()=>yy,"00023":()=>_y,"00024":()=>wy,"00025":()=>xy,"00026":()=>Ey,"00027":()=>Sy,"00028":()=>ky,"00029":()=>Cy,"00030":()=>Iy,ampoule:()=>Xy,bandage:()=>Zy,bottle:()=>e1,box:()=>Ky,cm:()=>Dy,default:()=>wJ,dropsperminute:()=>Ny,"effervescent-tablet":()=>Uy,gm:()=>Ty,internationalunits:()=>My,iu:()=>$y,liter:()=>Qy,"mck/h":()=>Ry,"mck/kg/minute":()=>Oy,measure:()=>Py,meq:()=>Hy,mg:()=>By,"mg/h":()=>Ay,"mg/ml":()=>zy,micrograms:()=>Wy,miu:()=>qy,"ml/h":()=>Ly,mmol:()=>Gy,piece:()=>Yy,syringe:()=>Jy,"syringe-ampoule":()=>t1,tbl:()=>Fy,tsp:()=>jy,"unt/h":()=>Vy});var Jb="{count, plural, one{kaffeelöffel (5 ml)} other{kaffeelöffellen (5 ml)}}",Xb="{count, plural, one{Ampulle} other{Ampullen}}",ey="anwenden",ty="{count, plural, one{Kapsel} other{Kapseln}}",ny="{count, plural, one{Tablette} other{Tabletten}}",ry="Dosis",ay="{count, plural, one{Tropf} other{Tropfen}}",iy="{count, plural, one{Fläsche} other{Fläschchen}}",oy="{count, plural, one{Implantat} other{Implantate}}",sy="{count, plural, one{Infusion} other{Infusionen}}",ly="{count, plural, one{Inhalation} other{Inhalationen}}",uy="Einstechen",cy="Kaugummi",dy="{count, plural, one{Kompresse} other{Kompressen}}",hy="{count, plural, one{Einlauf} other{Einläufe}}",py="ml",my="Ov.",fy="{count, plural, one{Perle} other{Perlen}}",gy="{count, plural, one{Pastille} other{Pastillen}}",vy="Pflaster",by="cart",yy="Pen",_y="{count, plural, one{Puff} other{Puffs}}",wy="{count, plural, one{Schwamm} other{Schwämme}}",xy="{count, plural, one{Stift} other{Stifte}}",Ey="Suppo",Sy="Tube",ky="{count, plural, one{Docht} other{Dochte}}",Cy="Beutel",Iy="Beutel",Dy="Zentimeter",Ny="{count, plural, one{Tropf pro Minute} other{Tropfen pro Minute}}",Ty="Gramm",My="{count, plural, one{Internationale Einheit} other{Internationale Einheiten}}",Ry="Mikrogramm pro Stunde",Oy="Mikrogramm pro Kilogramm pro Minute",Py="Maß",Ay="Miligramm pro Stunde",Ly="Milliliter pro Stunde",Fy="Esslöffel",jy="Kaffeelöffel",Vy="{count, plural, one{Einheit pro Stunde} other{Einheiten pro Stunde}}",By="Milligramm",zy="Milligramm pro Millimeter",Hy="meq",qy="miu",$y="iu",Gy="mmol",Uy="effervescent-tablet",Wy="micrograms",Zy="{count, plural, one{bandage} other{bandagen}}",Yy="{count, plural, one{stück} other{stücke}}",Ky="schachteln",Qy="liter",Jy="{count, plural, one{spritze} other{spritzen}}",Xy="{count, plural, one{glühbirn} other{glühbirnen}}",e1="{count, plural, one{Fläsche} other{Fläschchen}}",t1="{count, plural, one{spritze-ampulle} other{spritzen-ampulle}}",wJ={"00001":Jb,"00002":Xb,"00003":ey,"00004":ty,"00005":ny,"00006":ry,"00007":ay,"00008":iy,"00009":oy,"00010":sy,"00011":ly,"00012":uy,"00013":cy,"00014":dy,"00015":hy,"00016":py,"00017":my,"00018":fy,"00019":gy,"00020":vy,"00021":by,"00022":yy,"00023":_y,"00024":wy,"00025":xy,"00026":Ey,"00027":Sy,"00028":ky,"00029":Cy,"00030":Iy,cm:Dy,dropsperminute:Ny,gm:Ty,internationalunits:My,"mck/h":Ry,"mck/kg/minute":Oy,measure:Py,"mg/h":Ay,"ml/h":Ly,tbl:Fy,tsp:jy,"unt/h":Vy,mg:By,"mg/ml":zy,meq:Hy,miu:qy,iu:$y,mmol:Gy,"effervescent-tablet":Uy,micrograms:Wy,bandage:Zy,piece:Yy,box:Ky,liter:Qy,syringe:Jy,ampoule:Xy,bottle:e1,"syringe-ampoule":t1},n1={};re(n1,{"00001":()=>r1,"00002":()=>a1,"00003":()=>i1,"00004":()=>o1,"00005":()=>s1,"00006":()=>l1,"00007":()=>u1,"00008":()=>c1,"00009":()=>d1,"00010":()=>h1,"00011":()=>p1,"00012":()=>m1,"00013":()=>f1,"00014":()=>g1,"00015":()=>v1,"00016":()=>b1,"00017":()=>y1,"00018":()=>_1,"00019":()=>w1,"00020":()=>x1,"00021":()=>E1,"00022":()=>S1,"00023":()=>k1,"00024":()=>C1,"00025":()=>I1,"00026":()=>D1,"00027":()=>N1,"00028":()=>T1,"00029":()=>M1,"00030":()=>R1,ampoule:()=>a_,bandage:()=>X1,bottle:()=>i_,box:()=>t_,cm:()=>O1,default:()=>xJ,dropsperminute:()=>P1,"effervescent-tablet":()=>Q1,gm:()=>A1,internationalunits:()=>L1,iu:()=>Y1,liter:()=>n_,"mck/h":()=>F1,"mck/kg/minute":()=>j1,measure:()=>V1,meq:()=>W1,mg:()=>G1,"mg/h":()=>B1,"mg/ml":()=>U1,micrograms:()=>J1,miu:()=>Z1,"ml/h":()=>z1,mmol:()=>K1,piece:()=>e_,syringe:()=>r_,"syringe-ampoule":()=>o_,tbl:()=>H1,tsp:()=>q1,"unt/h":()=>$1});var r1="{count, plural, one{Teaspoon (5 ml)} other{Teaspoons (5 ml)}}",a1="{count, plural, one{ampoule} other{ampoules}}",i1="applic.",o1="{count, plural, one{capsule} other{capsules}}",s1="{count, plural, one{tablet} other{tablets}}",l1="{count, plural, one{dose} other{doses}}",u1="{count, plural, one{drop} other{drops}}",c1="{count, plural, one{bottle} other{bottles}}",d1="{count, plural, one{implant} other{implants}}",h1="{count, plural, one{perfusion} other{perfusions}}",p1="{count, plural, one{inhalation} other{inhalations}}",m1="insert",f1="{count, plural, one{chewing gum} other{chewing gums}}",g1="{count, plural, one{compress} other{compresses}}",v1="enema",b1="ml",y1="{count, plural, one{ovule} other{ovules}}",_1="{count, plural, one{pearl} other{pearls}}",w1="{count, plural, one{pastille} other{pastilles}}",x1="{count, plural, one{patch} other{patches}}",E1="{count, plural, one{cartridge} other{cartridges}}",S1="{count, plural, one{pen} other{pens}}",k1="{count, plural, one{puff} other{puffs}}",C1="{count, plural, one{sponge} other{sponges}}",I1="{count, plural, one{stylo} other{stylos}}",D1="{count, plural, one{supository} other{supositories}}",N1="{count, plural, one{tube} other{tubes}}",T1="{count, plural, one{wick} other{wicks}}",M1="{count, plural, one{bag} other{bags}}",R1="{count, plural, one{small bag} other{small bags}}",O1="centimeter",P1="{count, plural, one{drop per minute} other{drops per minute}}",A1="gram",L1="international units",F1="microgram per hour",j1="microgram per kilogram per minute",V1="{count, plural, one{measure} other{measures}}",B1="milligram per hour",z1="milliliter per hour",H1="{count, plural, one{tablespoon} other{tablespoons}}",q1="{count, plural, one{teaspoon} other{teaspoons}}",$1="{count, plural, one{unit per hour} other{units per hour}}",G1="milligram",U1="milligram per milliliter",W1="milli-equivalent",Z1="miu",Y1="international units",K1="millimole",Q1="{count, plural, one{effervescent tablet} other{effervescent tablets}}",J1="microgram",X1="{count, plural, one{bandage} other{bandages}}",e_="{count, plural, one{piece} other{pieces}}",t_="{count, plural, one{spray} other{sprays}}",n_="liter",r_="{count, plural, one{syringe} other{syringes}}",a_="{count, plural, one{ampoule} other{ampoules}}",i_="{count, plural, one{bottle} other{bottles}}",o_="{count, plural, one{syringe ampoule} other{syringe ampoules}}",xJ={"00001":r1,"00002":a1,"00003":i1,"00004":o1,"00005":s1,"00006":l1,"00007":u1,"00008":c1,"00009":d1,"00010":h1,"00011":p1,"00012":m1,"00013":f1,"00014":g1,"00015":v1,"00016":b1,"00017":y1,"00018":_1,"00019":w1,"00020":x1,"00021":E1,"00022":S1,"00023":k1,"00024":C1,"00025":I1,"00026":D1,"00027":N1,"00028":T1,"00029":M1,"00030":R1,cm:O1,dropsperminute:P1,gm:A1,internationalunits:L1,"mck/h":F1,"mck/kg/minute":j1,measure:V1,"mg/h":B1,"ml/h":z1,tbl:H1,tsp:q1,"unt/h":$1,mg:G1,"mg/ml":U1,meq:W1,miu:Z1,iu:Y1,mmol:K1,"effervescent-tablet":Q1,micrograms:J1,bandage:X1,piece:e_,box:t_,liter:n_,syringe:r_,ampoule:a_,bottle:i_,"syringe-ampoule":o_},s_={};re(s_,{"00001":()=>l_,"00002":()=>u_,"00003":()=>c_,"00004":()=>d_,"00005":()=>h_,"00006":()=>p_,"00007":()=>m_,"00008":()=>f_,"00009":()=>g_,"00010":()=>v_,"00011":()=>b_,"00012":()=>y_,"00013":()=>__,"00014":()=>w_,"00015":()=>x_,"00016":()=>E_,"00017":()=>S_,"00018":()=>k_,"00019":()=>C_,"00020":()=>I_,"00021":()=>D_,"00022":()=>N_,"00023":()=>T_,"00024":()=>M_,"00025":()=>R_,"00026":()=>O_,"00027":()=>P_,"00028":()=>A_,"00029":()=>L_,"00030":()=>F_,ampoule:()=>uw,bandage:()=>aw,bottle:()=>cw,box:()=>ow,cm:()=>j_,default:()=>EJ,dropsperminute:()=>V_,"effervescent-tablet":()=>nw,gm:()=>B_,internationalunits:()=>z_,iu:()=>ew,liter:()=>sw,"mck/h":()=>H_,"mck/kg/minute":()=>q_,measure:()=>$_,meq:()=>J_,mg:()=>K_,"mg/h":()=>G_,"mg/ml":()=>Q_,micrograms:()=>rw,miu:()=>X_,"ml/h":()=>U_,mmol:()=>tw,piece:()=>iw,syringe:()=>lw,"syringe-ampoule":()=>dw,tbl:()=>W_,tsp:()=>Z_,"unt/h":()=>Y_});var l_="{count, plural, one{cuillère à café (5 ml)} other{cuillères à café (5 ml)}}",u_="amp.",c_="applic.",d_="caps.",h_="compr.",p_="{count, plural, one{dose} other{doses}}",m_="{count, plural, one{goutte} other{gouttes}}",f_="flac.",g_="{count, plural, one{implant} other{implants}}",v_="{count, plural, one{perfusion} other{perfusions}}",b_="{count, plural, one{inhalation} other{inhalations}}",y_="insert",__="{count, plural, one{gomme à mâcher} other{gommes à mâcher}}",w_="{count, plural, one{compres(se)} other{compres(ses)}}",x_="{count, plural, one{lavement} other{lavements}}",E_="ml",S_="ov.",k_="{count, plural, one{perle} other{perles}}",C_="{count, plural, one{pastille} other{pastilles}}",I_="{count, plural, one{patch} other{patchs}}",D_="patr.",N_="{count, plural, one{stylo} other{stylos}}",T_="{count, plural, one{puff} other{puffs}}",M_="{count, plural, one{éponge} other{éponges}}",R_="{count, plural, one{stylo} other{stylos}}",O_="suppo",P_="{count, plural, one{tube} other{tubes}}",A_="{count, plural, one{mèche} other{mèches}}",L_="{count, plural, one{sac} other{sacs}}",F_="{count, plural, one{sachet} other{sachets}}",j_="{count, plural, one{centimètre} other{centimètres}}",V_="{count, plural, one{goute par minute} other{goutes par minute}}",B_="{count, plural, one{gramme} other{grammes}}",z_="{count, plural, one{unité internationales} other{unités internationales}}",H_="{count, plural, one{microgramme par heure} other{microgrammes par heure}}",q_="{count, plural, one{microgramme par kilogramme par minute} other{microgrammes par kilogramme par minute}}",$_="{count, plural, one{mesure} other{mesures}}",G_="{count, plural, one{milligramme par heure} other{milligrammes par heure}}",U_="{count, plural, one{millilitre par heure} other{millilitres par heure}}",W_="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",Z_="{count, plural, one{cuillère à café} other{cuillères à café}}",Y_="{count, plural, one{unité par heure} other{unités par heure}}",K_="{count, plural, one{miligramme} other{miligrammes}}",Q_="{count, plural, one{milligramme par millimètre} other{milligrammes par millimètre}}",J_="milli-équivalent",X_="miu",ew="{count, plural, one{unité internationales} other{unités internationales}}",tw="millimol",nw="{count, plural, one{comprimé effervescent} other{comprimés effervescents}}",rw="{count, plural, one{microgramme} other{microgrammes}}",aw="{count, plural, one{bandage} other{bandages}}",iw="{count, plural, one{pièce} other{pièces}}",ow="{count, plural, one{vaporisateur} other{vaporisateurs}}",sw="{count, plural, one{litre} other{litres}}",lw="{count, plural, one{seringue} other{seringues}}",uw="{count, plural, one{ampoule} other{ampoules}}",cw="{count, plural, one{fiole} other{fioles}}",dw="{count, plural, one{ampoule de seringue} other{ampoules de seringue}}",EJ={"00001":l_,"00002":u_,"00003":c_,"00004":d_,"00005":h_,"00006":p_,"00007":m_,"00008":f_,"00009":g_,"00010":v_,"00011":b_,"00012":y_,"00013":__,"00014":w_,"00015":x_,"00016":E_,"00017":S_,"00018":k_,"00019":C_,"00020":I_,"00021":D_,"00022":N_,"00023":T_,"00024":M_,"00025":R_,"00026":O_,"00027":P_,"00028":A_,"00029":L_,"00030":F_,cm:j_,dropsperminute:V_,gm:B_,internationalunits:z_,"mck/h":H_,"mck/kg/minute":q_,measure:$_,"mg/h":G_,"ml/h":U_,tbl:W_,tsp:Z_,"unt/h":Y_,mg:K_,"mg/ml":Q_,meq:J_,miu:X_,iu:ew,mmol:tw,"effervescent-tablet":nw,micrograms:rw,bandage:aw,piece:iw,box:ow,liter:sw,syringe:lw,ampoule:uw,bottle:cw,"syringe-ampoule":dw},hw={};re(hw,{"00001":()=>pw,"00002":()=>mw,"00003":()=>fw,"00004":()=>gw,"00005":()=>vw,"00006":()=>bw,"00007":()=>yw,"00008":()=>_w,"00009":()=>ww,"00010":()=>xw,"00011":()=>Ew,"00012":()=>Sw,"00013":()=>kw,"00014":()=>Cw,"00015":()=>Iw,"00016":()=>Dw,"00017":()=>Nw,"00018":()=>Tw,"00019":()=>Mw,"00020":()=>Rw,"00021":()=>Ow,"00022":()=>Pw,"00023":()=>Aw,"00024":()=>Lw,"00025":()=>Fw,"00026":()=>jw,"00027":()=>Vw,"00028":()=>Bw,"00029":()=>zw,"00030":()=>Hw,ampoule:()=>mx,bandage:()=>ux,bottle:()=>fx,box:()=>dx,cm:()=>qw,default:()=>SJ,dropsperminute:()=>$w,"effervescent-tablet":()=>sx,gm:()=>Gw,internationalunits:()=>Uw,iu:()=>ix,liter:()=>hx,"mck/h":()=>Ww,"mck/kg/minute":()=>Zw,measure:()=>Yw,meq:()=>rx,mg:()=>tx,"mg/h":()=>Kw,"mg/ml":()=>nx,micrograms:()=>lx,miu:()=>ax,"ml/h":()=>Qw,mmol:()=>ox,piece:()=>cx,syringe:()=>px,"syringe-ampoule":()=>gx,tbl:()=>Jw,tsp:()=>Xw,"unt/h":()=>ex});var pw="{count, plural, one{Koffielepel (5 ml)} other{Koffielepels (5 ml)}}",mw="{count, plural, one{ampule} other{ampullen}}",fw="aanbrengen",gw="{count, plural, one{capsule} other{capsules}}",vw="{count, plural, one{tablet} other{tabletten}}",bw="{count, plural, one{dose} other{dosissen}}",yw="{count, plural, one{druppel} other{druppels}}",_w="{count, plural, one{flesje} other{flesjes}}",ww="{count, plural, one{implantaat} other{implantaten}}",xw="{count, plural, one{infuus} other{infusen}}",Ew="{count, plural, one{inhalatie} other{inhalaties}}",Sw="inbrengen",kw="{count, plural, one{kauwgom} other{kauwgommen}}",Cw="{count, plural, one{kompres} other{kompressen}}",Iw="lavement",Dw="ml",Nw="{count, plural, one{ovule} other{ovules}}",Tw="{count, plural, one{parel} other{parels}}",Mw="{count, plural, one{pastille} other{pastilles}}",Rw="{count, plural, one{pleister} other{pleisters}}",Ow="{count, plural, one{patroon} other{patronen}}",Pw="{count, plural, one{pen} other{pennen}}",Aw="{count, plural, one{puff} other{puffs}}",Lw="{count, plural, one{spons} other{sponsen}}",Fw="{count, plural, one{stylo} other{stylos}}",jw="{count, plural, one{zetpil} other{zetpillen}}",Vw="{count, plural, one{tube} other{tubes}}",Bw="{count, plural, one{wiek} other{wieken}}",zw="{count, plural, one{zak} other{zakken}}",Hw="{count, plural, one{zakje} other{zakjes}}",qw="centimeter",$w="{count, plural, one{druppel per minuut} other{druppels per minuut}}",Gw="gram",Uw="internationale eenheden",Ww="microgram per uur",Zw="microgram per kilogram per minuut",Yw="{count, plural, one{maat} other{maten}}",Kw="milligram per uur",Qw="milliliter per uur",Jw="{count, plural, one{eetlepel} other{eetlepels}}",Xw="{count, plural, one{koffielepel} other{koffielepels}}",ex="{count, plural, one{eenheid per uur} other{eenheden per uur}}",tx="miligram",nx="miligram per milimeter",rx="milli-equivalent",ax="miu",ix="internationale eenheden",ox="millimol",sx="{count, plural, one{bruistablet} other{bruistabletten}}",lx="microgram",ux="{count, plural, one{verband} other{verbanden}}",cx="{count, plural, one{stuk} other{stuks}}",dx="{count, plural, one{verstuiving} other{verstuivingen}}",hx="liter",px="{count, plural, one{spuit} other{spuiten}}",mx="{count, plural, one{ampul} other{ampullen}}",fx="{count, plural, one{fles} other{flessen}}",gx="{count, plural, one{spuitampul} other{spuitampullen}}",SJ={"00001":pw,"00002":mw,"00003":fw,"00004":gw,"00005":vw,"00006":bw,"00007":yw,"00008":_w,"00009":ww,"00010":xw,"00011":Ew,"00012":Sw,"00013":kw,"00014":Cw,"00015":Iw,"00016":Dw,"00017":Nw,"00018":Tw,"00019":Mw,"00020":Rw,"00021":Ow,"00022":Pw,"00023":Aw,"00024":Lw,"00025":Fw,"00026":jw,"00027":Vw,"00028":Bw,"00029":zw,"00030":Hw,cm:qw,dropsperminute:$w,gm:Gw,internationalunits:Uw,"mck/h":Ww,"mck/kg/minute":Zw,measure:Yw,"mg/h":Kw,"ml/h":Qw,tbl:Jw,tsp:Xw,"unt/h":ex,mg:tx,"mg/ml":nx,meq:rx,miu:ax,iu:ix,mmol:ox,"effervescent-tablet":sx,micrograms:lx,bandage:ux,piece:cx,box:dx,liter:hx,syringe:px,ampoule:mx,bottle:fx,"syringe-ampoule":gx},kJ={nl:hw,fr:s_,de:Qb,en:n1},vx={};re(vx,{default:()=>CJ,friday:()=>xx,monday:()=>bx,saturday:()=>Ex,sunday:()=>Sx,thursday:()=>wx,tuesday:()=>yx,wednesday:()=>_x});var bx="Montag",yx="Dienstag",_x="Mittwoch",wx="Donnerstag",xx="Freitag",Ex="Samstag",Sx="Sonntag",CJ={monday:bx,tuesday:yx,wednesday:_x,thursday:wx,friday:xx,saturday:Ex,sunday:Sx},kx={};re(kx,{default:()=>IJ,friday:()=>Tx,monday:()=>Cx,saturday:()=>Mx,sunday:()=>Rx,thursday:()=>Nx,tuesday:()=>Ix,wednesday:()=>Dx});var Cx="Monday",Ix="Tuesday",Dx="Wednesday",Nx="Thursday",Tx="Friday",Mx="Saturday",Rx="Sunday",IJ={monday:Cx,tuesday:Ix,wednesday:Dx,thursday:Nx,friday:Tx,saturday:Mx,sunday:Rx},Ox={};re(Ox,{default:()=>DJ,friday:()=>jx,monday:()=>Px,saturday:()=>Vx,sunday:()=>Bx,thursday:()=>Fx,tuesday:()=>Ax,wednesday:()=>Lx});var Px="Lundi",Ax="Mardi",Lx="Mercredi",Fx="Jeudi",jx="Vendredi",Vx="Samedi",Bx="Dimanche",DJ={monday:Px,tuesday:Ax,wednesday:Lx,thursday:Fx,friday:jx,saturday:Vx,sunday:Bx},zx={};re(zx,{default:()=>NJ,friday:()=>Ux,monday:()=>Hx,saturday:()=>Wx,sunday:()=>Zx,thursday:()=>Gx,tuesday:()=>qx,wednesday:()=>$x});var Hx="Maandag",qx="Dinsdag",$x="Woensdag",Gx="Donderdag",Ux="Vrijdag",Wx="Zaterdag",Zx="Zondag",NJ={monday:Hx,tuesday:qx,wednesday:$x,thursday:Gx,friday:Ux,saturday:Wx,sunday:Zx},TJ={nl:zx,fr:Ox,de:vx,en:kx},Yx={};re(Yx,{VIDIS_0035:()=>Kx,VIDIS_0050:()=>Qx,VIDIS_0090:()=>Jx,VIDIS_0100:()=>Xx,VIDIS_0110:()=>eE,VIDIS_0120:()=>tE,VIDIS_0121:()=>nE,VIDIS_0122:()=>rE,VIDIS_0123:()=>aE,VIDIS_0124:()=>iE,VIDIS_0125:()=>oE,VIDIS_0126:()=>sE,VIDIS_0190:()=>lE,VIDIS_0200:()=>uE,VIDIS_0210:()=>cE,VIDIS_0211:()=>dE,VIDIS_0230:()=>hE,VIDIS_0290:()=>pE,VIDIS_0330:()=>mE,VIDIS_0340:()=>fE,VIDIS_0341:()=>gE,VIDIS_0400:()=>vE,VIDIS_0435:()=>bE,VIDIS_0440:()=>yE,VIDIS_5000:()=>_E,VIDIS_7000:()=>wE,default:()=>MJ,general:()=>EE,"has-hidden-prescriptions":()=>ME,invalid_date_format:()=>DE,myHealth:()=>kE,myHealthUrl:()=>CE,network_error:()=>IE,"no-access":()=>SE,prescriptionList:()=>xE,"status-message-content":()=>TE,"status-message-title":()=>NE});var Kx="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",Qx="Die Patienten-INSS fehlt. (VIDIS_0050)",Jx="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",Xx="Der Benutzer ist für diesen Vorgang nicht autorisiert. (VIDIS_0100)",eE="Der Patient hat keine informierte Einwilligung für den Austausch von Gesundheitsdaten erteilt. (VIDIS_0110)",tE="Es besteht keine therapeutische Beziehung zwischen der Bezugsperson und dem Patienten. (VIDIS_0120)",nE="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",rE="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",aE="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",iE="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",oE="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",sE="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",lE="Ungültige INSS-Patientennummer. (VIDIS_0190)",uE="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen. (VIDIS_0200)",cE="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",dE="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",hE="Der Vorgang ist ungültig (VIDIS_0230)",pE='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',mE="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)",fE="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. (VIDIS_0340)",gE="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. (VIDIS_0341)",vE="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später nochmal. (VIDIS_0400)",bE="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",yE="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",_E="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",wE="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",xE="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",EE="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",SE="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",kE="Zurück zum Portal Meine Gesundheit",CE="https://wwwint.meinegesundheit.belgien.be/#/",IE="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",DE="Ungültiges Datumsformat.",NE="Dienst vorübergehend nicht verfügbar",TE=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
30
- Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.`,ME="Der Patient hat ein oder mehrere Verschreibungen ausgeblendet.",MJ={VIDIS_0035:Kx,VIDIS_0050:Qx,VIDIS_0090:Jx,VIDIS_0100:Xx,VIDIS_0110:eE,VIDIS_0120:tE,VIDIS_0121:nE,VIDIS_0122:rE,VIDIS_0123:aE,VIDIS_0124:iE,VIDIS_0125:oE,VIDIS_0126:sE,VIDIS_0190:lE,VIDIS_0200:uE,VIDIS_0210:cE,VIDIS_0211:dE,VIDIS_0230:hE,VIDIS_0290:pE,VIDIS_0330:mE,VIDIS_0340:fE,VIDIS_0341:gE,VIDIS_0400:vE,VIDIS_0435:bE,VIDIS_0440:yE,VIDIS_5000:_E,VIDIS_7000:wE,prescriptionList:xE,general:EE,"no-access":SE,myHealth:kE,myHealthUrl:CE,network_error:IE,invalid_date_format:DE,"status-message-title":NE,"status-message-content":TE,"has-hidden-prescriptions":ME},RE={};re(RE,{VIDIS_0035:()=>OE,VIDIS_0050:()=>PE,VIDIS_0090:()=>AE,VIDIS_0100:()=>LE,VIDIS_0110:()=>FE,VIDIS_0120:()=>jE,VIDIS_0121:()=>VE,VIDIS_0122:()=>BE,VIDIS_0123:()=>zE,VIDIS_0124:()=>HE,VIDIS_0125:()=>qE,VIDIS_0126:()=>$E,VIDIS_0190:()=>GE,VIDIS_0200:()=>UE,VIDIS_0210:()=>WE,VIDIS_0211:()=>ZE,VIDIS_0230:()=>YE,VIDIS_0290:()=>KE,VIDIS_0330:()=>QE,VIDIS_0340:()=>JE,VIDIS_0341:()=>XE,VIDIS_0400:()=>eS,VIDIS_0435:()=>tS,VIDIS_0440:()=>nS,VIDIS_5000:()=>rS,VIDIS_7000:()=>aS,default:()=>RJ,general:()=>oS,"has-hidden-prescriptions":()=>mS,invalid_date_format:()=>dS,myHealth:()=>lS,myHealthUrl:()=>uS,network_error:()=>cS,"no-access":()=>sS,prescriptionList:()=>iS,"status-message-content":()=>pS,"status-message-title":()=>hS});var OE="Unfortunately, this did not succeed. Please try again. (VIDIS_0035)",PE="The patient's NISS number is missing (VIDIS_0050)",AE="The personal information provided was not recognised. (VIDIS_0090)",LE="The user is not allowed to perform the operation. (VIDIS_0100)",FE="The patient did not give informed consent to share personal health information. (VIDIS_0110)",jE="There is no therapeutic relationship between the healthcare provider and the patient. (VIDIS_0120)",VE="Consulting data of a Brussels patient is currently not authorised.",BE="Consulting data of a Walloon patient is currently not authorised.",zE="Consulting data of a Brussels child by a parent is currently not authorised.",HE="Consulting data of a Walloon child by a parent is currently not authorised.",qE="Consulting data of a Brussels patient by a power of attorney is currently not authorised.",$E="Consulting data of a Walloon patient by a power of attorney is currently not authorised.",GE="The patient's NISS number is invalid. (VIDIS_0190)",UE="The user is not allowed to perform the operation because an exclusion exists between the applicant and the patient. (VIDIS_0200)",WE="The login was unsuccessful. Please try again. (VIDIS_0210)",ZE="The login was unsuccessful. Please try again. (VIDIS_0211)",YE="The request is invalid. (VIDIS_0230)",KE="User role must be citizen. (VIDIS_0290)",QE="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)",JE="You are not authorised to view this patient's data because your visa is not active. Please contact the FPS Health via the email address visa@health.fgov.be",XE="You are not authorised to view this patient's details because - or your visa is not active. Please contact the FPS Health via the email address visa@health.fgov.be - or the NIHDI number of the pharmacy is not valid. Please contact the NIHDI via the e-mail address dossierpharma@riziv-inami.fgov.be (VIDIS_0341)",eS="You request in invalid. Please try again later. (VIDIS_0400)",tS="Cannot determine the storage region of the medication scheme. (VIDIS_0435)",nS="Unfortunately, this did not succeed. Please try again. (VIDIS_0440)",rS="Unfortunately your data could not be retrieved. Please try again. (VIDIS_5000)",aS="Unfortunately, this did not succeed. Please try again. (VIDIS_7000)",iS="Unfortunately the details of the prescription could not be retrieved. Please try again.",oS="An internal technical error has occured. Please try again later.",sS="An internal technical error has occured. Please try again later.",lS="Back to the MyHealth portal.",uS="https://www.myhealth.belgium.be/",cS="A network error unfortunately has occured. Please contact your network manager if the problem persists.",dS="Invalid date format.",hS="Service temporarily unavailable",pS=`We are currently having a problem connecting to the server.
31
- Please try again later.`,mS="The patient has hidden one or more prescriptions.",RJ={VIDIS_0035:OE,VIDIS_0050:PE,VIDIS_0090:AE,VIDIS_0100:LE,VIDIS_0110:FE,VIDIS_0120:jE,VIDIS_0121:VE,VIDIS_0122:BE,VIDIS_0123:zE,VIDIS_0124:HE,VIDIS_0125:qE,VIDIS_0126:$E,VIDIS_0190:GE,VIDIS_0200:UE,VIDIS_0210:WE,VIDIS_0211:ZE,VIDIS_0230:YE,VIDIS_0290:KE,VIDIS_0330:QE,VIDIS_0340:JE,VIDIS_0341:XE,VIDIS_0400:eS,VIDIS_0435:tS,VIDIS_0440:nS,VIDIS_5000:rS,VIDIS_7000:aS,prescriptionList:iS,general:oS,"no-access":sS,myHealth:lS,myHealthUrl:uS,network_error:cS,invalid_date_format:dS,"status-message-title":hS,"status-message-content":pS,"has-hidden-prescriptions":mS},fS={};re(fS,{VIDIS_0035:()=>gS,VIDIS_0050:()=>vS,VIDIS_0090:()=>bS,VIDIS_0100:()=>yS,VIDIS_0110:()=>_S,VIDIS_0120:()=>wS,VIDIS_0121:()=>xS,VIDIS_0122:()=>ES,VIDIS_0123:()=>SS,VIDIS_0124:()=>kS,VIDIS_0125:()=>CS,VIDIS_0126:()=>IS,VIDIS_0190:()=>DS,VIDIS_0200:()=>NS,VIDIS_0210:()=>TS,VIDIS_0211:()=>MS,VIDIS_0230:()=>RS,VIDIS_0290:()=>OS,VIDIS_0330:()=>PS,VIDIS_0340:()=>AS,VIDIS_0341:()=>LS,VIDIS_0400:()=>FS,VIDIS_0435:()=>jS,VIDIS_0440:()=>VS,VIDIS_5000:()=>BS,VIDIS_7000:()=>zS,default:()=>OJ,general:()=>qS,"has-hidden-prescriptions":()=>QS,invalid_date_format:()=>ZS,myHealth:()=>GS,myHealthUrl:()=>US,network_error:()=>WS,"no-access":()=>$S,prescriptionList:()=>HS,"status-message-content":()=>KS,"status-message-title":()=>YS});var gS="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0035)",vS="Le NISS du patient est manquant. (VIDIS_0050)",bS="Les informations personnelles fournies n'ont pas été reconnues. (VIDIS_0090)",yS="L’utilisateur n’est pas autorisé à effectuer l’opération. (VIDIS_0100)",_S="Le patient n’a pas donné son consentement éclairé pour partager des informations personnelles sur sa santé. (VIDIS_0110)",wS="Il n’y a pas de relation thérapeutique entre le soignant et le patient. (VIDIS_0120)",xS="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",ES="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",SS="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",kS="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",CS="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",IS="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",DS="Le NISS du patient n’est pas valide. (VIDIS_0190)",NS="L’utilisateur n’est pas autorisé à effectuer l’opération en raison d’une exclusion entre le demandeur et le patient. (VIDIS_0200)",TS="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0210)",MS="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0211)",RS="L’opération n’est pas valide. (VIDIS_0230)",OS="Le rôle d’utilisateur doit être citoyen (VIDIS_0290)",PS="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)",AS="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 (VIDIS_0340)",LS="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 (VIDIS_0341)",FS="Votre requête est invalide. Veuillez réessayer plus tard. (VIDIS_0400)",jS="Impossible de déterminer la région de stockage du schéma de médication. (VIDIS_0435)",VS="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0440)",BS="Malheureusement, nous n'avons pas pu récupérer vos données. Voulez-vous réessayer ? (VIDIS_5000)",zS="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_7000)",HS="Malheureusement, il n’a pas été possible de retrouver les détails de la prescription. Essayez-vous à nouveau?",qS="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",$S="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",GS="Revenir au portail MaSanté",US="https://wwwint.masante.belgique.be/#/",WS="Désolé, une erreur réseau s'est produite. Veuillez contacter votre administrateur réseau si le problème persiste.",ZS="Le format de date est invalide.",YS="Service temporairement indisponible",KS=`Nous rencontrons actuellement un problème de connexion au serveur.
32
- Veuillez réessayer plus tard.`,QS="Le patient a masqué une ou plusieurs prescriptions.",OJ={VIDIS_0035:gS,VIDIS_0050:vS,VIDIS_0090:bS,VIDIS_0100:yS,VIDIS_0110:_S,VIDIS_0120:wS,VIDIS_0121:xS,VIDIS_0122:ES,VIDIS_0123:SS,VIDIS_0124:kS,VIDIS_0125:CS,VIDIS_0126:IS,VIDIS_0190:DS,VIDIS_0200:NS,VIDIS_0210:TS,VIDIS_0211:MS,VIDIS_0230:RS,VIDIS_0290:OS,VIDIS_0330:PS,VIDIS_0340:AS,VIDIS_0341:LS,VIDIS_0400:FS,VIDIS_0435:jS,VIDIS_0440:VS,VIDIS_5000:BS,VIDIS_7000:zS,prescriptionList:HS,general:qS,"no-access":$S,myHealth:GS,myHealthUrl:US,network_error:WS,invalid_date_format:ZS,"status-message-title":YS,"status-message-content":KS,"has-hidden-prescriptions":QS},JS={};re(JS,{VIDIS_0035:()=>XS,VIDIS_0050:()=>ek,VIDIS_0090:()=>tk,VIDIS_0100:()=>nk,VIDIS_0110:()=>rk,VIDIS_0120:()=>ak,VIDIS_0121:()=>ik,VIDIS_0122:()=>ok,VIDIS_0123:()=>sk,VIDIS_0124:()=>lk,VIDIS_0125:()=>uk,VIDIS_0126:()=>ck,VIDIS_0190:()=>dk,VIDIS_0200:()=>hk,VIDIS_0210:()=>pk,VIDIS_0211:()=>mk,VIDIS_0230:()=>fk,VIDIS_0290:()=>gk,VIDIS_0330:()=>vk,VIDIS_0340:()=>bk,VIDIS_0341:()=>yk,VIDIS_0400:()=>_k,VIDIS_0435:()=>wk,VIDIS_0440:()=>xk,VIDIS_5000:()=>Ek,VIDIS_7000:()=>Sk,default:()=>PJ,general:()=>Ck,"has-hidden-prescriptions":()=>Pk,invalid_date_format:()=>Mk,myHealth:()=>Dk,myHealthUrl:()=>Nk,network_error:()=>Tk,"no-access":()=>Ik,prescriptionList:()=>kk,"status-message-content":()=>Ok,"status-message-title":()=>Rk});var XS="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0035)",ek="Het INSZ-patiëntnummer ontbreekt. (VIDIS_0050)",tk="De persoonlijke informatie verstrekt werd niet herkend. (VIDIS_0090)",nk="De gebruiker mag de bewerking niet uitvoeren. (VIDIS_0100)",rk="De patiënt heeft geen geïnformeerde toestemming gegeven om persoonlijke gezondheidsinformatie te delen. (VIDIS_0110)",ak="Er is geen therapeutische relatie tussen de zorgverlener en de patiënt. (VIDIS_0120)",ik="Het raadplegen van gegevens van een Brusselse patiënt is momenteel niet toegelaten.",ok="Het raadplegen van gegevens van een Waalse patiënt is op dit moment niet toegelaten.",sk="Het raadplegen van gegevens van een Brusselse kind door een ouder is momenteel niet toegelaten.",lk="Het raadplegen van gegevens van een Waalse kind door een ouder is momenteel niet toegelaten.",uk="Het raadplegen van gegevens van een Brusselse patiënt door een volmacht is momenteel niet toegelaten.",ck="Het raadplegen van gegevens van een Waalse patiënt door een volmacht is momenteel niet toegelaten.",dk="Het INSZ-patiëntnummer is ongeldig. (VIDIS_0190)",hk="De gebruiker mag de bewerking niet uitvoeren omdat er een uitsluiting bestaat tussen de aanvrager en de patiënt. (VIDIS_0200)",pk="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0210)",mk="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0211)",fk="Het verzoek is ongeldig. (VIDIS_0230)",gk="Gebruikersrol moet burger zijn. (VIDIS_0290)",vk="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)",bk="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 (VIDIS_0340)",yk="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 (VIDIS_0341)",_k="Uw aanvraag is ongeldig. Probeer het later opnieuw. (VIDIS_0400)",wk="Kan de opslagregio van het medicatieschema niet bepalen. (VIDIS_0435)",xk="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0440)",Ek="Het is jammer genoeg niet gelukt uw gegevens op te halen. Probeert u het even opnieuw? (VIDIS_5000)",Sk="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_7000)",kk="Het is jammer genoeg niet gelukt de details van het voorschrift op te halen. Probeert u het even opnieuw?",Ck="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",Ik="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",Dk="Terug naar het MijnGezondheid portaal",Nk="http://wwwint.mijngezondheid.belgie.be/",Tk="Er is helaas een netwerkfout opgetreden. Neem contact op met uw netwerkbeheerder als het probleem aanhoudt.",Mk="Ongeldig datumformaat.",Rk="Service tijdelijk niet beschikbaar",Ok=`Er is momenteel een probleem met de verbinding met de server.
33
- Probeer het later nog eens.`,Pk='has-hidden-prescriptions": "De patiënt heeft 1 of meerdere voorschriften verborgen.',PJ={VIDIS_0035:XS,VIDIS_0050:ek,VIDIS_0090:tk,VIDIS_0100:nk,VIDIS_0110:rk,VIDIS_0120:ak,VIDIS_0121:ik,VIDIS_0122:ok,VIDIS_0123:sk,VIDIS_0124:lk,VIDIS_0125:uk,VIDIS_0126:ck,VIDIS_0190:dk,VIDIS_0200:hk,VIDIS_0210:pk,VIDIS_0211:mk,VIDIS_0230:fk,VIDIS_0290:gk,VIDIS_0330:vk,VIDIS_0340:bk,VIDIS_0341:yk,VIDIS_0400:_k,VIDIS_0435:wk,VIDIS_0440:xk,VIDIS_5000:Ek,VIDIS_7000:Sk,prescriptionList:kk,general:Ck,"no-access":Ik,myHealth:Dk,myHealthUrl:Nk,network_error:Tk,invalid_date_format:Mk,"status-message-title":Rk,"status-message-content":Ok,"has-hidden-prescriptions":Pk},AJ={nl:JS,fr:fS,de:Yx,en:RE},Ak={};re(Ak,{1:()=>Lk,10:()=>Gk,11:()=>Uk,12:()=>Wk,13:()=>Zk,14:()=>Yk,15:()=>Kk,16:()=>Qk,17:()=>Jk,18:()=>Xk,19:()=>eC,2:()=>Fk,20:()=>tC,21:()=>nC,22:()=>rC,23:()=>aC,24:()=>iC,25:()=>oC,26:()=>sC,27:()=>lC,28:()=>uC,29:()=>cC,3:()=>jk,30:()=>dC,31:()=>hC,32:()=>pC,33:()=>mC,34:()=>fC,4:()=>Vk,40:()=>gC,41:()=>vC,5:()=>Bk,6:()=>zk,7:()=>Hk,71:()=>bC,8:()=>qk,9:()=>$k,90:()=>yC,91:()=>_C,92:()=>wC,93:()=>xC,default:()=>LJ});var Lk="Gelatinekapseln",Fk="Tabletten",jk="Creme",Vk="Gel",Bk="Paste",zk="Fette Salbe",Hk="Granulat",qk="Zäpfchen für Erwachsene",$k="Zäpfchen für Kinder",Gk="Vaginalzäpfchen",Uk="Rektiole",Wk="nicht gespaltenes Pulver innerliche Anwendung",Zk="nicht gespaltenes Pulver äußerliche Anwendung",Yk="Inhalation",Kk="Pulver Zum Spalten innerliche Anwendung",Qk="Pulver Zum Spalten äußerliche Anwendung",Jk="Nasentropfen",Xk="Nasensalbe",eC="Sirup",tC="Lösung innerliche Anwendung",nC="Lösung äußerliche Anwendung",rC="Tropfen innerliche Anwendung",aC="Tropfen äußerliche Anwendung",iC="Emulsion innerliche Anwendung",oC="Emulsion äußerliche Anwendung",sC="Shampoo",lC="Augentropfen",uC="Augenlotion",cC="Augenbad",dC="Salbe",hC="Augensalbe ",pC="Ohrentropfen",mC="Suspension innerliche Anwendung",fC="Suspension äußerliche Anwendung",gC="Kräutermischung",vC="Tee",bC="enterische Kapseln",yC="derartig",_C="Dermatologie (fest) derartig",wC="Pulver derartig",xC="Lösung derartig",LJ={1:Lk,2:Fk,3:jk,4:Vk,5:Bk,6:zk,7:Hk,8:qk,9:$k,10:Gk,11:Uk,12:Wk,13:Zk,14:Yk,15:Kk,16:Qk,17:Jk,18:Xk,19:eC,20:tC,21:nC,22:rC,23:aC,24:iC,25:oC,26:sC,27:lC,28:uC,29:cC,30:dC,31:hC,32:pC,33:mC,34:fC,40:gC,41:vC,71:bC,90:yC,91:_C,92:wC,93:xC},EC={};re(EC,{1:()=>SC,10:()=>OC,11:()=>PC,12:()=>AC,13:()=>LC,14:()=>FC,15:()=>jC,16:()=>VC,17:()=>BC,18:()=>zC,19:()=>HC,2:()=>kC,20:()=>qC,21:()=>$C,22:()=>GC,23:()=>UC,24:()=>WC,25:()=>ZC,26:()=>YC,27:()=>KC,28:()=>QC,29:()=>JC,3:()=>CC,30:()=>XC,31:()=>eI,32:()=>tI,33:()=>nI,34:()=>rI,4:()=>IC,40:()=>aI,41:()=>iI,5:()=>DC,6:()=>NC,7:()=>TC,71:()=>oI,8:()=>MC,9:()=>RC,90:()=>sI,91:()=>lI,92:()=>uI,93:()=>cI,default:()=>FJ});var SC="Capsules",kC="Tablets",CC="Cream",IC="Gel",DC="Paste",NC="Fatty ointment",TC="Granulate",MC="Adult suppository",RC="Child suppository",OC="Vaginal ovules",PC="Rectiole",AC="Undivided powder for internal use",LC="Undivided powder for external use",FC="Inhalation",jC="Divided powders for internal use",VC="Divided powders for external use",BC="Nasal drops",zC="Nasal ointment",HC="Syrup",qC="Solution for internal use",$C="Solution for external use",GC="Drops for internal use",UC="Drops for external use",WC="Emulsion for internal use",ZC="Emulsion for external use",YC="Shampoo",KC="Eye drops",QC="Eye lotion",JC="Eye bath",XC="Ointment",eI="Eye ointment",tI="Ear drops",nI="Suspension for internal use",rI="Suspension for external use",aI="Herbal mixture",iI="Tea",oI="Enteric-coated capsules",sI="As is",lI="Dermatology (solid) as is",uI="Powder as is",cI="Liquid as is",FJ={1:SC,2:kC,3:CC,4:IC,5:DC,6:NC,7:TC,8:MC,9:RC,10:OC,11:PC,12:AC,13:LC,14:FC,15:jC,16:VC,17:BC,18:zC,19:HC,20:qC,21:$C,22:GC,23:UC,24:WC,25:ZC,26:YC,27:KC,28:QC,29:JC,30:XC,31:eI,32:tI,33:nI,34:rI,40:aI,41:iI,71:oI,90:sI,91:lI,92:uI,93:cI},dI={};re(dI,{1:()=>hI,10:()=>wI,11:()=>xI,12:()=>EI,13:()=>SI,14:()=>kI,15:()=>CI,16:()=>II,17:()=>DI,18:()=>NI,19:()=>TI,2:()=>pI,20:()=>MI,21:()=>RI,22:()=>OI,23:()=>PI,24:()=>AI,25:()=>LI,26:()=>FI,27:()=>jI,28:()=>VI,29:()=>BI,3:()=>mI,30:()=>zI,31:()=>HI,32:()=>qI,33:()=>$I,34:()=>GI,4:()=>fI,40:()=>UI,41:()=>WI,5:()=>gI,6:()=>vI,7:()=>bI,71:()=>ZI,8:()=>yI,9:()=>_I,90:()=>YI,91:()=>KI,92:()=>QI,93:()=>JI,default:()=>jJ});var hI="Gélules",pI="Cachets / comprimés",mI="Crème",fI="Gel",gI="Pâte",vI="Pommade grasse",bI="Granulé",yI="Suppo adulte",_I="Suppo enfant",wI="Ovules vaginales",xI="Rectiole",EI="Poudre non-divisée usage interne",SI="Poudre non-divisée usage externe",kI="Inhalation",CI="Poudres à diviser usage interne",II="Poudres à diviser usage externe",DI="Gouttes nasales",NI="Pommade nasale",TI="Sirop",MI="Solution usage interne",RI="Solution usage externe",OI="Gouttes usage interne",PI="Gouttes usage externe",AI="Emulsion usage interne",LI="Emulsion usage externe",FI="Shampooing",jI="Gouttes ophtalmiques",VI="Lotion ophtalmique",BI="Bain ophtalmique",zI="Pommade",HI="Pommade ophtalmique",qI="Gouttes auriculaires",$I="Suspension usage interne",GI="Suspension usage externe",UI="Mélange de plantes",WI="Thé",ZI="Gélules à enrobage entérique / Gélules entériques",YI="en tant que tel/telle",KI="Dermatologie (solide) en tant que telle",QI="Poudre en tant que telle ",JI="Solution en tant que telle ",jJ={1:hI,2:pI,3:mI,4:fI,5:gI,6:vI,7:bI,8:yI,9:_I,10:wI,11:xI,12:EI,13:SI,14:kI,15:CI,16:II,17:DI,18:NI,19:TI,20:MI,21:RI,22:OI,23:PI,24:AI,25:LI,26:FI,27:jI,28:VI,29:BI,30:zI,31:HI,32:qI,33:$I,34:GI,40:UI,41:WI,71:ZI,90:YI,91:KI,92:QI,93:JI},XI={};re(XI,{1:()=>e2,10:()=>u2,11:()=>c2,12:()=>d2,13:()=>h2,14:()=>p2,15:()=>m2,16:()=>f2,17:()=>g2,18:()=>v2,19:()=>b2,2:()=>t2,20:()=>y2,21:()=>_2,22:()=>w2,23:()=>x2,24:()=>E2,25:()=>S2,26:()=>k2,27:()=>C2,28:()=>I2,29:()=>D2,3:()=>n2,30:()=>N2,31:()=>T2,32:()=>M2,33:()=>R2,34:()=>O2,4:()=>r2,40:()=>P2,41:()=>A2,5:()=>a2,6:()=>i2,7:()=>o2,71:()=>L2,8:()=>s2,9:()=>l2,90:()=>F2,91:()=>j2,92:()=>V2,93:()=>B2,default:()=>VJ});var e2="Capsules",t2="Tabletten",n2="Creme",r2="Gel",a2="Pasta",i2="Vette zalf",o2="Granulaat",s2="Suppo volwassene",l2="Suppo kind",u2="Vaginale zetpillen / vaginale ovules",c2="Rektiool",d2="Niet-verdeeld poeder inwendig gebruik",h2="Niet-verdeeld poeder uitwendig gebruik",p2="Inhalatie",m2="Te verdelen poeders inwendig gebruik",f2="Te verdelen poeders uitwendig gebruik",g2="Neusdruppels",v2="Neuszalf",b2="Siroop",y2="Oplossing inwendig gebruik",_2="Oplossing uitwendig gebruik",w2="Druppels inwendig gebruik",x2="Druppels uitwendig gebruik",E2="Emulsie inwendig gebruik",S2="Emulsie uitwendig gebruik",k2="Shampoo",C2="Oogdruppels",I2="Ooglotion",D2="Oogbad",N2="Zalf",T2="Oogzalf",M2="Oordruppels",R2="Suspensie inwendig gebruik",O2="Suspensie uitwendig gebruik",P2="Kruidenmengsel",A2="Thee",L2="enterisch omhulde capsules",F2="Als dusdanig",j2="Als dusdanig dermatologie (vast)",V2="Als dusdanig poeder",B2="Als dusdanig vloeistof",VJ={1:e2,2:t2,3:n2,4:r2,5:a2,6:i2,7:o2,8:s2,9:l2,10:u2,11:c2,12:d2,13:h2,14:p2,15:m2,16:f2,17:g2,18:v2,19:b2,20:y2,21:_2,22:w2,23:x2,24:E2,25:S2,26:k2,27:C2,28:I2,29:D2,30:N2,31:T2,32:M2,33:R2,34:O2,40:P2,41:A2,71:L2,90:F2,91:j2,92:V2,93:B2},BJ={nl:XI,fr:dI,de:Ak,en:EC},z2={};re(z2,{close:()=>H2,default:()=>zJ,downloadLeaflet:()=>q2,file:()=>$2});var H2="Schließen",q2="Download Packungsbeilage (pdf)",$2="feile",zJ={close:H2,downloadLeaflet:q2,file:$2},G2={};re(G2,{close:()=>U2,default:()=>HJ,downloadLeaflet:()=>W2,file:()=>Z2});var U2="Close",W2="Download leaflet (pdf)",Z2="file",HJ={close:U2,downloadLeaflet:W2,file:Z2},Y2={};re(Y2,{close:()=>K2,default:()=>qJ,downloadLeaflet:()=>Q2,file:()=>J2});var K2="Fermer",Q2="Télécharger la notice (pdf)",J2="fichier",qJ={close:K2,downloadLeaflet:Q2,file:J2},X2={};re(X2,{close:()=>eD,default:()=>$J,downloadLeaflet:()=>tD,file:()=>nD});var eD="Sluiten",tD="Download bijsluiter (pdf)",nD="bestand",$J={close:eD,downloadLeaflet:tD,file:nD},GJ={nl:X2,fr:Y2,de:z2,en:G2},rD={};re(rD,{afterbreakfast:()=>aD,afterdinner:()=>iD,afterlunch:()=>oD,aftermeal:()=>sD,afternoon:()=>lD,beforebreakfast:()=>uD,beforedinner:()=>cD,beforelunch:()=>dD,betweenbreakfastandlunch:()=>hD,betweendinnerandsleep:()=>pD,betweenlunchanddinner:()=>mD,betweenmeals:()=>fD,breakfast:()=>gD,default:()=>UJ,dinner:()=>vD,duringbreakfast:()=>bD,duringdinner:()=>yD,duringlunch:()=>_D,evening:()=>wD,lunch:()=>xD,morning:()=>ED,night:()=>SD,thehourofsleep:()=>kD});var aD="nach dem Frühstück",iD="nach dem Abendessen",oD="nach dem Mittagessen",sD="nach dem Essen",lD="Nachmittag",uD="vor dem Frühstück",cD="vor dem Abendessen",dD="vor dem Mittagessen",hD="zwischen Frühstück und Mittagessen",pD="zwischen Abendessen und Nachtruhe",mD="zwischen Mittagessen und Abendessen",fD="zwischen den Mahlzeiten",gD="Frühstück",vD="Abendessen",bD="zum Frühstück",yD="zum Abendessen",_D="zum Mittagessen",wD="Abend",xD="Mittagessen",ED="Vormittag",SD="Nacht",kD="Nachtruhe",UJ={afterbreakfast:aD,afterdinner:iD,afterlunch:oD,aftermeal:sD,afternoon:lD,beforebreakfast:uD,beforedinner:cD,beforelunch:dD,betweenbreakfastandlunch:hD,betweendinnerandsleep:pD,betweenlunchanddinner:mD,betweenmeals:fD,breakfast:gD,dinner:vD,duringbreakfast:bD,duringdinner:yD,duringlunch:_D,evening:wD,lunch:xD,morning:ED,night:SD,thehourofsleep:kD},CD={};re(CD,{afterbreakfast:()=>ID,afterdinner:()=>DD,afterlunch:()=>ND,aftermeal:()=>TD,afternoon:()=>MD,beforebreakfast:()=>RD,beforedinner:()=>OD,beforelunch:()=>PD,betweenbreakfastandlunch:()=>AD,betweendinnerandsleep:()=>LD,betweenlunchanddinner:()=>FD,betweenmeals:()=>jD,breakfast:()=>VD,default:()=>WJ,dinner:()=>BD,duringbreakfast:()=>zD,duringdinner:()=>HD,duringlunch:()=>qD,evening:()=>$D,lunch:()=>GD,morning:()=>UD,night:()=>WD,thehourofsleep:()=>ZD});var ID="after breakfast",DD="after dinner",ND="after lunch",TD="after meal",MD="afternoon",RD="before breakfast",OD="before dinner",PD="before lunch",AD="between breakfast and lunch",LD="between dinner and the hour of sleep",FD="between lunch and dinner",jD="between meals",VD="breakfast",BD="dinner",zD="during breakfast",HD="during dinner",qD="during lunch",$D="evening",GD="lunch",UD="morning",WD="night",ZD="the hour of sleep",WJ={afterbreakfast:ID,afterdinner:DD,afterlunch:ND,aftermeal:TD,afternoon:MD,beforebreakfast:RD,beforedinner:OD,beforelunch:PD,betweenbreakfastandlunch:AD,betweendinnerandsleep:LD,betweenlunchanddinner:FD,betweenmeals:jD,breakfast:VD,dinner:BD,duringbreakfast:zD,duringdinner:HD,duringlunch:qD,evening:$D,lunch:GD,morning:UD,night:WD,thehourofsleep:ZD},YD={};re(YD,{afterbreakfast:()=>KD,afterdinner:()=>QD,afterlunch:()=>JD,aftermeal:()=>XD,afternoon:()=>eN,beforebreakfast:()=>tN,beforedinner:()=>nN,beforelunch:()=>rN,betweenbreakfastandlunch:()=>aN,betweendinnerandsleep:()=>iN,betweenlunchanddinner:()=>oN,betweenmeals:()=>sN,breakfast:()=>lN,default:()=>ZJ,dinner:()=>uN,duringbreakfast:()=>cN,duringdinner:()=>dN,duringlunch:()=>hN,evening:()=>pN,lunch:()=>mN,morning:()=>fN,night:()=>gN,thehourofsleep:()=>vN});var KD="après le petit-déjeuner",QD="après le repas du soir",JD="après le repas du midi",XD="après le repas",eN="après-midi",tN="avant le petit-déjeuner",nN="avant le repas du soir",rN="avant le repas du midi",aN="entre le petit-déjeuner et le repas du midi",iN="entre le repas du soir et l’heure du coucher",oN="entre le repas du midi et le repas du soir",sN="entre les repas",lN="petit-déjeuner",uN="repas du soir",cN="pendant le petit-déjeuner",dN="pendant le repas du soir",hN="pendant le repas du midi",pN="soir",mN="repas du midi",fN="matin",gN="nuit",vN="heure du coucher",ZJ={afterbreakfast:KD,afterdinner:QD,afterlunch:JD,aftermeal:XD,afternoon:eN,beforebreakfast:tN,beforedinner:nN,beforelunch:rN,betweenbreakfastandlunch:aN,betweendinnerandsleep:iN,betweenlunchanddinner:oN,betweenmeals:sN,breakfast:lN,dinner:uN,duringbreakfast:cN,duringdinner:dN,duringlunch:hN,evening:pN,lunch:mN,morning:fN,night:gN,thehourofsleep:vN},bN={};re(bN,{afterbreakfast:()=>yN,afterdinner:()=>_N,afterlunch:()=>wN,aftermeal:()=>xN,afternoon:()=>EN,beforebreakfast:()=>SN,beforedinner:()=>kN,beforelunch:()=>CN,betweenbreakfastandlunch:()=>IN,betweendinnerandsleep:()=>DN,betweenlunchanddinner:()=>NN,betweenmeals:()=>TN,breakfast:()=>MN,default:()=>YJ,dinner:()=>RN,duringbreakfast:()=>ON,duringdinner:()=>PN,duringlunch:()=>AN,evening:()=>LN,lunch:()=>FN,morning:()=>jN,night:()=>VN,thehourofsleep:()=>BN});var yN="na het ontbijt",_N="na het avondmaal",wN="na het middagmaal",xN="na de maaltijd",EN="namiddag",SN="voor het ontbijt",kN="voor het avondmaal",CN="voor het middagmaal",IN="tussen het ontbijt en het middagmaal",DN="tussen het avondmaal en het slapen gaan",NN="tussen het middagmaal en het avondmaal",TN="tussen de maaltijden",MN="ontbijt",RN="avondmaal",ON="tijdens het ontbijt",PN="tijdens het avondmaal",AN="tijdens het middagmaal",LN="'s avonds",FN="middagmaal",jN="'s ochtends",VN="'s nachts",BN="voor het slapen gaan",YJ={afterbreakfast:yN,afterdinner:_N,afterlunch:wN,aftermeal:xN,afternoon:EN,beforebreakfast:SN,beforedinner:kN,beforelunch:CN,betweenbreakfastandlunch:IN,betweendinnerandsleep:DN,betweenlunchanddinner:NN,betweenmeals:TN,breakfast:MN,dinner:RN,duringbreakfast:ON,duringdinner:PN,duringlunch:AN,evening:LN,lunch:FN,morning:jN,night:VN,thehourofsleep:BN},KJ={nl:bN,fr:YD,de:rD,en:CD},zN={};re(zN,{day:()=>HN,default:()=>QJ,during:()=>GN,on:()=>$N,week:()=>qN});var HN="Tag",qN="Woche",$N="am",GN="für",QJ={day:HN,week:qN,on:$N,during:GN},UN={};re(UN,{day:()=>WN,default:()=>JJ,during:()=>KN,on:()=>YN,week:()=>ZN});var WN="day",ZN="week",YN="on",KN="during",JJ={day:WN,week:ZN,on:YN,during:KN},QN={};re(QN,{day:()=>JN,default:()=>XJ,during:()=>tT,on:()=>eT,week:()=>XN});var JN="jour",XN="semaine",eT="le",tT="durant",XJ={day:JN,week:XN,on:eT,during:tT},nT={};re(nT,{day:()=>rT,default:()=>eX,during:()=>oT,on:()=>iT,week:()=>aT});var rT="dag",aT="week",iT="op",oT="gedurende",eX={day:rT,week:aT,on:iT,during:oT},tX={nl:nT,fr:QN,de:zN,en:UN},sT={};re(sT,{a:()=>lT,d:()=>dT,default:()=>nX,hr:()=>hT,min:()=>pT,mo:()=>uT,ms:()=>fT,ns:()=>vT,s:()=>mT,us:()=>gT,wk:()=>cT});var lT="{count} {count, plural, one{Jahr} other{Jahre}}",uT="{count} {count, plural, one{Monat} other{Monate}}",cT="{count} {count, plural, one{Woche} other{Wochen}}",dT="{count} {count, plural, one{Tag} other{Tage}}",hT="{count} {count, plural, one{Stunde} other{Stunden}}",pT="{count} {count, plural, one{Minute} other{Minuten}}",mT="{count} {count, plural, one{Sekunde} other{Sekunden}} ",fT="{count} {count, plural, one{Millisekunde} other{Millisekunden}}",gT="{count} {count, plural, one{Microsekunde} other{Microsekunden}}",vT="{count} {count, plural, one{Nanosekunde} other{Nanosekunden}}",nX={a:lT,mo:uT,wk:cT,d:dT,hr:hT,min:pT,s:mT,ms:fT,us:gT,ns:vT},bT={};re(bT,{a:()=>yT,d:()=>xT,default:()=>rX,hr:()=>ET,min:()=>ST,mo:()=>_T,ms:()=>CT,ns:()=>DT,s:()=>kT,us:()=>IT,wk:()=>wT});var yT="{count} {count, plural, one{year} other{years}}",_T="{count} {count, plural, one{month} other{months}}",wT="{count} {count, plural, one{week} other{weeks}}",xT="{count} {count, plural, one{day} other{days}}",ET="{count} {count, plural, one{hour} other{hours}}",ST="{count} {count, plural, one{minute} other{minutes}}",kT="{count} {count, plural, one{second} other{seconds}}",CT="{count} {count, plural, one{millisecond} other{millisecondes}}",IT="{count} {count, plural, one{microsecond} other{microsecondes}}",DT="{count} {count, plural, one{nanosecond} other{nanosecondes}}",rX={a:yT,mo:_T,wk:wT,d:xT,hr:ET,min:ST,s:kT,ms:CT,us:IT,ns:DT},NT={};re(NT,{a:()=>TT,d:()=>OT,default:()=>aX,hr:()=>PT,min:()=>AT,mo:()=>MT,ms:()=>FT,ns:()=>VT,s:()=>LT,us:()=>jT,wk:()=>RT});var TT="{count} {count, plural, one{année} other{années}}",MT="{count} {count, plural, one{mois} other{mois}}",RT="{count} {count, plural, one{semaine} other{semaines}}",OT="{count} {count, plural, one{jour} other{jours}}",PT="{count} {count, plural, one{heure} other{heures}}",AT="{count} {count, plural, one{minute} other{minutes}}",LT="{count} {count, plural, one{seconde} other{secondes}}",FT="{count} {count, plural, one{milliseconde} other{millisecondes}}",jT="{count} {count, plural, one{microseconde} other{microsecondes}}",VT="{count} {count, plural, one{nanoseconde} other{nanosecondes}}",aX={a:TT,mo:MT,wk:RT,d:OT,hr:PT,min:AT,s:LT,ms:FT,us:jT,ns:VT},BT={};re(BT,{a:()=>zT,d:()=>$T,default:()=>iX,hr:()=>GT,min:()=>UT,mo:()=>HT,ms:()=>ZT,ns:()=>KT,s:()=>WT,us:()=>YT,wk:()=>qT});var zT="{count} {count, plural, one{jaar} other{jaren}}",HT="{count} {count, plural, one{maand} other{maanden}}",qT="{count} {count, plural, one{week} other{weken}}",$T="{count} {count, plural, one{dag} other{dagen}}",GT="{count} {count, plural, one{uur} other{uren}}",UT="{count} {count, plural, one{minuut} other{minuten}}",WT="{count} {count, plural, one{seconde} other{seconden}}",ZT="{count} {count, plural, one{milliseconde} other{milliseconden}}",YT="{count} {count, plural, one{microseconde} other{microseconden}}",KT="{count} {count, plural, one{nanoseconde} other{nanoseconden}}",iX={a:zT,mo:HT,wk:qT,d:$T,hr:GT,min:UT,s:WT,ms:ZT,us:YT,ns:KT},oX={nl:BT,fr:NT,de:sT,en:bT},QT={};re(QT,{"%":()=>JT,"%vv":()=>sR,"%wv":()=>lR,"%ww":()=>uR,"1000/mm3":()=>EM,amp:()=>XT,atptreatment:()=>rO,bag:()=>eM,bitperminute:()=>cR,bol:()=>dR,bot:()=>hR,box:()=>tM,c:()=>qR,can:()=>pR,cap:()=>mR,cc:()=>fR,cm:()=>gR,cmm:()=>SM,cnt:()=>$R,ctg:()=>HM,ctr:()=>vR,daily:()=>HR,day:()=>kM,default:()=>sX,degree:()=>xM,dis:()=>NM,drm:()=>GR,fl:()=>nM,fld:()=>TM,flo:()=>MM,ftc:()=>RM,fts:()=>OM,"g/dl":()=>rM,gal:()=>qM,gm:()=>aM,goutte:()=>zM,gr:()=>bR,hour:()=>BM,in:()=>yR,inc:()=>_R,jar:()=>wR,kg:()=>iM,"kg/m2":()=>oM,kit:()=>xR,l:()=>sM,lb:()=>lM,lm:()=>UR,loz:()=>BR,mcg:()=>uM,mcl:()=>cM,mcm:()=>$M,mcn:()=>ER,meq:()=>dM,mg:()=>hM,"mg/dl":()=>pM,"mg/l":()=>mM,"mg/m2":()=>fM,"mg/ml":()=>gM,mgper100ml:()=>UM,mic:()=>SR,mil:()=>kR,millisecond:()=>VM,min:()=>CR,minute:()=>PM,mis:()=>WR,ml:()=>vM,"ml/min":()=>bM,"ml/min/1.73m2":()=>jR,mm:()=>AM,"mm/h":()=>LM,mmhg:()=>FM,mmo:()=>IR,mol:()=>yM,month:()=>DM,nl:()=>DR,nmg:()=>ZR,nmo:()=>YR,ns:()=>XM,ondemand:()=>GM,oz:()=>_M,pel:()=>NR,pg:()=>JM,pkg:()=>TR,pnu:()=>KR,ppm:()=>wM,pt:()=>MR,qs:()=>RR,qt:()=>OR,sat:()=>QR,second:()=>jM,shock:()=>VR,spoon:()=>CM,spr:()=>WM,sqc:()=>PR,stp:()=>JR,sup:()=>eR,syr:()=>YM,tab:()=>tR,tbl:()=>nR,tes:()=>rR,ton:()=>oR,tpn:()=>KM,trc:()=>XR,tro:()=>zR,tsp:()=>iR,tub:()=>QM,umg:()=>AR,unt:()=>aR,vil:()=>ZM,vpr:()=>eO,waf:()=>tO,week:()=>IM,x:()=>nO,ydl:()=>LR,yds:()=>FR});var JT="%",XT="{count, plural, one{Glühbirn} other{Glühbirnen}}",eM="Beutel",tM="schachteln",nM="fl",rM="g/dl",aM="g",iM="kg",oM="kg/m²",sM="l",lM="lb",uM="µg",cM="µl",dM="meq",hM="mg",pM="mg/dl",mM="mg/l",fM="mg/m²",gM="mg/ml",vM="ml",bM="ml/min",yM="mol",_M="oz",wM="ppm",xM="°",EM="1000/mm³",SM="mm³",kM="{count, plural, one{Tag} other{Tage}}",CM="Löffel",IM="{count, plural, one{Woche} other{Wochen}}",DM="{count, plural, one{Monat} other{Monate}}",NM="{count, plural, one{Platte} other{Platten}}",TM="fl dr",MM="fl oz",RM="cu ft",OM="sq ft",PM="{count, plural, one{Minute} other{Minuten}}",AM="mm",LM="mm/h",FM="mmHg",jM="{count, plural, one{Sekunde} other{Sekunden}}",VM="{count, plural, one{Millisekunde} other{Millisekunden}}",BM="{count, plural, one{Stunde} other{Stunden}}",zM="{count, plural, one{Tropf} other{Tropfen}}",HM="{count, plural, one{Kartusche} other{Kartuschen}}",qM="gal",$M="mmol",GM="auf Antrag",UM="mg/100mL",WM="{count, plural, one{Sprühe} other{Sprühen}}",ZM="{count, plural, one{Phiole} other{Phiolen}}",YM="{count, plural, one{Spritze} other{Spritzen}}",KM="Tampon",QM="{count, plural, one{Rohr} other{Rohre}}",JM="pg",XM="nicht spezifiziert",eR="{count, plural, one{Zäpfch} other{Zäpfchen}}",tR="{count, plural, one{Tablette} other{Tabletten}}",nR="Esslöffel",rR="Test",aR="{count, plural, one{Einheit} other{Einheiten}}",iR="teelöffel",oR="ton",sR="% v/v",lR="% w/v",uR="% w/w",cR="Schläge pro Minute",dR="Bolus",hR="{count, plural, one{Flasche} other{Fläschchen}}",pR="Dose",mR="{count, plural, one{Kapsel} other{Kapseln}}",fR="cm3",gR="cm",vR="Halter",bR="Körnchen",yR="in",_R="in²",wR="Glas",xR="Kitt",ER="Micron",SR="µCi",kR="mCi",CR="minim",IR="μmol",DR="normal",NR="{count, plural, one{Pille} other{Pillen}}",TR="{count, plural, one{Paket} other{Pakete}}",MR="Pinte",RR="ausreichende Menge",OR="qt",PR="cm²",AR="{count, plural, one{Einheit / mg} other{Einheiten / mg}}",LR="yd",FR="yd²",jR="mL/min/1.73m²",VR="{count, plural, one{Schock} other{Schocks}}",BR="{count, plural, one{Pastille} other{Pastillen}}",zR="{count, plural, one{Pastille} other{Pastillen}}",HR="täglich",qR="homöopathische Verdünnung (Centesimal 1/100)",$R="cnt",GR="Fass",UR="homöopathische Verdünnung (50 Millisimal im Verhältnis 1:50,000)",WR="verschiedene",ZR="ng",YR="nmol",KR="{count, plural, one{Proteineinheit} other{Proteineinheiten}}",QR="gesättigt",JR="Strip",XR="Spur",eO="Therapieschema abhängig",tO="{count, plural, one{Oblate} other{Oblaten}}",nO="homöopathische Verdünnung (dezimal 1/10)",rO="anzahl der antitachykardie-stimulationsbehandlungen",sX={"%":JT,amp:XT,bag:eM,box:tM,fl:nM,"g/dl":rM,gm:aM,kg:iM,"kg/m2":oM,l:sM,lb:lM,mcg:uM,mcl:cM,meq:dM,mg:hM,"mg/dl":pM,"mg/l":mM,"mg/m2":fM,"mg/ml":gM,ml:vM,"ml/min":bM,mol:yM,oz:_M,ppm:wM,degree:xM,"1000/mm3":EM,cmm:SM,day:kM,spoon:CM,week:IM,month:DM,dis:NM,fld:TM,flo:MM,ftc:RM,fts:OM,minute:PM,mm:AM,"mm/h":LM,mmhg:FM,second:jM,millisecond:VM,hour:BM,goutte:zM,ctg:HM,gal:qM,mcm:$M,ondemand:GM,mgper100ml:UM,spr:WM,vil:ZM,syr:YM,tpn:KM,tub:QM,pg:JM,ns:XM,sup:eR,tab:tR,tbl:nR,tes:rR,unt:aR,tsp:iR,ton:oR,"%vv":sR,"%wv":lR,"%ww":uR,bitperminute:cR,bol:dR,bot:hR,can:pR,cap:mR,cc:fR,cm:gR,ctr:vR,gr:bR,in:yR,inc:_R,jar:wR,kit:xR,mcn:ER,mic:SR,mil:kR,min:CR,mmo:IR,nl:DR,pel:NR,pkg:TR,pt:MR,qs:RR,qt:OR,sqc:PR,umg:AR,ydl:LR,yds:FR,"ml/min/1.73m2":jR,shock:VR,loz:BR,tro:zR,daily:HR,c:qR,cnt:$R,drm:GR,lm:UR,mis:WR,nmg:ZR,nmo:YR,pnu:KR,sat:QR,stp:JR,trc:XR,vpr:eO,waf:tO,x:nO,atptreatment:rO},aO={};re(aO,{"%":()=>iO,"%vv":()=>oO,"%wv":()=>sO,"%ww":()=>lO,"1000/mm3":()=>uO,amp:()=>cO,atptreatment:()=>dO,bag:()=>hO,bitperminute:()=>pO,bol:()=>mO,bot:()=>fO,box:()=>gO,c:()=>vO,can:()=>bO,cap:()=>yO,cc:()=>_O,cm:()=>wO,cmm:()=>xO,cnt:()=>EO,ctg:()=>SO,ctr:()=>kO,daily:()=>CO,day:()=>IO,default:()=>lX,degree:()=>DO,dis:()=>NO,drm:()=>TO,fl:()=>MO,fld:()=>RO,flo:()=>OO,ftc:()=>PO,fts:()=>AO,"g/dl":()=>LO,gal:()=>FO,gm:()=>jO,goutte:()=>VO,gr:()=>BO,hour:()=>zO,in:()=>HO,inc:()=>qO,jar:()=>$O,kg:()=>GO,"kg/m2":()=>UO,kit:()=>WO,l:()=>ZO,lb:()=>YO,lm:()=>KO,loz:()=>QO,mcg:()=>JO,mcl:()=>XO,mcm:()=>eP,mcn:()=>tP,meq:()=>nP,mg:()=>rP,"mg/dl":()=>aP,"mg/l":()=>iP,"mg/m2":()=>oP,"mg/ml":()=>sP,mgper100ml:()=>lP,mic:()=>uP,mil:()=>cP,millisecond:()=>dP,min:()=>hP,minute:()=>pP,mis:()=>mP,ml:()=>fP,"ml/min":()=>gP,"ml/min/1.73m2":()=>vP,mm:()=>bP,"mm/h":()=>yP,mmhg:()=>_P,mmo:()=>wP,mol:()=>xP,month:()=>EP,nl:()=>SP,nmg:()=>kP,nmo:()=>CP,ns:()=>IP,ondemand:()=>DP,oz:()=>NP,pel:()=>TP,pg:()=>MP,pkg:()=>RP,pnu:()=>OP,ppm:()=>PP,pt:()=>AP,qs:()=>LP,sap:()=>FP,sat:()=>jP,second:()=>VP,shock:()=>BP,spoon:()=>zP,spr:()=>HP,sqc:()=>qP,stp:()=>$P,sup:()=>GP,syr:()=>UP,tab:()=>WP,tbl:()=>ZP,tes:()=>YP,ton:()=>KP,tpn:()=>QP,trc:()=>JP,tro:()=>XP,tsp:()=>eA,tub:()=>tA,umg:()=>nA,unt:()=>rA,vil:()=>aA,vpr:()=>iA,waf:()=>oA,week:()=>sA,x:()=>lA,ydl:()=>uA,yds:()=>cA});var iO="%",oO="% v/v",sO="% w/v",lO="% w/w",uO="1000/mm³",cO="{count, plural, one{ampule} other{ampules}}",dO="Number of treatments by anti-tachycardia pacing",hO="{count, plural, one{bag} other{bags}}",pO="{count, plural, one{bit per minute} other{bits per minute}}",mO="bolus",fO="{count, plural, one{bottle} other{bottles}}",gO="{count, plural, one{box} other{boxes}}",vO="homeopathic dilution (centesimal 1/100)",bO="{count, plural, one{can} other{cans}}",yO="{count, plural, one{capsule} other{capsules}}",_O="cm³",wO="cm",xO="mm³",EO="cnt",SO="{count, plural, one{cartridge} other{cartridges}}",kO="{count, plural, one{container} other{containers}}",CO="daily",IO="{count, plural, one{day} other{days}}",DO="°",NO="{count, plural, one{disk} other{disks}}",TO="drum",MO="{count, plural, one{fluid} other{fluids}}",RO="fl dr",OO="{count, plural, one{fluid ounce} other{fluid ounces}}",PO="cu ft",AO="sq ft",LO="g/dl",FO="{count, plural, one{gallon} other{gallons}}",jO="g",VO="{count, plural, one{drop} other{drops}}",BO="{count, plural, one{grain} other{grains}}",zO="{count, plural, one{hour} other{hours}}",HO="{count, plural, one{inch} other{inches}}",qO="in²",$O="{count, plural, one{jar} other{jars}}",GO="kg",UO="kg/m²",WO="kit",ZO="{count, plural, one{liter} other{liters}}",YO="{count, plural, one{pound} other{pounds}}",KO="homeopathic dilution (fifty millesimal 1/50,000)",QO="{count, plural, one{lozenge} other{lozenges}}",JO="µg",XO="µl",eP="mmol",tP="micron",nP="milliequivalent",rP="mg",aP="mg/dl",iP="mg/l",oP="mg/m²",sP="mg/ml",lP="mg/100mL",uP="µCi",cP="mCi",dP="{count, plural, one{millisecond} other{milliseconds}}",hP="minim",pP="{count, plural, one{minute} other{minutes}}",mP="miscellaneous",fP="{count, plural, one{milliliter} other{milliliters}}",gP="ml/min",vP="mL/min/1.73m²",bP="mm",yP="mm/h",_P="mmHg",wP="μmol",xP="mol",EP="{count, plural, one{month} other{months}}",SP="normal",kP="ng",CP="nmol",IP="not stated",DP="on demand",NP="{count, plural, one{ounce} other{ounces}}",TP="{count, plural, one{pellet} other{pellets}}",MP="pg",RP="{count, plural, one{package} other{packages}}",OP="{count, plural, one{protein unit} other{protein unit}}",PP="ppm",AP="{count, plural, one{pint} other{pints}}",LP="quantity sufficient",FP="Cumulative sap value",jP="saturated",VP="{count, plural, one{second} other{seconds}}",BP="shock",zP="{count, plural, one{spoon} other{spoons}}",HP="{count, plural, one{spray} other{sprays}}",qP="cm²",$P="{count, plural, one{strip} other{strips}}",GP="{count, plural, one{suppository} other{suppositories}}",UP="{count, plural, one{syrynge} other{syrynges}}",WP="{count, plural, one{tablet} other{tablets}}",ZP="{count, plural, one{tablespoon} other{tablespoons}}",YP="{count, plural, one{test} other{tests}}",KP="{count, plural, one{ton} other{tons}}",QP="{count, plural, one{tampon} other{tampons}}",JP="{count, plural, one{trace} other{traces}}",XP="{count, plural, one{troche} other{troches}}",eA="{count, plural, one{teaspoon} other{teaspoons}}",tA="{count, plural, one{tube} other{tubes}}",nA="UNITS PER MILLIGRAM",rA="{count, plural, one{unit} other{units}}",aA="{count, plural, one{vial} other{vials}}",iA="varies per regimen",oA="{count, plural, one{wafer} other{wafers}}",sA="{count, plural, one{week} other{weeks}}",lA="homeopathic dilution (decimal 1/10)",uA="yd",cA="yd²",lX={"%":iO,"%vv":oO,"%wv":sO,"%ww":lO,"1000/mm3":uO,amp:cO,atptreatment:dO,bag:hO,bitperminute:pO,bol:mO,bot:fO,box:gO,c:vO,can:bO,cap:yO,cc:_O,cm:wO,cmm:xO,cnt:EO,ctg:SO,ctr:kO,daily:CO,day:IO,degree:DO,dis:NO,drm:TO,fl:MO,fld:RO,flo:OO,ftc:PO,fts:AO,"g/dl":LO,gal:FO,gm:jO,goutte:VO,gr:BO,hour:zO,in:HO,inc:qO,jar:$O,kg:GO,"kg/m2":UO,kit:WO,l:ZO,lb:YO,lm:KO,loz:QO,mcg:JO,mcl:XO,mcm:eP,mcn:tP,meq:nP,mg:rP,"mg/dl":aP,"mg/l":iP,"mg/m2":oP,"mg/ml":sP,mgper100ml:lP,mic:uP,mil:cP,millisecond:dP,min:hP,minute:pP,mis:mP,ml:fP,"ml/min":gP,"ml/min/1.73m2":vP,mm:bP,"mm/h":yP,mmhg:_P,mmo:wP,mol:xP,month:EP,nl:SP,nmg:kP,nmo:CP,ns:IP,ondemand:DP,oz:NP,pel:TP,pg:MP,pkg:RP,pnu:OP,ppm:PP,pt:AP,qs:LP,sap:FP,sat:jP,second:VP,shock:BP,spoon:zP,spr:HP,sqc:qP,stp:$P,sup:GP,syr:UP,tab:WP,tbl:ZP,tes:YP,ton:KP,tpn:QP,trc:JP,tro:XP,tsp:eA,tub:tA,umg:nA,unt:rA,vil:aA,vpr:iA,waf:oA,week:sA,x:lA,ydl:uA,yds:cA},dA={};re(dA,{"%":()=>hA,"%vv":()=>wL,"%wv":()=>xL,"%ww":()=>EL,"1000/mm3":()=>FA,amp:()=>pA,atptreatment:()=>vF,bag:()=>mA,bitperminute:()=>SL,bol:()=>kL,bot:()=>CL,box:()=>fA,c:()=>rF,can:()=>IL,cap:()=>DL,cc:()=>NL,cm:()=>TL,cmm:()=>jA,cnt:()=>aF,ctg:()=>nL,ctr:()=>ML,daily:()=>nF,day:()=>VA,default:()=>uX,degree:()=>LA,dis:()=>qA,drm:()=>iF,fl:()=>gA,fld:()=>$A,flo:()=>GA,ftc:()=>UA,fts:()=>WA,"g/dl":()=>vA,gal:()=>rL,gm:()=>bA,goutte:()=>tL,gr:()=>RL,hour:()=>eL,in:()=>OL,inc:()=>PL,jar:()=>AL,kg:()=>yA,"kg/m2":()=>_A,kit:()=>LL,l:()=>wA,lb:()=>xA,lm:()=>oF,loz:()=>eF,mcg:()=>EA,mcl:()=>SA,mcm:()=>aL,mcn:()=>FL,meq:()=>kA,mg:()=>CA,"mg/dl":()=>IA,"mg/l":()=>DA,"mg/m2":()=>NA,"mg/ml":()=>TA,mgper100ml:()=>oL,mic:()=>jL,mil:()=>VL,millisecond:()=>XA,min:()=>BL,minute:()=>ZA,mis:()=>sF,ml:()=>MA,"ml/min":()=>RA,"ml/min/1.73m2":()=>JL,mm:()=>YA,"mm/h":()=>KA,mmhg:()=>QA,mmo:()=>zL,mol:()=>OA,month:()=>HA,nl:()=>HL,nmg:()=>lF,nmo:()=>uF,ns:()=>pL,ondemand:()=>iL,oz:()=>PA,pel:()=>qL,pg:()=>hL,pkg:()=>$L,pnu:()=>cF,ppm:()=>AA,pt:()=>GL,qs:()=>UL,qt:()=>WL,sat:()=>dF,second:()=>JA,shock:()=>XL,spoon:()=>BA,spr:()=>sL,sqc:()=>ZL,stp:()=>hF,sup:()=>mL,syr:()=>uL,tab:()=>fL,tbl:()=>gL,tes:()=>vL,ton:()=>_L,tpn:()=>cL,trc:()=>pF,tro:()=>tF,tsp:()=>yL,tub:()=>dL,umg:()=>YL,unt:()=>bL,vil:()=>lL,vpr:()=>mF,waf:()=>fF,week:()=>zA,x:()=>gF,ydl:()=>KL,yds:()=>QL});var hA="%",pA="{count, plural, one{ampoule} other{ampoules}}",mA="{count, plural, one{sac} other{sacs}}",fA="{count, plural, one{vaporisateur} other{vaporisateurs}}",gA="fl",vA="g/dl",bA="g",yA="kg",_A="kg/m²",wA="l",xA="lb",EA="µg",SA="µl",kA="milli-equivalent",CA="mg",IA="mg/dl",DA="mg/l",NA="mg/m²",TA="mg/ml",MA="ml",RA="ml/min",OA="mol",PA="oz",AA="ppm",LA="°",FA="1000/mm³",jA="mm³",VA="{count, plural, one{jour(s)} other{jours}}",BA="{count, plural, one{cuillère} other{cuillères}}",zA="{count, plural, one{semaine} other{semaines}}",HA="mois",qA="{count, plural, one{disque} other{disques}}",$A="fl dr",GA="fl oz",UA="cu ft",WA="sq ft",ZA="{count, plural, one{minute} other{minutes}}",YA="mm",KA="mm/h",QA="mmHg",JA="{count, plural, one{seconde} other{secondes}}",XA="{count, plural, one{milliseconde} other{millisecondes}}",eL="{count, plural, one{heure} other{heures}}",tL="{count, plural, one{goutte} other{gouttes}}",nL="{count, plural, one{cartouche} other{cartouches}}",rL="gal",aL="mmol",iL="sur demande",oL="mg/100mL",sL="spray",lL="{count, plural, one{fiole} other{fioles}}",uL="{count, plural, one{seringue} other{seringues}}",cL="{count, plural, one{tampon} other{tampons}}",dL="{count, plural, one{tube} other{tubes}}",hL="pg",pL="non spécifié",mL="{count, plural, one{suppositoire} other{suppositoires}}",fL="{count, plural, one{tablette} other{tablettes}}",gL="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",vL="{count, plural, one{test} other{tests}}",bL="{count, plural, one{unité} other{unités}}",yL="{count, plural, one{cuillère à café} other{cuillères à café}}",_L="{count, plural, one{ton} other{tons}}",wL="% v/v",xL="% w/v",EL="% w/w",SL="{count, plural, one{battement par minute} other{battements par minute}}",kL="{count, plural, one{bolus} other{bolus}}",CL="{count, plural, one{bouteille} other{bouteilles}}",IL="{count, plural, one{canette} other{canettes}}",DL="{count, plural, one{capsule} other{capsules}}",NL="cm3",TL="cm",ML="{count, plural, one{conteneur} other{conteneurs}}",RL="{count, plural, one{granule} other{granules}}",OL="in",PL="in²",AL="pot",LL="{count, plural, one{kit} other{kits}}",FL="micron",jL="µCi",VL="mCi",BL="minim",zL="μmol",HL="normal",qL="{count, plural, one{pilule} other{pilules}}",$L="{count, plural, one{paquet} other{paquets}}",GL="pinte",UL="quantité suffisante",WL="qt",ZL="cm²",YL="{count, plural, one{unité / mg} other{unités / mg}}",KL="yd",QL="yd²",JL="mL/min/1.73m²",XL="choc",eF="{count, plural, one{pastille} other{pastilles}}",tF="{count, plural, one{pastille} other{pastilles}}",nF="journalier",rF="dilution homéopathique (centésimal 1/100)",aF="cnt",iF="fût",oF="dilution homéopathique (50 millisimaux au ratio 1:50,000)",sF="divers",lF="ng",uF="nmol",cF="{count, plural, one{unité protéique} other{unités protéiques}}",dF="saturé",hF="strip",pF="trace",mF="dépendant du schéma thérapeutique",fF="{count, plural, one{hostie} other{hosties}}",gF="dilution homéopathique (décimal 1/10)",vF="{count, plural, one{Nombre de traitements par stimulation antitachycardique} other{Nombres de traitements par stimulation antitachycardique}}",uX={"%":hA,amp:pA,bag:mA,box:fA,fl:gA,"g/dl":vA,gm:bA,kg:yA,"kg/m2":_A,l:wA,lb:xA,mcg:EA,mcl:SA,meq:kA,mg:CA,"mg/dl":IA,"mg/l":DA,"mg/m2":NA,"mg/ml":TA,ml:MA,"ml/min":RA,mol:OA,oz:PA,ppm:AA,degree:LA,"1000/mm3":FA,cmm:jA,day:VA,spoon:BA,week:zA,month:HA,dis:qA,fld:$A,flo:GA,ftc:UA,fts:WA,minute:ZA,mm:YA,"mm/h":KA,mmhg:QA,second:JA,millisecond:XA,hour:eL,goutte:tL,ctg:nL,gal:rL,mcm:aL,ondemand:iL,mgper100ml:oL,spr:sL,vil:lL,syr:uL,tpn:cL,tub:dL,pg:hL,ns:pL,sup:mL,tab:fL,tbl:gL,tes:vL,unt:bL,tsp:yL,ton:_L,"%vv":wL,"%wv":xL,"%ww":EL,bitperminute:SL,bol:kL,bot:CL,can:IL,cap:DL,cc:NL,cm:TL,ctr:ML,gr:RL,in:OL,inc:PL,jar:AL,kit:LL,mcn:FL,mic:jL,mil:VL,min:BL,mmo:zL,nl:HL,pel:qL,pkg:$L,pt:GL,qs:UL,qt:WL,sqc:ZL,umg:YL,ydl:KL,yds:QL,"ml/min/1.73m2":JL,shock:XL,loz:eF,tro:tF,daily:nF,c:rF,cnt:aF,drm:iF,lm:oF,mis:sF,nmg:lF,nmo:uF,pnu:cF,sat:dF,stp:hF,trc:pF,vpr:mF,waf:fF,x:gF,atptreatment:vF},bF={};re(bF,{"%":()=>yF,"%vv":()=>Dj,"%wv":()=>Nj,"%ww":()=>Tj,"1000/mm3":()=>$F,amp:()=>_F,atptreatment:()=>SV,bag:()=>wF,bitperminute:()=>Mj,bol:()=>Rj,bot:()=>Oj,box:()=>xF,c:()=>cV,can:()=>Pj,cap:()=>Aj,cc:()=>Lj,cm:()=>Fj,cmm:()=>GF,cnt:()=>dV,ctg:()=>uj,ctr:()=>jj,daily:()=>uV,day:()=>UF,default:()=>cX,degree:()=>qF,dis:()=>KF,drm:()=>hV,fl:()=>EF,fld:()=>QF,flo:()=>JF,ftc:()=>XF,fts:()=>ej,"g/dl":()=>SF,gal:()=>cj,gm:()=>kF,goutte:()=>lj,gr:()=>Vj,hour:()=>sj,in:()=>Bj,inc:()=>zj,jar:()=>Hj,kg:()=>CF,"kg/m2":()=>IF,kit:()=>qj,l:()=>DF,lb:()=>NF,lm:()=>pV,loz:()=>sV,mcg:()=>TF,mcl:()=>MF,mcm:()=>dj,mcn:()=>$j,meq:()=>RF,mg:()=>OF,"mg/dl":()=>PF,"mg/l":()=>AF,"mg/m2":()=>LF,"mg/ml":()=>FF,mgper100ml:()=>pj,mic:()=>Gj,mil:()=>Uj,millisecond:()=>oj,min:()=>Wj,minute:()=>tj,mis:()=>mV,ml:()=>jF,"ml/min":()=>VF,"ml/min/1.73m2":()=>iV,mm:()=>nj,"mm/h":()=>rj,mmhg:()=>aj,mmo:()=>Zj,mol:()=>BF,month:()=>YF,nl:()=>Yj,nmg:()=>fV,nmo:()=>gV,ns:()=>_j,ondemand:()=>hj,oz:()=>zF,pel:()=>Kj,pg:()=>yj,pkg:()=>Qj,pnu:()=>vV,ppm:()=>HF,pt:()=>Jj,qs:()=>Xj,qt:()=>eV,sat:()=>bV,second:()=>ij,shock:()=>oV,spoon:()=>WF,spr:()=>mj,sqc:()=>tV,stp:()=>yV,sup:()=>wj,syr:()=>gj,tab:()=>xj,tbl:()=>Ej,tes:()=>Sj,ton:()=>Ij,tpn:()=>vj,trc:()=>_V,tro:()=>lV,tsp:()=>Cj,tub:()=>bj,umg:()=>nV,unt:()=>kj,vil:()=>fj,vpr:()=>wV,waf:()=>xV,week:()=>ZF,x:()=>EV,ydl:()=>rV,yds:()=>aV});var yF="%",_F="{count, plural, one{ampule} other{ampullen}}",wF="{count, plural, one{zak} other{zakken}}",xF="{count, plural, one{verstuiver} other{verstuivers}}",EF="fl",SF="g/dl",kF="g",CF="kg",IF="kg/m²",DF="l",NF="lb",TF="µg",MF="µl",RF="{count, plural, one{milli-equivalent} other{milli-equivalenten}}",OF="mg",PF="mg/dl",AF="mg/l",LF="mg/m²",FF="mg/ml",jF="ml",VF="ml/min",BF="mol",zF="oz",HF="ppm",qF="°",$F="1000/mm³",GF="mm³",UF="{count, plural, one{dag} other{dagen}}",WF="{count, plural, one{lepel} other{lepels}}",ZF="{count, plural, one{week} other{weken}}",YF="{count, plural, one{maand} other{maanden}}",KF="{count, plural, one{schijf} other{schijven}}",QF="fl dr",JF="fl oz",XF="cu ft",ej="sq ft",tj="{count, plural, one{minuut} other{minuten}}",nj="mm",rj="mm/h",aj="mmHg",ij="{count, plural, one{seconde} other{seconden}}",oj="{count, plural, one{milliseconde} other{milliseconden}}",sj="{count, plural, one{uur} other{uren}}",lj="{count, plural, one{druppel} other{druppels}}",uj="{count, plural, one{patroon} other{patronen}}",cj="gal",dj="mmol",hj="op aanvraag",pj="mg/100mL",mj="{count, plural, one{spray} other{sprays}}",fj="{count, plural, one{flesje} other{flesjes}}",gj="{count, plural, one{spuit} other{spuiten}}",vj="{count, plural, one{tampon} other{tampons}}",bj="{count, plural, one{buis} other{buizen}}",yj="pg",_j="niet gespecificeerd",wj="{count, plural, one{zetpil} other{zetpillen}}",xj="{count, plural, one{tablet} other{tabletten}}",Ej="{count, plural, one{eetlepel} other{eetlepels}}",Sj="{count, plural, one{test} other{tests}}",kj="{count, plural, one{eenheid} other{eenheden}}",Cj="{count, plural, one{theelepel} other{theelepels}}",Ij="{count, plural, one{ton} other{tonnen}}",Dj="% v/v",Nj="% w/v",Tj="% w/w",Mj="{count, plural, one{slag per minuut} other{slagen per minuut}}",Rj="bolus",Oj="{count, plural, one{fles} other{flessen}}",Pj="{count, plural, one{blikje} other{blikjes}}",Aj="{count, plural, one{capsule} other{capsules}}",Lj="cm3",Fj="cm",jj="{count, plural, one{houder} other{houders}}",Vj="{count, plural, one{korrel} other{korrels}}",Bj="in",zj="in²",Hj="{count, plural, one{pot} other{potten}}",qj="{count, plural, one{kit} other{kits}}",$j="micron",Gj="µCi",Uj="mCi",Wj="minim",Zj="μmol",Yj="normaal",Kj="{count, plural, one{pil} other{pillen}}",Qj="{count, plural, one{pakket} other{pakketten}}",Jj="{count, plural, one{pint} other{pinten}}",Xj="voldoende hoeveelheid",eV="qt",tV="cm²",nV="{count, plural, one{eenheid / mg} other{eenheden / mg}}",rV="yd",aV="yd²",iV="mL/min/1.73m²",oV="{count, plural, one{schok} other{schokken}}",sV="{count, plural, one{zuigtablet} other{zuigtabletten}}",lV="{count, plural, one{zuigtablet} other{zuigtabletten}}",uV="dagelijks",cV="homeopathische verdunning (centesimal 1/100)",dV="cnt",hV="vat",pV="homeopathische verdunning (50 millesimal in verhouding 1:50,000)",mV="diverse",fV="ng",gV="nmol",vV="{count, plural, one{eiwiteenheid} other{eiwiteenheden}}",bV="verzadigd",yV="{count, plural, one{strip} other{strips}}",_V="{count, plural, one{spoor} other{sporen}}",wV="behandelingsschema-afhankelijk",xV="{count, plural, one{ouwel} other{ouwels}}",EV="homeopathische verdunning (decimaal 1/10)",SV="aantal anti-tachycardie-stimulatiebehandelingen",cX={"%":yF,amp:_F,bag:wF,box:xF,fl:EF,"g/dl":SF,gm:kF,kg:CF,"kg/m2":IF,l:DF,lb:NF,mcg:TF,mcl:MF,meq:RF,mg:OF,"mg/dl":PF,"mg/l":AF,"mg/m2":LF,"mg/ml":FF,ml:jF,"ml/min":VF,mol:BF,oz:zF,ppm:HF,degree:qF,"1000/mm3":$F,cmm:GF,day:UF,spoon:WF,week:ZF,month:YF,dis:KF,fld:QF,flo:JF,ftc:XF,fts:ej,minute:tj,mm:nj,"mm/h":rj,mmhg:aj,second:ij,millisecond:oj,hour:sj,goutte:lj,ctg:uj,gal:cj,mcm:dj,ondemand:hj,mgper100ml:pj,spr:mj,vil:fj,syr:gj,tpn:vj,tub:bj,pg:yj,ns:_j,sup:wj,tab:xj,tbl:Ej,tes:Sj,unt:kj,tsp:Cj,ton:Ij,"%vv":Dj,"%wv":Nj,"%ww":Tj,bitperminute:Mj,bol:Rj,bot:Oj,can:Pj,cap:Aj,cc:Lj,cm:Fj,ctr:jj,gr:Vj,in:Bj,inc:zj,jar:Hj,kit:qj,mcn:$j,mic:Gj,mil:Uj,min:Wj,mmo:Zj,nl:Yj,pel:Kj,pkg:Qj,pt:Jj,qs:Xj,qt:eV,sqc:tV,umg:nV,ydl:rV,yds:aV,"ml/min/1.73m2":iV,shock:oV,loz:sV,tro:lV,daily:uV,c:cV,cnt:dV,drm:hV,lm:pV,mis:mV,nmg:fV,nmo:gV,pnu:vV,sat:bV,stp:yV,trc:_V,vpr:wV,waf:xV,x:EV,atptreatment:SV},dX={nl:bF,fr:dA,de:QT,en:aO},kV={};re(kV,{default:()=>hX,header:()=>CV,patient:()=>IV,professional:()=>DV});var CV="Ausgegebene Medikamente?",IV={part1:{1:"Die Liste kann",2:" unvollständig ",3:"sein: Dies ist der Fall, wenn der Apotheker die Arzneimittel bei der Lieferung nicht auf Ihren Namen registriert hat."},part2:{1:"Die Liste kann Arzneimittel enthalten, die",2:" nicht für Sie bestimmt ",3:"sind. Dies geschieht, wenn Sie Ihre Medikamente gleichzeitig mit Medikamenten für eine andere Person abholen."},part3:{1:"Konsultieren Sie im Zweifelsfall immer Ihren Arzt oder Apotheker. Die Bereitstellung dieser Daten erfolgt zu",2:" Informationszwecken und ist kein Ersatz für eine professionelle medizinische Beratung."}},DV={part1:{1:"Die Liste kann",2:" unvollständig ",3:": , da bestimmte Arzneimittel nicht von einer belgischen Apotheke geliefert oder registriert wurden."},part2:{1:"Die Liste kann Arzneimittel enthalten, die",2:" nicht für diesen Patienten bestimmt ",3:"sind. Dies geschieht, wenn Medikamente für eine andere Person abgeholt werden, ohne dass das/die dazugehörige Verschreibungen ausgestellt wird."}},hX={header:CV,patient:IV,professional:DV},NV={};re(NV,{default:()=>pX,header:()=>TV,patient:()=>MV,professional:()=>RV});var TV="Hoe de lijst interpreteren?",MV={part1:{1:"Het is mogelijk dat de lijst",2:" onvolledig ",3:"is: dat is het geval indien de apotheker de geneesmiddelen niet op uw naam heeft geregistreerd bij aflevering."},part2:{1:"De lijst kan geneesmiddelen bevatten die",2:" niet voor u bestemd ",3:"zijn. Dat gebeurt wanneer u uw geneesmiddelen, samen met geneesmiddelen voor iemand anders, ophaalt op het zelfde moment."},part3:{1:"Raadpleeg bij twijfel altijd uw arts of apotheker. Deze gegevens worden aangeboden voor",2:" informatieve doeleinden en zijn geen vervanging voor professioneel medisch advies."}},RV={part1:{1:"Cette liste",2:" peut être incomplète ",3:": c'est le cas lorsque des médicaments n'ont pas été délivrés par une pharmacie belge ou qu'ils n'y ont pas été enregistrés."},part2:{1:"La liste peut contenir des médicaments",2:" qui ne concernent pas ce patient. ",3:"C'est le cas lorsqu'il a retiré des médicaments pour d'autres personnes sans donner leur(s) prescription(s)."}},pX={header:TV,patient:MV,professional:RV},OV={};re(OV,{default:()=>mX,header:()=>PV,patient:()=>AV,professional:()=>LV});var PV="Comment interpréter la liste?",AV={part1:{1:"Cette liste",2:" peut être incomplète ",3:": c'est le cas lorsque les médicaments retirés n'ont pas été enregistrés en votre nom par le pharmacien."},part2:{1:"La liste peut contenir des médicaments",2:" qui ne vous concernent pas. ",3:"Cela peut être le cas lorsque vous retirez des médicaments pour d'autres personnes en même temps que les vôtres."},part3:{1:"En cas de doute, consultez toujours votre médecin ou pharmacien. Ces données sont offertes",2:" à titre informatif et ne remplacent pas un avis médical professionnel."}},LV={part1:{1:"Cette liste",2:" peut être incomplète ",3:": c'est le cas lorsque des médicaments n'ont pas été délivrés par une pharmacie belge ou qu'ils n'y ont pas été enregistrés."},part2:{1:"La liste peut contenir des médicaments",2:" qui ne concernent pas ce patient. ",3:"C'est le cas lorsqu'il a retiré des médicaments pour d'autres personnes sans donner leur(s) prescription(s)."}},mX={header:PV,patient:AV,professional:LV},FV={};re(FV,{default:()=>fX,header:()=>jV,patient:()=>VV,professional:()=>BV});var jV="Hoe de lijst interpreteren?",VV={part1:{1:"Het is mogelijk dat de lijst",2:" onvolledig ",3:"is: dat is het geval indien de apotheker de geneesmiddelen niet op uw naam heeft geregistreerd bij aflevering."},part2:{1:"De lijst kan geneesmiddelen bevatten die",2:" niet voor u bestemd ",3:"zijn. Dat gebeurt wanneer u uw geneesmiddelen, samen met geneesmiddelen voor iemand anders, ophaalt op het zelfde moment."},part3:{1:"Raadpleeg bij twijfel altijd uw arts of apotheker. Deze gegevens worden aangeboden voor",2:" informatieve doeleinden en zijn geen vervanging voor professioneel medisch advies."}},BV={part1:{1:"Het is mogelijk dat de lijst",2:" onvolledig ",3:": is omdat bepaalde geneesmiddelen niet door een Belgische apotheek afgeleverd of geregistreerd werden."},part2:{1:"De lijst kan geneesmiddelen bevatten die",2:" niet voor deze patiënt bestemd ",3:"zijn. Dit gebeurt wanneer geneesmiddelen voor iemand anders opgehaald worden zonder afgifte van daarbij horend(e) voorschrift(en)."}},fX={header:jV,patient:VV,professional:BV},gX={nl:FV,fr:OV,de:kV,en:NV},zV={};re(zV,{default:()=>vX,headers:()=>HV,magisterialPreparation:()=>qV,noContent:()=>$V});var HV={deliveredOn:"Ausgestellt am",medicationName:"Medikation",quantity:"Menge",patient:"Patient",leaflet:"Packungsbeilage"},qV="Verschreibungurarzneimittel",$V="Bei diesem Patienten wurden keine abgegebenen Medikamente wiedergefunden.",vX={headers:HV,magisterialPreparation:qV,noContent:$V},GV={};re(GV,{default:()=>bX,headers:()=>UV,magisterialPreparation:()=>WV,noContent:()=>ZV});var UV={deliveredOn:"Delivered on",medicationName:"Medication",quantity:"Quantity",patient:"Patient",leaflet:"Leaflet"},WV="Magistral preparation",ZV="There is no delivered medication found for this patient.",bX={headers:UV,magisterialPreparation:WV,noContent:ZV},YV={};re(YV,{default:()=>yX,headers:()=>KV,magisterialPreparation:()=>QV,noContent:()=>JV});var KV={deliveredOn:"Délivré le",medicationName:"Médicament(s)",quantity:"Quantité",patient:"Patient",leaflet:"Leaflet"},QV="Préparation magistrale",JV="Aucun médicament délivré n'a été retrouvé pour ce patient.",yX={headers:KV,magisterialPreparation:QV,noContent:JV},XV={};re(XV,{default:()=>_X,headers:()=>eB,magisterialPreparation:()=>tB,noContent:()=>nB});var eB={deliveredOn:"Afgeleverd op",medicationName:"Geneesmiddel(en)",quantity:"Hoeveelheid",patient:"Patiënt",leaflet:"Bijsluiter"},tB="Magistrale bereiding",nB="Er zijn geen afgeleverde geneesmiddelen teruggevonden voor deze patiënt.",_X={headers:eB,magisterialPreparation:tB,noContent:nB},wX={nl:XV,fr:YV,de:zV,en:GV},rB={};re(rB,{composition:()=>aB,default:()=>xX,"delivered-by":()=>cB,"delivery-date":()=>uB,dguid:()=>oB,"is-prescribed":()=>sB,leaflet:()=>vB,"magisterial-preparation":()=>gB,medication:()=>yB,"no-pharmacy":()=>mB,noDetails:()=>_B,package:()=>bB,patient:()=>fB,posologie:()=>iB,quantity:()=>lB,"return-delivery-date":()=>hB,"returned-by":()=>pB,"returned-quantity":()=>dB});var aB="Zusammensetzung",iB="Dosierung",oB="ID Ausgabe",sB={title:"Wurde verschrieben",yes:"Ja",no:"Nein"},lB="Gelieferte Menge",uB="Lieferdatum",cB="Geliefert von",dB="Zurückgenommene Menge",hB="Rücknahme am",pB="Rücknahme durch",mB="Apotheke mit LIKIV-Erkennungsnummer",fB="Patient",gB="Verschreibungurarzneimittel",vB="Packungsbeilage",bB="{count, plural, one{Verpackung} other{Verpackungen}}",yB="Arzneimittel",_B="Die angeforderte verschreibung wurde gelöscht oder existiert nicht.",xX={composition:aB,posologie:iB,dguid:oB,"is-prescribed":sB,quantity:lB,"delivery-date":uB,"delivered-by":cB,"returned-quantity":dB,"return-delivery-date":hB,"returned-by":pB,"no-pharmacy":mB,patient:fB,"magisterial-preparation":gB,leaflet:vB,package:bB,medication:yB,noDetails:_B},wB={};re(wB,{composition:()=>xB,default:()=>EX,"delivered-by":()=>DB,"delivery-date":()=>IB,dguid:()=>SB,"is-prescribed":()=>kB,leaflet:()=>AB,"magisterial-preparation":()=>PB,medication:()=>FB,"no-pharmacy":()=>RB,noDetails:()=>jB,package:()=>LB,patient:()=>OB,posologie:()=>EB,quantity:()=>CB,"return-delivery-date":()=>TB,"returned-by":()=>MB,"returned-quantity":()=>NB});var xB="Composition",EB="Posologie",SB="ID délivrance",kB={title:"A été prescrit",yes:"Oui",no:"Non"},CB="Quantité délivrée",IB="Date de délivrance",DB="Délivré par",NB="Returned quantity",TB="Return on",MB="Taken back by",RB="Pharmacie avec numéro INAMI",OB="Patient",PB="Préparation magistrale",AB="Leaflet",LB="{count, plural, one{emballage} other{emballages}}",FB="Medication",jB="The requested information has been deleted or doesn't exist.",EX={composition:xB,posologie:EB,dguid:SB,"is-prescribed":kB,quantity:CB,"delivery-date":IB,"delivered-by":DB,"returned-quantity":NB,"return-delivery-date":TB,"returned-by":MB,"no-pharmacy":RB,patient:OB,"magisterial-preparation":PB,leaflet:AB,package:LB,medication:FB,noDetails:jB},VB={};re(VB,{composition:()=>BB,default:()=>SX,"delivered-by":()=>UB,"delivery-date":()=>GB,dguid:()=>HB,"is-prescribed":()=>qB,leaflet:()=>XB,"magisterial-preparation":()=>JB,medication:()=>t3,"no-pharmacy":()=>KB,noDetails:()=>n3,package:()=>e3,patient:()=>QB,posologie:()=>zB,quantity:()=>$B,"return-delivery-date":()=>ZB,"returned-by":()=>YB,"returned-quantity":()=>WB});var BB="Composition",zB="Posologie",HB="ID délivrance",qB={title:"A été prescrit",yes:"Oui",no:"Non"},$B="Quantité délivrée",GB="Date de délivrance",UB="Délivré par",WB="Quantité retournée",ZB="Retour le",YB="Retour par",KB="Pharmacie avec numéro INAMI",QB="Patient",JB="Préparation magistrale",XB="Leaflet",e3="{count, plural, one{emballage} other{emballages}}",t3="Médicament",n3="La prescription demandée a été supprimée ou n'existe pas.",SX={composition:BB,posologie:zB,dguid:HB,"is-prescribed":qB,quantity:$B,"delivery-date":GB,"delivered-by":UB,"returned-quantity":WB,"return-delivery-date":ZB,"returned-by":YB,"no-pharmacy":KB,patient:QB,"magisterial-preparation":JB,leaflet:XB,package:e3,medication:t3,noDetails:n3},r3={};re(r3,{composition:()=>a3,default:()=>kX,"delivered-by":()=>c3,"delivery-date":()=>u3,dguid:()=>o3,"is-prescribed":()=>s3,leaflet:()=>v3,"magisterial-preparation":()=>g3,medication:()=>y3,"no-pharmacy":()=>m3,noDetails:()=>_3,package:()=>b3,patient:()=>f3,posologie:()=>i3,quantity:()=>l3,"return-delivery-date":()=>h3,"returned-by":()=>p3,"returned-quantity":()=>d3});var a3="Samenstelling",i3="Posologie",o3="ID aflevering",s3={title:"Werd voorgeschreven",yes:"Ja",no:"Nee"},l3="Afgeleverde hoeveelheid",u3="Datum afgeleverd",c3="Afgeleverd door",d3="Teruggenomen hoeveelheid",h3="Terugname op",p3="Terugname door",m3="Apotheek met RIZIV-nummer",f3="Patiënt",g3="Magistrale bereiding",v3="Bijsluiter",b3="{count, plural, one{verpakking} other{verpakkingen}}",y3="Geneesmiddel(en)",_3="Het gevraagde voorschrift is verwijderd of bestaat niet.",kX={composition:a3,posologie:i3,dguid:o3,"is-prescribed":s3,quantity:l3,"delivery-date":u3,"delivered-by":c3,"returned-quantity":d3,"return-delivery-date":h3,"returned-by":p3,"no-pharmacy":m3,patient:f3,"magisterial-preparation":g3,leaflet:v3,package:b3,medication:y3,noDetails:_3},CX={nl:r3,fr:VB,de:rB,en:wB},IX=class extends ro{getTranslation(e){return _t({commons:Kt(ge({},GJ[e]),{units:dX[e],galenicFormCodes:BJ[e],timeUnits:oX[e],administrationUnits:kJ[e],periods:KJ[e],days:TJ[e],posology:tX[e],errors:AJ[e]}),deliveredMedicationsList:wX[e],deliveredMedicationsDisclaimer:gX[e],deliveredMedicationDetails:CX[e]})}},DX=[mJ,p6({defaultLanguage:"fr",loader:{provide:ro,useClass:IX},compiler:{provide:io,useClass:bJ}})],ka=function(e){return e.INITIAL="INITIAL",e.LOADING="LOADING",e.SUCCESS="SUCCESS",e.UPDATING="UPDATING",e.ERROR="ERROR",e}(ka||{});function NX(e){let t=new yc(1);return e.subscribe({next:r=>{t.next(r),t.complete()},error:r=>t.error(r)}),t.asObservable()}function TX(e){return e.pipe(wt(t=>({status:ka.SUCCESS,data:t})),Hs(t=>_t({status:ka.ERROR,error:t})),yf({status:ka.LOADING}))}var MX=()=>e=>TX(e),w3=(()=>{const t=class t{constructor(){this.http=D(no)}get(n){return this.http.post("/v2/deliveredMedications/findAll",{ssin:n})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=$({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),x3=(()=>{const t=class t{constructor(){this.http=D(no)}get(n){return this.http.get("assets/v2_deliveredMedications_findAll.json")}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=$({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),E3=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵprov=$({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),RX=(e,t)=>e.getEnvironmentVariable("env")===yr.DEMO?t.get(x3):t.get(w3),OX={provide:E3,useFactory:RX,deps:[sl,Mt]},dm=(()=>{const t=class t{constructor(){this.deliveredMedicationsApiService=D(E3),this.authServiceSelector=D(qd),this.deliveredMedicationsStateSubject$=new vc({status:ka.INITIAL}),this.deliveredMedicationsState$=this.deliveredMedicationsStateSubject$.asObservable()}getDeliveredMedications(n,a=!1){return Mn(this,null,function*(){let i=yield this.authServiceSelector.getInstance().resolveSsin(),o=(!n.cacheDataStorage.get(ts.DELIVERED_MEDICATIONS)||a?this.deliveredMedicationsApiService.get(i):_t(n.cacheDataStorage.get(ts.DELIVERED_MEDICATIONS))).pipe(MX(),Ho(l=>{n.cacheDataStorage.set(ts.DELIVERED_MEDICATIONS,l.data),this.deliveredMedicationsStateSubject$.next(l)}));return NX(o)})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=$({token:t,factory:t.ɵfac});let e=t;return e})(),Lo;function PX(){if(Lo===void 0&&(Lo=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(Lo=e.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Lo}function ri(e){var t;return((t=PX())==null?void 0:t.createHTML(e))||e}function hm(e){return Error(`Unable to find icon with the name "${e}"`)}function AX(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function pm(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function mm(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var Vr=class{constructor(e,t,r){s(this,"url");s(this,"svgText");s(this,"options");s(this,"svgElement");this.url=e,this.svgText=t,this.options=r}},LX=(()=>{const t=class t{constructor(n,a,i,o){s(this,"_httpClient");s(this,"_sanitizer");s(this,"_errorHandler");s(this,"_document");s(this,"_svgIconConfigs",new Map);s(this,"_iconSetConfigs",new Map);s(this,"_cachedIconsByUrl",new Map);s(this,"_inProgressUrlFetches",new Map);s(this,"_fontCssClassesByAlias",new Map);s(this,"_resolvers",[]);s(this,"_defaultFontSetClass",["material-icons","mat-ligature-font"]);this._httpClient=n,this._sanitizer=a,this._errorHandler=o,this._document=i}addSvgIcon(n,a,i){return this.addSvgIconInNamespace("",n,a,i)}addSvgIconLiteral(n,a,i){return this.addSvgIconLiteralInNamespace("",n,a,i)}addSvgIconInNamespace(n,a,i,o){return this._addSvgIconConfig(n,a,new Vr(i,null,o))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,a,i,o){let l=this._sanitizer.sanitize(on.HTML,i);if(!l)throw mm(i);let h=ri(l);return this._addSvgIconConfig(n,a,new Vr("",h,o))}addSvgIconSet(n,a){return this.addSvgIconSetInNamespace("",n,a)}addSvgIconSetLiteral(n,a){return this.addSvgIconSetLiteralInNamespace("",n,a)}addSvgIconSetInNamespace(n,a,i){return this._addSvgIconSetConfig(n,new Vr(a,null,i))}addSvgIconSetLiteralInNamespace(n,a,i){let o=this._sanitizer.sanitize(on.HTML,a);if(!o)throw mm(a);let l=ri(o);return this._addSvgIconSetConfig(n,new Vr("",l,i))}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(on.RESOURCE_URL,n);if(!a)throw pm(n);let i=this._cachedIconsByUrl.get(a);return i?_t(Fo(i)):this._loadSvgIconFromConfig(new Vr(n,null)).pipe(Ho(o=>this._cachedIconsByUrl.set(a,o)),wt(o=>Fo(o)))}getNamedSvgIcon(n,a=""){let i=fm(a,n),o=this._svgIconConfigs.get(i);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(a,n),o)return this._svgIconConfigs.set(i,o),this._getSvgFromConfig(o);let l=this._iconSetConfigs.get(a);return l?this._getSvgFromIconSetConfigs(n,l):sf(hm(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(n){return n.svgText?_t(Fo(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(wt(a=>Fo(a)))}_getSvgFromIconSetConfigs(n,a){let i=this._extractIconWithNameFromAnySet(n,a);if(i)return _t(i);let o=a.filter(l=>!l.svgText).map(l=>this._loadSvgIconSetFromConfig(l).pipe(Hs(h=>{let u=`Loading icon set URL: ${this._sanitizer.sanitize(on.RESOURCE_URL,l.url)} failed: ${h.message}`;return this._errorHandler.handleError(new Error(u)),_t(null)})));return hf(o).pipe(wt(()=>{let l=this._extractIconWithNameFromAnySet(n,a);if(!l)throw hm(n);return l}))}_extractIconWithNameFromAnySet(n,a){for(let i=a.length-1;i>=0;i--){let o=a[i];if(o.svgText&&o.svgText.toString().indexOf(n)>-1){let l=this._svgElementFromConfig(o),h=this._extractSvgIconFromSet(l,n,o.options);if(h)return h}}return null}_loadSvgIconFromConfig(n){return this._fetchIcon(n).pipe(Ho(a=>n.svgText=a),wt(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?_t(null):this._fetchIcon(n).pipe(Ho(a=>n.svgText=a))}_extractSvgIconFromSet(n,a,i){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,i);if(l.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(l),i);let h=this._svgElementFromString(ri("<svg></svg>"));return h.appendChild(l),this._setSvgAttributes(h,i)}_svgElementFromString(n){let a=this._document.createElement("DIV");a.innerHTML=n;let i=a.querySelector("svg");if(!i)throw Error("<svg> tag not found");return i}_toSvgElement(n){let a=this._svgElementFromString(ri("<svg></svg>")),i=n.attributes;for(let o=0;o<i.length;o++){let{name:l,value:h}=i[o];l!=="id"&&a.setAttribute(l,h)}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:i}=n,o=(i==null?void 0:i.withCredentials)??!1;if(!this._httpClient)throw AX();if(a==null)throw Error(`Cannot fetch icon from URL "${a}".`);let l=this._sanitizer.sanitize(on.RESOURCE_URL,a);if(!l)throw pm(a);let h=this._inProgressUrlFetches.get(l);if(h)return h;let u=this._httpClient.get(l,{responseType:"text",withCredentials:o}).pipe(wt(c=>ri(c)),gf(()=>this._inProgressUrlFetches.delete(l)),vf());return this._inProgressUrlFetches.set(l,u),u}_addSvgIconConfig(n,a,i){return this._svgIconConfigs.set(fm(n,a),i),this}_addSvgIconSetConfig(n,a){let i=this._iconSetConfigs.get(n);return i?i.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 i=0;i<this._resolvers.length;i++){let o=this._resolvers[i](a,n);if(o)return FX(o)?new Vr(o.url,null,o.options):new Vr(o,null)}}};s(t,"ɵfac",function(n){return new(n||t)(ee(no,8),ee(G0),ee(Le,8),ee(Hn))}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Fo(e){return e.cloneNode(!0)}function fm(e,t){return e+":"+t}function FX(e){return!!(e.url&&e.options)}var jX=["*"],VX=new Q("MAT_ICON_DEFAULT_OPTIONS"),BX=new Q("mat-icon-location",{providedIn:"root",factory:zX});function zX(){let e=D(Le),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var S3=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],HX=S3.map(e=>`[${e}]`).join(", "),qX=/^url\(['"]?#(.*?)['"]?\)$/,k3=(()=>{const t=class t{constructor(){s(this,"_elementRef",D(Xt));s(this,"_iconRegistry",D(LX));s(this,"_location",D(BX));s(this,"_errorHandler",D(Hn));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",Zt.EMPTY);let n=D(new eH("aria-hidden"),{optional:!0}),a=D(VX,{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 i=n.childNodes[a];(i.nodeType!==1||i.nodeName.toLowerCase()==="svg")&&i.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let n=this._elementRef.nativeElement,a=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(i=>i.length>0);this._previousFontSetClass.forEach(i=>n.classList.remove(i)),a.forEach(i=>n.classList.add(i)),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((i,o)=>{i.forEach(l=>{o.setAttribute(l.name,`url('${n}#${l.value}')`)})})}_cacheChildrenWithExternalReferences(n){let a=n.querySelectorAll(HX),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<a.length;o++)S3.forEach(l=>{let h=a[o],u=h.getAttribute(l),c=u?u.match(qX):null;if(c){let m=i.get(h);m||(m=[],i.set(h,m)),m.push({name:l,value:c[1]})}})}_updateSvgIcon(n){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),n){let[a,i]=this._splitIconName(n);a&&(this._svgNamespace=a),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,a).pipe(rr(1)).subscribe(o=>this._setSvgElement(o),o=>{let l=`Error retrieving icon ${a}:${i}! ${o.message}`;this._errorHandler.handleError(new Error(l))})}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",It({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(n,a){n&2&&(Ha("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),fd(a.color?"mat-"+a.color:""),Dr("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",oi],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:jX,decls:1,vars:0,template:function(n,a){n&1&&($a(),cn(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}
34
- `],encapsulation:2,changeDetection:0}));let e=t;return e})();function $X(e){e||(Mc(),e=D(Gi));let t=new Qe(r=>e.onDestroy(r.next.bind(r)));return r=>r.pipe(Fi(t))}var C3={"application/prs.cww":["cww"],"application/prs.xsf+xml":["xsf"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["*xfdf"],"application/vnd.age":["age"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.autodesk.fbx":["fbx"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dcmp+xml":["dcmp"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["*fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.slides":["ggs"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.drawing":["gdraw"],"application/vnd.google-apps.form":["gform"],"application/vnd.google-apps.jam":["gjam"],"application/vnd.google-apps.map":["gmap"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.script":["gscript"],"application/vnd.google-apps.site":["gsite"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.gov.sk.xmldatacontainer+xml":["xdcf"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["*mpp","mpt"],"application/vnd.ms-visio.viewer":["vdx"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.nato.bindingdataobject+xml":["bdo"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.procrate.brushset":["brushset"],"application/vnd.procreate.brush":["brush"],"application/vnd.procreate.dream":["drm"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.pwg-xhtml-print+xml":["xhtm"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml","uo"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw","vsdx","vtx"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blender":["blend"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-compressed":["*rar"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-ipynb+json":["ipynb"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["*prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["*sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zip-compressed":["*zip"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["*aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif","btf"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-adobe-dng":["dng"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.bary":["bary"],"model/vnd.cld":["cld"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["*mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.pytha.pyox":["pyo","pyox"],"model/vnd.sap.vds":["vds"],"model/vnd.usda":["usda"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.familysearch.gedcom":["ged"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]};Object.freeze(C3);var GX=C3,I3={"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(I3);var UX=I3,nn=function(e,t,r,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 r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)},ha,ui,zr,WX=class{constructor(...e){ha.set(this,new Map),ui.set(this,new Map),zr.set(this,new Map);for(let t of e)this.define(t)}define(e,t=!1){for(let[r,n]of Object.entries(e)){r=r.toLowerCase(),n=n.map(o=>o.toLowerCase()),nn(this,zr,"f").has(r)||nn(this,zr,"f").set(r,new Set);let a=nn(this,zr,"f").get(r),i=!0;for(let o of n){let l=o.startsWith("*");if(o=l?o.slice(1):o,a==null||a.add(o),i&&nn(this,ui,"f").set(r,o),i=!1,l)continue;let h=nn(this,ha,"f").get(o);if(h&&h!=r&&!t)throw new Error(`"${r} -> ${o}" conflicts with "${h} -> ${o}". Pass \`force=true\` to override this definition.`);nn(this,ha,"f").set(o,r)}}return this}getType(e){if(typeof e!="string")return null;let t=e.replace(/^.*[/\\]/s,"").toLowerCase(),r=t.replace(/^.*\./s,"").toLowerCase(),n=t.length<e.length;return!(r.length<t.length-1)&&n?null:nn(this,ha,"f").get(r)??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&&nn(this,ui,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:nn(this,zr,"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 nn(this,zr,"f").values())Object.freeze(e);return this}_getTestState(){return{types:nn(this,ha,"f"),extensions:nn(this,ui,"f")}}};ha=new WeakMap,ui=new WeakMap,zr=new WeakMap;var ZX=WX;new ZX(UX,GX)._freeze();var YX=(()=>{const t=class t{transform(n){return PQ(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=ra({name:"fullname",type:t,pure:!0});let e=t;return e})(),KX=(()=>{const t=class t{constructor(){this.ingredientLabelService=D(LQ),this.translate=D(qn),this.destroyRef=D(Gi),this.cd=D(nl),this.translate.onLangChange.pipe($X(this.destroyRef)).subscribe(()=>{this.transformIngredientLabel(),this.cd.markForCheck()})}transform(n){return n!==this.ingredient&&(this.ingredient=n,this.transformIngredientLabel()),this.translation}transformIngredientLabel(){this.translation=this.ingredient?this.ingredientLabelService.transform(this.ingredient):""}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=ra({name:"ingredientLabel",type:t,pure:!0});let e=t;return e})(),QX=(()=>{const t=class t{constructor(){this.translate=D(qn)}transform(n){return Zb(n,this.translate.currentLang)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=ra({name:"translateValue",type:t,pure:!0});let e=t;return e})(),JX=(()=>{const t=class t{transform(n){return Math.abs(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=ra({name:"absolute",type:t,pure:!0});let e=t;return e})(),XX=e=>({count:e});function eee(e,t){if(e&1){let r=r0();ke(0,"span",1),Ae(1),Ze(2,"translate"),Ce(),ke(3,"span",2)(4,"a",3),el("click",function(n){tg(r);let a=Et(2);return ng(a.onDownloadClick(n))}),Yt(5,"mat-icon",4),Ae(6),Ze(7,"translate"),Ce()()}e&2&&(we(),mt(Xe(2,2,"deliveredMedicationDetails.leaflet")),we(5),lr(" ",Xe(7,4,"commons.downloadLeaflet")," "))}function tee(e,t){if(e&1&&(ke(0,"span",1),Ae(1),Ze(2,"translate"),Ce(),ke(3,"span",2),Ae(4),Ze(5,"translateValue"),Ce(),zt(6,eee,8,6)),e&2){let r=Et();we(),mt(Xe(2,3,"deliveredMedicationDetails.medication")),we(3),mt(Xe(5,5,r.item().medication.name)),we(2),sn(r.displayAllDetails()&&r.item().medication.identifier&&r.item().medication.identifier.type===r.identifierType.CNK?6:-1)}}function nee(e,t){if(e&1&&(Ae(0),Ze(1,"ingredientLabel")),e&2){let r=t.$implicit;lr(" ",Xe(1,1,r)," ")}}function ree(e,t){if(e&1&&(ke(0,"span",1)(1,"strong"),Ae(2),Ze(3,"translate"),Ce()(),ke(4,"span",2),t0(5,nee,2,3,null,null,pG),Ce()),e&2){let r=Et();we(2),mt(Xe(3,1,"deliveredMedicationsList.magisterialPreparation")),we(3),n0(r.item().medication.ingredients)}}function aee(e,t){if(e&1&&(ke(0,"span",1),Ae(1),Ze(2,"translate"),Ce(),ke(3,"span",2),Ae(4),Ze(5,"date"),Ce()),e&2){let r=Et(),n=Et();we(),mt(Xe(2,2,r<0?"deliveredMedicationDetails.return-delivery-date":"deliveredMedicationDetails.delivery-date")),we(3),mt(c0(5,4,n.item().deliveryDate,"dd/MM/yyyy"))}}function iee(e,t){if(e&1&&(ke(0,"span",1),Ae(1),Ze(2,"translate"),Ce(),ke(3,"span",2),Ae(4),Ze(5,"absolute"),Ze(6,"translate"),Ce(),zt(7,aee,6,7),ke(8,"span",1),Ae(9),Ze(10,"translate"),Ce()),e&2){let r=t,n=Et();we(),mt(Xe(2,5,r<0?"deliveredMedicationDetails.returned-quantity":"deliveredMedicationDetails.quantity")),we(3),gd("",r," ",c0(6,9,"deliveredMedicationDetails.package",FG(14,XX,Xe(5,7,r))),""),we(3),sn(n.displayAllDetails()?7:-1),we(2),mt(Xe(10,12,r<0?"deliveredMedicationDetails.returned-by":"deliveredMedicationDetails.delivered-by"))}}function oee(e,t){if(e&1&&(Ae(0),Ze(1,"translateValue"),Yt(2,"br"),Ae(3)),e&2){let r=Et();lr(" ",Xe(1,2,t)," "),we(3),lr(" ",r.item().pharmacy.nihdi," ")}}function see(e,t){if(e&1&&(Ae(0),Ze(1,"translate")),e&2){let r=Et();gd(" ",Xe(1,2,"deliveredMedicationDetails.no-pharmacy"),": ",r.item().pharmacy.nihdi," ")}}function lee(e,t){if(e&1&&(ke(0,"span",1),Ae(1),Ze(2,"translate"),Ce(),ke(3,"span",2),Ae(4),Ze(5,"fullname"),Ce()),e&2){let r=Et();we(),mt(Xe(2,2,"deliveredMedicationDetails.patient")),we(3),mt(Xe(5,4,r.item().person))}}var uee=(()=>{const t=class t{constructor(){this.translate=D(qn),this.leafletService=D(XQ),this.item=Ut.required(),this.displayAllDetails=Ut(!1),this.isProfessional=Ut.required(),this.identifierType=Kb}onDownloadClick(n){n.preventDefault(),this.leafletService.getLeaflet(this.translate.currentLang,this.item().medication.identifier.value)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=It({type:t,selectors:[["vidis-delivered-medication-details-row"]],inputs:{item:[1,"item"],displayAllDetails:[1,"displayAllDetails"],isProfessional:[1,"isProfessional"]},decls:24,vars:18,consts:[[1,"details"],[1,"details__label"],[1,"details__value"],["mat-button","","target","_blank",3,"click"],["fontIcon","download"]],template:function(n,a){if(n&1&&(ke(0,"span",0),zt(1,tee,7,7)(2,ree,7,3),ke(3,"span",1),Ae(4),Ze(5,"translate"),Ce(),ke(6,"span",2),Ae(7),Ce(),ke(8,"span",1),Ae(9),Ze(10,"translate"),Ce(),ke(11,"span",2),Ae(12),Ze(13,"translate"),Ce(),zt(14,iee,11,16),ke(15,"span",2),zt(16,oee,4,4)(17,see,2,4),Ce(),zt(18,lee,6,6),ke(19,"span",1),Ae(20),Ze(21,"translate"),Ce(),ke(22,"span",2),Ae(23),Ce()()),n&2){let i,o,l;we(),sn(a.item().medication.name?1:2),we(3),mt(Xe(5,10,"deliveredMedicationDetails.posologie")),we(3),mt((i=a.item().dosageInstruction)==null?null:i.text),we(2),mt(Xe(10,12,"deliveredMedicationDetails.is-prescribed.title")),we(3),mt(Xe(13,14,"deliveredMedicationDetails.is-prescribed."+(a.item().isPrescribed?"yes":"no"))),we(2),sn((o=(o=a.item().medication.quantity)==null?null:o.value)?14:-1,o),we(2),sn((l=(l=a.item().pharmacy)==null?null:l.name)?16:17,l),we(2),sn(a.displayAllDetails()&&!a.isProfessional()?18:-1),we(2),mt(Xe(21,16,"deliveredMedicationDetails.dguid")),we(3),mt(a.item().dguid)}},dependencies:[Cd,QX,KX,CW,k3,i8,YX,JX],styles:[".details[_ngcontent-%COMP%]{display:grid}@media only screen and (min-width: 960px){.details[_ngcontent-%COMP%]{grid-template-columns:max-content auto;gap:10px 20px}}@media only screen and (max-width: 960px){.details__value[_ngcontent-%COMP%]{margin-bottom:10px}}.details__label[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:700;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.details__value[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}"]});let e=t;return e})();bm(p4());var cee=(()=>{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=$({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),dee=(()=>{const t=class t extends eJ{constructor(){super(...arguments),this.version=dc,this.authServiceSelector=D(qd),this.translateService=D(qn),this.webComponentConfig=D(sl),this.injector=D(Mt),this.servicesStore=D(cee),this.extraRequiredFields=["offline","professional","ssin"]}onInitialized(){this.webComponentConfig.setEnvironment(this.configName),this.translateService.use(this.language),this.authServiceSelector.getInstance().registerAccessToken(this.services.getAccessToken),this.authServiceSelector.getInstance().isProfessional=this.professional,this.authServiceSelector.getInstance().patientSsin=this.ssin,this.authServiceSelector.getInstance().isOfflineDataStorageEnabled=this.offline,this.servicesStore.setServices(this.services),this.injectService(),this.fetchData(!1),this.services.registerRefreshCallback(n=>Mn(this,null,function*(){this.fetchData(!0),n()}))}onPropsChanged(n){n.language&&this.translateService.use(this.language)}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=En(t)))(a||t)}})(),t.ɵcmp=It({type:t,selectors:[["ng-component"]],inputs:{offline:"offline",professional:"professional",ssin:"ssin"},features:[Tr],decls:0,vars:0,template:function(n,a){},encapsulation:2});let e=t;return e})(),hee=["*"],pee=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],mee=["[mat-card-avatar], [matCardAvatar]",`mat-card-title, mat-card-subtitle,
26
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),NW=(()=>{const t=class t extends kW{};s(t,"ɵfac",(()=>{let n;return function(a){return(n||(n=Sn(t)))(a||t)}})()),s(t,"ɵcmp",Dt({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&&(qa("disabled",a._getDisabledAttribute())("tabindex",a.disabled&&!a.disabledInteractive?-1:a.tabIndex)("aria-disabled",a._getAriaDisabled()),gd(a.color?"mat-"+a.color:""),Dr("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:[Tr],ngContentSelectors:cb,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&&(Ga(ub),Kt(0,"span",0),dn(1),ke(2,"span",1),dn(3,1),Ce(),dn(4,2),Kt(5,"span",2)(6,"span",3)),n&2&&Dr("mdc-button__ripple",!a._isFab)("mdc-fab__ripple",a._isFab)},styles:[CW,IW],encapsulation:2,changeDetection:0}));let e=t;return e})(),db=(()=>{const t=class t{constructor(){s(this,"changes",new Pe);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,i)=>{if(i==0||a==0)return`0 of ${i}`;i=Math.max(i,0);let o=n*a,l=o<i?Math.min(o+a,i):o+a;return`${o+1} – ${l} of ${i}`})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),_e=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}(_e||{}),ir="*";function TW(e,t=null){return{type:_e.Sequence,steps:e,options:t}}function qp(e){return{type:_e.Style,styles:e,offset:null}}var Ti=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(r=>r()),t.length=0}},hb=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,r=0,n=0,a=this.players.length;a==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(i=>{i.onDone(()=>{++t==a&&this._onFinish()}),i.onDestroy(()=>{++r==a&&this._onDestroy()}),i.onStart(()=>{++n==a&&this._onStart()})}),this.totalTime=this.players.reduce((i,o)=>Math.max(i,o.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let t=e*this.totalTime;this.players.forEach(r=>{let n=r.totalTime?Math.min(1,t/r.totalTime):1;r.setPosition(n)})}getPosition(){let e=this.players.reduce((t,r)=>t===null||r.totalTime>t.totalTime?r: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(r=>r()),t.length=0}},Md="!";function $p(e){return new U(3e3,!1)}function MW(){return new U(3100,!1)}function OW(){return new U(3101,!1)}function RW(e){return new U(3001,!1)}function PW(e){return new U(3003,!1)}function AW(e){return new U(3004,!1)}function LW(e,t){return new U(3005,!1)}function FW(){return new U(3006,!1)}function jW(){return new U(3007,!1)}function VW(e,t){return new U(3008,!1)}function zW(e){return new U(3002,!1)}function BW(e,t,r,n,a){return new U(3010,!1)}function HW(){return new U(3011,!1)}function qW(){return new U(3012,!1)}function $W(){return new U(3200,!1)}function GW(){return new U(3202,!1)}function UW(){return new U(3013,!1)}function WW(e){return new U(3014,!1)}function ZW(e){return new U(3015,!1)}function YW(e){return new U(3016,!1)}function KW(e,t){return new U(3404,!1)}function QW(e){return new U(3502,!1)}function JW(e){return new U(3503,!1)}function XW(){return new U(3300,!1)}function eZ(e){return new U(3504,!1)}function tZ(e){return new U(3301,!1)}function nZ(e,t){return new U(3302,!1)}function rZ(e){return new U(3303,!1)}function aZ(e,t){return new U(3400,!1)}function iZ(e){return new U(3401,!1)}function oZ(e){return new U(3402,!1)}function sZ(e,t){return new U(3505,!1)}function br(e){switch(e.length){case 0:return new Ti;case 1:return e[0];default:return new hb(e)}}function pb(e,t,r=new Map,n=new Map){let a=[],i=[],o=-1,l=null;if(t.forEach(h=>{let u=h.get("offset"),c=u==o,m=c&&l||new Map;h.forEach((b,g)=>{let w=g,x=b;if(g!=="offset")switch(w=e.normalizePropertyName(w,a),x){case Md:x=r.get(g);break;case ir:x=n.get(g);break;default:x=e.normalizeStyleValue(g,w,x,a);break}m.set(w,x)}),c||i.push(m),l=m,o=u}),a.length)throw QW();return i}function Od(e,t,r,n){switch(t){case"start":e.onStart(()=>n(r&&Yl(r,"start",e)));break;case"done":e.onDone(()=>n(r&&Yl(r,"done",e)));break;case"destroy":e.onDestroy(()=>n(r&&Yl(r,"destroy",e)));break}}function Yl(e,t,r){let n=r.totalTime,a=!!r.disabled,i=Rd(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,n??e.totalTime,a),o=e._data;return o!=null&&(i._data=o),i}function Rd(e,t,r,n,a="",i=0,o){return{element:e,triggerName:t,fromState:r,toState:n,phaseName:a,totalTime:i,disabled:!!o}}function Zt(e,t,r){let n=e.get(t);return n||e.set(t,n=r),n}function Gp(e){let t=e.indexOf(":"),r=e.substring(1,t),n=e.slice(t+1);return[r,n]}var lZ=typeof document>"u"?null:document.documentElement;function Pd(e){let t=e.parentNode||e.host||null;return t===lZ?null:t}function uZ(e){return e.substring(1,6)=="ebkit"}var Fr=null,Up=!1;function cZ(e){Fr||(Fr=dZ()||{},Up=Fr.style?"WebkitAppearance"in Fr.style:!1);let t=!0;return Fr.style&&!uZ(e)&&(t=e in Fr.style,!t&&Up&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Fr.style)),t}function dZ(){return typeof document<"u"?document.body:null}function mb(e,t){for(;t;){if(t===e)return!0;t=Pd(t)}return!1}function fb(e,t,r){if(r)return Array.from(e.querySelectorAll(t));let n=e.querySelector(t);return n?[n]:[]}var hZ=1e3,gb="{{",pZ="}}",vb="ng-enter",tc="ng-leave",Mo="ng-trigger",Cs=".ng-trigger",Wp="ng-animating",nc=".ng-animating";function nr(e){if(typeof e=="number")return e;let t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:rc(parseFloat(t[1]),t[2])}function rc(e,t){switch(t){case"s":return e*hZ;default:return e}}function Is(e,t,r){return e.hasOwnProperty("duration")?e:mZ(e,t,r)}function mZ(e,t,r){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,a,i=0,o="";if(typeof e=="string"){let l=e.match(n);if(l===null)return t.push($p()),{duration:0,delay:0,easing:""};a=rc(parseFloat(l[1]),l[2]);let h=l[3];h!=null&&(i=rc(parseFloat(h),l[4]));let u=l[5];u&&(o=u)}else a=e;if(!r){let l=!1,h=t.length;a<0&&(t.push(MW()),l=!0),i<0&&(t.push(OW()),l=!0),l&&t.splice(h,0,$p())}return{duration:a,delay:i,easing:o}}function fZ(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}function On(e,t,r){t.forEach((n,a)=>{let i=Ad(a);r&&!r.has(a)&&r.set(a,e.style[i]),e.style[i]=n})}function $r(e,t){t.forEach((r,n)=>{let a=Ad(n);e.style[a]=""})}function ti(e){return Array.isArray(e)?e.length==1?e[0]:TW(e):e}function gZ(e,t,r){let n=t.params||{},a=bb(e);a.length&&a.forEach(i=>{n.hasOwnProperty(i)||r.push(RW())})}var ac=new RegExp(`${gb}\\s*(.+?)\\s*${pZ}`,"g");function bb(e){let t=[];if(typeof e=="string"){let r;for(;r=ac.exec(e);)t.push(r[1]);ac.lastIndex=0}return t}function Mi(e,t,r){let n=`${e}`,a=n.replace(ac,(i,o)=>{let l=t[o];return l==null&&(r.push(PW()),l=""),l.toString()});return a==n?e:a}var vZ=/-+([a-z0-9])/g;function Ad(e){return e.replace(vZ,(...t)=>t[1].toUpperCase())}function bZ(e,t){return e===0||t===0}function yZ(e,t,r){if(r.size&&t.length){let n=t[0],a=[];if(r.forEach((i,o)=>{n.has(o)||a.push(o),n.set(o,i)}),a.length)for(let i=1;i<t.length;i++){let o=t[i];a.forEach(l=>o.set(l,Ld(e,l)))}}return t}function Ut(e,t,r){switch(t.type){case _e.Trigger:return e.visitTrigger(t,r);case _e.State:return e.visitState(t,r);case _e.Transition:return e.visitTransition(t,r);case _e.Sequence:return e.visitSequence(t,r);case _e.Group:return e.visitGroup(t,r);case _e.Animate:return e.visitAnimate(t,r);case _e.Keyframes:return e.visitKeyframes(t,r);case _e.Style:return e.visitStyle(t,r);case _e.Reference:return e.visitReference(t,r);case _e.AnimateChild:return e.visitAnimateChild(t,r);case _e.AnimateRef:return e.visitAnimateRef(t,r);case _e.Query:return e.visitQuery(t,r);case _e.Stagger:return e.visitStagger(t,r);default:throw AW(t.type)}}function Ld(e,t){return window.getComputedStyle(e)[t]}var _Z=(()=>{const t=class t{validateStyleProperty(n){return cZ(n)}containsElement(n,a){return mb(n,a)}getParentElement(n){return Pd(n)}query(n,a,i){return fb(n,a,i)}computeStyle(n,a,i){return i||""}animate(n,a,i,o,l,h=[],u){return new Ti(i,o)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})(),iu,yb=(iu=class{},s(iu,"NOOP",new _Z),iu),Fd=class{},wZ=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"]),xZ=class extends Fd{normalizePropertyName(e,t){return Ad(e)}normalizeStyleValue(e,t,r,n){let a="",i=r.toString().trim();if(wZ.has(t)&&r!==0&&r!=="0")if(typeof r=="number")a="px";else{let o=r.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&n.push(LW())}return i+a}},Ds="*";function EZ(e,t){let r=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(n=>SZ(n,r,t)):r.push(e),r}function SZ(e,t,r){if(e[0]==":"){let h=kZ(e,r);if(typeof h=="function"){t.push(h);return}e=h}let n=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return r.push(ZW()),t;let a=n[1],i=n[2],o=n[3];t.push(Zp(a,o));let l=a==Ds&&o==Ds;i[0]=="<"&&!l&&t.push(Zp(o,a))}function kZ(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(r,n)=>parseFloat(n)>parseFloat(r);case":decrement":return(r,n)=>parseFloat(n)<parseFloat(r);default:return t.push(YW()),"* => *"}}var Oo=new Set(["true","1"]),Ro=new Set(["false","0"]);function Zp(e,t){let r=Oo.has(e)||Ro.has(e),n=Oo.has(t)||Ro.has(t);return(a,i)=>{let o=e==Ds||e==a,l=t==Ds||t==i;return!o&&r&&typeof a=="boolean"&&(o=a?Oo.has(e):Ro.has(e)),!l&&n&&typeof i=="boolean"&&(l=i?Oo.has(t):Ro.has(t)),o&&l}}var _b=":self",CZ=new RegExp(`s*${_b}s*,?`,"g");function wb(e,t,r,n){return new IZ(e).build(t,r,n)}var Yp="",IZ=class{constructor(e){s(this,"_driver");this._driver=e}build(e,t,r){let n=new TZ(t);return this._resetContextStyleTimingState(n),Ut(this,ti(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=Yp,e.collectedStyles=new Map,e.collectedStyles.set(Yp,new Map),e.currentTime=0}visitTrigger(e,t){let r=t.queryCount=0,n=t.depCount=0,a=[],i=[];return e.name.charAt(0)=="@"&&t.errors.push(FW()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==_e.State){let l=o,h=l.name;h.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,a.push(this.visitState(l,t))}),l.name=h}else if(o.type==_e.Transition){let l=this.visitTransition(o,t);r+=l.queryCount,n+=l.depCount,i.push(l)}else t.errors.push(jW())}),{type:_e.Trigger,name:e.name,states:a,transitions:i,queryCount:r,depCount:n,options:null}}visitState(e,t){let r=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(r.containsDynamicStyles){let a=new Set,i=n||{};r.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{bb(l).forEach(h=>{i.hasOwnProperty(h)||a.add(h)})})}),a.size&&t.errors.push(VW(e.name,[...a.values()]))}return{type:_e.State,name:e.name,style:r,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let r=Ut(this,ti(e.animation),t),n=EZ(e.expr,t.errors);return{type:_e.Transition,matchers:n,animation:r,queryCount:t.queryCount,depCount:t.depCount,options:jr(e.options)}}visitSequence(e,t){return{type:_e.Sequence,steps:e.steps.map(r=>Ut(this,r,t)),options:jr(e.options)}}visitGroup(e,t){let r=t.currentTime,n=0,a=e.steps.map(i=>{t.currentTime=r;let o=Ut(this,i,t);return n=Math.max(n,t.currentTime),o});return t.currentTime=n,{type:_e.Group,steps:a,options:jr(e.options)}}visitAnimate(e,t){let r=OZ(e.timings,t.errors);t.currentAnimateTimings=r;let n,a=e.styles?e.styles:qp({});if(a.type==_e.Keyframes)n=this.visitKeyframes(a,t);else{let i=e.styles,o=!1;if(!i){o=!0;let h={};r.easing&&(h.easing=r.easing),i=qp(h)}t.currentTime+=r.duration+r.delay;let l=this.visitStyle(i,t);l.isEmptyStep=o,n=l}return t.currentAnimateTimings=null,{type:_e.Animate,timings:r,style:n,options:null}}visitStyle(e,t){let r=this._makeStyleAst(e,t);return this._validateStyleAst(r,t),r}_makeStyleAst(e,t){let r=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of n)typeof o=="string"?o===ir?r.push(o):t.errors.push(zW()):r.push(new Map(Object.entries(o)));let a=!1,i=null;return r.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(i=o.get("easing"),o.delete("easing")),!a)){for(let l of o.values())if(l.toString().indexOf(gb)>=0){a=!0;break}}}),{type:_e.Style,styles:r,easing:i,offset:e.offset,containsDynamicStyles:a,options:null}}_validateStyleAst(e,t){let r=t.currentAnimateTimings,n=t.currentTime,a=t.currentTime;r&&a>0&&(a-=r.duration+r.delay),e.styles.forEach(i=>{typeof i!="string"&&i.forEach((o,l)=>{let h=t.collectedStyles.get(t.currentQuerySelector),u=h.get(l),c=!0;u&&(a!=n&&a>=u.startTime&&n<=u.endTime&&(t.errors.push(BW(l,u.startTime,u.endTime)),c=!1),a=u.startTime),c&&h.set(l,{startTime:a,endTime:n}),t.options&&gZ(o,t.options,t.errors)})})}visitKeyframes(e,t){let r={type:_e.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(HW()),r;let n=1,a=0,i=[],o=!1,l=!1,h=0,u=e.steps.map(S=>{let N=this._makeStyleAst(S,t),L=N.offset!=null?N.offset:MZ(N.styles),A=0;return L!=null&&(a++,A=N.offset=L),l=l||A<0||A>1,o=o||A<h,h=A,i.push(A),N});l&&t.errors.push(qW()),o&&t.errors.push($W());let c=e.steps.length,m=0;a>0&&a<c?t.errors.push(GW()):a==0&&(m=n/(c-1));let b=c-1,g=t.currentTime,w=t.currentAnimateTimings,x=w.duration;return u.forEach((S,N)=>{let L=m>0?N==b?1:m*N:i[N],A=L*x;t.currentTime=g+w.delay+A,w.duration=A,this._validateStyleAst(S,t),S.offset=L,r.styles.push(S)}),r}visitReference(e,t){return{type:_e.Reference,animation:Ut(this,ti(e.animation),t),options:jr(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:_e.AnimateChild,options:jr(e.options)}}visitAnimateRef(e,t){return{type:_e.AnimateRef,animation:this.visitReference(e.animation,t),options:jr(e.options)}}visitQuery(e,t){let r=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;let[a,i]=DZ(e.selector);t.currentQuerySelector=r.length?r+" "+a:a,Zt(t.collectedStyles,t.currentQuerySelector,new Map);let o=Ut(this,ti(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=r,{type:_e.Query,selector:a,limit:n.limit||0,optional:!!n.optional,includeSelf:i,animation:o,originalSelector:e.selector,options:jr(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(UW());let r=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Is(e.timings,t.errors,!0);return{type:_e.Stagger,animation:Ut(this,ti(e.animation),t),timings:r,options:null}}};function DZ(e){let t=!!e.split(/\s*,\s*/).find(r=>r==_b);return t&&(e=e.replace(CZ,"")),e=e.replace(/@\*/g,Cs).replace(/@\w+/g,r=>Cs+"-"+r.slice(1)).replace(/:animating/g,nc),[e,t]}function NZ(e){return e?ge({},e):null}var TZ=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 MZ(e){if(typeof e=="string")return null;let t=null;if(Array.isArray(e))e.forEach(r=>{if(r instanceof Map&&r.has("offset")){let n=r;t=parseFloat(n.get("offset")),n.delete("offset")}});else if(e instanceof Map&&e.has("offset")){let r=e;t=parseFloat(r.get("offset")),r.delete("offset")}return t}function OZ(e,t){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let a=Is(e,t).duration;return Kl(a,0,"")}let r=e;if(r.split(/\s+/).some(a=>a.charAt(0)=="{"&&a.charAt(1)=="{")){let a=Kl(0,0,"");return a.dynamic=!0,a.strValue=r,a}let n=Is(r,t);return Kl(n.duration,n.delay,n.easing)}function jr(e){return e?(e=ge({},e),e.params&&(e.params=NZ(e.params))):e={},e}function Kl(e,t,r){return{duration:e,delay:t,easing:r}}function jd(e,t,r,n,a,i,o=null,l=!1){return{type:1,element:e,keyframes:t,preStyleProps:r,postStyleProps:n,duration:a,delay:i,totalTime:a+i,easing:o,subTimeline:l}}var Vd=class{constructor(){s(this,"_map",new Map)}get(e){return this._map.get(e)||[]}append(e,t){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},RZ=1,PZ=":enter",AZ=new RegExp(PZ,"g"),LZ=":leave",FZ=new RegExp(LZ,"g");function xb(e,t,r,n,a,i=new Map,o=new Map,l,h,u=[]){return new jZ().buildKeyframes(e,t,r,n,a,i,o,l,h,u)}var jZ=class{buildKeyframes(e,t,r,n,a,i,o,l,h,u=[]){h=h||new Vd;let c=new VZ(e,t,h,n,a,u,[]);c.options=l;let m=l.delay?nr(l.delay):0;c.currentTimeline.delayNextStep(m),c.currentTimeline.setStyles([i],null,c.errors,l),Ut(this,r,c);let b=c.timelines.filter(g=>g.containsAnimation());if(b.length&&o.size){let g;for(let w=b.length-1;w>=0;w--){let x=b[w];if(x.element===t){g=x;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([o],null,c.errors,l)}return b.length?b.map(g=>g.buildKeyframes()):[jd(t,[],[],[],0,m,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let r=t.subInstructions.get(t.element);if(r){let n=t.createSubContext(e.options),a=t.currentTimeline.currentTime,i=this._visitSubInstructions(r,n,n.options);a!=i&&t.transformIntoNewTimeline(i)}t.previousNode=e}visitAnimateRef(e,t){let r=t.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,r),this.visitReference(e.animation,r),t.transformIntoNewTimeline(r.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,r){for(let n of e){let a=n==null?void 0:n.delay;if(a){let i=typeof a=="number"?a:nr(Mi(a,(n==null?void 0:n.params)??{},t.errors));r.delayNextStep(i)}}}_visitSubInstructions(e,t,r){let n=t.currentTimeline.currentTime,a=r.duration!=null?nr(r.duration):null,i=r.delay!=null?nr(r.delay):null;return a!==0&&e.forEach(o=>{let l=t.appendInstructionToTimeline(o,a,i);n=Math.max(n,l.duration+l.delay)}),n}visitReference(e,t){t.updateOptions(e.options,!0),Ut(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let r=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==_e.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Ns);let i=nr(a.delay);n.delayNextStep(i)}e.steps.length&&(e.steps.forEach(i=>Ut(this,i,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>r&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let r=[],n=t.currentTimeline.currentTime,a=e.options&&e.options.delay?nr(e.options.delay):0;e.steps.forEach(i=>{let o=t.createSubContext(e.options);a&&o.delayNextStep(a),Ut(this,i,o),n=Math.max(n,o.currentTimeline.currentTime),r.push(o.currentTimeline)}),r.forEach(i=>t.currentTimeline.mergeTimelineCollectedStyles(i)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let r=e.strValue,n=t.params?Mi(r,t.params,t.errors):r;return Is(n,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let r=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;r.delay&&(t.incrementTime(r.delay),n.snapshotCurrentStyles());let a=e.style;a.type==_e.Keyframes?this.visitKeyframes(a,t):(t.incrementTime(r.duration),this.visitStyle(a,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let r=t.currentTimeline,n=t.currentAnimateTimings;!n&&r.hasCurrentStyleProperties()&&r.forwardFrame();let a=n&&n.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(a):r.setStyles(e.styles,a,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let r=t.currentAnimateTimings,n=t.currentTimeline.duration,a=r.duration,i=t.createSubContext().currentTimeline;i.easing=r.easing,e.styles.forEach(o=>{let l=o.offset||0;i.forwardTime(l*a),i.setStyles(o.styles,o.easing,t.errors,t.options),i.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(i),t.transformIntoNewTimeline(n+a),t.previousNode=e}visitQuery(e,t){let r=t.currentTimeline.currentTime,n=e.options||{},a=n.delay?nr(n.delay):0;a&&(t.previousNode.type===_e.Style||r==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Ns);let i=r,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((h,u)=>{t.currentQueryIndex=u;let c=t.createSubContext(e.options,h);a&&c.delayNextStep(a),h===t.element&&(l=c.currentTimeline),Ut(this,e.animation,c),c.currentTimeline.applyStylesToKeyframe();let m=c.currentTimeline.currentTime;i=Math.max(i,m)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(i),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let r=t.parentContext,n=t.currentTimeline,a=e.timings,i=Math.abs(a.duration),o=i*(t.currentQueryTotal-1),l=i*t.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":l=o-l;break;case"full":l=r.currentStaggerTime;break}let h=t.currentTimeline;l&&h.delayNextStep(l);let u=h.currentTime;Ut(this,e.animation,t),t.previousNode=e,r.currentStaggerTime=n.currentTime-u+(n.startTime-r.currentTimeline.startTime)}},Ns={},VZ=class Eb{constructor(t,r,n,a,i,o,l,h){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",Ns);s(this,"subContextCount",0);s(this,"options",{});s(this,"currentQueryIndex",0);s(this,"currentQueryTotal",0);s(this,"currentStaggerTime",0);this._driver=t,this.element=r,this.subInstructions=n,this._enterClassName=a,this._leaveClassName=i,this.errors=o,this.timelines=l,this.currentTimeline=h||new Sb(this._driver,r,0),l.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,r){if(!t)return;let n=t,a=this.options;n.duration!=null&&(a.duration=nr(n.duration)),n.delay!=null&&(a.delay=nr(n.delay));let i=n.params;if(i){let o=a.params;o||(o=this.options.params={}),Object.keys(i).forEach(l=>{(!r||!o.hasOwnProperty(l))&&(o[l]=Mi(i[l],o,this.errors))})}}_copyOptions(){let t={};if(this.options){let r=this.options.params;if(r){let n=t.params={};Object.keys(r).forEach(a=>{n[a]=r[a]})}}return t}createSubContext(t=null,r,n){let a=r||this.element,i=new Eb(this._driver,a,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(a,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(t),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(t){return this.previousNode=Ns,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,r,n){let a={duration:r??t.duration,delay:this.currentTimeline.currentTime+(n??0)+t.delay,easing:""},i=new zZ(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,a,t.stretchStartingKeyframe);return this.timelines.push(i),a}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,r,n,a,i,o){let l=[];if(a&&l.push(this.element),t.length>0){t=t.replace(AZ,"."+this._enterClassName),t=t.replace(FZ,"."+this._leaveClassName);let h=n!=1,u=this._driver.query(this.element,t,h);n!==0&&(u=n<0?u.slice(u.length+n,u.length):u.slice(0,n)),l.push(...u)}return!i&&l.length==0&&o.push(WW()),l}},Sb=class kb{constructor(t,r,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=r,this.startTime=n,this._elementTimelineStylesLookup=a,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(r),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(r,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 r=this._keyframes.size===1&&this._pendingStyles.size;this.duration||r?(this.forwardTime(this.currentTime+t),r&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,r){return this.applyStylesToKeyframe(),new kb(this._driver,t,r||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+=RZ,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,r){this._localTimelineStyles.set(t,r),this._globalTimelineStyles.set(t,r),this._styleSummary.set(t,{time:this.currentTime,value:r})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[r,n]of this._globalTimelineStyles)this._backFill.set(r,n||ir),this._currentKeyframe.set(r,ir);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,r,n,a){r&&this._previousKeyframe.set("easing",r);let i=a&&a.params||{},o=BZ(t,this._globalTimelineStyles);for(let[l,h]of o){let u=Mi(h,i,n);this._pendingStyles.set(l,u),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??ir),this._updateStyle(l,u)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,r)=>{this._currentKeyframe.set(r,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,r)=>{this._currentKeyframe.has(r)||this._currentKeyframe.set(r,t)}))}snapshotCurrentStyles(){for(let[t,r]of this._localTimelineStyles)this._pendingStyles.set(t,r),this._updateStyle(t,r)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let r in this._currentKeyframe)t.push(r);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((r,n)=>{let a=this._styleSummary.get(n);(!a||r.time>a.time)&&this._updateStyle(n,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,r=new Set,n=this._keyframes.size===1&&this.duration===0,a=[];this._keyframes.forEach((l,h)=>{let u=new Map([...this._backFill,...l]);u.forEach((c,m)=>{c===Md?t.add(m):c===ir&&r.add(m)}),n||u.set("offset",h/this.duration),a.push(u)});let i=[...t.values()],o=[...r.values()];if(n){let l=a[0],h=new Map(l);l.set("offset",0),h.set("offset",1),a=[l,h]}return jd(this.element,a,i,o,this.duration,this.startTime,this.easing,!1)}},zZ=class extends Sb{constructor(t,r,n,a,i,o,l=!1){super(t,r,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=i,this._stretchStartingKeyframe=l,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:r,duration:n,easing:a}=this.timings;if(this._stretchStartingKeyframe&&r){let i=[],o=n+r,l=r/o,h=new Map(t[0]);h.set("offset",0),i.push(h);let u=new Map(t[0]);u.set("offset",Kp(l)),i.push(u);let c=t.length-1;for(let m=1;m<=c;m++){let b=new Map(t[m]),g=b.get("offset"),w=r+g*n;b.set("offset",Kp(w/o)),i.push(b)}n=o,r=0,a="",t=i}return jd(this.element,t,this.preStyleProps,this.postStyleProps,n,r,a,!0)}};function Kp(e,t=3){let r=Math.pow(10,t-1);return Math.round(e*r)/r}function BZ(e,t){let r=new Map,n;return e.forEach(a=>{if(a==="*"){n??(n=t.keys());for(let i of n)r.set(i,ir)}else for(let[i,o]of a)r.set(i,o)}),r}function Qp(e,t,r,n,a,i,o,l,h,u,c,m,b){return{type:0,element:e,triggerName:t,isRemovalTransition:a,fromState:r,fromStyles:i,toState:n,toStyles:o,timelines:l,queriedElements:h,preStyleProps:u,postStyleProps:c,totalTime:m,errors:b}}var Ql={},Cb=class{constructor(e,t,r){s(this,"_triggerName");s(this,"ast");s(this,"_stateStyles");this._triggerName=e,this.ast=t,this._stateStyles=r}match(e,t,r,n){return HZ(this.ast.matchers,e,t,r,n)}buildStyles(e,t,r){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e==null?void 0:e.toString())||n),n?n.buildStyles(t,r):new Map}build(e,t,r,n,a,i,o,l,h,u){var dt;let c=[],m=this.ast.options&&this.ast.options.params||Ql,b=o&&o.params||Ql,g=this.buildStyles(r,b,c),w=l&&l.params||Ql,x=this.buildStyles(n,w,c),S=new Set,N=new Map,L=new Map,A=n==="void",Y={params:Ib(w,m),delay:(dt=this.ast.options)==null?void 0:dt.delay},ne=u?[]:xb(e,t,this.ast.animation,a,i,g,x,Y,h,c),ue=0;return ne.forEach(tt=>{ue=Math.max(tt.duration+tt.delay,ue)}),c.length?Qp(t,this._triggerName,r,n,A,g,x,[],[],N,L,ue,c):(ne.forEach(tt=>{let Be=tt.element,ot=Zt(N,Be,new Set);tt.preStyleProps.forEach(B=>ot.add(B));let Z=Zt(L,Be,new Set);tt.postStyleProps.forEach(B=>Z.add(B)),Be!==t&&S.add(Be)}),Qp(t,this._triggerName,r,n,A,g,x,ne,[...S.values()],N,L,ue))}};function HZ(e,t,r,n,a){return e.some(i=>i(t,r,n,a))}function Ib(e,t){let r=ge({},t);return Object.entries(e).forEach(([n,a])=>{a!=null&&(r[n]=a)}),r}var qZ=class{constructor(e,t,r){s(this,"styles");s(this,"defaultParams");s(this,"normalizer");this.styles=e,this.defaultParams=t,this.normalizer=r}buildStyles(e,t){let r=new Map,n=Ib(e,this.defaultParams);return this.styles.styles.forEach(a=>{typeof a!="string"&&a.forEach((i,o)=>{i&&(i=Mi(i,n,t));let l=this.normalizer.normalizePropertyName(o,t);i=this.normalizer.normalizeStyleValue(o,l,i,t),r.set(o,i)})}),r}};function $Z(e,t,r){return new GZ(e,t,r)}var GZ=class{constructor(e,t,r){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=r,t.states.forEach(n=>{let a=n.options&&n.options.params||{};this.states.set(n.name,new qZ(n.style,a,r))}),Jp(this.states,"true","1"),Jp(this.states,"false","0"),t.transitions.forEach(n=>{this.transitionFactories.push(new Cb(e,n,this.states))}),this.fallbackTransition=UZ(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,r,n){return this.transitionFactories.find(a=>a.match(e,t,r,n))||null}matchStyles(e,t,r){return this.fallbackTransition.buildStyles(e,t,r)}};function UZ(e,t,r){let n=[(o,l)=>!0],a={type:_e.Sequence,steps:[],options:null},i={type:_e.Transition,animation:a,matchers:n,options:null,queryCount:0,depCount:0};return new Cb(e,i,t)}function Jp(e,t,r){e.has(t)?e.has(r)||e.set(r,e.get(t)):e.has(r)&&e.set(t,e.get(r))}var WZ=new Vd,ZZ=class{constructor(e,t,r){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=r}register(e,t){let r=[],n=[],a=wb(this._driver,t,r,n);if(r.length)throw JW();this._animations.set(e,a)}_buildPlayer(e,t,r){let n=e.element,a=pb(this._normalizer,e.keyframes,t,r);return this._driver.animate(n,a,e.duration,e.delay,e.easing,[],!0)}create(e,t,r={}){let n=[],a=this._animations.get(e),i,o=new Map;if(a?(i=xb(this._driver,t,a,vb,tc,new Map,new Map,r,WZ,n),i.forEach(u=>{let c=Zt(o,u.element,new Map);u.postStyleProps.forEach(m=>c.set(m,null))})):(n.push(XW()),i=[]),n.length)throw eZ();o.forEach((u,c)=>{u.forEach((m,b)=>{u.set(b,this._driver.computeStyle(c,b,ir))})});let l=i.map(u=>{let c=o.get(u.element);return this._buildPlayer(u,new Map,c)}),h=br(l);return this._playersById.set(e,h),h.onDestroy(()=>this.destroy(e)),this.players.push(h),h}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let r=this.players.indexOf(t);r>=0&&this.players.splice(r,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw tZ();return t}listen(e,t,r,n){let a=Rd(t,"","","");return Od(this._getPlayer(e),r,a,n),()=>{}}command(e,t,r,n){if(r=="register"){this.register(e,n[0]);return}if(r=="create"){let i=n[0]||{};this.create(e,t,i);return}let a=this._getPlayer(e);switch(r){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}}},Xp="ng-animate-queued",YZ=".ng-animate-queued",Jl="ng-animate-disabled",KZ=".ng-animate-disabled",QZ="ng-star-inserted",JZ=".ng-star-inserted",XZ=[],Db={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},eY={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},bn="__ng_removed",ic=class{constructor(e,t=""){s(this,"namespaceId");s(this,"value");s(this,"options");this.namespaceId=t;let r=e&&e.hasOwnProperty("value"),n=r?e.value:e;if(this.value=aY(n),r){let a=e,{value:i}=a,o=D3(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 r=this.options.params;Object.keys(t).forEach(n=>{r[n]==null&&(r[n]=t[n])})}}},gi="void",Xl=new ic(gi),tY=class{constructor(e,t,r){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=r,this._hostClassName="ng-tns-"+e,on(t,this._hostClassName)}listen(e,t,r,n){if(!this._triggers.has(t))throw nZ();if(r==null||r.length==0)throw rZ();if(!iY(r))throw aZ();let a=Zt(this._elementListeners,e,[]),i={name:t,phase:r,callback:n};a.push(i);let o=Zt(this._engine.statesByElement,e,new Map);return o.has(t)||(on(e,Mo),on(e,Mo+"-"+t),o.set(t,Xl)),()=>{this._engine.afterFlush(()=>{let l=a.indexOf(i);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 iZ();return t}trigger(e,t,r,n=!0){let a=this._getTrigger(t),i=new oc(this.id,t,e),o=this._engine.statesByElement.get(e);o||(on(e,Mo),on(e,Mo+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),h=new ic(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&h.absorbOptions(l.options),o.set(t,h),l||(l=Xl),h.value!==gi&&l.value===h.value){if(!lY(l.params,h.params)){let b=[],g=a.matchStyles(l.value,l.params,b),w=a.matchStyles(h.value,h.params,b);b.length?this._engine.reportError(b):this._engine.afterFlush(()=>{$r(e,g),On(e,w)})}return}let u=Zt(this._engine.playersByElement,e,[]);u.forEach(b=>{b.namespaceId==this.id&&b.triggerName==t&&b.queued&&b.destroy()});let c=a.matchTransition(l.value,h.value,e,h.params),m=!1;if(!c){if(!n)return;c=a.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:c,fromState:l,toState:h,player:i,isFallbackTransition:m}),m||(on(e,Xp),i.onStart(()=>{da(e,Xp)})),i.onDone(()=>{let b=this.players.indexOf(i);b>=0&&this.players.splice(b,1);let g=this._engine.playersByElement.get(e);if(g){let w=g.indexOf(i);w>=0&&g.splice(w,1)}}),this.players.push(i),u.push(i),i}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,r)=>{this._elementListeners.set(r,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(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let r=this._engine.driver.query(e,Cs,!0);r.forEach(n=>{if(n[bn])return;let a=this._engine.fetchNamespacesByElement(n);a.size?a.forEach(i=>i.triggerLeaveAnimation(n,t,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,t,r,n){let a=this._engine.statesByElement.get(e),i=new Map;if(a){let o=[];if(a.forEach((l,h)=>{if(i.set(h,l.value),this._triggers.has(h)){let u=this.trigger(e,h,gi,n);u&&o.push(u)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,i),r&&br(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(t&&r){let n=new Set;t.forEach(a=>{let i=a.name;if(n.has(i))return;n.add(i);let o=this._triggers.get(i).fallbackTransition,l=r.get(i)||Xl,h=new ic(gi),u=new oc(this.id,i,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:o,fromState:l,toState:h,player:u,isFallbackTransition:!0})})}}removeNode(e,t){let r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(r.totalAnimations){let a=r.players.length?r.playersByQueriedElement.get(e):[];if(a&&a.length)n=!0;else{let i=e;for(;i=i.parentNode;)if(r.statesByElement.get(i)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)r.markElementAsRemoved(this.id,e,!1,t);else{let a=e[bn];(!a||a===Db)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}insertNode(e,t){on(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(r=>{let n=r.player;if(n.destroyed)return;let a=r.element,i=this._elementListeners.get(a);i&&i.forEach(o=>{if(o.name==r.triggerName){let l=Rd(a,r.triggerName,r.fromState.value,r.toState.value);l._data=e,Od(r.player,o.phase,l,o.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(r)}),this._queue=[],t.sort((r,n)=>{let a=r.transition.ast.depCount,i=n.transition.ast.depCount;return a==0||i==0?a-i:this._engine.driver.containsElement(r.element,n.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},nY=class{constructor(e,t,r){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=r}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,t){let r=new tY(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(r,t):(this.newHostElements.set(t,r),this.collectEnterElement(t)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,t){let r=this._namespaceList,n=this.namespacesByHostElement;if(r.length-1>=0){let a=!1,i=this.driver.getParentElement(t);for(;i;){let o=n.get(i);if(o){let l=r.indexOf(o);r.splice(l+1,0,e),a=!0;break}i=this.driver.getParentElement(i)}a||r.unshift(e)}else r.push(e);return n.set(t,e),e}register(e,t){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,t)),r}registerTrigger(e,t,r){let n=this._namespaceLookup[e];n&&n.register(t,r)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(e);this.namespacesByHostElement.delete(r.hostElement);let n=this._namespaceList.indexOf(r);n>=0&&this._namespaceList.splice(n,1),r.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,r=this.statesByElement.get(e);if(r){for(let n of r.values())if(n.namespaceId){let a=this._fetchNamespace(n.namespaceId);a&&t.add(a)}}return t}trigger(e,t,r,n){if(Po(t)){let a=this._fetchNamespace(e);if(a)return a.trigger(t,r,n),!0}return!1}insertNode(e,t,r,n){if(!Po(t))return;let a=t[bn];if(a&&a.setForRemoval){a.setForRemoval=!1,a.setForMove=!0;let i=this.collectedLeaveElements.indexOf(t);i>=0&&this.collectedLeaveElements.splice(i,1)}if(e){let i=this._fetchNamespace(e);i&&i.insertNode(t,r)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),on(e,Jl)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),da(e,Jl))}removeNode(e,t,r){if(Po(t)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r);let a=this.namespacesByHostElement.get(t);a&&a.id!==e&&a.removeNode(t,r)}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,r,n,a){this.collectedLeaveElements.push(t),t[bn]={namespaceId:e,setForRemoval:n,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:a}}listen(e,t,r,n,a){return Po(t)?this._fetchNamespace(e).listen(t,r,n,a):()=>{}}_buildInstruction(e,t,r,n,a){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,n,e.fromState.options,e.toState.options,t,a)}destroyInnerAnimations(e){let t=this.driver.query(e,Cs,!0);t.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,nc,!0),t.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return br(this.players).onDone(()=>e());e()})}processLeaveNode(e){var r;let t=e[bn];if(t&&t.setForRemoval){if(e[bn]=Db,t.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}(r=e.classList)!=null&&r.contains(Jl)&&this.markElementAsDisabled(e,!1),this.driver.query(e,KZ,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,n)=>this._balanceNamespaceList(r,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++){let n=this.collectedEnterElements[r];on(n,QZ)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let r=[];try{t=this._flushAnimations(r,e)}finally{for(let n=0;n<r.length;n++)r[n]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++){let n=this.collectedLeaveElements[r];this.processLeaveNode(n)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],t.length?br(t).onDone(()=>{r.forEach(n=>n())}):r.forEach(n=>n())}}reportError(e){throw oZ()}_flushAnimations(e,t){let r=new Vd,n=[],a=new Map,i=[],o=new Map,l=new Map,h=new Map,u=new Set;this.disabledNodes.forEach(P=>{u.add(P);let j=this.driver.query(P,YZ,!0);for(let G=0;G<j.length;G++)u.add(j[G])});let c=this.bodyNode,m=Array.from(this.statesByElement.keys()),b=nm(m,this.collectedEnterElements),g=new Map,w=0;b.forEach((P,j)=>{let G=vb+w++;g.set(j,G),P.forEach(ve=>on(ve,G))});let x=[],S=new Set,N=new Set;for(let P=0;P<this.collectedLeaveElements.length;P++){let j=this.collectedLeaveElements[P],G=j[bn];G&&G.setForRemoval&&(x.push(j),S.add(j),G.hasAnimation?this.driver.query(j,JZ,!0).forEach(ve=>S.add(ve)):N.add(j))}let L=new Map,A=nm(m,Array.from(S));A.forEach((P,j)=>{let G=tc+w++;L.set(j,G),P.forEach(ve=>on(ve,G))}),e.push(()=>{b.forEach((P,j)=>{let G=g.get(j);P.forEach(ve=>da(ve,G))}),A.forEach((P,j)=>{let G=L.get(j);P.forEach(ve=>da(ve,G))}),x.forEach(P=>{this.processLeaveNode(P)})});let Y=[],ne=[];for(let P=this._namespaceList.length-1;P>=0;P--)this._namespaceList[P].drainQueuedTransitions(t).forEach(j=>{let G=j.player,ve=j.element;if(Y.push(G),this.collectedEnterElements.length){let He=ve[bn];if(He&&He.setForMove){if(He.previousTriggersValues&&He.previousTriggersValues.has(j.triggerName)){let Tt=He.previousTriggersValues.get(j.triggerName),ht=this.statesByElement.get(j.element);if(ht&&ht.has(j.triggerName)){let In=ht.get(j.triggerName);In.value=Tt,ht.set(j.triggerName,In)}}G.destroy();return}}let Ve=!c||!this.driver.containsElement(c,ve),Nt=L.get(ve),Ee=g.get(ve),De=this._buildInstruction(j,r,Ee,Nt,Ve);if(De.errors&&De.errors.length){ne.push(De);return}if(Ve){G.onStart(()=>$r(ve,De.fromStyles)),G.onDestroy(()=>On(ve,De.toStyles)),n.push(G);return}if(j.isFallbackTransition){G.onStart(()=>$r(ve,De.fromStyles)),G.onDestroy(()=>On(ve,De.toStyles)),n.push(G);return}let Ye=[];De.timelines.forEach(He=>{He.stretchStartingKeyframe=!0,this.disabledNodes.has(He.element)||Ye.push(He)}),De.timelines=Ye,r.append(ve,De.timelines);let mn={instruction:De,player:G,element:ve};i.push(mn),De.queriedElements.forEach(He=>Zt(o,He,[]).push(G)),De.preStyleProps.forEach((He,Tt)=>{if(He.size){let ht=l.get(Tt);ht||l.set(Tt,ht=new Set),He.forEach((In,pr)=>ht.add(pr))}}),De.postStyleProps.forEach((He,Tt)=>{let ht=h.get(Tt);ht||h.set(Tt,ht=new Set),He.forEach((In,pr)=>ht.add(pr))})});if(ne.length){let P=[];ne.forEach(j=>{P.push(sZ(j.triggerName,j.errors))}),Y.forEach(j=>j.destroy()),this.reportError(P)}let ue=new Map,dt=new Map;i.forEach(P=>{let j=P.element;r.has(j)&&(dt.set(j,j),this._beforeAnimationBuild(P.player.namespaceId,P.instruction,ue))}),n.forEach(P=>{let j=P.element;this._getPreviousPlayers(j,!1,P.namespaceId,P.triggerName,null).forEach(G=>{Zt(ue,j,[]).push(G),G.destroy()})});let tt=x.filter(P=>rm(P,l,h)),Be=new Map;tm(Be,this.driver,N,h,ir).forEach(P=>{rm(P,l,h)&&tt.push(P)});let ot=new Map;b.forEach((P,j)=>{tm(ot,this.driver,new Set(P),l,Md)}),tt.forEach(P=>{let j=Be.get(P),G=ot.get(P);Be.set(P,new Map([...(j==null?void 0:j.entries())??[],...(G==null?void 0:G.entries())??[]]))});let Z=[],B=[],de={};i.forEach(P=>{let{element:j,player:G,instruction:ve}=P;if(r.has(j)){if(u.has(j)){G.onDestroy(()=>On(j,ve.toStyles)),G.disabled=!0,G.overrideTotalTime(ve.totalTime),n.push(G);return}let Ve=de;if(dt.size>1){let Ee=j,De=[];for(;Ee=Ee.parentNode;){let Ye=dt.get(Ee);if(Ye){Ve=Ye;break}De.push(Ee)}De.forEach(Ye=>dt.set(Ye,Ve))}let Nt=this._buildAnimation(G.namespaceId,ve,ue,a,ot,Be);if(G.setRealPlayer(Nt),Ve===de)Z.push(G);else{let Ee=this.playersByElement.get(Ve);Ee&&Ee.length&&(G.parentPlayer=br(Ee)),n.push(G)}}else $r(j,ve.fromStyles),G.onDestroy(()=>On(j,ve.toStyles)),B.push(G),u.has(j)&&n.push(G)}),B.forEach(P=>{let j=a.get(P.element);if(j&&j.length){let G=br(j);P.setRealPlayer(G)}}),n.forEach(P=>{P.parentPlayer?P.syncPlayerEvents(P.parentPlayer):P.destroy()});for(let P=0;P<x.length;P++){let j=x[P],G=j[bn];if(da(j,tc),G&&G.hasAnimation)continue;let ve=[];if(o.size){let Nt=o.get(j);Nt&&Nt.length&&ve.push(...Nt);let Ee=this.driver.query(j,nc,!0);for(let De=0;De<Ee.length;De++){let Ye=o.get(Ee[De]);Ye&&Ye.length&&ve.push(...Ye)}}let Ve=ve.filter(Nt=>!Nt.destroyed);Ve.length?oY(this,j,Ve):this.processLeaveNode(j)}return x.length=0,Z.forEach(P=>{this.players.push(P),P.onDone(()=>{P.destroy();let j=this.players.indexOf(P);this.players.splice(j,1)}),P.play()}),Z}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,r,n,a){let i=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(i=o)}else{let o=this.playersByElement.get(e);if(o){let l=!a||a==gi;o.forEach(h=>{h.queued||!l&&h.triggerName!=n||i.push(h)})}}return(r||n)&&(i=i.filter(o=>!(r&&r!=o.namespaceId||n&&n!=o.triggerName))),i}_beforeAnimationBuild(e,t,r){let n=t.triggerName,a=t.element,i=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:n;for(let l of t.timelines){let h=l.element,u=h!==a,c=Zt(r,h,[]);this._getPreviousPlayers(h,u,i,o,t.toState).forEach(m=>{let b=m.getRealPlayer();b.beforeDestroy&&b.beforeDestroy(),m.destroy(),c.push(m)})}$r(a,t.fromStyles)}_buildAnimation(e,t,r,n,a,i){let o=t.triggerName,l=t.element,h=[],u=new Set,c=new Set,m=t.timelines.map(g=>{let w=g.element;u.add(w);let x=w[bn];if(x&&x.removedBeforeQueried)return new Ti(g.duration,g.delay);let S=w!==l,N=sY((r.get(w)||XZ).map(ue=>ue.getRealPlayer())).filter(ue=>{let dt=ue;return dt.element?dt.element===w:!1}),L=a.get(w),A=i.get(w),Y=pb(this._normalizer,g.keyframes,L,A),ne=this._buildPlayer(g,Y,N);if(g.subTimeline&&n&&c.add(w),S){let ue=new oc(e,o,w);ue.setRealPlayer(ne),h.push(ue)}return ne});h.forEach(g=>{Zt(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>rY(this.playersByQueriedElement,g.element,g))}),u.forEach(g=>on(g,Wp));let b=br(m);return b.onDestroy(()=>{u.forEach(g=>da(g,Wp)),On(l,t.toStyles)}),c.forEach(g=>{Zt(n,g,[]).push(b)}),b}_buildPlayer(e,t,r){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,r):new Ti(e.duration,e.delay)}},oc=class{constructor(e,t,r){s(this,"namespaceId");s(this,"triggerName");s(this,"element");s(this,"_player",new Ti);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=r}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,r)=>{t.forEach(n=>Od(e,r,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){Zt(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 rY(e,t,r){let n=e.get(t);if(n){if(n.length){let a=n.indexOf(r);n.splice(a,1)}n.length==0&&e.delete(t)}return n}function aY(e){return e??null}function Po(e){return e&&e.nodeType===1}function iY(e){return e=="start"||e=="done"}function em(e,t){let r=e.style.display;return e.style.display=t??"none",r}function tm(e,t,r,n,a){let i=[];r.forEach(h=>i.push(em(h)));let o=[];n.forEach((h,u)=>{let c=new Map;h.forEach(m=>{let b=t.computeStyle(u,m,a);c.set(m,b),(!b||b.length==0)&&(u[bn]=eY,o.push(u))}),e.set(u,c)});let l=0;return r.forEach(h=>em(h,i[l++])),o}function nm(e,t){let r=new Map;if(e.forEach(l=>r.set(l,[])),t.length==0)return r;let n=1,a=new Set(t),i=new Map;function o(l){if(!l)return n;let h=i.get(l);if(h)return h;let u=l.parentNode;return r.has(u)?h=u:a.has(u)?h=n:h=o(u),i.set(l,h),h}return t.forEach(l=>{let h=o(l);h!==n&&r.get(h).push(l)}),r}function on(e,t){var r;(r=e.classList)==null||r.add(t)}function da(e,t){var r;(r=e.classList)==null||r.remove(t)}function oY(e,t,r){br(r).onDone(()=>e.processLeaveNode(t))}function sY(e){let t=[];return Nb(e,t),t}function Nb(e,t){for(let r=0;r<e.length;r++){let n=e[r];n instanceof hb?Nb(n.players,t):t.push(n)}}function lY(e,t){let r=Object.keys(e),n=Object.keys(t);if(r.length!=n.length)return!1;for(let a=0;a<r.length;a++){let i=r[a];if(!t.hasOwnProperty(i)||e[i]!==t[i])return!1}return!0}function rm(e,t,r){let n=r.get(e);if(!n)return!1;let a=t.get(e);return a?n.forEach(i=>a.add(i)):t.set(e,n),r.delete(e),!0}var sc=class{constructor(e,t,r){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=r,this._transitionEngine=new nY(e.body,t,r),this._timelineEngine=new ZZ(e.body,t,r),this._transitionEngine.onRemovalComplete=(n,a)=>this.onRemovalComplete(n,a)}registerTrigger(e,t,r,n,a){let i=e+"-"+n,o=this._triggerCache[i];if(!o){let l=[],h=[],u=wb(this._driver,a,l,h);if(l.length)throw KW();o=$Z(n,u,this._normalizer),this._triggerCache[i]=o}this._transitionEngine.registerTrigger(t,n,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,r,n){this._transitionEngine.insertNode(e,t,r,n)}onRemove(e,t,r){this._transitionEngine.removeNode(e,t,r)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,r,n){if(r.charAt(0)=="@"){let[a,i]=Gp(r),o=n;this._timelineEngine.command(a,t,i,o)}else this._transitionEngine.trigger(e,t,r,n)}listen(e,t,r,n,a){if(r.charAt(0)=="@"){let[i,o]=Gp(r);return this._timelineEngine.listen(i,t,o,a)}return this._transitionEngine.listen(e,t,r,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 uY(e,t){let r=null,n=null;return Array.isArray(t)&&t.length?(r=eu(t[0]),t.length>1&&(n=eu(t[t.length-1]))):t instanceof Map&&(r=eu(t)),r||n?new cY(e,r,n):null}var cY=(()=>{const t=class t{constructor(n,a,i){s(this,"_element");s(this,"_startStyles");s(this,"_endStyles");s(this,"_state",0);s(this,"_initialStyles");this._element=n,this._startStyles=a,this._endStyles=i;let o=t.initialStylesByElement.get(n);o||t.initialStylesByElement.set(n,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&On(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(On(this._element,this._initialStyles),this._endStyles&&(On(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&($r(this._element,this._startStyles),this._endStyles=null),this._endStyles&&($r(this._element,this._endStyles),this._endStyles=null),On(this._element,this._initialStyles),this._state=3)}};s(t,"initialStylesByElement",new WeakMap);let e=t;return e})();function eu(e){let t=null;return e.forEach((r,n)=>{dY(n)&&(t=t||new Map,t.set(n,r))}),t}function dY(e){return e==="display"||e==="position"}var am=class{constructor(e,t,r,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=r,this._specialStyles=n,this._duration=r.duration,this._delay=r.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(r=>{t.push(Object.fromEntries(r))}),t}_triggerWebAnimation(e,t,r){return e.animate(this._convertKeyframesToObject(t),r)}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,r)=>{r!=="offset"&&e.set(r,this._finished?t:Ld(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}},hY=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return mb(e,t)}getParentElement(e){return Pd(e)}query(e,t,r){return fb(e,t,r)}computeStyle(e,t,r){return Ld(e,t)}animate(e,t,r,n,a,i=[]){let o=n==0?"both":"forwards",l={duration:r,delay:n,fill:o};a&&(l.easing=a);let h=new Map,u=i.filter(b=>b instanceof am);bZ(r,n)&&u.forEach(b=>{b.currentSnapshot.forEach((g,w)=>h.set(w,g))});let c=fZ(t).map(b=>new Map(b));c=yZ(e,c,h);let m=uY(e,c);return new am(e,c,l,m)}},es="@",Tb="@.disabled",Mb=class{constructor(e,t,r,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=r,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(e){var t,r;(r=(t=this.delegate).destroyNode)==null||r.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,r,n=!0){this.delegate.insertBefore(e,t,r),this.engine.onInsert(this.namespaceId,t,e,n)}removeChild(e,t,r){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,r,n){this.delegate.setAttribute(e,t,r,n)}removeAttribute(e,t,r){this.delegate.removeAttribute(e,t,r)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,r,n){this.delegate.setStyle(e,t,r,n)}removeStyle(e,t,r){this.delegate.removeStyle(e,t,r)}setProperty(e,t,r){t.charAt(0)==es&&t==Tb?this.disableAnimations(e,!!r):this.delegate.setProperty(e,t,r)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,r,n){return this.delegate.listen(e,t,r,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},pY=class extends Mb{constructor(t,r,n,a,i){super(r,n,a,i);s(this,"factory");this.factory=t,this.namespaceId=r}setProperty(t,r,n){r.charAt(0)==es?r.charAt(1)=="."&&r==Tb?(n=n===void 0?!0:!!n,this.disableAnimations(t,n)):this.engine.process(this.namespaceId,t,r.slice(1),n):this.delegate.setProperty(t,r,n)}listen(t,r,n,a){if(r.charAt(0)==es){let i=mY(t),o=r.slice(1),l="";return o.charAt(0)!=es&&([o,l]=fY(o)),this.engine.listen(this.namespaceId,i,o,l,h=>{let u=h._data||-1;this.factory.scheduleListenerCallback(u,n,h)})}return this.delegate.listen(t,r,n,a)}};function mY(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function fY(e){let t=e.indexOf("."),r=e.substring(0,t),n=e.slice(t+1);return[r,n]}var gY=class{constructor(e,t,r){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=r,t.onRemovalComplete=(n,a)=>{a==null||a.removeChild(null,n)}}createRenderer(e,t){var l;let r="",n=this.delegate.createRenderer(e,t);if(!e||!((l=t==null?void 0:t.data)!=null&&l.animation)){let h=this._rendererCache,u=h.get(n);if(!u){let c=()=>h.delete(n);u=new Mb(r,n,this.engine,c),h.set(n,u)}return u}let a=t.id,i=t.id+"-"+this._currentId;this._currentId++,this.engine.register(i,e);let o=h=>{Array.isArray(h)?h.forEach(o):this.engine.registerTrigger(a,i,e,h.name,h)};return t.data.animation.forEach(o),new pY(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,r){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(r));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(a=>{let[i,o]=a;i(o)}),this._animationCallbacksBuffer=[]})}),n.push([t,r])}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,r;this.engine.flush(),(r=(t=this.delegate).componentReplaced)==null||r.call(t,e)}},vY=(()=>{const t=class t extends sc{constructor(n,a,i){super(n,a,i)}ngOnDestroy(){this.flush()}};s(t,"ɵfac",function(n){return new(n||t)(ee(Le),ee(yb),ee(Fd))}),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})();function bY(){return new xZ}function yY(e,t,r){return new gY(e,t,r)}var _Y=[{provide:Fd,useFactory:bY},{provide:sc,useClass:vY},{provide:kn,useFactory:yY,deps:[Uu,sc,je]}],wY=[{provide:yb,useFactory:()=>new hY},{provide:Yi,useFactory:()=>"BrowserAnimations"},..._Y];function xY(){return ta("NgEagerAnimations"),[...wY]}var EY=(()=>{const t=class t extends db{constructor(n){super(),this.translate=n,this.getRangeLabel=(a,i,o)=>{if(o===0||i===0)return`0 / ${o}`;o=Math.max(o,0);let l=a*i,h=l<o?Math.min(l+i,o):l+i;return`${l+1} - ${h} / ${o}`},this.getAndInitTranslations=()=>{this.nextPageLabel=this.translate.instant("commons.matPaginator.nextPage"),this.previousPageLabel=this.translate.instant("commons.matPaginator.prevPage"),this.firstPageLabel=this.translate.instant("commons.matPaginator.firstPage"),this.lastPageLabel=this.translate.instant("commons.matPaginator.lastPage"),this.itemsPerPageLabel=this.translate.instant("commons.matPaginator.itemsPerPage"),this.getRangeLabel=this.getRangeLabel.bind(this),this.changes.next()},this.translate.onLangChange.subscribe(()=>{this.getAndInitTranslations()}),this.getAndInitTranslations()}};t.ɵfac=function(n){return new(n||t)(ee(qn))},t.ɵprov=$({token:t,factory:t.ɵfac});let e=t;return e})(),Ob=6048e5,SY=864e5,kY=6e4,CY=36e5,IY=1e3,im=Symbol.for("constructDateFrom");function St(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&im in e?e[im](t):e instanceof Date?new e.constructor(t):new Date(t)}function vt(e,t){return St(t||e,e)}function Rb(e,t,r){let n=vt(e,r==null?void 0:r.in);return isNaN(t)?St((r==null?void 0:r.in)||e,NaN):(t&&n.setDate(n.getDate()+t),n)}var DY={};function Ua(){return DY}function Nr(e,t){var l,h,u,c;let r=Ua(),n=(t==null?void 0:t.weekStartsOn)??((h=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:h.weekStartsOn)??r.weekStartsOn??((c=(u=r.locale)==null?void 0:u.options)==null?void 0:c.weekStartsOn)??0,a=vt(e,t==null?void 0:t.in),i=a.getDay(),o=(i<n?7:0)+i-n;return a.setDate(a.getDate()-o),a.setHours(0,0,0,0),a}function La(e,t){return Nr(e,Qt(ge({},t),{weekStartsOn:1}))}function Pb(e,t){let r=vt(e,t==null?void 0:t.in),n=r.getFullYear(),a=St(r,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);let i=La(a),o=St(r,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);let l=La(o);return r.getTime()>=i.getTime()?n+1:r.getTime()>=l.getTime()?n:n-1}function Ts(e){let t=vt(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function NY(e,...t){let r=St.bind(null,t.find(n=>typeof n=="object"));return t.map(r)}function om(e,t){let r=vt(e,t==null?void 0:t.in);return r.setHours(0,0,0,0),r}function TY(e,t,r){let[n,a]=NY(r==null?void 0:r.in,e,t),i=om(n),o=om(a),l=+i-Ts(i),h=+o-Ts(o);return Math.round((l-h)/SY)}function MY(e,t){let r=Pb(e,t),n=St(e,0);return n.setFullYear(r,0,4),n.setHours(0,0,0,0),La(n)}function OY(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function RY(e){return!(!OY(e)&&typeof e!="number"||isNaN(+vt(e)))}function PY(e,t){let r=vt(e,t==null?void 0:t.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}var AY={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"}},LY=(e,t,r)=>{let n,a=AY[e];return typeof a=="string"?n=a:t===1?n=a.one:n=a.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};function tu(e){return(t={})=>{let r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}var FY={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},jY={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},VY={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},zY={date:tu({formats:FY,defaultWidth:"full"}),time:tu({formats:jY,defaultWidth:"full"}),dateTime:tu({formats:VY,defaultWidth:"full"})},BY={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},HY=(e,t,r,n)=>BY[e];function ni(e){return(t,r)=>{let n=r!=null&&r.context?String(r.context):"standalone",a;if(n==="formatting"&&e.formattingValues){let o=e.defaultFormattingWidth||e.defaultWidth,l=r!=null&&r.width?String(r.width):o;a=e.formattingValues[l]||e.formattingValues[o]}else{let o=e.defaultWidth,l=r!=null&&r.width?String(r.width):e.defaultWidth;a=e.values[l]||e.values[o]}let i=e.argumentCallback?e.argumentCallback(t):t;return a[i]}}var qY={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},$Y={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},GY={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"]},UY={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"]},WY={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"}},ZY={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"}},YY=(e,t)=>{let r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},KY={ordinalNumber:YY,era:ni({values:qY,defaultWidth:"wide"}),quarter:ni({values:$Y,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ni({values:GY,defaultWidth:"wide"}),day:ni({values:UY,defaultWidth:"wide"}),dayPeriod:ni({values:WY,defaultWidth:"wide",formattingValues:ZY,defaultFormattingWidth:"wide"})};function ri(e){return(t,r={})=>{let n=r.width,a=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],i=t.match(a);if(!i)return null;let o=i[0],l=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],h=Array.isArray(l)?JY(l,m=>m.test(o)):QY(l,m=>m.test(o)),u;u=e.valueCallback?e.valueCallback(h):h,u=r.valueCallback?r.valueCallback(u):u;let c=t.slice(o.length);return{value:u,rest:c}}}function QY(e,t){for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function JY(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}function XY(e){return(t,r={})=>{let n=t.match(e.matchPattern);if(!n)return null;let a=n[0],i=t.match(e.parsePattern);if(!i)return null;let o=e.valueCallback?e.valueCallback(i[0]):i[0];o=r.valueCallback?r.valueCallback(o):o;let l=t.slice(a.length);return{value:o,rest:l}}}var eK=/^(\d+)(th|st|nd|rd)?/i,tK=/\d+/i,nK={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},rK={any:[/^b/i,/^(a|c)/i]},aK={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},iK={any:[/1/i,/2/i,/3/i,/4/i]},oK={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},sK={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]},lK={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},uK={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]},cK={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},dK={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}},hK={ordinalNumber:XY({matchPattern:eK,parsePattern:tK,valueCallback:e=>parseInt(e,10)}),era:ri({matchPatterns:nK,defaultMatchWidth:"wide",parsePatterns:rK,defaultParseWidth:"any"}),quarter:ri({matchPatterns:aK,defaultMatchWidth:"wide",parsePatterns:iK,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ri({matchPatterns:oK,defaultMatchWidth:"wide",parsePatterns:sK,defaultParseWidth:"any"}),day:ri({matchPatterns:lK,defaultMatchWidth:"wide",parsePatterns:uK,defaultParseWidth:"any"}),dayPeriod:ri({matchPatterns:cK,defaultMatchWidth:"any",parsePatterns:dK,defaultParseWidth:"any"})},Ab={code:"en-US",formatDistance:LY,formatLong:zY,formatRelative:HY,localize:KY,match:hK,options:{weekStartsOn:0,firstWeekContainsDate:1}};function pK(e,t){let r=vt(e,t==null?void 0:t.in);return TY(r,PY(r))+1}function Lb(e,t){let r=vt(e,t==null?void 0:t.in),n=+La(r)-+MY(r);return Math.round(n/Ob)+1}function zd(e,t){var c,m,b,g;let r=vt(e,t==null?void 0:t.in),n=r.getFullYear(),a=Ua(),i=(t==null?void 0:t.firstWeekContainsDate)??((m=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:m.firstWeekContainsDate)??a.firstWeekContainsDate??((g=(b=a.locale)==null?void 0:b.options)==null?void 0:g.firstWeekContainsDate)??1,o=St((t==null?void 0:t.in)||e,0);o.setFullYear(n+1,0,i),o.setHours(0,0,0,0);let l=Nr(o,t),h=St((t==null?void 0:t.in)||e,0);h.setFullYear(n,0,i),h.setHours(0,0,0,0);let u=Nr(h,t);return+r>=+l?n+1:+r>=+u?n:n-1}function mK(e,t){var o,l,h,u;let r=Ua(),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)??r.firstWeekContainsDate??((u=(h=r.locale)==null?void 0:h.options)==null?void 0:u.firstWeekContainsDate)??1,a=zd(e,t),i=St((t==null?void 0:t.in)||e,0);return i.setFullYear(a,0,n),i.setHours(0,0,0,0),Nr(i,t)}function Fb(e,t){let r=vt(e,t==null?void 0:t.in),n=+Nr(r,t)-+mK(r,t);return Math.round(n/Ob)+1}function Re(e,t){let r=e<0?"-":"",n=Math.abs(e).toString().padStart(t,"0");return r+n}var gr={y(e,t){let r=e.getFullYear(),n=r>0?r:1-r;return Re(t==="yy"?n%100:n,t.length)},M(e,t){let r=e.getMonth();return t==="M"?String(r+1):Re(r+1,2)},d(e,t){return Re(e.getDate(),t.length)},a(e,t){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h(e,t){return Re(e.getHours()%12||12,t.length)},H(e,t){return Re(e.getHours(),t.length)},m(e,t){return Re(e.getMinutes(),t.length)},s(e,t){return Re(e.getSeconds(),t.length)},S(e,t){let r=t.length,n=e.getMilliseconds(),a=Math.trunc(n*Math.pow(10,r-3));return Re(a,t.length)}},ca={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},sm={G:function(e,t,r){let n=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if(t==="yo"){let n=e.getFullYear(),a=n>0?n:1-n;return r.ordinalNumber(a,{unit:"year"})}return gr.y(e,t)},Y:function(e,t,r,n){let a=zd(e,n),i=a>0?a:1-a;if(t==="YY"){let o=i%100;return Re(o,2)}return t==="Yo"?r.ordinalNumber(i,{unit:"year"}):Re(i,t.length)},R:function(e,t){let r=Pb(e);return Re(r,t.length)},u:function(e,t){let r=e.getFullYear();return Re(r,t.length)},Q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return Re(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return Re(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){let n=e.getMonth();switch(t){case"M":case"MM":return gr.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){let n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return Re(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){let a=Fb(e,n);return t==="wo"?r.ordinalNumber(a,{unit:"week"}):Re(a,t.length)},I:function(e,t,r){let n=Lb(e);return t==="Io"?r.ordinalNumber(n,{unit:"week"}):Re(n,t.length)},d:function(e,t,r){return t==="do"?r.ordinalNumber(e.getDate(),{unit:"date"}):gr.d(e,t)},D:function(e,t,r){let n=pK(e);return t==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):Re(n,t.length)},E:function(e,t,r){let n=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){let a=e.getDay(),i=(a-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return Re(i,2);case"eo":return r.ordinalNumber(i,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});case"eeee":default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){let a=e.getDay(),i=(a-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return Re(i,t.length);case"co":return r.ordinalNumber(i,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});case"cccc":default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,r){let n=e.getDay(),a=n===0?7:n;switch(t){case"i":return String(a);case"ii":return Re(a,t.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,r){let n=e.getHours(),a;switch(n===12?a=ca.noon:n===0?a=ca.midnight:a=n/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,r){let n=e.getHours(),a;switch(n>=17?a=ca.evening:n>=12?a=ca.afternoon:n>=4?a=ca.morning:a=ca.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,r){if(t==="ho"){let n=e.getHours()%12;return n===0&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return gr.h(e,t)},H:function(e,t,r){return t==="Ho"?r.ordinalNumber(e.getHours(),{unit:"hour"}):gr.H(e,t)},K:function(e,t,r){let n=e.getHours()%12;return t==="Ko"?r.ordinalNumber(n,{unit:"hour"}):Re(n,t.length)},k:function(e,t,r){let n=e.getHours();return n===0&&(n=24),t==="ko"?r.ordinalNumber(n,{unit:"hour"}):Re(n,t.length)},m:function(e,t,r){return t==="mo"?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):gr.m(e,t)},s:function(e,t,r){return t==="so"?r.ordinalNumber(e.getSeconds(),{unit:"second"}):gr.s(e,t)},S:function(e,t){return gr.S(e,t)},X:function(e,t,r){let n=e.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return um(n);case"XXXX":case"XX":return zr(n);case"XXXXX":case"XXX":default:return zr(n,":")}},x:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"x":return um(n);case"xxxx":case"xx":return zr(n);case"xxxxx":case"xxx":default:return zr(n,":")}},O:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+lm(n,":");case"OOOO":default:return"GMT"+zr(n,":")}},z:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+lm(n,":");case"zzzz":default:return"GMT"+zr(n,":")}},t:function(e,t,r){let n=Math.trunc(+e/1e3);return Re(n,t.length)},T:function(e,t,r){return Re(+e,t.length)}};function lm(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),a=Math.trunc(n/60),i=n%60;return i===0?r+String(a):r+String(a)+t+Re(i,2)}function um(e,t){return e%60===0?(e>0?"-":"+")+Re(Math.abs(e)/60,2):zr(e,t)}function zr(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),a=Re(Math.trunc(n/60),2),i=Re(n%60,2);return r+a+t+i}var cm=(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"})}},jb=(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"})}},fK=(e,t)=>{let r=e.match(/(P+)(p+)?/)||[],n=r[1],a=r[2];if(!a)return cm(e,t);let i;switch(n){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;case"PPPP":default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",cm(n,t)).replace("{{time}}",jb(a,t))},lc={p:jb,P:fK},gK=/^D+$/,vK=/^Y+$/,bK=["D","DD","YY","YYYY"];function Vb(e){return gK.test(e)}function zb(e){return vK.test(e)}function uc(e,t,r){let n=yK(e,t,r);if(console.warn(n),bK.includes(e))throw new RangeError(n)}function yK(e,t,r){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 \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var _K=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,wK=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,xK=/^'([^]*?)'?$/,EK=/''/g,SK=/[a-zA-Z]/;function kK(e,t,r){var c,m,b,g;let n=Ua(),a=n.locale??Ab,i=n.firstWeekContainsDate??((m=(c=n.locale)==null?void 0:c.options)==null?void 0:m.firstWeekContainsDate)??1,o=n.weekStartsOn??((g=(b=n.locale)==null?void 0:b.options)==null?void 0:g.weekStartsOn)??0,l=vt(e,r==null?void 0:r.in);if(!RY(l))throw new RangeError("Invalid time value");let h=t.match(wK).map(w=>{let x=w[0];if(x==="p"||x==="P"){let S=lc[x];return S(w,a.formatLong)}return w}).join("").match(_K).map(w=>{if(w==="''")return{isToken:!1,value:"'"};let x=w[0];if(x==="'")return{isToken:!1,value:CK(w)};if(sm[x])return{isToken:!0,value:w};if(x.match(SK))throw new RangeError("Format string contains an unescaped latin alphabet character `"+x+"`");return{isToken:!1,value:w}});a.localize.preprocessor&&(h=a.localize.preprocessor(l,h));let u={firstWeekContainsDate:i,weekStartsOn:o,locale:a};return h.map(w=>{if(!w.isToken)return w.value;let x=w.value;(zb(x)||Vb(x))&&uc(x,t,String(e));let S=sm[x[0]];return S(l,x,a.localize,u)}).join("")}function CK(e){let t=e.match(xK);return t?t[1].replace(EK,"'"):e}function IK(){return Object.assign({},Ua())}function DK(e,t){let r=vt(e,t==null?void 0:t.in).getDay();return r===0?7:r}function NK(e,t){let r=TK(t)?new t(0):St(t,0);return r.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),r.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),r}function TK(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}var MK=10,Bb=class{constructor(){s(this,"subPriority",0)}validate(e,t){return!0}},OK=class extends Bb{constructor(e,t,r,n,a){super(),this.value=e,this.validateValue=t,this.setValue=r,this.priority=n,a&&(this.subPriority=a)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,r){return this.setValue(e,t,this.value,r)}},RK=class extends Bb{constructor(t,r){super();s(this,"priority",MK);s(this,"subPriority",-1);this.context=t||(n=>St(r,n))}set(t,r){return r.timestampIsSet?t:St(t,NK(t,this.context))}},Me=class{run(e,t,r,n){let a=this.parse(e,t,r,n);return a?{setter:new OK(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(e,t,r){return!0}},PK=class extends Me{constructor(){super(...arguments);s(this,"priority",140);s(this,"incompatibleTokens",["R","u","t","T"])}parse(t,r,n){switch(r){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,r,n){return r.era=n,t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},at={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}/},Rn={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 it(e,t){return e&&{value:t(e.value),rest:e.rest}}function Ke(e,t){let r=t.match(e);return r?{value:parseInt(r[0],10),rest:t.slice(r[0].length)}:null}function Pn(e,t){let r=t.match(e);if(!r)return null;if(r[0]==="Z")return{value:0,rest:t.slice(1)};let n=r[1]==="+"?1:-1,a=r[2]?parseInt(r[2],10):0,i=r[3]?parseInt(r[3],10):0,o=r[5]?parseInt(r[5],10):0;return{value:n*(a*CY+i*kY+o*IY),rest:t.slice(r[0].length)}}function Hb(e){return Ke(at.anyDigitsSigned,e)}function et(e,t){switch(e){case 1:return Ke(at.singleDigit,t);case 2:return Ke(at.twoDigits,t);case 3:return Ke(at.threeDigits,t);case 4:return Ke(at.fourDigits,t);default:return Ke(new RegExp("^\\d{1,"+e+"}"),t)}}function Ms(e,t){switch(e){case 1:return Ke(at.singleDigitSigned,t);case 2:return Ke(at.twoDigitsSigned,t);case 3:return Ke(at.threeDigitsSigned,t);case 4:return Ke(at.fourDigitsSigned,t);default:return Ke(new RegExp("^-?\\d{1,"+e+"}"),t)}}function Bd(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 qb(e,t){let r=t>0,n=r?t:1-t,a;if(n<=50)a=e||100;else{let i=n+50,o=Math.trunc(i/100)*100,l=e>=i%100;a=e+o-(l?100:0)}return r?a:1-a}function $b(e){return e%400===0||e%4===0&&e%100!==0}var AK=class extends Me{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,r,n){let a=i=>({year:i,isTwoDigitYear:r==="yy"});switch(r){case"y":return it(et(4,t),a);case"yo":return it(n.ordinalNumber(t,{unit:"year"}),a);default:return it(et(r.length,t),a)}}validate(t,r){return r.isTwoDigitYear||r.year>0}set(t,r,n){let a=t.getFullYear();if(n.isTwoDigitYear){let o=qb(n.year,a);return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}let i=!("era"in r)||r.era===1?n.year:1-n.year;return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}},LK=class extends Me{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,r,n){let a=i=>({year:i,isTwoDigitYear:r==="YY"});switch(r){case"Y":return it(et(4,t),a);case"Yo":return it(n.ordinalNumber(t,{unit:"year"}),a);default:return it(et(r.length,t),a)}}validate(t,r){return r.isTwoDigitYear||r.year>0}set(t,r,n,a){let i=zd(t,a);if(n.isTwoDigitYear){let l=qb(n.year,i);return t.setFullYear(l,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),Nr(t,a)}let o=!("era"in r)||r.era===1?n.year:1-n.year;return t.setFullYear(o,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),Nr(t,a)}},FK=class extends Me{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,r){return Ms(r==="R"?4:r.length,t)}set(t,r,n){let a=St(t,0);return a.setFullYear(n,0,4),a.setHours(0,0,0,0),La(a)}},jK=class extends Me{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,r){return Ms(r==="u"?4:r.length,t)}set(t,r,n){return t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},VK=class extends Me{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,r,n){switch(r){case"Q":case"QQ":return et(r.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,r){return r>=1&&r<=4}set(t,r,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}},zK=class extends Me{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,r,n){switch(r){case"q":case"qq":return et(r.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,r){return r>=1&&r<=4}set(t,r,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}},BK=class extends Me{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,r,n){let a=i=>i-1;switch(r){case"M":return it(Ke(at.month,t),a);case"MM":return it(et(2,t),a);case"Mo":return it(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,r){return r>=0&&r<=11}set(t,r,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}},HK=class extends Me{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,r,n){let a=i=>i-1;switch(r){case"L":return it(Ke(at.month,t),a);case"LL":return it(et(2,t),a);case"Lo":return it(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,r){return r>=0&&r<=11}set(t,r,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}};function qK(e,t,r){let n=vt(e,r==null?void 0:r.in),a=Fb(n,r)-t;return n.setDate(n.getDate()-a*7),vt(n,r==null?void 0:r.in)}var $K=class extends Me{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,r,n){switch(r){case"w":return Ke(at.week,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return et(r.length,t)}}validate(t,r){return r>=1&&r<=53}set(t,r,n,a){return Nr(qK(t,n,a),a)}};function GK(e,t,r){let n=vt(e,r==null?void 0:r.in),a=Lb(n,r)-t;return n.setDate(n.getDate()-a*7),n}var UK=class extends Me{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,r,n){switch(r){case"I":return Ke(at.week,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return et(r.length,t)}}validate(t,r){return r>=1&&r<=53}set(t,r,n){return La(GK(t,n))}},WK=[31,28,31,30,31,30,31,31,30,31,30,31],ZK=[31,29,31,30,31,30,31,31,30,31,30,31],YK=class extends Me{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,r,n){switch(r){case"d":return Ke(at.date,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return et(r.length,t)}}validate(t,r){let n=t.getFullYear(),a=$b(n),i=t.getMonth();return a?r>=1&&r<=ZK[i]:r>=1&&r<=WK[i]}set(t,r,n){return t.setDate(n),t.setHours(0,0,0,0),t}},KK=class extends Me{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,r,n){switch(r){case"D":case"DD":return Ke(at.dayOfYear,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return et(r.length,t)}}validate(t,r){let n=t.getFullYear();return $b(n)?r>=1&&r<=366:r>=1&&r<=365}set(t,r,n){return t.setMonth(0,n),t.setHours(0,0,0,0),t}};function Hd(e,t,r){var c,m,b,g;let n=Ua(),a=(r==null?void 0:r.weekStartsOn)??((m=(c=r==null?void 0:r.locale)==null?void 0:c.options)==null?void 0:m.weekStartsOn)??n.weekStartsOn??((g=(b=n.locale)==null?void 0:b.options)==null?void 0:g.weekStartsOn)??0,i=vt(e,r==null?void 0:r.in),o=i.getDay(),l=(t%7+7)%7,h=7-a,u=t<0||t>6?t-(o+h)%7:(l+h)%7-(o+h)%7;return Rb(i,u,r)}var QK=class extends Me{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,r,n){switch(r){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,r){return r>=0&&r<=6}set(t,r,n,a){return t=Hd(t,n,a),t.setHours(0,0,0,0),t}},JK=class extends Me{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,r,n,a){let i=o=>{let l=Math.floor((o-1)/7)*7;return(o+a.weekStartsOn+6)%7+l};switch(r){case"e":case"ee":return it(et(r.length,t),i);case"eo":return it(n.ordinalNumber(t,{unit:"day"}),i);case"eee":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeeee":return n.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,r){return r>=0&&r<=6}set(t,r,n,a){return t=Hd(t,n,a),t.setHours(0,0,0,0),t}},XK=class extends Me{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,r,n,a){let i=o=>{let l=Math.floor((o-1)/7)*7;return(o+a.weekStartsOn+6)%7+l};switch(r){case"c":case"cc":return it(et(r.length,t),i);case"co":return it(n.ordinalNumber(t,{unit:"day"}),i);case"ccc":return n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"ccccc":return n.day(t,{width:"narrow",context:"standalone"});case"cccccc":return n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(t,{width:"wide",context:"standalone"})||n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"})}}validate(t,r){return r>=0&&r<=6}set(t,r,n,a){return t=Hd(t,n,a),t.setHours(0,0,0,0),t}};function eQ(e,t,r){let n=vt(e,r==null?void 0:r.in),a=DK(n,r),i=t-a;return Rb(n,i,r)}var tQ=class extends Me{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,r,n){let a=i=>i===0?7:i;switch(r){case"i":case"ii":return et(r.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return it(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 it(n.day(t,{width:"narrow",context:"formatting"}),a);case"iiiiii":return it(n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),a);case"iiii":default:return it(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,r){return r>=1&&r<=7}set(t,r,n){return t=eQ(t,n),t.setHours(0,0,0,0),t}},nQ=class extends Me{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,r,n){switch(r){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,r,n){return t.setHours(Bd(n),0,0,0),t}},rQ=class extends Me{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,r,n){switch(r){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,r,n){return t.setHours(Bd(n),0,0,0),t}},aQ=class extends Me{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["a","b","t","T"])}parse(t,r,n){switch(r){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,r,n){return t.setHours(Bd(n),0,0,0),t}},iQ=class extends Me{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,r,n){switch(r){case"h":return Ke(at.hour12h,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return et(r.length,t)}}validate(t,r){return r>=1&&r<=12}set(t,r,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}},oQ=class extends Me{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,r,n){switch(r){case"H":return Ke(at.hour23h,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return et(r.length,t)}}validate(t,r){return r>=0&&r<=23}set(t,r,n){return t.setHours(n,0,0,0),t}},sQ=class extends Me{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,r,n){switch(r){case"K":return Ke(at.hour11h,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return et(r.length,t)}}validate(t,r){return r>=0&&r<=11}set(t,r,n){return t.getHours()>=12&&n<12?t.setHours(n+12,0,0,0):t.setHours(n,0,0,0),t}},lQ=class extends Me{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,r,n){switch(r){case"k":return Ke(at.hour24h,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return et(r.length,t)}}validate(t,r){return r>=1&&r<=24}set(t,r,n){let a=n<=24?n%24:n;return t.setHours(a,0,0,0),t}},uQ=class extends Me{constructor(){super(...arguments);s(this,"priority",60);s(this,"incompatibleTokens",["t","T"])}parse(t,r,n){switch(r){case"m":return Ke(at.minute,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return et(r.length,t)}}validate(t,r){return r>=0&&r<=59}set(t,r,n){return t.setMinutes(n,0,0),t}},cQ=class extends Me{constructor(){super(...arguments);s(this,"priority",50);s(this,"incompatibleTokens",["t","T"])}parse(t,r,n){switch(r){case"s":return Ke(at.second,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return et(r.length,t)}}validate(t,r){return r>=0&&r<=59}set(t,r,n){return t.setSeconds(n,0),t}},dQ=class extends Me{constructor(){super(...arguments);s(this,"priority",30);s(this,"incompatibleTokens",["t","T"])}parse(t,r){let n=a=>Math.trunc(a*Math.pow(10,-r.length+3));return it(et(r.length,t),n)}set(t,r,n){return t.setMilliseconds(n),t}},hQ=class extends Me{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","x"])}parse(t,r){switch(r){case"X":return Pn(Rn.basicOptionalMinutes,t);case"XX":return Pn(Rn.basic,t);case"XXXX":return Pn(Rn.basicOptionalSeconds,t);case"XXXXX":return Pn(Rn.extendedOptionalSeconds,t);case"XXX":default:return Pn(Rn.extended,t)}}set(t,r,n){return r.timestampIsSet?t:St(t,t.getTime()-Ts(t)-n)}},pQ=class extends Me{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","X"])}parse(t,r){switch(r){case"x":return Pn(Rn.basicOptionalMinutes,t);case"xx":return Pn(Rn.basic,t);case"xxxx":return Pn(Rn.basicOptionalSeconds,t);case"xxxxx":return Pn(Rn.extendedOptionalSeconds,t);case"xxx":default:return Pn(Rn.extended,t)}}set(t,r,n){return r.timestampIsSet?t:St(t,t.getTime()-Ts(t)-n)}},mQ=class extends Me{constructor(){super(...arguments);s(this,"priority",40);s(this,"incompatibleTokens","*")}parse(t){return Hb(t)}set(t,r,n){return[St(t,n*1e3),{timestampIsSet:!0}]}},fQ=class extends Me{constructor(){super(...arguments);s(this,"priority",20);s(this,"incompatibleTokens","*")}parse(t){return Hb(t)}set(t,r,n){return[St(t,n),{timestampIsSet:!0}]}},gQ={G:new PK,y:new AK,Y:new LK,R:new FK,u:new jK,Q:new VK,q:new zK,M:new BK,L:new HK,w:new $K,I:new UK,d:new YK,D:new KK,E:new QK,e:new JK,c:new XK,i:new tQ,a:new nQ,b:new rQ,B:new aQ,h:new iQ,H:new oQ,K:new sQ,k:new lQ,m:new uQ,s:new cQ,S:new dQ,X:new hQ,x:new pQ,t:new mQ,T:new fQ},vQ=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,bQ=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,yQ=/^'([^]*?)'?$/,_Q=/''/g,wQ=/\S/,xQ=/[a-zA-Z]/;function EQ(e,t,r,n){var S,N,L,A;let a=()=>St(r,NaN),i=IK(),o=i.locale??Ab,l=i.firstWeekContainsDate??((N=(S=i.locale)==null?void 0:S.options)==null?void 0:N.firstWeekContainsDate)??1,h=i.weekStartsOn??((A=(L=i.locale)==null?void 0:L.options)==null?void 0:A.weekStartsOn)??0,u={firstWeekContainsDate:l,weekStartsOn:h,locale:o},c=[new RK(n==null?void 0:n.in,r)],m=t.match(bQ).map(Y=>{let ne=Y[0];if(ne in lc){let ue=lc[ne];return ue(Y,o.formatLong)}return Y}).join("").match(vQ),b=[];for(let Y of m){zb(Y)&&uc(Y,t,e),Vb(Y)&&uc(Y,t,e);let ne=Y[0],ue=gQ[ne];if(ue){let{incompatibleTokens:dt}=ue;if(Array.isArray(dt)){let Be=b.find(ot=>dt.includes(ot.token)||ot.token===ne);if(Be)throw new RangeError(`The format string mustn't contain \`${Be.fullToken}\` and \`${Y}\` at the same time`)}else if(ue.incompatibleTokens==="*"&&b.length>0)throw new RangeError(`The format string mustn't contain \`${Y}\` and any other token at the same time`);b.push({token:ne,fullToken:Y});let tt=ue.run(e,Y,o.match,u);if(!tt)return a();c.push(tt.setter),e=tt.rest}else{if(ne.match(xQ))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ne+"`");if(Y==="''"?Y="'":ne==="'"&&(Y=SQ(Y)),e.indexOf(Y)===0)e=e.slice(Y.length);else return a()}}if(e.length>0&&wQ.test(e))return a();let g=c.map(Y=>Y.priority).sort((Y,ne)=>ne-Y).filter((Y,ne,ue)=>ue.indexOf(Y)===ne).map(Y=>c.filter(ne=>ne.priority===Y).sort((ne,ue)=>ue.subPriority-ne.subPriority)).map(Y=>Y[0]),w=vt(r,n==null?void 0:n.in);if(isNaN(+w))return a();let x={};for(let Y of g){if(!Y.validate(w,u))return a();let ne=Y.set(w,x,u);Array.isArray(ne)?(w=ne[0],Object.assign(x,ne[1])):w=ne}return w}function SQ(e){return e.match(yQ)[1].replace(_Q,"'")}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||{}),qd=new Q("ngx-mask config"),Gb=new Q("new ngx-mask config"),Ub=new Q("initial ngx-mask config"),kQ={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 jt,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 CQ=(()=>{const t=class t{constructor(){s(this,"_config",D(qd));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,i,o)=>{var g;let l=[],h="";if(Array.isArray(i)){let w=new RegExp(i.map(x=>"[\\^$.|?*+()".indexOf(x)>=0?`\\${x}`:x).join("|"));l=n.split(w),h=((g=n.match(w))==null?void 0:g[0])??I.EMPTY_STRING}else l=n.split(i),h=i;let u=l.length>1?`${h}${l[1]}`:I.EMPTY_STRING,c=l[0]??I.EMPTY_STRING,m=this.separatorLimit.replace(/\s/g,I.EMPTY_STRING);m&&+m&&(c[0]===I.MINUS?c=`-${c.slice(1,c.length).slice(0,m.length)}`:c=c.slice(0,m.length));let b=/(\d+)(\d{3})/;for(;a&&b.test(c);)c=c.replace(b,"$1"+a+"$2");return typeof o>"u"?c+u:o===0?c:c+u.substring(0,o+1)});s(this,"percentage",n=>{let a=n.replace(",","."),i=Number(this.allowNegativeNumbers&&n.includes(I.MINUS)?a.slice(1,n.length):a);return!isNaN(i)&&i>=0&&i<=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,i,o,l;for(let h=((a=this.suffix)==null?void 0:a.length)-1;h>=0;h--){let u=this.suffix.substring(h,(i=this.suffix)==null?void 0:i.length);if(n.includes(u)&&h!==((o=this.suffix)==null?void 0:o.length)-1&&(h-1<0||!n.includes(this.suffix.substring(h-1,(l=this.suffix)==null?void 0:l.length))))return n.replace(u,I.EMPTY_STRING)}return n});s(this,"checkInputPrecision",(n,a,i)=>{var h;let o=n,l=i;if(a<1/0){Array.isArray(l)&&(l=l.find(g=>g!==this.thousandSeparator)||l[0]);let u=new RegExp(this._charToRegExpExpression(l)+`\\d{${a}}.*$`),c=o.match(u),m=(c&&((h=c[0])==null?void 0:h.length))??0;if(m-1>a){let b=m-1-a;o=o.substring(0,o.length-b)}a===0&&this._compareOrIncludes(o[o.length-1],l,this.thousandSeparator)&&(o=o.substring(0,o.length-1))}return o})}applyMaskWithPattern(n,a){let[i,o]=a;return this.customPattern=o,this.applyMask(n,i)}applyMask(n,a,i=0,o=!1,l=!1,h=()=>{}){var tt,Be,ot;if(!a||typeof n!="string")return I.EMPTY_STRING;let u=0,c="",m=!1,b=!1,g=1,w=!1,x=n,S=i;x.slice(0,this.prefix.length)===this.prefix&&(x=x.slice(this.prefix.length,x.length)),this.suffix&&x.length>0&&(x=this.checkAndRemoveSuffix(x)),x==="("&&this.prefix&&(x="");let N=x.toString().split(I.EMPTY_STRING);if(this.allowNegativeNumbers&&x.slice(u,u+1)===I.MINUS&&(c+=x.slice(u,u+1)),a===I.IP){let Z=x.split(I.DOT);this.ipError=this._validIP(Z),a="099.099.099.099"}let L=[];for(let Z=0;Z<x.length;Z++)(tt=x[Z])!=null&&tt.match("\\d")&&L.push(x[Z]??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(x.match("[a-z]|[A-Z]")||x.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!l){x=this._stripToDecimal(x);let de=this.getPrecision(a);x=this.checkInputPrecision(x,de,this.decimalMarker)}let Z=typeof this.decimalMarker=="string"?this.decimalMarker:I.DOT;if(x.indexOf(Z)>0&&!this.percentage(x.substring(0,x.indexOf(Z)))){let de=x.substring(0,x.indexOf(Z)-1);this.allowNegativeNumbers&&x.slice(u,u+1)===I.MINUS&&!l&&(de=x.substring(0,x.indexOf(Z))),x=`${de}${x.substring(x.indexOf(Z),x.length)}`}let B="";this.allowNegativeNumbers&&x.slice(u,u+1)===I.MINUS?B=`${I.MINUS}${x.slice(u+1,u+x.length)}`:B=x,this.percentage(B)?c=this._splitPercentZero(x):c=this._splitPercentZero(x.substring(0,x.length-1))}else if(a.startsWith(I.SEPARATOR)){(x.match("[wа-яА-Я]")||x.match("[ЁёА-я]")||x.match("[a-z]|[A-Z]")||x.match(/[-@#!$%\\^&*()_£¬'+|~=`{}\]:";<>.?/]/)||x.match("[^A-Za-z0-9,]"))&&(x=this._stripToDecimal(x));let Z=this.getPrecision(a),B=Array.isArray(this.decimalMarker)?this.thousandSeparator===I.DOT?I.COMMA:I.DOT:this.decimalMarker;if(Z===0?x=this.allowNegativeNumbers?x.length>2&&x[0]===I.MINUS&&x[1]===I.NUMBER_ZERO&&x[2]!==this.thousandSeparator&&x[2]!==I.COMMA&&x[2]!==I.DOT?"-"+x.slice(2,x.length):x[0]===I.NUMBER_ZERO&&x.length>1&&x[1]!==this.thousandSeparator&&x[1]!==I.COMMA&&x[1]!==I.DOT?x.slice(1,x.length):x:x.length>1&&x[0]===I.NUMBER_ZERO&&x[1]!==this.thousandSeparator&&x[1]!==I.COMMA&&x[1]!==I.DOT?x.slice(1,x.length):x:(x[0]===B&&x.length>1&&(x=I.NUMBER_ZERO+x.slice(0,x.length+1),this.plusOnePosition=!0),x[0]===I.NUMBER_ZERO&&x[1]!==B&&x[1]!==this.thousandSeparator&&(x=x.length>1?x.slice(0,1)+B+x.slice(1,x.length+1):x,this.plusOnePosition=!0),this.allowNegativeNumbers&&x[0]===I.MINUS&&(x[1]===B||x[1]===I.NUMBER_ZERO)&&(x=x[1]===B&&x.length>2?x.slice(0,1)+I.NUMBER_ZERO+x.slice(1,x.length):x[1]===I.NUMBER_ZERO&&x.length>2&&x[2]!==B?x.slice(0,2)+B+x.slice(2,x.length):x,this.plusOnePosition=!0)),l){let Ee=x.slice(this._findFirstNonZeroDigitIndex(x),x.length),De=x[S]===I.NUMBER_ZERO||x[S]===B,Ye=x[0]===I.NUMBER_ZERO,mn=x[0]===I.MINUS,He=x[0]===this.thousandSeparator,Tt=x[1]===B,ht=x[1]===I.NUMBER_ZERO,In=x[2]===B;Ye&&Tt&&De&&S<2&&(x=Ee),mn&&ht&&In&&De&&S<3&&(x=I.MINUS+Ee),Ee!==I.MINUS&&(S===0&&(Ye||He)||this.allowNegativeNumbers&&S===1&&mn&&!ht)&&(x=mn?I.MINUS+Ee:Ee)}let de=this._charToRegExpExpression(this.thousandSeparator),P='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(de,"");if(Array.isArray(this.decimalMarker))for(let Ee of this.decimalMarker)P=P.replace(this._charToRegExpExpression(Ee),I.EMPTY_STRING);else P=P.replace(this._charToRegExpExpression(this.decimalMarker),"");let j=new RegExp("["+P+"]");x.match(j)&&(x=x.substring(0,x.length-1)),x=this.checkInputPrecision(x,Z,this.decimalMarker);let G=x.replace(new RegExp(de,"g"),"");c=this._formatWithSeparators(G,this.thousandSeparator,this.decimalMarker,Z);let ve=c.indexOf(I.COMMA)-x.indexOf(I.COMMA),Ve=c.length-x.length,Nt=l&&c.length<n.length&&this.separatorLimit;if((c[S-1]===this.thousandSeparator||c[S-this.prefix.length])&&this.prefix&&l)S=S-1;else if(Ve>0&&c[S]!==this.thousandSeparator||Nt){b=!0;let Ee=0;do this._shift.add(S+Ee),Ee++;while(Ee<Ve)}else c[S-1]===this.thousandSeparator||Ve===-4||Ve===-3||c[S]===this.thousandSeparator?(this._shift.clear(),this._shift.add(S-1)):ve!==0&&S>0&&!(c.indexOf(I.COMMA)>=S&&S>3)||!(c.indexOf(I.DOT)>=S&&S>3)&&Ve<=0?(this._shift.clear(),b=!0,g=Ve,S+=Ve,this._shift.add(S)):this._shift.clear()}else for(let Z=0,B=N[0];Z<N.length&&u!==a.length;Z++,B=N[Z]??I.EMPTY_STRING){let de=I.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(B,a[u]??I.EMPTY_STRING)&&a[u+1]===I.SYMBOL_QUESTION)c+=B,u+=2;else if(a[u+1]===I.SYMBOL_STAR&&m&&this._checkSymbolMask(B,a[u+2]??I.EMPTY_STRING))c+=B,u+=3,m=!1;else if(this._checkSymbolMask(B,a[u]??I.EMPTY_STRING)&&a[u+1]===I.SYMBOL_STAR&&!de)c+=B,m=!0;else if(a[u+1]===I.SYMBOL_QUESTION&&this._checkSymbolMask(B,a[u+2]??I.EMPTY_STRING))c+=B,u+=3;else if(this._checkSymbolMask(B,a[u]??I.EMPTY_STRING)){if(a[u]===I.HOURS&&(this.apm?Number(B)>9:Number(B)>2)){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(a,u,N.length),Z--,this.leadZeroDateTime&&(c+="0");continue}if(a[u]===I.HOUR&&(this.apm?c.length===1&&Number(c)>1||c==="1"&&Number(B)>2||x.slice(u-1,u).length===1&&Number(x.slice(u-1,u))>2||x.slice(u-1,u)==="1"&&Number(B)>2:c==="2"&&Number(B)>3||(c.slice(u-2,u)==="2"||c.slice(u-3,u)==="2"||c.slice(u-4,u)==="2"||c.slice(u-1,u)==="2")&&Number(B)>3&&u>10)){S=S+1,u+=1,Z--;continue}if((a[u]===I.MINUTE||a[u]===I.SECOND)&&Number(B)>5){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(a,u,N.length),Z--,this.leadZeroDateTime&&(c+="0");continue}let P=31,j=x[u],G=x[u+1],ve=x[u+2],Ve=x[u-1],Nt=x[u-2],Ee=x.slice(u-3,u-1),De=x.slice(u-1,u+1),Ye=x.slice(u,u+2),mn=x.slice(u-2,u);if(a[u]===I.DAY){let He=a.slice(0,2)===I.MONTHS,Tt=a.slice(0,2)===I.MONTHS&&this.specialCharacters.includes(Nt);if(Number(B)>3&&this.leadZeroDateTime||!He&&(Number(Ye)>P||Number(De)>P||this.specialCharacters.includes(G))||(Tt?Number(De)>P||!this.specialCharacters.includes(j)&&this.specialCharacters.includes(ve)||this.specialCharacters.includes(j):Number(Ye)>P||this.specialCharacters.includes(G)&&!l)){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(a,u,N.length),Z--,this.leadZeroDateTime&&(c+="0");continue}}if(a[u]===I.MONTH){let He=u===0&&(Number(B)>2||Number(Ye)>12||this.specialCharacters.includes(G)&&!l),Tt=a.slice(u+2,u+3),ht=Ee.includes(Tt)&&a.includes("d0")&&(this.specialCharacters.includes(Nt)&&Number(De)>12&&!this.specialCharacters.includes(j)||this.specialCharacters.includes(j)),In=Number(Ee)<=P&&!this.specialCharacters.includes(Ee)&&this.specialCharacters.includes(Ve)&&(Number(Ye)>12||this.specialCharacters.includes(G)),pr=Number(Ye)>12&&u===5||this.specialCharacters.includes(G)&&u===5,oo=Number(Ee)>P&&!this.specialCharacters.includes(Ee)&&!this.specialCharacters.includes(mn)&&Number(mn)>12&&a.includes("d0"),so=Number(Ee)<=P&&!this.specialCharacters.includes(Ee)&&!this.specialCharacters.includes(Ve)&&Number(De)>12;if(Number(B)>1&&this.leadZeroDateTime||He||ht||so||oo||In||pr&&!this.leadZeroDateTime){S=this.leadZeroDateTime?S:S+1,u+=1,this._shiftStep(a,u,N.length),Z--,this.leadZeroDateTime&&(c+="0");continue}}c+=B,u++}else this.specialCharacters.includes(B)&&a[u]===B?(c+=B,u++):this.specialCharacters.indexOf(a[u]??I.EMPTY_STRING)!==-1?(c+=a[u],u++,this._shiftStep(a,u,N.length),Z--):a[u]===I.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(a,u,N.length):this.patterns[a[u]??I.EMPTY_STRING]&&((Be=this.patterns[a[u]??I.EMPTY_STRING])!=null&&Be.optional)?(N[u]&&a!=="099.099.099.099"&&a!=="000.000.000-00"&&a!=="00.000.000/0000-00"&&!a.match(/^9+\.0+$/)&&!((ot=this.patterns[a[u]??I.EMPTY_STRING])!=null&&ot.optional)&&(c+=N[u]),a.includes(I.NUMBER_NINE+I.SYMBOL_STAR)&&a.includes(I.NUMBER_ZERO+I.SYMBOL_STAR)&&u++,u++,Z--):this.maskExpression[u+1]===I.SYMBOL_STAR&&this._findSpecialChar(this.maskExpression[u+2]??I.EMPTY_STRING)&&this._findSpecialChar(B)===this.maskExpression[u+2]&&m||this.maskExpression[u+1]===I.SYMBOL_QUESTION&&this._findSpecialChar(this.maskExpression[u+2]??I.EMPTY_STRING)&&this._findSpecialChar(B)===this.maskExpression[u+2]&&m?(u+=3,c+=B):this.showMaskTyped&&this.specialCharacters.indexOf(B)<0&&B!==this.placeHolderCharacter&&this.placeHolderCharacter.length===1&&(w=!0)}c.length+1===a.length&&this.specialCharacters.indexOf(a[a.length-1]??I.EMPTY_STRING)!==-1&&(c+=a[a.length-1]);let A=S+1;for(;this._shift.has(A);)g++,A++;let Y=o&&!a.startsWith(I.SEPARATOR)?u:this._shift.has(S)?g:0;w&&Y--,h(Y,b),g<0&&this._shift.clear();let ne=!1;l&&(ne=N.every(Z=>this.specialCharacters.includes(Z)));let ue=`${this.prefix}${ne?I.EMPTY_STRING:c}${this.showMaskTyped?"":this.suffix}`;c.length===0&&(ue=this.dropSpecialCharacters?`${c}`:`${this.prefix}${c}`);let dt=x.length===1&&this.specialCharacters.includes(a[0])&&x!==a[0];if(!this._checkSymbolMask(x,a[1])&&dt)return"";if(c.includes(I.MINUS)&&this.prefix&&this.allowNegativeNumbers){if(l&&c===I.MINUS)return"";ue=`${I.MINUS}${this.prefix}${c.split(I.MINUS).join(I.EMPTY_STRING)}${this.suffix}`}return ue}_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 i,o;return this.patterns=this.customPattern?this.customPattern:this.patterns,(((i=this.patterns[a])==null?void 0:i.pattern)&&((o=this.patterns[a])==null?void 0:o.pattern.test(n)))??!1}_stripToDecimal(n){return n.split(I.EMPTY_STRING).filter((a,i)=>{let o=typeof this.decimalMarker=="string"?a===this.decimalMarker:this.decimalMarker.includes(a);return a.match("^-?\\d")||a===this.thousandSeparator||o||a===I.MINUS&&i===0&&this.allowNegativeNumbers}).join(I.EMPTY_STRING)}_charToRegExpExpression(n){return n&&(n===" "?"\\s":"[\\^$.|?*+()".indexOf(n)>=0?`\\${n}`:n)}_shiftStep(n,a,i){let o=/[*?]/g.test(n.slice(0,a))?i:a;this._shift.add(o+this.prefix.length||0)}_compareOrIncludes(n,a,i){return Array.isArray(a)?a.filter(o=>o!==i).includes(n):n===a}_validIP(n){return!(n.length===4&&!n.some((a,i)=>n.length!==i+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),i=this.allowNegativeNumbers&&n.includes(I.MINUS)?"-":"";if(a===-1){let o=parseInt(i?n.slice(1,n.length):n,10);return isNaN(o)?I.EMPTY_STRING:`${i}${o}`}else{let o=parseInt(n.replace("-","").substring(0,a),10),l=n.substring(a+1),h=isNaN(o)?"":o.toString(),u=typeof this.decimalMarker=="string"?this.decimalMarker:I.DOT;return h===I.EMPTY_STRING?I.EMPTY_STRING:`${i}${h}${u}${l}`}}_findFirstNonZeroDigitIndex(n){for(let a=0;a<n.length;a++){let i=n[a];if(i&&i>="1"&&i<="9")return a}return-1}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})(),IQ=(()=>{const t=class t extends CQ{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",D(en,{optional:!0}));s(this,"document",D(Le));s(this,"_config",D(qd));s(this,"_renderer",D(Qs,{optional:!0}))}applyMask(a,i,o=0,l=!1,h=!1,u=()=>{}){if(!i)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 c=a&&typeof this.selStart=="number"?a[this.selStart]??I.EMPTY_STRING:I.EMPTY_STRING,m="",b=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,c):a.length<S.length&&(S.length-a.length===1?h?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),h&&this.specialCharacters.indexOf(this.maskExpression[b]??I.EMPTY_STRING)!==-1&&this.showMaskTyped&&!this.prefix&&(m=this._currentValue),this.deletedSpecialCharacter&&b&&(this.specialCharacters.includes(this.actualValue.slice(b,b+1))?b=b+1:i.slice(b-1,b+1)!==I.MONTHS&&(b=b-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,i,b,l,h,u);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?h?this.hideInput(g,this.maskExpression):`${this.hideInput(g,this.maskExpression)}${this.maskIsShown.slice(g.length)}`:g;let w=g.length,x=`${this.prefix}${this.maskIsShown}${this.suffix}`;if(this.maskExpression.includes(I.HOURS)){let S=this._numberSkipedSymbols(g);return`${g}${x.slice(w+S)}`}else if(this.maskExpression===I.IP||this.maskExpression===I.CPF_CNPJ)return`${g}${x}`;return`${g}${x.slice(w)}`}_numberSkipedSymbols(a){let i=/(^|\D)(\d\D)/g,o=i.exec(a),l=0;for(;o!=null;)l+=1,o=i.exec(a);return l}applyValueChanges(a,i,o,l=()=>{}){var u;let h=(u=this._elementRef)==null?void 0:u.nativeElement;h&&(h.value=this.applyMask(h.value,this.maskExpression,a,i,o,l),h!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(a,i){return a.split(I.EMPTY_STRING).map((o,l)=>{var h,u;return this.patterns&&this.patterns[i[l]??I.EMPTY_STRING]&&((h=this.patterns[i[l]??I.EMPTY_STRING])!=null&&h.symbol)?(u=this.patterns[i[l]??I.EMPTY_STRING])==null?void 0:u.symbol:o}).join(I.EMPTY_STRING)}getActualValue(a){let i=a.split(I.EMPTY_STRING).filter((o,l)=>{let h=this.maskExpression[l]??I.EMPTY_STRING;return this._checkSymbolMask(o,h)||this.specialCharacters.includes(h)&&o===h});return i.join(I.EMPTY_STRING)===a?i.join(I.EMPTY_STRING):a}shiftTypedSymbols(a){let i="";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 i=o,a[l+1];if(i.length){let h=i;return i=I.EMPTY_STRING,h}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 i;let a=(i=this._elementRef)==null?void 0:i.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,i]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>{var o,l;return(l=this._renderer)==null?void 0:l.setProperty((o=this._elementRef)==null?void 0:o.nativeElement,a,i)})}checkDropSpecialCharAmount(a){return a.split(I.EMPTY_STRING).filter(i=>this._findDropSpecialChar(i)).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 i=[];for(let o=0;o<a.length;o++){let l=a[o]??I.EMPTY_STRING;l&&l.match("\\d")&&i.push(l)}return i.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:i.length>3&&i.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:i.length>6&&i.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(a){let i=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,o=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if(a===I.HASH)return i;let l=[];for(let h=0;h<a.length;h++){let u=a[h]??I.EMPTY_STRING;u&&u.match("\\d")&&l.push(u)}return l.length<=3?i.slice(l.length,i.length):l.length>3&&l.length<=6?i.slice(l.length+1,i.length):l.length>6&&l.length<=9?i.slice(l.length+2,i.length):l.length>9&&l.length<11?i.slice(l.length+3,i.length):l.length===11?"":l.length===12?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 i=(o=a==null?void 0:a.activeElement)==null?void 0:o.shadowRoot;return i!=null&&i.activeElement?this._getActiveElement(i):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 i=Number(a);if(this.maskExpression.startsWith(I.SEPARATOR)&&Number.isNaN(i)){let o=String(a).replace(",",".");return Number(o)}return Number.isNaN(i)?a:i}_removeMask(a,i){return this.maskExpression.startsWith(I.PERCENT)&&a.includes(I.DOT)?a:a&&a.replace(this._regExpForRemove(i),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 i=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)&&(i=i.filter(o=>o!==I.WHITE_SPACE)),this._removeMask(a,i)}_regExpForRemove(a){return new RegExp(a.map(i=>`\\${i}`).join("|"),"gi")}_replaceDecimalMarkerToDot(a){let i=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return a.replace(this._regExpForRemove(i),I.DOT)}_checkSymbols(a){let i=a;if(i===I.EMPTY_STRING)return i;this.maskExpression.startsWith(I.PERCENT)&&this.decimalMarker===I.COMMA&&(i=i.replace(I.COMMA,I.DOT));let o=this._retrieveSeparatorPrecision(this.maskExpression),l=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(i));return this.isNumberValue&&o?i===this.decimalMarker?null:l.length>14?String(l):this._checkPrecision(this.maskExpression,l):l}_checkPatternForSpace(){var a,i,o;for(let l in this.patterns)if(this.patterns[l]&&((a=this.patterns[l])!=null&&a.hasOwnProperty("pattern"))){let h=(i=this.patterns[l])==null?void 0:i.pattern.toString(),u=(o=this.patterns[l])==null?void 0:o.pattern;if(h!=null&&h.includes(I.WHITE_SPACE)&&(u!=null&&u.test(this.maskExpression)))return!0}return!1}_retrieveSeparatorPrecision(a){let i=a.match(new RegExp("^separator\\.([^d]*)"));return i?Number(i[1]):null}_checkPrecision(a,i){let o=this.getPrecision(a),l=i;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((i,o,l)=>{if(this._start=o===I.CURLY_BRACKETS_LEFT?l:this._start,o!==I.CURLY_BRACKETS_RIGHT)return this._findSpecialChar(o)?i+o:i;this._end=l;let h=Number(a.slice(this._start+1,this._end)),u=new Array(h+1).join(a[this._start-1]);if(a.slice(0,this._start).length>1&&a.includes(I.LETTER_S)){let c=a.slice(0,this._start-1);return c.includes(I.CURLY_BRACKETS_LEFT)?i+u:c+i+u}else return i+u},"")||a}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}};s(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=Sn(t)))(i||t)}})()),s(t,"ɵprov",$({token:t,factory:t.ɵfac}));let e=t;return e})();function DQ(){let e=D(Ub),t=D(Gb);return t instanceof Function?ge(ge({},e),t()):ge(ge({},e),t)}function NQ(e){return[{provide:Gb,useValue:e},{provide:Ub,useValue:kQ},{provide:qd,useFactory:DQ},IQ]}function TQ(e){return Ic(NQ(e))}var ui=class extends Error{};ui.prototype.name="InvalidTokenError";function MQ(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,r)=>{let n=r.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}function OQ(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 MQ(t)}catch{return atob(t)}}function RQ(e,t){if(typeof e!="string")throw new ui("Invalid token specified: must be a string");t||(t={});let r=t.header===!0?0:1,n=e.split(".")[r];if(typeof n!="string")throw new ui(`Invalid token specified: missing part #${r+1}`);let a;try{a=OQ(n)}catch(i){throw new ui(`Invalid token specified: invalid base64 for part #${r+1} (${i.message})`)}try{return JSON.parse(a)}catch(i){throw new ui(`Invalid token specified: invalid json for part #${r+1} (${i.message})`)}}function PQ(e){var t,r,n,a;return((r=(t=e.userProfile)==null?void 0:t.children)==null?void 0:r.length)>0?e.userProfile.children[0].ssin:((a=(n=e.userProfile)==null?void 0:n.mandators)==null?void 0:a.length)>0?e.userProfile.mandators[0].ssin:e.userProfile.ssin}var AQ=(()=>{const t=class t{registerAccessToken(n){this.getLocalAccessToken=n}resolveAccessToken(){return ea(this.getLocalAccessToken("nihii-vidis"))}resolveSsin(){return Ct(this,null,function*(){if(this._isProfessional===!0)return this._patientSsin;let n=yield this.decodedToken();return PQ(n)})}resolvePatientInfo(){return Ct(this,null,function*(){return(yield this.decodedToken()).userProfile})}resolveUserInfo(){return Ct(this,null,function*(){var c,m,b,g;let n=(yield this.decodedToken()).userProfile,a=n.lastName,i=n.firstName,o=this.extractProfessionalRole(n),l=((c=n==null?void 0:n.organizations)==null?void 0:c.length)>0&&((m=n==null?void 0:n.organizations[0])!=null&&m.pharmacy)?"pharmacist":void 0,h=(b=n==null?void 0:n.organizations)!=null&&b.length&&l!==void 0?n==null?void 0:n.organizations[0]:void 0,u=this.resolveProfessional(n,o)?n[o]:void 0;return{firstName:i,ssin:n.ssin,lastName:a,role:l||o,organization:h&&l?h:void 0,professional:u,mandator:((g=n==null?void 0:n.mandators)==null?void 0:g.length)>0}})}isMandator(){return Ct(this,null,function*(){var n,a;return((a=(n=(yield this.decodedToken()).userProfile)==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"],i="patient";return a.forEach(o=>{n[o]&&(i=o)}),i}decodedToken(){return Ct(this,null,function*(){return RQ(yield this.getLocalAccessToken("nihii-vidis"))})}get isProfessional(){return this._isProfessional}set isProfessional(n){this._isProfessional=n}get patientSsin(){return this._patientSsin}set patientSsin(n){this._patientSsin=n}get isOfflineDataStorageEnabled(){return this._offlineDataStorageEnabled}set isOfflineDataStorageEnabled(n){this._offlineDataStorageEnabled=n}get isOfflineAuthenticated(){return this._isOfflineAuthenticated}set isOfflineAuthenticated(n){this._isOfflineAuthenticated=n}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=$({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),LQ=(()=>{const t=class t{constructor(){this._isProfessional=!1,this._patientSsin=""}resolveAccessToken(){return _t("demo token")}resolveSsin(){return Ct(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 Ct(this,null,function*(){return Promise.resolve(!1)})}registerAccessToken(n){}get isProfessional(){return this._isProfessional}set isProfessional(n){this._isProfessional=n}get patientSsin(){return this._patientSsin}set patientSsin(n){this._patientSsin=n}get isOfflineDataStorageEnabled(){return this._offlineDataStorageEnabled}set isOfflineDataStorageEnabled(n){this._offlineDataStorageEnabled=n}get isOfflineAuthenticated(){return this._isOfflineAuthenticated}set isOfflineAuthenticated(n){this._isOfflineAuthenticated=n}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=$({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function FQ(e){return e.firstName&&e.lastName?e.firstName+" "+e.lastName:e.name}var jQ={fr:["fr","nl","de","en"],nl:["nl","fr","de","en"],de:["de","fr","nl","en"],en:["en","nl","fr","de"]};function Wb(e,t){if(e){t=t==null?void 0:t.substring(0,2);for(let r of jQ[t]){let n=e.find(a=>a.lang===r);if(n)return n.value}return e.length>0?e[0].value:"Missing translation"}}var VQ=(()=>{const t=class t{constructor(){this.translate=D(qn)}transform(n){return this.findTranslation(n.name)+" "+(n.prefix?n.prefix+" ":"")+(n.value?n.value+" ":"")+(n.unit?this.translate.instant("commons.units."+n.unit,{count:n.value||1}):"")}findTranslation(n){return Wb(n,this.translate.currentLang)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=$({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),zQ={HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)"};function BQ(e,t){if(e&1){let r=n0();ke(0,"div",1)(1,"button",2),el("click",function(){eg(r);let n=Et();return tg(n.action())}),Ae(2),Ce()()}if(e&2){let r=Et();we(2),lr(" ",r.data.action," ")}}var HQ=["label"];function qQ(e,t){}var $Q=Math.pow(2,31)-1,cc=class{constructor(e,t){s(this,"_overlayRef");s(this,"instance");s(this,"containerInstance");s(this,"_afterDismissed",new Pe);s(this,"_afterOpened",new Pe);s(this,"_onAction",new Pe);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,$Q))}_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}},Zb=new Q("MatSnackBarData"),Os=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")}},GQ=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",hr({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}));let e=t;return e})(),UQ=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",hr({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}));let e=t;return e})(),WQ=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",hr({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}));let e=t;return e})(),ZQ=(()=>{const t=class t{constructor(){s(this,"snackBarRef",D(cc));s(this,"data",D(Zb))}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Dt({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&&(ke(0,"div",0),Ae(1),Ce(),Ht(2,BQ,3,1,"div",1)),n&2&&(we(),lr(" ",a.data.message,`
27
+ `),we(),ln(a.hasAction?2:-1))},dependencies:[DW,GQ,UQ,WQ],styles:[`.mat-mdc-simple-snack-bar{display:flex}
28
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),nu="_mat-snack-bar-enter",ru="_mat-snack-bar-exit",YQ=(()=>{const t=class t extends Td{constructor(){super();s(this,"_ngZone",D(je));s(this,"_elementRef",D(en));s(this,"_changeDetectorRef",D(nl));s(this,"_platform",D($n));s(this,"_rendersRef");s(this,"_animationsDisabled",D(Yi,{optional:!0})==="NoopAnimations");s(this,"snackBarConfig",D(Os));s(this,"_document",D(Le));s(this,"_trackedModals",new Set);s(this,"_enterFallback");s(this,"_exitFallback");s(this,"_renders",new Pe);s(this,"_announceDelay",150);s(this,"_announceTimeoutId");s(this,"_destroyed",!1);s(this,"_portalOutlet");s(this,"_onAnnounce",new Pe);s(this,"_onExit",new Pe);s(this,"_onEnter",new Pe);s(this,"_animationState","void");s(this,"_live");s(this,"_label");s(this,"_role");s(this,"_liveElementId",D(X0).getId("mat-snack-bar-container-live-"));s(this,"attachDomPortal",a=>{this._assertNotAttached();let i=this._portalOutlet.attachDomPortal(a);return this._afterPortalAttached(),i});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=Hg(()=>this._renders.next(),{manualCleanup:!0})}attachComponentPortal(a){this._assertNotAttached();let i=this._portalOutlet.attachComponentPortal(a);return this._afterPortalAttached(),i}attachTemplatePortal(a){this._assertNotAttached();let i=this._portalOutlet.attachTemplatePortal(a);return this._afterPortalAttached(),i}onAnimationEnd(a){a===ru?this._completeExit():a===nu&&(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(rr(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(nu)))}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(nu)},200)))}exit(){return this._destroyed?_t(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(rr(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(ru)))}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(ru),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,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(h=>a.classList.add(h)):a.classList.add(i)),this._exposeToModals();let o=this._label.nativeElement,l="mdc-snackbar__label";o.classList.toggle(l,!o.querySelector(`.${l}`))}_exposeToModals(){let a=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<i.length;o++){let l=i[o],h=l.getAttribute("aria-owns");this._trackedModals.add(l),h?h.indexOf(a)===-1&&l.setAttribute("aria-owns",h+" "+a):l.setAttribute("aria-owns",a)}}_clearFromModals(){this._trackedModals.forEach(a=>{let i=a.getAttribute("aria-owns");if(i){let o=i.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,i=a.querySelector("[aria-hidden]"),o=a.querySelector("[aria-live]");if(i&&o){let l=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&i.contains(document.activeElement)&&(l=document.activeElement),i.removeAttribute("aria-hidden"),o.appendChild(i),l==null||l.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵcmp",Dt({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(a,i){if(a&1&&(tp(Ap,7),tp(HQ,7)),a&2){let o;np(o=rp())&&(i._portalOutlet=o.first),np(o=rp())&&(i._label=o.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(a,i){a&1&&el("animationend",function(o){return i.onAnimationEnd(o.animationName)})("animationcancel",function(o){return i.onAnimationEnd(o.animationName)}),a&2&&Dr("mat-snack-bar-container-enter",i._animationState==="visible")("mat-snack-bar-container-exit",i._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!i._animationsDisabled)},features:[Tr],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,i){a&1&&(ke(0,"div",1)(1,"div",2,0)(3,"div",3),Ht(4,qQ,0,0,"ng-template",4),Ce(),Kt(5,"div"),Ce()()),a&2&&(we(5),qa("aria-live",i._live)("role",i._role)("id",i._liveElementId))},dependencies:[Ap],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}
29
+ `],encapsulation:2}));let e=t;return e})();function KQ(){return new Os}var QQ=new Q("mat-snack-bar-default-options",{providedIn:"root",factory:KQ}),JQ=(()=>{const t=class t{constructor(){s(this,"_overlay",D(wW));s(this,"_live",D(R6));s(this,"_injector",D(Ot));s(this,"_breakpointObserver",D(D6));s(this,"_parentSnackBar",D(t,{optional:!0,skipSelf:!0}));s(this,"_defaultConfig",D(QQ));s(this,"_snackBarRefAtThisLevel",null);s(this,"simpleSnackBarComponent",ZQ);s(this,"snackBarContainerComponent",YQ);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="",i){let o=ge(ge({},this._defaultConfig),i);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 i=a&&a.viewContainerRef&&a.viewContainerRef.injector,o=Ot.create({parent:i||this._injector,providers:[{provide:Os,useValue:a}]}),l=new Xu(this.snackBarContainerComponent,a.viewContainerRef,o),h=n.attach(l);return h.instance.snackBarConfig=a,h.instance}_attach(n,a){let i=ge(ge(ge({},new Os),this._defaultConfig),a),o=this._createOverlay(i),l=this._attachSnackBarContainer(o,i),h=new cc(l,o);if(n instanceof Ii){let u=new tb(n,null,{$implicit:i.data,snackBarRef:h});h.instance=l.attachTemplatePortal(u)}else{let u=this._createInjector(i,h),c=new Xu(n,void 0,u),m=l.attachComponentPortal(c);h.instance=m.instance}return this._breakpointObserver.observe(zQ.HandsetPortrait).pipe(Fi(o.detachments())).subscribe(u=>{o.overlayElement.classList.toggle(this.handsetCssClass,u.matches)}),i.announcementMessage&&l._onAnnounce.subscribe(()=>{this._live.announce(i.announcementMessage,i.politeness)}),this._animateSnackBar(h,i),this._openedSnackBarRef=h,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 ab;a.direction=n.direction;let i=this._overlay.position().global(),o=n.direction==="rtl",l=n.horizontalPosition==="left"||n.horizontalPosition==="start"&&!o||n.horizontalPosition==="end"&&o,h=!l&&n.horizontalPosition!=="center";return l?i.left("0"):h?i.right("0"):i.centerHorizontally(),n.verticalPosition==="top"?i.top("0"):i.bottom("0"),a.positionStrategy=i,this._overlay.create(a)}_createInjector(n,a){let i=n&&n.viewContainerRef&&n.viewContainerRef.injector;return Ot.create({parent:i||this._injector,providers:[{provide:cc,useValue:a},{provide:Zb,useValue:n.data}]})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),XQ=(()=>{const t=class t{constructor(){this.snackbar=D(JQ),this.translate=D(qn)}showSuccess(n,a="commons.close",i=5e3){return this.snackbar.open(this.translate.instant(n),this.translate.instant(a),{duration:i,panelClass:"mh-snackbar--success"})}showError(n,a="commons.close",i=5e3){return this.snackbar.open(this.translate.instant(n),this.translate.instant(a),{duration:i,panelClass:"mh-snackbar--error"})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=$({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),eJ="4.0",dc=eJ,yr=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(yr||{}),tJ={demo:{env:yr.DEMO},dev:{apiUrl:"http://vidis-fake-api.test.paas.vasdc.be",env:yr.DEV},int:{apiUrl:"https://vidis-api.int.pub.vascloud.be/REST/vidis",env:yr.INT},acc:{apiUrl:"https://vidis-api.acc.vasha.be/REST/vidis",env:yr.ACC},prod:{apiUrl:"https://vidis-api.vasha.be/REST/vidis",env:yr.PROD}},sl=(()=>{const t=class t{setEnvironment(n){this.configVariables=tJ[yr[n.toUpperCase()]]||{}}getEnvironmentVariable(n){return this.configVariables[n]}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=$({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),nJ=(()=>{const t=class t{constructor(){this.http=D(no),this.snackbarService=D(XQ)}getLeaflet(n,a){this.http.get(`/v2/leaflet/${n}/${a}`,{responseType:"text"}).pipe(rr(1),Hs(i=>(this.snackbarService.showError(i.status===404?"error.no-leaflet":"error.fetch-leaflet"),of(()=>i)))).subscribe(i=>{window.open(i,"_blank")})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=$({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Rs=(()=>{const t=class t{constructor(){this.config=D(sl),this.injector=D(Ot),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(LQ):this.injector.get(AQ)}return this._instance}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=$({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Yb=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}(Yb||{}),Kb=function(e){return e.CNK="cnk",e.INN="inn",e.VMP="vmp",e.EAN="ean",e.COMPOUND="compound",e}(Kb||{}),d=function(e){return e.NL="nl",e.FR="fr",e.DE="de",e.EN="en",e}(d||{});d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,d.EN,d.NL,d.FR,d.DE,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 Ao={getAuthorizationHeader:e=>`Bearer ${e}`,getUserType:e=>e.isProfessional?"professional":"patient",clientType:{webApp:"webapp",mobileApp:"mobapp"}},rJ=(()=>{const t=class t{constructor(){s(this,"version");s(this,"language");s(this,"configName");s(this,"services");s(this,"onPrint",new jt);s(this,"_ngInitDone",!1);s(this,"correctlySetup",!1);s(this,"extraRequiredFields",[])}validateVersion(){let n=dc.split(".").map(i=>parseInt(i)),a=(this.version||"").split(".").map(i=>parseInt(i));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 (${dc})!`),!1):!0}validateInputs(){let n=this,a=["language","configName","services","version",...this.extraRequiredFields],{missingFields:i,presentFields:o}=a.reduce((l,h)=>(n[h]===void 0?l.missingFields.push(h):l.presentFields.push(h),l),{missingFields:[],presentFields:[]});return i.length?(console.log(`[BaseWebComponent] Waiting for missing inputs: ${i.join(", ")}; Present inputs: ${o.join(", ")}`),!1):(console.log("[BaseWebComponent] All required inputs are present"),this.validateVersion()?this.services.cacheDataStorage==null?(console.error("[BaseWebComponent] The given services input does not contain a cache service!"),!1):this.services.getAccessToken==null?(console.error("[BaseWebComponent] The given services input does not contain a getAccessToken() function!"),!1):this.services.registerRefreshCallback==null?(console.error("[BaseWebComponent] The given services input does not contain a registerRefreshCallback() function!"),!1):!0:!1)}ngOnChanges(n){this.correctlySetup=this.validateInputs(),this.correctlySetup&&(this._ngInitDone?this.onPropsChanged(n):(this.onInitialized(),this._ngInitDone=!0))}isCorrectlySetup(){return this.correctlySetup}onInitialized(){}onPropsChanged(n){}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Dt({type:t,selectors:[["ng-component"]],inputs:{version:"version",language:"language",configName:"configName",services:"services"},outputs:{onPrint:"onPrint"},features:[h9],decls:0,vars:0,template:function(n,a){},encapsulation:2}));let e=t;return e})(),aJ=class{constructor(e,t,r,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=r}fetchBackendData(){return Ct(this,null,function*(){let e=yield this.getDataFromBackend();return e&&(yield this.updateStoredData(e)),e})}fetchOfflineData(){return Ct(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 Ct(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 Ct(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 Ct(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 Ct(this,null,function*(){this.storeDataInCache(e),yield this.storeDataOffline(e)})}},iJ=()=>{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)},oJ=(e,t)=>{let r=D(Rs),n=D(sl).getEnvironmentVariable("apiUrl");if(e.url.includes("assets/")||e.url.startsWith("http"))return t(e);let a=e.headers||new Aa,i=r.getInstance().isProfessional;return r.getInstance().resolveAccessToken().pipe(bi(o=>t(e.clone({url:`${n}${e.url}`,headers:a.set("Authorization",Ao.getAuthorizationHeader(o)).set("user-type",Ao.getUserType({isProfessional:i})).set("client-type",iJ()?Ao.clientType.mobileApp:Ao.clientType.webApp)}))))};function sJ(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var lJ=["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",sJ];function uJ(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var cJ=["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",uJ];function dJ(e){let t=Math.floor(Math.abs(e)),r=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&&r===0||!(n>=0&&n<=5)?4:5}var hJ=["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",dJ];function pJ(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var mJ=["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",pJ];il(lJ,"de");il(mJ,"nl");il(hJ,"fr");il(cJ,"en");var fJ=class{handleError(e){throw new Error(e)}},gJ=class extends tW{getFirstDayOfWeek(){return 1}format(e){return kK(e,"dd/MM/yyyy")}parse(e){return EQ(e,"dd/MM/yyyy",new Date)}},vJ={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"}}},bJ=[xY(),s6(l6([oJ])),TQ(),{provide:Hn,useClass:fJ},{provide:eb,useClass:gJ,deps:[Ju]},{provide:z6,useValue:vJ},{provide:db,useClass:EY},{provide:xW,useValue:{panelClass:"mh-dialog-container"}}],yJ=bm(T3(),1),_J=new Q("MESSAGE_FORMAT_CONFIG"),wJ={biDiSupport:!1,formatters:{},strictNumberSign:!1,currency:"USD",strictPluralKeys:!0,throwOnError:!1,fallbackPrefix:void 0},xJ=(()=>{const t=class t extends io{constructor(n){super(),this.mfCache=new Map;let{formatters:a,biDiSupport:i,strictNumberSign:o,currency:l,strictPluralKeys:h,throwOnError:u,fallbackPrefix:c}=ge(ge({},wJ),n);this.messageFormatOptions={customFormatters:a,biDiSupport:i,strict:o,currency:l,strictPluralKeys:h},this.throwOnError=!!u,this.fallbackPrefix=c}compile(n,a){if(this.fallbackPrefix&&n.startsWith(this.fallbackPrefix))return n.slice(this.fallbackPrefix.length);let i;try{i=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}'`),i=SJ(n,a)}return this.throwOnError||(i=EJ(i,n)),i}compileTranslations(n,a){return typeof n=="string"?this.compile(n,a):Object.keys(n).reduce((i,o)=>{let l=n[o];return i[o]=this.compileTranslations(l,a),i},{})}getMessageFormatInstance(n){return this.mfCache.has(n)||this.mfCache.set(n,new yJ.default(n,this.messageFormatOptions)),this.mfCache.get(n)}};t.ɵfac=function(n){return new(n||t)(ee(_J,8))},t.ɵprov=$({token:t,factory:t.ɵfac});let e=t;return e})();function EJ(e,t){return r=>{let n=t;try{n=e(r)}catch(a){console.error(a),console.error(`[ngx-translate-messageformat-compiler] Could not interpolate '${t}' with params '${r}'`)}return n}}function SJ(e,t){return()=>(console.warn(`[ngx-translate-messageformat-compiler] Falling back to original invalid message: '${e}' ('${t}')`),String(e))}var Qb={};re(Qb,{"00001":()=>Jb,"00002":()=>Xb,"00003":()=>ey,"00004":()=>ty,"00005":()=>ny,"00006":()=>ry,"00007":()=>ay,"00008":()=>iy,"00009":()=>oy,"00010":()=>sy,"00011":()=>ly,"00012":()=>uy,"00013":()=>cy,"00014":()=>dy,"00015":()=>hy,"00016":()=>py,"00017":()=>my,"00018":()=>fy,"00019":()=>gy,"00020":()=>vy,"00021":()=>by,"00022":()=>yy,"00023":()=>_y,"00024":()=>wy,"00025":()=>xy,"00026":()=>Ey,"00027":()=>Sy,"00028":()=>ky,"00029":()=>Cy,"00030":()=>Iy,ampoule:()=>Xy,bandage:()=>Zy,bottle:()=>e1,box:()=>Ky,cm:()=>Dy,default:()=>kJ,dropsperminute:()=>Ny,"effervescent-tablet":()=>Uy,gm:()=>Ty,internationalunits:()=>My,iu:()=>$y,liter:()=>Qy,"mck/h":()=>Oy,"mck/kg/minute":()=>Ry,measure:()=>Py,meq:()=>Hy,mg:()=>zy,"mg/h":()=>Ay,"mg/ml":()=>By,micrograms:()=>Wy,miu:()=>qy,"ml/h":()=>Ly,mmol:()=>Gy,piece:()=>Yy,syringe:()=>Jy,"syringe-ampoule":()=>t1,tbl:()=>Fy,tsp:()=>jy,"unt/h":()=>Vy});var Jb="{count, plural, one{kaffeelöffel (5 ml)} other{kaffeelöffellen (5 ml)}}",Xb="{count, plural, one{Ampulle} other{Ampullen}}",ey="anwenden",ty="{count, plural, one{Kapsel} other{Kapseln}}",ny="{count, plural, one{Tablette} other{Tabletten}}",ry="Dosis",ay="{count, plural, one{Tropf} other{Tropfen}}",iy="{count, plural, one{Fläsche} other{Fläschchen}}",oy="{count, plural, one{Implantat} other{Implantate}}",sy="{count, plural, one{Infusion} other{Infusionen}}",ly="{count, plural, one{Inhalation} other{Inhalationen}}",uy="Einstechen",cy="Kaugummi",dy="{count, plural, one{Kompresse} other{Kompressen}}",hy="{count, plural, one{Einlauf} other{Einläufe}}",py="ml",my="Ov.",fy="{count, plural, one{Perle} other{Perlen}}",gy="{count, plural, one{Pastille} other{Pastillen}}",vy="Pflaster",by="cart",yy="Pen",_y="{count, plural, one{Puff} other{Puffs}}",wy="{count, plural, one{Schwamm} other{Schwämme}}",xy="{count, plural, one{Stift} other{Stifte}}",Ey="Suppo",Sy="Tube",ky="{count, plural, one{Docht} other{Dochte}}",Cy="Beutel",Iy="Beutel",Dy="Zentimeter",Ny="{count, plural, one{Tropf pro Minute} other{Tropfen pro Minute}}",Ty="Gramm",My="{count, plural, one{Internationale Einheit} other{Internationale Einheiten}}",Oy="Mikrogramm pro Stunde",Ry="Mikrogramm pro Kilogramm pro Minute",Py="Maß",Ay="Miligramm pro Stunde",Ly="Milliliter pro Stunde",Fy="Esslöffel",jy="Kaffeelöffel",Vy="{count, plural, one{Einheit pro Stunde} other{Einheiten pro Stunde}}",zy="Milligramm",By="Milligramm pro Millimeter",Hy="meq",qy="miu",$y="iu",Gy="mmol",Uy="effervescent-tablet",Wy="micrograms",Zy="{count, plural, one{bandage} other{bandagen}}",Yy="{count, plural, one{stück} other{stücke}}",Ky="schachteln",Qy="liter",Jy="{count, plural, one{spritze} other{spritzen}}",Xy="{count, plural, one{glühbirn} other{glühbirnen}}",e1="{count, plural, one{Fläsche} other{Fläschchen}}",t1="{count, plural, one{spritze-ampulle} other{spritzen-ampulle}}",kJ={"00001":Jb,"00002":Xb,"00003":ey,"00004":ty,"00005":ny,"00006":ry,"00007":ay,"00008":iy,"00009":oy,"00010":sy,"00011":ly,"00012":uy,"00013":cy,"00014":dy,"00015":hy,"00016":py,"00017":my,"00018":fy,"00019":gy,"00020":vy,"00021":by,"00022":yy,"00023":_y,"00024":wy,"00025":xy,"00026":Ey,"00027":Sy,"00028":ky,"00029":Cy,"00030":Iy,cm:Dy,dropsperminute:Ny,gm:Ty,internationalunits:My,"mck/h":Oy,"mck/kg/minute":Ry,measure:Py,"mg/h":Ay,"ml/h":Ly,tbl:Fy,tsp:jy,"unt/h":Vy,mg:zy,"mg/ml":By,meq:Hy,miu:qy,iu:$y,mmol:Gy,"effervescent-tablet":Uy,micrograms:Wy,bandage:Zy,piece:Yy,box:Ky,liter:Qy,syringe:Jy,ampoule:Xy,bottle:e1,"syringe-ampoule":t1},n1={};re(n1,{"00001":()=>r1,"00002":()=>a1,"00003":()=>i1,"00004":()=>o1,"00005":()=>s1,"00006":()=>l1,"00007":()=>u1,"00008":()=>c1,"00009":()=>d1,"00010":()=>h1,"00011":()=>p1,"00012":()=>m1,"00013":()=>f1,"00014":()=>g1,"00015":()=>v1,"00016":()=>b1,"00017":()=>y1,"00018":()=>_1,"00019":()=>w1,"00020":()=>x1,"00021":()=>E1,"00022":()=>S1,"00023":()=>k1,"00024":()=>C1,"00025":()=>I1,"00026":()=>D1,"00027":()=>N1,"00028":()=>T1,"00029":()=>M1,"00030":()=>O1,ampoule:()=>a_,bandage:()=>X1,bottle:()=>i_,box:()=>t_,cm:()=>R1,default:()=>CJ,dropsperminute:()=>P1,"effervescent-tablet":()=>Q1,gm:()=>A1,internationalunits:()=>L1,iu:()=>Y1,liter:()=>n_,"mck/h":()=>F1,"mck/kg/minute":()=>j1,measure:()=>V1,meq:()=>W1,mg:()=>G1,"mg/h":()=>z1,"mg/ml":()=>U1,micrograms:()=>J1,miu:()=>Z1,"ml/h":()=>B1,mmol:()=>K1,piece:()=>e_,syringe:()=>r_,"syringe-ampoule":()=>o_,tbl:()=>H1,tsp:()=>q1,"unt/h":()=>$1});var r1="{count, plural, one{Teaspoon (5 ml)} other{Teaspoons (5 ml)}}",a1="{count, plural, one{ampoule} other{ampoules}}",i1="applic.",o1="{count, plural, one{capsule} other{capsules}}",s1="{count, plural, one{tablet} other{tablets}}",l1="{count, plural, one{dose} other{doses}}",u1="{count, plural, one{drop} other{drops}}",c1="{count, plural, one{bottle} other{bottles}}",d1="{count, plural, one{implant} other{implants}}",h1="{count, plural, one{perfusion} other{perfusions}}",p1="{count, plural, one{inhalation} other{inhalations}}",m1="insert",f1="{count, plural, one{chewing gum} other{chewing gums}}",g1="{count, plural, one{compress} other{compresses}}",v1="enema",b1="ml",y1="{count, plural, one{ovule} other{ovules}}",_1="{count, plural, one{pearl} other{pearls}}",w1="{count, plural, one{pastille} other{pastilles}}",x1="{count, plural, one{patch} other{patches}}",E1="{count, plural, one{cartridge} other{cartridges}}",S1="{count, plural, one{pen} other{pens}}",k1="{count, plural, one{puff} other{puffs}}",C1="{count, plural, one{sponge} other{sponges}}",I1="{count, plural, one{stylo} other{stylos}}",D1="{count, plural, one{supository} other{supositories}}",N1="{count, plural, one{tube} other{tubes}}",T1="{count, plural, one{wick} other{wicks}}",M1="{count, plural, one{bag} other{bags}}",O1="{count, plural, one{small bag} other{small bags}}",R1="centimeter",P1="{count, plural, one{drop per minute} other{drops per minute}}",A1="gram",L1="international units",F1="microgram per hour",j1="microgram per kilogram per minute",V1="{count, plural, one{measure} other{measures}}",z1="milligram per hour",B1="milliliter per hour",H1="{count, plural, one{tablespoon} other{tablespoons}}",q1="{count, plural, one{teaspoon} other{teaspoons}}",$1="{count, plural, one{unit per hour} other{units per hour}}",G1="milligram",U1="milligram per milliliter",W1="milli-equivalent",Z1="miu",Y1="international units",K1="millimole",Q1="{count, plural, one{effervescent tablet} other{effervescent tablets}}",J1="microgram",X1="{count, plural, one{bandage} other{bandages}}",e_="{count, plural, one{piece} other{pieces}}",t_="{count, plural, one{spray} other{sprays}}",n_="liter",r_="{count, plural, one{syringe} other{syringes}}",a_="{count, plural, one{ampoule} other{ampoules}}",i_="{count, plural, one{bottle} other{bottles}}",o_="{count, plural, one{syringe ampoule} other{syringe ampoules}}",CJ={"00001":r1,"00002":a1,"00003":i1,"00004":o1,"00005":s1,"00006":l1,"00007":u1,"00008":c1,"00009":d1,"00010":h1,"00011":p1,"00012":m1,"00013":f1,"00014":g1,"00015":v1,"00016":b1,"00017":y1,"00018":_1,"00019":w1,"00020":x1,"00021":E1,"00022":S1,"00023":k1,"00024":C1,"00025":I1,"00026":D1,"00027":N1,"00028":T1,"00029":M1,"00030":O1,cm:R1,dropsperminute:P1,gm:A1,internationalunits:L1,"mck/h":F1,"mck/kg/minute":j1,measure:V1,"mg/h":z1,"ml/h":B1,tbl:H1,tsp:q1,"unt/h":$1,mg:G1,"mg/ml":U1,meq:W1,miu:Z1,iu:Y1,mmol:K1,"effervescent-tablet":Q1,micrograms:J1,bandage:X1,piece:e_,box:t_,liter:n_,syringe:r_,ampoule:a_,bottle:i_,"syringe-ampoule":o_},s_={};re(s_,{"00001":()=>l_,"00002":()=>u_,"00003":()=>c_,"00004":()=>d_,"00005":()=>h_,"00006":()=>p_,"00007":()=>m_,"00008":()=>f_,"00009":()=>g_,"00010":()=>v_,"00011":()=>b_,"00012":()=>y_,"00013":()=>__,"00014":()=>w_,"00015":()=>x_,"00016":()=>E_,"00017":()=>S_,"00018":()=>k_,"00019":()=>C_,"00020":()=>I_,"00021":()=>D_,"00022":()=>N_,"00023":()=>T_,"00024":()=>M_,"00025":()=>O_,"00026":()=>R_,"00027":()=>P_,"00028":()=>A_,"00029":()=>L_,"00030":()=>F_,ampoule:()=>uw,bandage:()=>aw,bottle:()=>cw,box:()=>ow,cm:()=>j_,default:()=>IJ,dropsperminute:()=>V_,"effervescent-tablet":()=>nw,gm:()=>z_,internationalunits:()=>B_,iu:()=>ew,liter:()=>sw,"mck/h":()=>H_,"mck/kg/minute":()=>q_,measure:()=>$_,meq:()=>J_,mg:()=>K_,"mg/h":()=>G_,"mg/ml":()=>Q_,micrograms:()=>rw,miu:()=>X_,"ml/h":()=>U_,mmol:()=>tw,piece:()=>iw,syringe:()=>lw,"syringe-ampoule":()=>dw,tbl:()=>W_,tsp:()=>Z_,"unt/h":()=>Y_});var l_="{count, plural, one{cuillère à café (5 ml)} other{cuillères à café (5 ml)}}",u_="amp.",c_="applic.",d_="caps.",h_="compr.",p_="{count, plural, one{dose} other{doses}}",m_="{count, plural, one{goutte} other{gouttes}}",f_="flac.",g_="{count, plural, one{implant} other{implants}}",v_="{count, plural, one{perfusion} other{perfusions}}",b_="{count, plural, one{inhalation} other{inhalations}}",y_="insert",__="{count, plural, one{gomme à mâcher} other{gommes à mâcher}}",w_="{count, plural, one{compres(se)} other{compres(ses)}}",x_="{count, plural, one{lavement} other{lavements}}",E_="ml",S_="ov.",k_="{count, plural, one{perle} other{perles}}",C_="{count, plural, one{pastille} other{pastilles}}",I_="{count, plural, one{patch} other{patchs}}",D_="patr.",N_="{count, plural, one{stylo} other{stylos}}",T_="{count, plural, one{puff} other{puffs}}",M_="{count, plural, one{éponge} other{éponges}}",O_="{count, plural, one{stylo} other{stylos}}",R_="suppo",P_="{count, plural, one{tube} other{tubes}}",A_="{count, plural, one{mèche} other{mèches}}",L_="{count, plural, one{sac} other{sacs}}",F_="{count, plural, one{sachet} other{sachets}}",j_="{count, plural, one{centimètre} other{centimètres}}",V_="{count, plural, one{goute par minute} other{goutes par minute}}",z_="{count, plural, one{gramme} other{grammes}}",B_="{count, plural, one{unité internationales} other{unités internationales}}",H_="{count, plural, one{microgramme par heure} other{microgrammes par heure}}",q_="{count, plural, one{microgramme par kilogramme par minute} other{microgrammes par kilogramme par minute}}",$_="{count, plural, one{mesure} other{mesures}}",G_="{count, plural, one{milligramme par heure} other{milligrammes par heure}}",U_="{count, plural, one{millilitre par heure} other{millilitres par heure}}",W_="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",Z_="{count, plural, one{cuillère à café} other{cuillères à café}}",Y_="{count, plural, one{unité par heure} other{unités par heure}}",K_="{count, plural, one{miligramme} other{miligrammes}}",Q_="{count, plural, one{milligramme par millimètre} other{milligrammes par millimètre}}",J_="milli-équivalent",X_="miu",ew="{count, plural, one{unité internationales} other{unités internationales}}",tw="millimol",nw="{count, plural, one{comprimé effervescent} other{comprimés effervescents}}",rw="{count, plural, one{microgramme} other{microgrammes}}",aw="{count, plural, one{bandage} other{bandages}}",iw="{count, plural, one{pièce} other{pièces}}",ow="{count, plural, one{vaporisateur} other{vaporisateurs}}",sw="{count, plural, one{litre} other{litres}}",lw="{count, plural, one{seringue} other{seringues}}",uw="{count, plural, one{ampoule} other{ampoules}}",cw="{count, plural, one{fiole} other{fioles}}",dw="{count, plural, one{ampoule de seringue} other{ampoules de seringue}}",IJ={"00001":l_,"00002":u_,"00003":c_,"00004":d_,"00005":h_,"00006":p_,"00007":m_,"00008":f_,"00009":g_,"00010":v_,"00011":b_,"00012":y_,"00013":__,"00014":w_,"00015":x_,"00016":E_,"00017":S_,"00018":k_,"00019":C_,"00020":I_,"00021":D_,"00022":N_,"00023":T_,"00024":M_,"00025":O_,"00026":R_,"00027":P_,"00028":A_,"00029":L_,"00030":F_,cm:j_,dropsperminute:V_,gm:z_,internationalunits:B_,"mck/h":H_,"mck/kg/minute":q_,measure:$_,"mg/h":G_,"ml/h":U_,tbl:W_,tsp:Z_,"unt/h":Y_,mg:K_,"mg/ml":Q_,meq:J_,miu:X_,iu:ew,mmol:tw,"effervescent-tablet":nw,micrograms:rw,bandage:aw,piece:iw,box:ow,liter:sw,syringe:lw,ampoule:uw,bottle:cw,"syringe-ampoule":dw},hw={};re(hw,{"00001":()=>pw,"00002":()=>mw,"00003":()=>fw,"00004":()=>gw,"00005":()=>vw,"00006":()=>bw,"00007":()=>yw,"00008":()=>_w,"00009":()=>ww,"00010":()=>xw,"00011":()=>Ew,"00012":()=>Sw,"00013":()=>kw,"00014":()=>Cw,"00015":()=>Iw,"00016":()=>Dw,"00017":()=>Nw,"00018":()=>Tw,"00019":()=>Mw,"00020":()=>Ow,"00021":()=>Rw,"00022":()=>Pw,"00023":()=>Aw,"00024":()=>Lw,"00025":()=>Fw,"00026":()=>jw,"00027":()=>Vw,"00028":()=>zw,"00029":()=>Bw,"00030":()=>Hw,ampoule:()=>mx,bandage:()=>ux,bottle:()=>fx,box:()=>dx,cm:()=>qw,default:()=>DJ,dropsperminute:()=>$w,"effervescent-tablet":()=>sx,gm:()=>Gw,internationalunits:()=>Uw,iu:()=>ix,liter:()=>hx,"mck/h":()=>Ww,"mck/kg/minute":()=>Zw,measure:()=>Yw,meq:()=>rx,mg:()=>tx,"mg/h":()=>Kw,"mg/ml":()=>nx,micrograms:()=>lx,miu:()=>ax,"ml/h":()=>Qw,mmol:()=>ox,piece:()=>cx,syringe:()=>px,"syringe-ampoule":()=>gx,tbl:()=>Jw,tsp:()=>Xw,"unt/h":()=>ex});var pw="{count, plural, one{Koffielepel (5 ml)} other{Koffielepels (5 ml)}}",mw="{count, plural, one{ampule} other{ampullen}}",fw="aanbrengen",gw="{count, plural, one{capsule} other{capsules}}",vw="{count, plural, one{tablet} other{tabletten}}",bw="{count, plural, one{dose} other{dosissen}}",yw="{count, plural, one{druppel} other{druppels}}",_w="{count, plural, one{flesje} other{flesjes}}",ww="{count, plural, one{implantaat} other{implantaten}}",xw="{count, plural, one{infuus} other{infusen}}",Ew="{count, plural, one{inhalatie} other{inhalaties}}",Sw="inbrengen",kw="{count, plural, one{kauwgom} other{kauwgommen}}",Cw="{count, plural, one{kompres} other{kompressen}}",Iw="lavement",Dw="ml",Nw="{count, plural, one{ovule} other{ovules}}",Tw="{count, plural, one{parel} other{parels}}",Mw="{count, plural, one{pastille} other{pastilles}}",Ow="{count, plural, one{pleister} other{pleisters}}",Rw="{count, plural, one{patroon} other{patronen}}",Pw="{count, plural, one{pen} other{pennen}}",Aw="{count, plural, one{puff} other{puffs}}",Lw="{count, plural, one{spons} other{sponsen}}",Fw="{count, plural, one{stylo} other{stylos}}",jw="{count, plural, one{zetpil} other{zetpillen}}",Vw="{count, plural, one{tube} other{tubes}}",zw="{count, plural, one{wiek} other{wieken}}",Bw="{count, plural, one{zak} other{zakken}}",Hw="{count, plural, one{zakje} other{zakjes}}",qw="centimeter",$w="{count, plural, one{druppel per minuut} other{druppels per minuut}}",Gw="gram",Uw="internationale eenheden",Ww="microgram per uur",Zw="microgram per kilogram per minuut",Yw="{count, plural, one{maat} other{maten}}",Kw="milligram per uur",Qw="milliliter per uur",Jw="{count, plural, one{eetlepel} other{eetlepels}}",Xw="{count, plural, one{koffielepel} other{koffielepels}}",ex="{count, plural, one{eenheid per uur} other{eenheden per uur}}",tx="miligram",nx="miligram per milimeter",rx="milli-equivalent",ax="miu",ix="internationale eenheden",ox="millimol",sx="{count, plural, one{bruistablet} other{bruistabletten}}",lx="microgram",ux="{count, plural, one{verband} other{verbanden}}",cx="{count, plural, one{stuk} other{stuks}}",dx="{count, plural, one{verstuiving} other{verstuivingen}}",hx="liter",px="{count, plural, one{spuit} other{spuiten}}",mx="{count, plural, one{ampul} other{ampullen}}",fx="{count, plural, one{fles} other{flessen}}",gx="{count, plural, one{spuitampul} other{spuitampullen}}",DJ={"00001":pw,"00002":mw,"00003":fw,"00004":gw,"00005":vw,"00006":bw,"00007":yw,"00008":_w,"00009":ww,"00010":xw,"00011":Ew,"00012":Sw,"00013":kw,"00014":Cw,"00015":Iw,"00016":Dw,"00017":Nw,"00018":Tw,"00019":Mw,"00020":Ow,"00021":Rw,"00022":Pw,"00023":Aw,"00024":Lw,"00025":Fw,"00026":jw,"00027":Vw,"00028":zw,"00029":Bw,"00030":Hw,cm:qw,dropsperminute:$w,gm:Gw,internationalunits:Uw,"mck/h":Ww,"mck/kg/minute":Zw,measure:Yw,"mg/h":Kw,"ml/h":Qw,tbl:Jw,tsp:Xw,"unt/h":ex,mg:tx,"mg/ml":nx,meq:rx,miu:ax,iu:ix,mmol:ox,"effervescent-tablet":sx,micrograms:lx,bandage:ux,piece:cx,box:dx,liter:hx,syringe:px,ampoule:mx,bottle:fx,"syringe-ampoule":gx},NJ={nl:hw,fr:s_,de:Qb,en:n1},vx={};re(vx,{default:()=>TJ,friday:()=>xx,monday:()=>bx,saturday:()=>Ex,sunday:()=>Sx,thursday:()=>wx,tuesday:()=>yx,wednesday:()=>_x});var bx="Montag",yx="Dienstag",_x="Mittwoch",wx="Donnerstag",xx="Freitag",Ex="Samstag",Sx="Sonntag",TJ={monday:bx,tuesday:yx,wednesday:_x,thursday:wx,friday:xx,saturday:Ex,sunday:Sx},kx={};re(kx,{default:()=>MJ,friday:()=>Tx,monday:()=>Cx,saturday:()=>Mx,sunday:()=>Ox,thursday:()=>Nx,tuesday:()=>Ix,wednesday:()=>Dx});var Cx="Monday",Ix="Tuesday",Dx="Wednesday",Nx="Thursday",Tx="Friday",Mx="Saturday",Ox="Sunday",MJ={monday:Cx,tuesday:Ix,wednesday:Dx,thursday:Nx,friday:Tx,saturday:Mx,sunday:Ox},Rx={};re(Rx,{default:()=>OJ,friday:()=>jx,monday:()=>Px,saturday:()=>Vx,sunday:()=>zx,thursday:()=>Fx,tuesday:()=>Ax,wednesday:()=>Lx});var Px="Lundi",Ax="Mardi",Lx="Mercredi",Fx="Jeudi",jx="Vendredi",Vx="Samedi",zx="Dimanche",OJ={monday:Px,tuesday:Ax,wednesday:Lx,thursday:Fx,friday:jx,saturday:Vx,sunday:zx},Bx={};re(Bx,{default:()=>RJ,friday:()=>Ux,monday:()=>Hx,saturday:()=>Wx,sunday:()=>Zx,thursday:()=>Gx,tuesday:()=>qx,wednesday:()=>$x});var Hx="Maandag",qx="Dinsdag",$x="Woensdag",Gx="Donderdag",Ux="Vrijdag",Wx="Zaterdag",Zx="Zondag",RJ={monday:Hx,tuesday:qx,wednesday:$x,thursday:Gx,friday:Ux,saturday:Wx,sunday:Zx},PJ={nl:Bx,fr:Rx,de:vx,en:kx},Yx={};re(Yx,{VIDIS_0035:()=>Kx,VIDIS_0050:()=>Qx,VIDIS_0090:()=>Jx,VIDIS_0100:()=>Xx,VIDIS_0110:()=>eE,VIDIS_0120:()=>tE,VIDIS_0121:()=>nE,VIDIS_0122:()=>rE,VIDIS_0123:()=>aE,VIDIS_0124:()=>iE,VIDIS_0125:()=>oE,VIDIS_0126:()=>sE,VIDIS_0190:()=>lE,VIDIS_0200:()=>uE,VIDIS_0210:()=>cE,VIDIS_0211:()=>dE,VIDIS_0230:()=>hE,VIDIS_0290:()=>pE,VIDIS_0330:()=>mE,VIDIS_0340:()=>fE,VIDIS_0341:()=>gE,VIDIS_0400:()=>vE,VIDIS_0435:()=>bE,VIDIS_0440:()=>yE,VIDIS_5000:()=>_E,VIDIS_7000:()=>wE,default:()=>AJ,general:()=>EE,"has-hidden-prescriptions":()=>ME,invalid_date_format:()=>DE,myHealth:()=>kE,myHealthUrl:()=>CE,network_error:()=>IE,"no-access":()=>SE,prescriptionList:()=>xE,"status-message-content":()=>TE,"status-message-title":()=>NE});var Kx="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",Qx="Die Patienten-INSS fehlt. (VIDIS_0050)",Jx="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",Xx="Der Benutzer ist für diesen Vorgang nicht autorisiert. (VIDIS_0100)",eE="Der Patient hat keine informierte Einwilligung für den Austausch von Gesundheitsdaten erteilt. (VIDIS_0110)",tE="Es besteht keine therapeutische Beziehung zwischen der Bezugsperson und dem Patienten. (VIDIS_0120)",nE="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",rE="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",aE="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",iE="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",oE="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",sE="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",lE="Ungültige INSS-Patientennummer. (VIDIS_0190)",uE="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen. (VIDIS_0200)",cE="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",dE="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",hE="Der Vorgang ist ungültig (VIDIS_0230)",pE='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',mE="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)",fE="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. (VIDIS_0340)",gE="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. (VIDIS_0341)",vE="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später nochmal. (VIDIS_0400)",bE="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",yE="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",_E="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",wE="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",xE="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",EE="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",SE="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",kE="Zurück zum Portal Meine Gesundheit",CE="https://wwwint.meinegesundheit.belgien.be/#/",IE="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",DE="Ungültiges Datumsformat.",NE="Dienst vorübergehend nicht verfügbar",TE=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
30
+ Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.`,ME="Der Patient hat ein oder mehrere Verschreibungen ausgeblendet.",AJ={VIDIS_0035:Kx,VIDIS_0050:Qx,VIDIS_0090:Jx,VIDIS_0100:Xx,VIDIS_0110:eE,VIDIS_0120:tE,VIDIS_0121:nE,VIDIS_0122:rE,VIDIS_0123:aE,VIDIS_0124:iE,VIDIS_0125:oE,VIDIS_0126:sE,VIDIS_0190:lE,VIDIS_0200:uE,VIDIS_0210:cE,VIDIS_0211:dE,VIDIS_0230:hE,VIDIS_0290:pE,VIDIS_0330:mE,VIDIS_0340:fE,VIDIS_0341:gE,VIDIS_0400:vE,VIDIS_0435:bE,VIDIS_0440:yE,VIDIS_5000:_E,VIDIS_7000:wE,prescriptionList:xE,general:EE,"no-access":SE,myHealth:kE,myHealthUrl:CE,network_error:IE,invalid_date_format:DE,"status-message-title":NE,"status-message-content":TE,"has-hidden-prescriptions":ME},OE={};re(OE,{VIDIS_0035:()=>RE,VIDIS_0050:()=>PE,VIDIS_0090:()=>AE,VIDIS_0100:()=>LE,VIDIS_0110:()=>FE,VIDIS_0120:()=>jE,VIDIS_0121:()=>VE,VIDIS_0122:()=>zE,VIDIS_0123:()=>BE,VIDIS_0124:()=>HE,VIDIS_0125:()=>qE,VIDIS_0126:()=>$E,VIDIS_0190:()=>GE,VIDIS_0200:()=>UE,VIDIS_0210:()=>WE,VIDIS_0211:()=>ZE,VIDIS_0230:()=>YE,VIDIS_0290:()=>KE,VIDIS_0330:()=>QE,VIDIS_0340:()=>JE,VIDIS_0341:()=>XE,VIDIS_0400:()=>eS,VIDIS_0435:()=>tS,VIDIS_0440:()=>nS,VIDIS_5000:()=>rS,VIDIS_7000:()=>aS,default:()=>LJ,general:()=>oS,"has-hidden-prescriptions":()=>mS,invalid_date_format:()=>dS,myHealth:()=>lS,myHealthUrl:()=>uS,network_error:()=>cS,"no-access":()=>sS,prescriptionList:()=>iS,"status-message-content":()=>pS,"status-message-title":()=>hS});var RE="Unfortunately, this did not succeed. Please try again. (VIDIS_0035)",PE="The patient's NISS number is missing (VIDIS_0050)",AE="The personal information provided was not recognised. (VIDIS_0090)",LE="The user is not allowed to perform the operation. (VIDIS_0100)",FE="The patient did not give informed consent to share personal health information. (VIDIS_0110)",jE="There is no therapeutic relationship between the healthcare provider and the patient. (VIDIS_0120)",VE="Consulting data of a Brussels patient is currently not authorised.",zE="Consulting data of a Walloon patient is currently not authorised.",BE="Consulting data of a Brussels child by a parent is currently not authorised.",HE="Consulting data of a Walloon child by a parent is currently not authorised.",qE="Consulting data of a Brussels patient by a power of attorney is currently not authorised.",$E="Consulting data of a Walloon patient by a power of attorney is currently not authorised.",GE="The patient's NISS number is invalid. (VIDIS_0190)",UE="The user is not allowed to perform the operation because an exclusion exists between the applicant and the patient. (VIDIS_0200)",WE="The login was unsuccessful. Please try again. (VIDIS_0210)",ZE="The login was unsuccessful. Please try again. (VIDIS_0211)",YE="The request is invalid. (VIDIS_0230)",KE="User role must be citizen. (VIDIS_0290)",QE="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)",JE="You are not authorised to view this patient's data because your visa is not active. Please contact the FPS Health via the email address visa@health.fgov.be",XE="You are not authorised to view this patient's details because - or your visa is not active. Please contact the FPS Health via the email address visa@health.fgov.be - or the NIHDI number of the pharmacy is not valid. Please contact the NIHDI via the e-mail address dossierpharma@riziv-inami.fgov.be (VIDIS_0341)",eS="You request in invalid. Please try again later. (VIDIS_0400)",tS="Cannot determine the storage region of the medication scheme. (VIDIS_0435)",nS="Unfortunately, this did not succeed. Please try again. (VIDIS_0440)",rS="Unfortunately your data could not be retrieved. Please try again. (VIDIS_5000)",aS="Unfortunately, this did not succeed. Please try again. (VIDIS_7000)",iS="Unfortunately the details of the prescription could not be retrieved. Please try again.",oS="An internal technical error has occured. Please try again later.",sS="An internal technical error has occured. Please try again later.",lS="Back to the MyHealth portal.",uS="https://www.myhealth.belgium.be/",cS="A network error unfortunately has occured. Please contact your network manager if the problem persists.",dS="Invalid date format.",hS="Service temporarily unavailable",pS=`We are currently having a problem connecting to the server.
31
+ Please try again later.`,mS="The patient has hidden one or more prescriptions.",LJ={VIDIS_0035:RE,VIDIS_0050:PE,VIDIS_0090:AE,VIDIS_0100:LE,VIDIS_0110:FE,VIDIS_0120:jE,VIDIS_0121:VE,VIDIS_0122:zE,VIDIS_0123:BE,VIDIS_0124:HE,VIDIS_0125:qE,VIDIS_0126:$E,VIDIS_0190:GE,VIDIS_0200:UE,VIDIS_0210:WE,VIDIS_0211:ZE,VIDIS_0230:YE,VIDIS_0290:KE,VIDIS_0330:QE,VIDIS_0340:JE,VIDIS_0341:XE,VIDIS_0400:eS,VIDIS_0435:tS,VIDIS_0440:nS,VIDIS_5000:rS,VIDIS_7000:aS,prescriptionList:iS,general:oS,"no-access":sS,myHealth:lS,myHealthUrl:uS,network_error:cS,invalid_date_format:dS,"status-message-title":hS,"status-message-content":pS,"has-hidden-prescriptions":mS},fS={};re(fS,{VIDIS_0035:()=>gS,VIDIS_0050:()=>vS,VIDIS_0090:()=>bS,VIDIS_0100:()=>yS,VIDIS_0110:()=>_S,VIDIS_0120:()=>wS,VIDIS_0121:()=>xS,VIDIS_0122:()=>ES,VIDIS_0123:()=>SS,VIDIS_0124:()=>kS,VIDIS_0125:()=>CS,VIDIS_0126:()=>IS,VIDIS_0190:()=>DS,VIDIS_0200:()=>NS,VIDIS_0210:()=>TS,VIDIS_0211:()=>MS,VIDIS_0230:()=>OS,VIDIS_0290:()=>RS,VIDIS_0330:()=>PS,VIDIS_0340:()=>AS,VIDIS_0341:()=>LS,VIDIS_0400:()=>FS,VIDIS_0435:()=>jS,VIDIS_0440:()=>VS,VIDIS_5000:()=>zS,VIDIS_7000:()=>BS,default:()=>FJ,general:()=>qS,"has-hidden-prescriptions":()=>QS,invalid_date_format:()=>ZS,myHealth:()=>GS,myHealthUrl:()=>US,network_error:()=>WS,"no-access":()=>$S,prescriptionList:()=>HS,"status-message-content":()=>KS,"status-message-title":()=>YS});var gS="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0035)",vS="Le NISS du patient est manquant. (VIDIS_0050)",bS="Les informations personnelles fournies n'ont pas été reconnues. (VIDIS_0090)",yS="L’utilisateur n’est pas autorisé à effectuer l’opération. (VIDIS_0100)",_S="Le patient n’a pas donné son consentement éclairé pour partager des informations personnelles sur sa santé. (VIDIS_0110)",wS="Il n’y a pas de relation thérapeutique entre le soignant et le patient. (VIDIS_0120)",xS="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",ES="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",SS="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",kS="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",CS="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",IS="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",DS="Le NISS du patient n’est pas valide. (VIDIS_0190)",NS="L’utilisateur n’est pas autorisé à effectuer l’opération en raison d’une exclusion entre le demandeur et le patient. (VIDIS_0200)",TS="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0210)",MS="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0211)",OS="L’opération n’est pas valide. (VIDIS_0230)",RS="Le rôle d’utilisateur doit être citoyen (VIDIS_0290)",PS="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)",AS="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 (VIDIS_0340)",LS="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 (VIDIS_0341)",FS="Votre requête est invalide. Veuillez réessayer plus tard. (VIDIS_0400)",jS="Impossible de déterminer la région de stockage du schéma de médication. (VIDIS_0435)",VS="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0440)",zS="Malheureusement, nous n'avons pas pu récupérer vos données. Voulez-vous réessayer ? (VIDIS_5000)",BS="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_7000)",HS="Malheureusement, il n’a pas été possible de retrouver les détails de la prescription. Essayez-vous à nouveau?",qS="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",$S="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",GS="Revenir au portail MaSanté",US="https://wwwint.masante.belgique.be/#/",WS="Désolé, une erreur réseau s'est produite. Veuillez contacter votre administrateur réseau si le problème persiste.",ZS="Le format de date est invalide.",YS="Service temporairement indisponible",KS=`Nous rencontrons actuellement un problème de connexion au serveur.
32
+ Veuillez réessayer plus tard.`,QS="Le patient a masqué une ou plusieurs prescriptions.",FJ={VIDIS_0035:gS,VIDIS_0050:vS,VIDIS_0090:bS,VIDIS_0100:yS,VIDIS_0110:_S,VIDIS_0120:wS,VIDIS_0121:xS,VIDIS_0122:ES,VIDIS_0123:SS,VIDIS_0124:kS,VIDIS_0125:CS,VIDIS_0126:IS,VIDIS_0190:DS,VIDIS_0200:NS,VIDIS_0210:TS,VIDIS_0211:MS,VIDIS_0230:OS,VIDIS_0290:RS,VIDIS_0330:PS,VIDIS_0340:AS,VIDIS_0341:LS,VIDIS_0400:FS,VIDIS_0435:jS,VIDIS_0440:VS,VIDIS_5000:zS,VIDIS_7000:BS,prescriptionList:HS,general:qS,"no-access":$S,myHealth:GS,myHealthUrl:US,network_error:WS,invalid_date_format:ZS,"status-message-title":YS,"status-message-content":KS,"has-hidden-prescriptions":QS},JS={};re(JS,{VIDIS_0035:()=>XS,VIDIS_0050:()=>ek,VIDIS_0090:()=>tk,VIDIS_0100:()=>nk,VIDIS_0110:()=>rk,VIDIS_0120:()=>ak,VIDIS_0121:()=>ik,VIDIS_0122:()=>ok,VIDIS_0123:()=>sk,VIDIS_0124:()=>lk,VIDIS_0125:()=>uk,VIDIS_0126:()=>ck,VIDIS_0190:()=>dk,VIDIS_0200:()=>hk,VIDIS_0210:()=>pk,VIDIS_0211:()=>mk,VIDIS_0230:()=>fk,VIDIS_0290:()=>gk,VIDIS_0330:()=>vk,VIDIS_0340:()=>bk,VIDIS_0341:()=>yk,VIDIS_0400:()=>_k,VIDIS_0435:()=>wk,VIDIS_0440:()=>xk,VIDIS_5000:()=>Ek,VIDIS_7000:()=>Sk,default:()=>jJ,general:()=>Ck,"has-hidden-prescriptions":()=>Pk,invalid_date_format:()=>Mk,myHealth:()=>Dk,myHealthUrl:()=>Nk,network_error:()=>Tk,"no-access":()=>Ik,prescriptionList:()=>kk,"status-message-content":()=>Rk,"status-message-title":()=>Ok});var XS="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0035)",ek="Het INSZ-patiëntnummer ontbreekt. (VIDIS_0050)",tk="De persoonlijke informatie verstrekt werd niet herkend. (VIDIS_0090)",nk="De gebruiker mag de bewerking niet uitvoeren. (VIDIS_0100)",rk="De patiënt heeft geen geïnformeerde toestemming gegeven om persoonlijke gezondheidsinformatie te delen. (VIDIS_0110)",ak="Er is geen therapeutische relatie tussen de zorgverlener en de patiënt. (VIDIS_0120)",ik="Het raadplegen van gegevens van een Brusselse patiënt is momenteel niet toegelaten.",ok="Het raadplegen van gegevens van een Waalse patiënt is op dit moment niet toegelaten.",sk="Het raadplegen van gegevens van een Brusselse kind door een ouder is momenteel niet toegelaten.",lk="Het raadplegen van gegevens van een Waalse kind door een ouder is momenteel niet toegelaten.",uk="Het raadplegen van gegevens van een Brusselse patiënt door een volmacht is momenteel niet toegelaten.",ck="Het raadplegen van gegevens van een Waalse patiënt door een volmacht is momenteel niet toegelaten.",dk="Het INSZ-patiëntnummer is ongeldig. (VIDIS_0190)",hk="De gebruiker mag de bewerking niet uitvoeren omdat er een uitsluiting bestaat tussen de aanvrager en de patiënt. (VIDIS_0200)",pk="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0210)",mk="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0211)",fk="Het verzoek is ongeldig. (VIDIS_0230)",gk="Gebruikersrol moet burger zijn. (VIDIS_0290)",vk="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)",bk="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 (VIDIS_0340)",yk="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 (VIDIS_0341)",_k="Uw aanvraag is ongeldig. Probeer het later opnieuw. (VIDIS_0400)",wk="Kan de opslagregio van het medicatieschema niet bepalen. (VIDIS_0435)",xk="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0440)",Ek="Het is jammer genoeg niet gelukt uw gegevens op te halen. Probeert u het even opnieuw? (VIDIS_5000)",Sk="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_7000)",kk="Het is jammer genoeg niet gelukt de details van het voorschrift op te halen. Probeert u het even opnieuw?",Ck="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",Ik="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",Dk="Terug naar het MijnGezondheid portaal",Nk="http://wwwint.mijngezondheid.belgie.be/",Tk="Er is helaas een netwerkfout opgetreden. Neem contact op met uw netwerkbeheerder als het probleem aanhoudt.",Mk="Ongeldig datumformaat.",Ok="Service tijdelijk niet beschikbaar",Rk=`Er is momenteel een probleem met de verbinding met de server.
33
+ Probeer het later nog eens.`,Pk='has-hidden-prescriptions": "De patiënt heeft 1 of meerdere voorschriften verborgen.',jJ={VIDIS_0035:XS,VIDIS_0050:ek,VIDIS_0090:tk,VIDIS_0100:nk,VIDIS_0110:rk,VIDIS_0120:ak,VIDIS_0121:ik,VIDIS_0122:ok,VIDIS_0123:sk,VIDIS_0124:lk,VIDIS_0125:uk,VIDIS_0126:ck,VIDIS_0190:dk,VIDIS_0200:hk,VIDIS_0210:pk,VIDIS_0211:mk,VIDIS_0230:fk,VIDIS_0290:gk,VIDIS_0330:vk,VIDIS_0340:bk,VIDIS_0341:yk,VIDIS_0400:_k,VIDIS_0435:wk,VIDIS_0440:xk,VIDIS_5000:Ek,VIDIS_7000:Sk,prescriptionList:kk,general:Ck,"no-access":Ik,myHealth:Dk,myHealthUrl:Nk,network_error:Tk,invalid_date_format:Mk,"status-message-title":Ok,"status-message-content":Rk,"has-hidden-prescriptions":Pk},VJ={nl:JS,fr:fS,de:Yx,en:OE},Ak={};re(Ak,{1:()=>Lk,10:()=>Gk,11:()=>Uk,12:()=>Wk,13:()=>Zk,14:()=>Yk,15:()=>Kk,16:()=>Qk,17:()=>Jk,18:()=>Xk,19:()=>eC,2:()=>Fk,20:()=>tC,21:()=>nC,22:()=>rC,23:()=>aC,24:()=>iC,25:()=>oC,26:()=>sC,27:()=>lC,28:()=>uC,29:()=>cC,3:()=>jk,30:()=>dC,31:()=>hC,32:()=>pC,33:()=>mC,34:()=>fC,4:()=>Vk,40:()=>gC,41:()=>vC,5:()=>zk,6:()=>Bk,7:()=>Hk,71:()=>bC,8:()=>qk,9:()=>$k,90:()=>yC,91:()=>_C,92:()=>wC,93:()=>xC,default:()=>zJ});var Lk="Gelatinekapseln",Fk="Tabletten",jk="Creme",Vk="Gel",zk="Paste",Bk="Fette Salbe",Hk="Granulat",qk="Zäpfchen für Erwachsene",$k="Zäpfchen für Kinder",Gk="Vaginalzäpfchen",Uk="Rektiole",Wk="nicht gespaltenes Pulver innerliche Anwendung",Zk="nicht gespaltenes Pulver äußerliche Anwendung",Yk="Inhalation",Kk="Pulver Zum Spalten innerliche Anwendung",Qk="Pulver Zum Spalten äußerliche Anwendung",Jk="Nasentropfen",Xk="Nasensalbe",eC="Sirup",tC="Lösung innerliche Anwendung",nC="Lösung äußerliche Anwendung",rC="Tropfen innerliche Anwendung",aC="Tropfen äußerliche Anwendung",iC="Emulsion innerliche Anwendung",oC="Emulsion äußerliche Anwendung",sC="Shampoo",lC="Augentropfen",uC="Augenlotion",cC="Augenbad",dC="Salbe",hC="Augensalbe ",pC="Ohrentropfen",mC="Suspension innerliche Anwendung",fC="Suspension äußerliche Anwendung",gC="Kräutermischung",vC="Tee",bC="enterische Kapseln",yC="derartig",_C="Dermatologie (fest) derartig",wC="Pulver derartig",xC="Lösung derartig",zJ={1:Lk,2:Fk,3:jk,4:Vk,5:zk,6:Bk,7:Hk,8:qk,9:$k,10:Gk,11:Uk,12:Wk,13:Zk,14:Yk,15:Kk,16:Qk,17:Jk,18:Xk,19:eC,20:tC,21:nC,22:rC,23:aC,24:iC,25:oC,26:sC,27:lC,28:uC,29:cC,30:dC,31:hC,32:pC,33:mC,34:fC,40:gC,41:vC,71:bC,90:yC,91:_C,92:wC,93:xC},EC={};re(EC,{1:()=>SC,10:()=>RC,11:()=>PC,12:()=>AC,13:()=>LC,14:()=>FC,15:()=>jC,16:()=>VC,17:()=>zC,18:()=>BC,19:()=>HC,2:()=>kC,20:()=>qC,21:()=>$C,22:()=>GC,23:()=>UC,24:()=>WC,25:()=>ZC,26:()=>YC,27:()=>KC,28:()=>QC,29:()=>JC,3:()=>CC,30:()=>XC,31:()=>eI,32:()=>tI,33:()=>nI,34:()=>rI,4:()=>IC,40:()=>aI,41:()=>iI,5:()=>DC,6:()=>NC,7:()=>TC,71:()=>oI,8:()=>MC,9:()=>OC,90:()=>sI,91:()=>lI,92:()=>uI,93:()=>cI,default:()=>BJ});var SC="Capsules",kC="Tablets",CC="Cream",IC="Gel",DC="Paste",NC="Fatty ointment",TC="Granulate",MC="Adult suppository",OC="Child suppository",RC="Vaginal ovules",PC="Rectiole",AC="Undivided powder for internal use",LC="Undivided powder for external use",FC="Inhalation",jC="Divided powders for internal use",VC="Divided powders for external use",zC="Nasal drops",BC="Nasal ointment",HC="Syrup",qC="Solution for internal use",$C="Solution for external use",GC="Drops for internal use",UC="Drops for external use",WC="Emulsion for internal use",ZC="Emulsion for external use",YC="Shampoo",KC="Eye drops",QC="Eye lotion",JC="Eye bath",XC="Ointment",eI="Eye ointment",tI="Ear drops",nI="Suspension for internal use",rI="Suspension for external use",aI="Herbal mixture",iI="Tea",oI="Enteric-coated capsules",sI="As is",lI="Dermatology (solid) as is",uI="Powder as is",cI="Liquid as is",BJ={1:SC,2:kC,3:CC,4:IC,5:DC,6:NC,7:TC,8:MC,9:OC,10:RC,11:PC,12:AC,13:LC,14:FC,15:jC,16:VC,17:zC,18:BC,19:HC,20:qC,21:$C,22:GC,23:UC,24:WC,25:ZC,26:YC,27:KC,28:QC,29:JC,30:XC,31:eI,32:tI,33:nI,34:rI,40:aI,41:iI,71:oI,90:sI,91:lI,92:uI,93:cI},dI={};re(dI,{1:()=>hI,10:()=>wI,11:()=>xI,12:()=>EI,13:()=>SI,14:()=>kI,15:()=>CI,16:()=>II,17:()=>DI,18:()=>NI,19:()=>TI,2:()=>pI,20:()=>MI,21:()=>OI,22:()=>RI,23:()=>PI,24:()=>AI,25:()=>LI,26:()=>FI,27:()=>jI,28:()=>VI,29:()=>zI,3:()=>mI,30:()=>BI,31:()=>HI,32:()=>qI,33:()=>$I,34:()=>GI,4:()=>fI,40:()=>UI,41:()=>WI,5:()=>gI,6:()=>vI,7:()=>bI,71:()=>ZI,8:()=>yI,9:()=>_I,90:()=>YI,91:()=>KI,92:()=>QI,93:()=>JI,default:()=>HJ});var hI="Gélules",pI="Cachets / comprimés",mI="Crème",fI="Gel",gI="Pâte",vI="Pommade grasse",bI="Granulé",yI="Suppo adulte",_I="Suppo enfant",wI="Ovules vaginales",xI="Rectiole",EI="Poudre non-divisée usage interne",SI="Poudre non-divisée usage externe",kI="Inhalation",CI="Poudres à diviser usage interne",II="Poudres à diviser usage externe",DI="Gouttes nasales",NI="Pommade nasale",TI="Sirop",MI="Solution usage interne",OI="Solution usage externe",RI="Gouttes usage interne",PI="Gouttes usage externe",AI="Emulsion usage interne",LI="Emulsion usage externe",FI="Shampooing",jI="Gouttes ophtalmiques",VI="Lotion ophtalmique",zI="Bain ophtalmique",BI="Pommade",HI="Pommade ophtalmique",qI="Gouttes auriculaires",$I="Suspension usage interne",GI="Suspension usage externe",UI="Mélange de plantes",WI="Thé",ZI="Gélules à enrobage entérique / Gélules entériques",YI="en tant que tel/telle",KI="Dermatologie (solide) en tant que telle",QI="Poudre en tant que telle ",JI="Solution en tant que telle ",HJ={1:hI,2:pI,3:mI,4:fI,5:gI,6:vI,7:bI,8:yI,9:_I,10:wI,11:xI,12:EI,13:SI,14:kI,15:CI,16:II,17:DI,18:NI,19:TI,20:MI,21:OI,22:RI,23:PI,24:AI,25:LI,26:FI,27:jI,28:VI,29:zI,30:BI,31:HI,32:qI,33:$I,34:GI,40:UI,41:WI,71:ZI,90:YI,91:KI,92:QI,93:JI},XI={};re(XI,{1:()=>eD,10:()=>uD,11:()=>cD,12:()=>dD,13:()=>hD,14:()=>pD,15:()=>mD,16:()=>fD,17:()=>gD,18:()=>vD,19:()=>bD,2:()=>tD,20:()=>yD,21:()=>_D,22:()=>wD,23:()=>xD,24:()=>ED,25:()=>SD,26:()=>kD,27:()=>CD,28:()=>ID,29:()=>DD,3:()=>nD,30:()=>ND,31:()=>TD,32:()=>MD,33:()=>OD,34:()=>RD,4:()=>rD,40:()=>PD,41:()=>AD,5:()=>aD,6:()=>iD,7:()=>oD,71:()=>LD,8:()=>sD,9:()=>lD,90:()=>FD,91:()=>jD,92:()=>VD,93:()=>zD,default:()=>qJ});var eD="Capsules",tD="Tabletten",nD="Creme",rD="Gel",aD="Pasta",iD="Vette zalf",oD="Granulaat",sD="Suppo volwassene",lD="Suppo kind",uD="Vaginale zetpillen / vaginale ovules",cD="Rektiool",dD="Niet-verdeeld poeder inwendig gebruik",hD="Niet-verdeeld poeder uitwendig gebruik",pD="Inhalatie",mD="Te verdelen poeders inwendig gebruik",fD="Te verdelen poeders uitwendig gebruik",gD="Neusdruppels",vD="Neuszalf",bD="Siroop",yD="Oplossing inwendig gebruik",_D="Oplossing uitwendig gebruik",wD="Druppels inwendig gebruik",xD="Druppels uitwendig gebruik",ED="Emulsie inwendig gebruik",SD="Emulsie uitwendig gebruik",kD="Shampoo",CD="Oogdruppels",ID="Ooglotion",DD="Oogbad",ND="Zalf",TD="Oogzalf",MD="Oordruppels",OD="Suspensie inwendig gebruik",RD="Suspensie uitwendig gebruik",PD="Kruidenmengsel",AD="Thee",LD="enterisch omhulde capsules",FD="Als dusdanig",jD="Als dusdanig dermatologie (vast)",VD="Als dusdanig poeder",zD="Als dusdanig vloeistof",qJ={1:eD,2:tD,3:nD,4:rD,5:aD,6:iD,7:oD,8:sD,9:lD,10:uD,11:cD,12:dD,13:hD,14:pD,15:mD,16:fD,17:gD,18:vD,19:bD,20:yD,21:_D,22:wD,23:xD,24:ED,25:SD,26:kD,27:CD,28:ID,29:DD,30:ND,31:TD,32:MD,33:OD,34:RD,40:PD,41:AD,71:LD,90:FD,91:jD,92:VD,93:zD},$J={nl:XI,fr:dI,de:Ak,en:EC},BD={};re(BD,{close:()=>HD,default:()=>GJ,downloadLeaflet:()=>qD,file:()=>$D});var HD="Schließen",qD="Download Packungsbeilage (pdf)",$D="feile",GJ={close:HD,downloadLeaflet:qD,file:$D},GD={};re(GD,{close:()=>UD,default:()=>UJ,downloadLeaflet:()=>WD,file:()=>ZD});var UD="Close",WD="Download leaflet (pdf)",ZD="file",UJ={close:UD,downloadLeaflet:WD,file:ZD},YD={};re(YD,{close:()=>KD,default:()=>WJ,downloadLeaflet:()=>QD,file:()=>JD});var KD="Fermer",QD="Télécharger la notice (pdf)",JD="fichier",WJ={close:KD,downloadLeaflet:QD,file:JD},XD={};re(XD,{close:()=>e2,default:()=>ZJ,downloadLeaflet:()=>t2,file:()=>n2});var e2="Sluiten",t2="Download bijsluiter (pdf)",n2="bestand",ZJ={close:e2,downloadLeaflet:t2,file:n2},YJ={nl:XD,fr:YD,de:BD,en:GD},r2={};re(r2,{afterbreakfast:()=>a2,afterdinner:()=>i2,afterlunch:()=>o2,aftermeal:()=>s2,afternoon:()=>l2,beforebreakfast:()=>u2,beforedinner:()=>c2,beforelunch:()=>d2,betweenbreakfastandlunch:()=>h2,betweendinnerandsleep:()=>p2,betweenlunchanddinner:()=>m2,betweenmeals:()=>f2,breakfast:()=>g2,default:()=>KJ,dinner:()=>v2,duringbreakfast:()=>b2,duringdinner:()=>y2,duringlunch:()=>_2,evening:()=>w2,lunch:()=>x2,morning:()=>E2,night:()=>S2,thehourofsleep:()=>k2});var a2="nach dem Frühstück",i2="nach dem Abendessen",o2="nach dem Mittagessen",s2="nach dem Essen",l2="Nachmittag",u2="vor dem Frühstück",c2="vor dem Abendessen",d2="vor dem Mittagessen",h2="zwischen Frühstück und Mittagessen",p2="zwischen Abendessen und Nachtruhe",m2="zwischen Mittagessen und Abendessen",f2="zwischen den Mahlzeiten",g2="Frühstück",v2="Abendessen",b2="zum Frühstück",y2="zum Abendessen",_2="zum Mittagessen",w2="Abend",x2="Mittagessen",E2="Vormittag",S2="Nacht",k2="Nachtruhe",KJ={afterbreakfast:a2,afterdinner:i2,afterlunch:o2,aftermeal:s2,afternoon:l2,beforebreakfast:u2,beforedinner:c2,beforelunch:d2,betweenbreakfastandlunch:h2,betweendinnerandsleep:p2,betweenlunchanddinner:m2,betweenmeals:f2,breakfast:g2,dinner:v2,duringbreakfast:b2,duringdinner:y2,duringlunch:_2,evening:w2,lunch:x2,morning:E2,night:S2,thehourofsleep:k2},C2={};re(C2,{afterbreakfast:()=>I2,afterdinner:()=>D2,afterlunch:()=>N2,aftermeal:()=>T2,afternoon:()=>M2,beforebreakfast:()=>O2,beforedinner:()=>R2,beforelunch:()=>P2,betweenbreakfastandlunch:()=>A2,betweendinnerandsleep:()=>L2,betweenlunchanddinner:()=>F2,betweenmeals:()=>j2,breakfast:()=>V2,default:()=>QJ,dinner:()=>z2,duringbreakfast:()=>B2,duringdinner:()=>H2,duringlunch:()=>q2,evening:()=>$2,lunch:()=>G2,morning:()=>U2,night:()=>W2,thehourofsleep:()=>Z2});var I2="after breakfast",D2="after dinner",N2="after lunch",T2="after meal",M2="afternoon",O2="before breakfast",R2="before dinner",P2="before lunch",A2="between breakfast and lunch",L2="between dinner and the hour of sleep",F2="between lunch and dinner",j2="between meals",V2="breakfast",z2="dinner",B2="during breakfast",H2="during dinner",q2="during lunch",$2="evening",G2="lunch",U2="morning",W2="night",Z2="the hour of sleep",QJ={afterbreakfast:I2,afterdinner:D2,afterlunch:N2,aftermeal:T2,afternoon:M2,beforebreakfast:O2,beforedinner:R2,beforelunch:P2,betweenbreakfastandlunch:A2,betweendinnerandsleep:L2,betweenlunchanddinner:F2,betweenmeals:j2,breakfast:V2,dinner:z2,duringbreakfast:B2,duringdinner:H2,duringlunch:q2,evening:$2,lunch:G2,morning:U2,night:W2,thehourofsleep:Z2},Y2={};re(Y2,{afterbreakfast:()=>K2,afterdinner:()=>Q2,afterlunch:()=>J2,aftermeal:()=>X2,afternoon:()=>eN,beforebreakfast:()=>tN,beforedinner:()=>nN,beforelunch:()=>rN,betweenbreakfastandlunch:()=>aN,betweendinnerandsleep:()=>iN,betweenlunchanddinner:()=>oN,betweenmeals:()=>sN,breakfast:()=>lN,default:()=>JJ,dinner:()=>uN,duringbreakfast:()=>cN,duringdinner:()=>dN,duringlunch:()=>hN,evening:()=>pN,lunch:()=>mN,morning:()=>fN,night:()=>gN,thehourofsleep:()=>vN});var K2="après le petit-déjeuner",Q2="après le repas du soir",J2="après le repas du midi",X2="après le repas",eN="après-midi",tN="avant le petit-déjeuner",nN="avant le repas du soir",rN="avant le repas du midi",aN="entre le petit-déjeuner et le repas du midi",iN="entre le repas du soir et l’heure du coucher",oN="entre le repas du midi et le repas du soir",sN="entre les repas",lN="petit-déjeuner",uN="repas du soir",cN="pendant le petit-déjeuner",dN="pendant le repas du soir",hN="pendant le repas du midi",pN="soir",mN="repas du midi",fN="matin",gN="nuit",vN="heure du coucher",JJ={afterbreakfast:K2,afterdinner:Q2,afterlunch:J2,aftermeal:X2,afternoon:eN,beforebreakfast:tN,beforedinner:nN,beforelunch:rN,betweenbreakfastandlunch:aN,betweendinnerandsleep:iN,betweenlunchanddinner:oN,betweenmeals:sN,breakfast:lN,dinner:uN,duringbreakfast:cN,duringdinner:dN,duringlunch:hN,evening:pN,lunch:mN,morning:fN,night:gN,thehourofsleep:vN},bN={};re(bN,{afterbreakfast:()=>yN,afterdinner:()=>_N,afterlunch:()=>wN,aftermeal:()=>xN,afternoon:()=>EN,beforebreakfast:()=>SN,beforedinner:()=>kN,beforelunch:()=>CN,betweenbreakfastandlunch:()=>IN,betweendinnerandsleep:()=>DN,betweenlunchanddinner:()=>NN,betweenmeals:()=>TN,breakfast:()=>MN,default:()=>XJ,dinner:()=>ON,duringbreakfast:()=>RN,duringdinner:()=>PN,duringlunch:()=>AN,evening:()=>LN,lunch:()=>FN,morning:()=>jN,night:()=>VN,thehourofsleep:()=>zN});var yN="na het ontbijt",_N="na het avondmaal",wN="na het middagmaal",xN="na de maaltijd",EN="namiddag",SN="voor het ontbijt",kN="voor het avondmaal",CN="voor het middagmaal",IN="tussen het ontbijt en het middagmaal",DN="tussen het avondmaal en het slapen gaan",NN="tussen het middagmaal en het avondmaal",TN="tussen de maaltijden",MN="ontbijt",ON="avondmaal",RN="tijdens het ontbijt",PN="tijdens het avondmaal",AN="tijdens het middagmaal",LN="'s avonds",FN="middagmaal",jN="'s ochtends",VN="'s nachts",zN="voor het slapen gaan",XJ={afterbreakfast:yN,afterdinner:_N,afterlunch:wN,aftermeal:xN,afternoon:EN,beforebreakfast:SN,beforedinner:kN,beforelunch:CN,betweenbreakfastandlunch:IN,betweendinnerandsleep:DN,betweenlunchanddinner:NN,betweenmeals:TN,breakfast:MN,dinner:ON,duringbreakfast:RN,duringdinner:PN,duringlunch:AN,evening:LN,lunch:FN,morning:jN,night:VN,thehourofsleep:zN},eX={nl:bN,fr:Y2,de:r2,en:C2},BN={};re(BN,{day:()=>HN,default:()=>tX,during:()=>GN,on:()=>$N,week:()=>qN});var HN="Tag",qN="Woche",$N="am",GN="für",tX={day:HN,week:qN,on:$N,during:GN},UN={};re(UN,{day:()=>WN,default:()=>nX,during:()=>KN,on:()=>YN,week:()=>ZN});var WN="day",ZN="week",YN="on",KN="during",nX={day:WN,week:ZN,on:YN,during:KN},QN={};re(QN,{day:()=>JN,default:()=>rX,during:()=>tT,on:()=>eT,week:()=>XN});var JN="jour",XN="semaine",eT="le",tT="durant",rX={day:JN,week:XN,on:eT,during:tT},nT={};re(nT,{day:()=>rT,default:()=>aX,during:()=>oT,on:()=>iT,week:()=>aT});var rT="dag",aT="week",iT="op",oT="gedurende",aX={day:rT,week:aT,on:iT,during:oT},iX={nl:nT,fr:QN,de:BN,en:UN},sT={};re(sT,{a:()=>lT,d:()=>dT,default:()=>oX,hr:()=>hT,min:()=>pT,mo:()=>uT,ms:()=>fT,ns:()=>vT,s:()=>mT,us:()=>gT,wk:()=>cT});var lT="{count} {count, plural, one{Jahr} other{Jahre}}",uT="{count} {count, plural, one{Monat} other{Monate}}",cT="{count} {count, plural, one{Woche} other{Wochen}}",dT="{count} {count, plural, one{Tag} other{Tage}}",hT="{count} {count, plural, one{Stunde} other{Stunden}}",pT="{count} {count, plural, one{Minute} other{Minuten}}",mT="{count} {count, plural, one{Sekunde} other{Sekunden}} ",fT="{count} {count, plural, one{Millisekunde} other{Millisekunden}}",gT="{count} {count, plural, one{Microsekunde} other{Microsekunden}}",vT="{count} {count, plural, one{Nanosekunde} other{Nanosekunden}}",oX={a:lT,mo:uT,wk:cT,d:dT,hr:hT,min:pT,s:mT,ms:fT,us:gT,ns:vT},bT={};re(bT,{a:()=>yT,d:()=>xT,default:()=>sX,hr:()=>ET,min:()=>ST,mo:()=>_T,ms:()=>CT,ns:()=>DT,s:()=>kT,us:()=>IT,wk:()=>wT});var yT="{count} {count, plural, one{year} other{years}}",_T="{count} {count, plural, one{month} other{months}}",wT="{count} {count, plural, one{week} other{weeks}}",xT="{count} {count, plural, one{day} other{days}}",ET="{count} {count, plural, one{hour} other{hours}}",ST="{count} {count, plural, one{minute} other{minutes}}",kT="{count} {count, plural, one{second} other{seconds}}",CT="{count} {count, plural, one{millisecond} other{millisecondes}}",IT="{count} {count, plural, one{microsecond} other{microsecondes}}",DT="{count} {count, plural, one{nanosecond} other{nanosecondes}}",sX={a:yT,mo:_T,wk:wT,d:xT,hr:ET,min:ST,s:kT,ms:CT,us:IT,ns:DT},NT={};re(NT,{a:()=>TT,d:()=>RT,default:()=>lX,hr:()=>PT,min:()=>AT,mo:()=>MT,ms:()=>FT,ns:()=>VT,s:()=>LT,us:()=>jT,wk:()=>OT});var TT="{count} {count, plural, one{année} other{années}}",MT="{count} {count, plural, one{mois} other{mois}}",OT="{count} {count, plural, one{semaine} other{semaines}}",RT="{count} {count, plural, one{jour} other{jours}}",PT="{count} {count, plural, one{heure} other{heures}}",AT="{count} {count, plural, one{minute} other{minutes}}",LT="{count} {count, plural, one{seconde} other{secondes}}",FT="{count} {count, plural, one{milliseconde} other{millisecondes}}",jT="{count} {count, plural, one{microseconde} other{microsecondes}}",VT="{count} {count, plural, one{nanoseconde} other{nanosecondes}}",lX={a:TT,mo:MT,wk:OT,d:RT,hr:PT,min:AT,s:LT,ms:FT,us:jT,ns:VT},zT={};re(zT,{a:()=>BT,d:()=>$T,default:()=>uX,hr:()=>GT,min:()=>UT,mo:()=>HT,ms:()=>ZT,ns:()=>KT,s:()=>WT,us:()=>YT,wk:()=>qT});var BT="{count} {count, plural, one{jaar} other{jaren}}",HT="{count} {count, plural, one{maand} other{maanden}}",qT="{count} {count, plural, one{week} other{weken}}",$T="{count} {count, plural, one{dag} other{dagen}}",GT="{count} {count, plural, one{uur} other{uren}}",UT="{count} {count, plural, one{minuut} other{minuten}}",WT="{count} {count, plural, one{seconde} other{seconden}}",ZT="{count} {count, plural, one{milliseconde} other{milliseconden}}",YT="{count} {count, plural, one{microseconde} other{microseconden}}",KT="{count} {count, plural, one{nanoseconde} other{nanoseconden}}",uX={a:BT,mo:HT,wk:qT,d:$T,hr:GT,min:UT,s:WT,ms:ZT,us:YT,ns:KT},cX={nl:zT,fr:NT,de:sT,en:bT},QT={};re(QT,{"%":()=>JT,"%vv":()=>sO,"%wv":()=>lO,"%ww":()=>uO,"1000/mm3":()=>EM,amp:()=>XT,atptreatment:()=>rR,bag:()=>eM,bitperminute:()=>cO,bol:()=>dO,bot:()=>hO,box:()=>tM,c:()=>qO,can:()=>pO,cap:()=>mO,cc:()=>fO,cm:()=>gO,cmm:()=>SM,cnt:()=>$O,ctg:()=>HM,ctr:()=>vO,daily:()=>HO,day:()=>kM,default:()=>dX,degree:()=>xM,dis:()=>NM,drm:()=>GO,fl:()=>nM,fld:()=>TM,flo:()=>MM,ftc:()=>OM,fts:()=>RM,"g/dl":()=>rM,gal:()=>qM,gm:()=>aM,goutte:()=>BM,gr:()=>bO,hour:()=>zM,in:()=>yO,inc:()=>_O,jar:()=>wO,kg:()=>iM,"kg/m2":()=>oM,kit:()=>xO,l:()=>sM,lb:()=>lM,lm:()=>UO,loz:()=>zO,mcg:()=>uM,mcl:()=>cM,mcm:()=>$M,mcn:()=>EO,meq:()=>dM,mg:()=>hM,"mg/dl":()=>pM,"mg/l":()=>mM,"mg/m2":()=>fM,"mg/ml":()=>gM,mgper100ml:()=>UM,mic:()=>SO,mil:()=>kO,millisecond:()=>VM,min:()=>CO,minute:()=>PM,mis:()=>WO,ml:()=>vM,"ml/min":()=>bM,"ml/min/1.73m2":()=>jO,mm:()=>AM,"mm/h":()=>LM,mmhg:()=>FM,mmo:()=>IO,mol:()=>yM,month:()=>DM,nl:()=>DO,nmg:()=>ZO,nmo:()=>YO,ns:()=>XM,ondemand:()=>GM,oz:()=>_M,pel:()=>NO,pg:()=>JM,pkg:()=>TO,pnu:()=>KO,ppm:()=>wM,pt:()=>MO,qs:()=>OO,qt:()=>RO,sat:()=>QO,second:()=>jM,shock:()=>VO,spoon:()=>CM,spr:()=>WM,sqc:()=>PO,stp:()=>JO,sup:()=>eO,syr:()=>YM,tab:()=>tO,tbl:()=>nO,tes:()=>rO,ton:()=>oO,tpn:()=>KM,trc:()=>XO,tro:()=>BO,tsp:()=>iO,tub:()=>QM,umg:()=>AO,unt:()=>aO,vil:()=>ZM,vpr:()=>eR,waf:()=>tR,week:()=>IM,x:()=>nR,ydl:()=>LO,yds:()=>FO});var JT="%",XT="{count, plural, one{Glühbirn} other{Glühbirnen}}",eM="Beutel",tM="schachteln",nM="fl",rM="g/dl",aM="g",iM="kg",oM="kg/m²",sM="l",lM="lb",uM="µg",cM="µl",dM="meq",hM="mg",pM="mg/dl",mM="mg/l",fM="mg/m²",gM="mg/ml",vM="ml",bM="ml/min",yM="mol",_M="oz",wM="ppm",xM="°",EM="1000/mm³",SM="mm³",kM="{count, plural, one{Tag} other{Tage}}",CM="Löffel",IM="{count, plural, one{Woche} other{Wochen}}",DM="{count, plural, one{Monat} other{Monate}}",NM="{count, plural, one{Platte} other{Platten}}",TM="fl dr",MM="fl oz",OM="cu ft",RM="sq ft",PM="{count, plural, one{Minute} other{Minuten}}",AM="mm",LM="mm/h",FM="mmHg",jM="{count, plural, one{Sekunde} other{Sekunden}}",VM="{count, plural, one{Millisekunde} other{Millisekunden}}",zM="{count, plural, one{Stunde} other{Stunden}}",BM="{count, plural, one{Tropf} other{Tropfen}}",HM="{count, plural, one{Kartusche} other{Kartuschen}}",qM="gal",$M="mmol",GM="auf Antrag",UM="mg/100mL",WM="{count, plural, one{Sprühe} other{Sprühen}}",ZM="{count, plural, one{Phiole} other{Phiolen}}",YM="{count, plural, one{Spritze} other{Spritzen}}",KM="Tampon",QM="{count, plural, one{Rohr} other{Rohre}}",JM="pg",XM="nicht spezifiziert",eO="{count, plural, one{Zäpfch} other{Zäpfchen}}",tO="{count, plural, one{Tablette} other{Tabletten}}",nO="Esslöffel",rO="Test",aO="{count, plural, one{Einheit} other{Einheiten}}",iO="teelöffel",oO="ton",sO="% v/v",lO="% w/v",uO="% w/w",cO="Schläge pro Minute",dO="Bolus",hO="{count, plural, one{Flasche} other{Fläschchen}}",pO="Dose",mO="{count, plural, one{Kapsel} other{Kapseln}}",fO="cm3",gO="cm",vO="Halter",bO="Körnchen",yO="in",_O="in²",wO="Glas",xO="Kitt",EO="Micron",SO="µCi",kO="mCi",CO="minim",IO="μmol",DO="normal",NO="{count, plural, one{Pille} other{Pillen}}",TO="{count, plural, one{Paket} other{Pakete}}",MO="Pinte",OO="ausreichende Menge",RO="qt",PO="cm²",AO="{count, plural, one{Einheit / mg} other{Einheiten / mg}}",LO="yd",FO="yd²",jO="mL/min/1.73m²",VO="{count, plural, one{Schock} other{Schocks}}",zO="{count, plural, one{Pastille} other{Pastillen}}",BO="{count, plural, one{Pastille} other{Pastillen}}",HO="täglich",qO="homöopathische Verdünnung (Centesimal 1/100)",$O="cnt",GO="Fass",UO="homöopathische Verdünnung (50 Millisimal im Verhältnis 1:50,000)",WO="verschiedene",ZO="ng",YO="nmol",KO="{count, plural, one{Proteineinheit} other{Proteineinheiten}}",QO="gesättigt",JO="Strip",XO="Spur",eR="Therapieschema abhängig",tR="{count, plural, one{Oblate} other{Oblaten}}",nR="homöopathische Verdünnung (dezimal 1/10)",rR="anzahl der antitachykardie-stimulationsbehandlungen",dX={"%":JT,amp:XT,bag:eM,box:tM,fl:nM,"g/dl":rM,gm:aM,kg:iM,"kg/m2":oM,l:sM,lb:lM,mcg:uM,mcl:cM,meq:dM,mg:hM,"mg/dl":pM,"mg/l":mM,"mg/m2":fM,"mg/ml":gM,ml:vM,"ml/min":bM,mol:yM,oz:_M,ppm:wM,degree:xM,"1000/mm3":EM,cmm:SM,day:kM,spoon:CM,week:IM,month:DM,dis:NM,fld:TM,flo:MM,ftc:OM,fts:RM,minute:PM,mm:AM,"mm/h":LM,mmhg:FM,second:jM,millisecond:VM,hour:zM,goutte:BM,ctg:HM,gal:qM,mcm:$M,ondemand:GM,mgper100ml:UM,spr:WM,vil:ZM,syr:YM,tpn:KM,tub:QM,pg:JM,ns:XM,sup:eO,tab:tO,tbl:nO,tes:rO,unt:aO,tsp:iO,ton:oO,"%vv":sO,"%wv":lO,"%ww":uO,bitperminute:cO,bol:dO,bot:hO,can:pO,cap:mO,cc:fO,cm:gO,ctr:vO,gr:bO,in:yO,inc:_O,jar:wO,kit:xO,mcn:EO,mic:SO,mil:kO,min:CO,mmo:IO,nl:DO,pel:NO,pkg:TO,pt:MO,qs:OO,qt:RO,sqc:PO,umg:AO,ydl:LO,yds:FO,"ml/min/1.73m2":jO,shock:VO,loz:zO,tro:BO,daily:HO,c:qO,cnt:$O,drm:GO,lm:UO,mis:WO,nmg:ZO,nmo:YO,pnu:KO,sat:QO,stp:JO,trc:XO,vpr:eR,waf:tR,x:nR,atptreatment:rR},aR={};re(aR,{"%":()=>iR,"%vv":()=>oR,"%wv":()=>sR,"%ww":()=>lR,"1000/mm3":()=>uR,amp:()=>cR,atptreatment:()=>dR,bag:()=>hR,bitperminute:()=>pR,bol:()=>mR,bot:()=>fR,box:()=>gR,c:()=>vR,can:()=>bR,cap:()=>yR,cc:()=>_R,cm:()=>wR,cmm:()=>xR,cnt:()=>ER,ctg:()=>SR,ctr:()=>kR,daily:()=>CR,day:()=>IR,default:()=>hX,degree:()=>DR,dis:()=>NR,drm:()=>TR,fl:()=>MR,fld:()=>OR,flo:()=>RR,ftc:()=>PR,fts:()=>AR,"g/dl":()=>LR,gal:()=>FR,gm:()=>jR,goutte:()=>VR,gr:()=>zR,hour:()=>BR,in:()=>HR,inc:()=>qR,jar:()=>$R,kg:()=>GR,"kg/m2":()=>UR,kit:()=>WR,l:()=>ZR,lb:()=>YR,lm:()=>KR,loz:()=>QR,mcg:()=>JR,mcl:()=>XR,mcm:()=>eP,mcn:()=>tP,meq:()=>nP,mg:()=>rP,"mg/dl":()=>aP,"mg/l":()=>iP,"mg/m2":()=>oP,"mg/ml":()=>sP,mgper100ml:()=>lP,mic:()=>uP,mil:()=>cP,millisecond:()=>dP,min:()=>hP,minute:()=>pP,mis:()=>mP,ml:()=>fP,"ml/min":()=>gP,"ml/min/1.73m2":()=>vP,mm:()=>bP,"mm/h":()=>yP,mmhg:()=>_P,mmo:()=>wP,mol:()=>xP,month:()=>EP,nl:()=>SP,nmg:()=>kP,nmo:()=>CP,ns:()=>IP,ondemand:()=>DP,oz:()=>NP,pel:()=>TP,pg:()=>MP,pkg:()=>OP,pnu:()=>RP,ppm:()=>PP,pt:()=>AP,qs:()=>LP,sap:()=>FP,sat:()=>jP,second:()=>VP,shock:()=>zP,spoon:()=>BP,spr:()=>HP,sqc:()=>qP,stp:()=>$P,sup:()=>GP,syr:()=>UP,tab:()=>WP,tbl:()=>ZP,tes:()=>YP,ton:()=>KP,tpn:()=>QP,trc:()=>JP,tro:()=>XP,tsp:()=>eA,tub:()=>tA,umg:()=>nA,unt:()=>rA,vil:()=>aA,vpr:()=>iA,waf:()=>oA,week:()=>sA,x:()=>lA,ydl:()=>uA,yds:()=>cA});var iR="%",oR="% v/v",sR="% w/v",lR="% w/w",uR="1000/mm³",cR="{count, plural, one{ampule} other{ampules}}",dR="Number of treatments by anti-tachycardia pacing",hR="{count, plural, one{bag} other{bags}}",pR="{count, plural, one{bit per minute} other{bits per minute}}",mR="bolus",fR="{count, plural, one{bottle} other{bottles}}",gR="{count, plural, one{box} other{boxes}}",vR="homeopathic dilution (centesimal 1/100)",bR="{count, plural, one{can} other{cans}}",yR="{count, plural, one{capsule} other{capsules}}",_R="cm³",wR="cm",xR="mm³",ER="cnt",SR="{count, plural, one{cartridge} other{cartridges}}",kR="{count, plural, one{container} other{containers}}",CR="daily",IR="{count, plural, one{day} other{days}}",DR="°",NR="{count, plural, one{disk} other{disks}}",TR="drum",MR="{count, plural, one{fluid} other{fluids}}",OR="fl dr",RR="{count, plural, one{fluid ounce} other{fluid ounces}}",PR="cu ft",AR="sq ft",LR="g/dl",FR="{count, plural, one{gallon} other{gallons}}",jR="g",VR="{count, plural, one{drop} other{drops}}",zR="{count, plural, one{grain} other{grains}}",BR="{count, plural, one{hour} other{hours}}",HR="{count, plural, one{inch} other{inches}}",qR="in²",$R="{count, plural, one{jar} other{jars}}",GR="kg",UR="kg/m²",WR="kit",ZR="{count, plural, one{liter} other{liters}}",YR="{count, plural, one{pound} other{pounds}}",KR="homeopathic dilution (fifty millesimal 1/50,000)",QR="{count, plural, one{lozenge} other{lozenges}}",JR="µg",XR="µl",eP="mmol",tP="micron",nP="milliequivalent",rP="mg",aP="mg/dl",iP="mg/l",oP="mg/m²",sP="mg/ml",lP="mg/100mL",uP="µCi",cP="mCi",dP="{count, plural, one{millisecond} other{milliseconds}}",hP="minim",pP="{count, plural, one{minute} other{minutes}}",mP="miscellaneous",fP="{count, plural, one{milliliter} other{milliliters}}",gP="ml/min",vP="mL/min/1.73m²",bP="mm",yP="mm/h",_P="mmHg",wP="μmol",xP="mol",EP="{count, plural, one{month} other{months}}",SP="normal",kP="ng",CP="nmol",IP="not stated",DP="on demand",NP="{count, plural, one{ounce} other{ounces}}",TP="{count, plural, one{pellet} other{pellets}}",MP="pg",OP="{count, plural, one{package} other{packages}}",RP="{count, plural, one{protein unit} other{protein unit}}",PP="ppm",AP="{count, plural, one{pint} other{pints}}",LP="quantity sufficient",FP="Cumulative sap value",jP="saturated",VP="{count, plural, one{second} other{seconds}}",zP="shock",BP="{count, plural, one{spoon} other{spoons}}",HP="{count, plural, one{spray} other{sprays}}",qP="cm²",$P="{count, plural, one{strip} other{strips}}",GP="{count, plural, one{suppository} other{suppositories}}",UP="{count, plural, one{syrynge} other{syrynges}}",WP="{count, plural, one{tablet} other{tablets}}",ZP="{count, plural, one{tablespoon} other{tablespoons}}",YP="{count, plural, one{test} other{tests}}",KP="{count, plural, one{ton} other{tons}}",QP="{count, plural, one{tampon} other{tampons}}",JP="{count, plural, one{trace} other{traces}}",XP="{count, plural, one{troche} other{troches}}",eA="{count, plural, one{teaspoon} other{teaspoons}}",tA="{count, plural, one{tube} other{tubes}}",nA="UNITS PER MILLIGRAM",rA="{count, plural, one{unit} other{units}}",aA="{count, plural, one{vial} other{vials}}",iA="varies per regimen",oA="{count, plural, one{wafer} other{wafers}}",sA="{count, plural, one{week} other{weeks}}",lA="homeopathic dilution (decimal 1/10)",uA="yd",cA="yd²",hX={"%":iR,"%vv":oR,"%wv":sR,"%ww":lR,"1000/mm3":uR,amp:cR,atptreatment:dR,bag:hR,bitperminute:pR,bol:mR,bot:fR,box:gR,c:vR,can:bR,cap:yR,cc:_R,cm:wR,cmm:xR,cnt:ER,ctg:SR,ctr:kR,daily:CR,day:IR,degree:DR,dis:NR,drm:TR,fl:MR,fld:OR,flo:RR,ftc:PR,fts:AR,"g/dl":LR,gal:FR,gm:jR,goutte:VR,gr:zR,hour:BR,in:HR,inc:qR,jar:$R,kg:GR,"kg/m2":UR,kit:WR,l:ZR,lb:YR,lm:KR,loz:QR,mcg:JR,mcl:XR,mcm:eP,mcn:tP,meq:nP,mg:rP,"mg/dl":aP,"mg/l":iP,"mg/m2":oP,"mg/ml":sP,mgper100ml:lP,mic:uP,mil:cP,millisecond:dP,min:hP,minute:pP,mis:mP,ml:fP,"ml/min":gP,"ml/min/1.73m2":vP,mm:bP,"mm/h":yP,mmhg:_P,mmo:wP,mol:xP,month:EP,nl:SP,nmg:kP,nmo:CP,ns:IP,ondemand:DP,oz:NP,pel:TP,pg:MP,pkg:OP,pnu:RP,ppm:PP,pt:AP,qs:LP,sap:FP,sat:jP,second:VP,shock:zP,spoon:BP,spr:HP,sqc:qP,stp:$P,sup:GP,syr:UP,tab:WP,tbl:ZP,tes:YP,ton:KP,tpn:QP,trc:JP,tro:XP,tsp:eA,tub:tA,umg:nA,unt:rA,vil:aA,vpr:iA,waf:oA,week:sA,x:lA,ydl:uA,yds:cA},dA={};re(dA,{"%":()=>hA,"%vv":()=>wL,"%wv":()=>xL,"%ww":()=>EL,"1000/mm3":()=>FA,amp:()=>pA,atptreatment:()=>vF,bag:()=>mA,bitperminute:()=>SL,bol:()=>kL,bot:()=>CL,box:()=>fA,c:()=>rF,can:()=>IL,cap:()=>DL,cc:()=>NL,cm:()=>TL,cmm:()=>jA,cnt:()=>aF,ctg:()=>nL,ctr:()=>ML,daily:()=>nF,day:()=>VA,default:()=>pX,degree:()=>LA,dis:()=>qA,drm:()=>iF,fl:()=>gA,fld:()=>$A,flo:()=>GA,ftc:()=>UA,fts:()=>WA,"g/dl":()=>vA,gal:()=>rL,gm:()=>bA,goutte:()=>tL,gr:()=>OL,hour:()=>eL,in:()=>RL,inc:()=>PL,jar:()=>AL,kg:()=>yA,"kg/m2":()=>_A,kit:()=>LL,l:()=>wA,lb:()=>xA,lm:()=>oF,loz:()=>eF,mcg:()=>EA,mcl:()=>SA,mcm:()=>aL,mcn:()=>FL,meq:()=>kA,mg:()=>CA,"mg/dl":()=>IA,"mg/l":()=>DA,"mg/m2":()=>NA,"mg/ml":()=>TA,mgper100ml:()=>oL,mic:()=>jL,mil:()=>VL,millisecond:()=>XA,min:()=>zL,minute:()=>ZA,mis:()=>sF,ml:()=>MA,"ml/min":()=>OA,"ml/min/1.73m2":()=>JL,mm:()=>YA,"mm/h":()=>KA,mmhg:()=>QA,mmo:()=>BL,mol:()=>RA,month:()=>HA,nl:()=>HL,nmg:()=>lF,nmo:()=>uF,ns:()=>pL,ondemand:()=>iL,oz:()=>PA,pel:()=>qL,pg:()=>hL,pkg:()=>$L,pnu:()=>cF,ppm:()=>AA,pt:()=>GL,qs:()=>UL,qt:()=>WL,sat:()=>dF,second:()=>JA,shock:()=>XL,spoon:()=>zA,spr:()=>sL,sqc:()=>ZL,stp:()=>hF,sup:()=>mL,syr:()=>uL,tab:()=>fL,tbl:()=>gL,tes:()=>vL,ton:()=>_L,tpn:()=>cL,trc:()=>pF,tro:()=>tF,tsp:()=>yL,tub:()=>dL,umg:()=>YL,unt:()=>bL,vil:()=>lL,vpr:()=>mF,waf:()=>fF,week:()=>BA,x:()=>gF,ydl:()=>KL,yds:()=>QL});var hA="%",pA="{count, plural, one{ampoule} other{ampoules}}",mA="{count, plural, one{sac} other{sacs}}",fA="{count, plural, one{vaporisateur} other{vaporisateurs}}",gA="fl",vA="g/dl",bA="g",yA="kg",_A="kg/m²",wA="l",xA="lb",EA="µg",SA="µl",kA="milli-equivalent",CA="mg",IA="mg/dl",DA="mg/l",NA="mg/m²",TA="mg/ml",MA="ml",OA="ml/min",RA="mol",PA="oz",AA="ppm",LA="°",FA="1000/mm³",jA="mm³",VA="{count, plural, one{jour(s)} other{jours}}",zA="{count, plural, one{cuillère} other{cuillères}}",BA="{count, plural, one{semaine} other{semaines}}",HA="mois",qA="{count, plural, one{disque} other{disques}}",$A="fl dr",GA="fl oz",UA="cu ft",WA="sq ft",ZA="{count, plural, one{minute} other{minutes}}",YA="mm",KA="mm/h",QA="mmHg",JA="{count, plural, one{seconde} other{secondes}}",XA="{count, plural, one{milliseconde} other{millisecondes}}",eL="{count, plural, one{heure} other{heures}}",tL="{count, plural, one{goutte} other{gouttes}}",nL="{count, plural, one{cartouche} other{cartouches}}",rL="gal",aL="mmol",iL="sur demande",oL="mg/100mL",sL="spray",lL="{count, plural, one{fiole} other{fioles}}",uL="{count, plural, one{seringue} other{seringues}}",cL="{count, plural, one{tampon} other{tampons}}",dL="{count, plural, one{tube} other{tubes}}",hL="pg",pL="non spécifié",mL="{count, plural, one{suppositoire} other{suppositoires}}",fL="{count, plural, one{tablette} other{tablettes}}",gL="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",vL="{count, plural, one{test} other{tests}}",bL="{count, plural, one{unité} other{unités}}",yL="{count, plural, one{cuillère à café} other{cuillères à café}}",_L="{count, plural, one{ton} other{tons}}",wL="% v/v",xL="% w/v",EL="% w/w",SL="{count, plural, one{battement par minute} other{battements par minute}}",kL="{count, plural, one{bolus} other{bolus}}",CL="{count, plural, one{bouteille} other{bouteilles}}",IL="{count, plural, one{canette} other{canettes}}",DL="{count, plural, one{capsule} other{capsules}}",NL="cm3",TL="cm",ML="{count, plural, one{conteneur} other{conteneurs}}",OL="{count, plural, one{granule} other{granules}}",RL="in",PL="in²",AL="pot",LL="{count, plural, one{kit} other{kits}}",FL="micron",jL="µCi",VL="mCi",zL="minim",BL="μmol",HL="normal",qL="{count, plural, one{pilule} other{pilules}}",$L="{count, plural, one{paquet} other{paquets}}",GL="pinte",UL="quantité suffisante",WL="qt",ZL="cm²",YL="{count, plural, one{unité / mg} other{unités / mg}}",KL="yd",QL="yd²",JL="mL/min/1.73m²",XL="choc",eF="{count, plural, one{pastille} other{pastilles}}",tF="{count, plural, one{pastille} other{pastilles}}",nF="journalier",rF="dilution homéopathique (centésimal 1/100)",aF="cnt",iF="fût",oF="dilution homéopathique (50 millisimaux au ratio 1:50,000)",sF="divers",lF="ng",uF="nmol",cF="{count, plural, one{unité protéique} other{unités protéiques}}",dF="saturé",hF="strip",pF="trace",mF="dépendant du schéma thérapeutique",fF="{count, plural, one{hostie} other{hosties}}",gF="dilution homéopathique (décimal 1/10)",vF="{count, plural, one{Nombre de traitements par stimulation antitachycardique} other{Nombres de traitements par stimulation antitachycardique}}",pX={"%":hA,amp:pA,bag:mA,box:fA,fl:gA,"g/dl":vA,gm:bA,kg:yA,"kg/m2":_A,l:wA,lb:xA,mcg:EA,mcl:SA,meq:kA,mg:CA,"mg/dl":IA,"mg/l":DA,"mg/m2":NA,"mg/ml":TA,ml:MA,"ml/min":OA,mol:RA,oz:PA,ppm:AA,degree:LA,"1000/mm3":FA,cmm:jA,day:VA,spoon:zA,week:BA,month:HA,dis:qA,fld:$A,flo:GA,ftc:UA,fts:WA,minute:ZA,mm:YA,"mm/h":KA,mmhg:QA,second:JA,millisecond:XA,hour:eL,goutte:tL,ctg:nL,gal:rL,mcm:aL,ondemand:iL,mgper100ml:oL,spr:sL,vil:lL,syr:uL,tpn:cL,tub:dL,pg:hL,ns:pL,sup:mL,tab:fL,tbl:gL,tes:vL,unt:bL,tsp:yL,ton:_L,"%vv":wL,"%wv":xL,"%ww":EL,bitperminute:SL,bol:kL,bot:CL,can:IL,cap:DL,cc:NL,cm:TL,ctr:ML,gr:OL,in:RL,inc:PL,jar:AL,kit:LL,mcn:FL,mic:jL,mil:VL,min:zL,mmo:BL,nl:HL,pel:qL,pkg:$L,pt:GL,qs:UL,qt:WL,sqc:ZL,umg:YL,ydl:KL,yds:QL,"ml/min/1.73m2":JL,shock:XL,loz:eF,tro:tF,daily:nF,c:rF,cnt:aF,drm:iF,lm:oF,mis:sF,nmg:lF,nmo:uF,pnu:cF,sat:dF,stp:hF,trc:pF,vpr:mF,waf:fF,x:gF,atptreatment:vF},bF={};re(bF,{"%":()=>yF,"%vv":()=>Dj,"%wv":()=>Nj,"%ww":()=>Tj,"1000/mm3":()=>$F,amp:()=>_F,atptreatment:()=>SV,bag:()=>wF,bitperminute:()=>Mj,bol:()=>Oj,bot:()=>Rj,box:()=>xF,c:()=>cV,can:()=>Pj,cap:()=>Aj,cc:()=>Lj,cm:()=>Fj,cmm:()=>GF,cnt:()=>dV,ctg:()=>uj,ctr:()=>jj,daily:()=>uV,day:()=>UF,default:()=>mX,degree:()=>qF,dis:()=>KF,drm:()=>hV,fl:()=>EF,fld:()=>QF,flo:()=>JF,ftc:()=>XF,fts:()=>ej,"g/dl":()=>SF,gal:()=>cj,gm:()=>kF,goutte:()=>lj,gr:()=>Vj,hour:()=>sj,in:()=>zj,inc:()=>Bj,jar:()=>Hj,kg:()=>CF,"kg/m2":()=>IF,kit:()=>qj,l:()=>DF,lb:()=>NF,lm:()=>pV,loz:()=>sV,mcg:()=>TF,mcl:()=>MF,mcm:()=>dj,mcn:()=>$j,meq:()=>OF,mg:()=>RF,"mg/dl":()=>PF,"mg/l":()=>AF,"mg/m2":()=>LF,"mg/ml":()=>FF,mgper100ml:()=>pj,mic:()=>Gj,mil:()=>Uj,millisecond:()=>oj,min:()=>Wj,minute:()=>tj,mis:()=>mV,ml:()=>jF,"ml/min":()=>VF,"ml/min/1.73m2":()=>iV,mm:()=>nj,"mm/h":()=>rj,mmhg:()=>aj,mmo:()=>Zj,mol:()=>zF,month:()=>YF,nl:()=>Yj,nmg:()=>fV,nmo:()=>gV,ns:()=>_j,ondemand:()=>hj,oz:()=>BF,pel:()=>Kj,pg:()=>yj,pkg:()=>Qj,pnu:()=>vV,ppm:()=>HF,pt:()=>Jj,qs:()=>Xj,qt:()=>eV,sat:()=>bV,second:()=>ij,shock:()=>oV,spoon:()=>WF,spr:()=>mj,sqc:()=>tV,stp:()=>yV,sup:()=>wj,syr:()=>gj,tab:()=>xj,tbl:()=>Ej,tes:()=>Sj,ton:()=>Ij,tpn:()=>vj,trc:()=>_V,tro:()=>lV,tsp:()=>Cj,tub:()=>bj,umg:()=>nV,unt:()=>kj,vil:()=>fj,vpr:()=>wV,waf:()=>xV,week:()=>ZF,x:()=>EV,ydl:()=>rV,yds:()=>aV});var yF="%",_F="{count, plural, one{ampule} other{ampullen}}",wF="{count, plural, one{zak} other{zakken}}",xF="{count, plural, one{verstuiver} other{verstuivers}}",EF="fl",SF="g/dl",kF="g",CF="kg",IF="kg/m²",DF="l",NF="lb",TF="µg",MF="µl",OF="{count, plural, one{milli-equivalent} other{milli-equivalenten}}",RF="mg",PF="mg/dl",AF="mg/l",LF="mg/m²",FF="mg/ml",jF="ml",VF="ml/min",zF="mol",BF="oz",HF="ppm",qF="°",$F="1000/mm³",GF="mm³",UF="{count, plural, one{dag} other{dagen}}",WF="{count, plural, one{lepel} other{lepels}}",ZF="{count, plural, one{week} other{weken}}",YF="{count, plural, one{maand} other{maanden}}",KF="{count, plural, one{schijf} other{schijven}}",QF="fl dr",JF="fl oz",XF="cu ft",ej="sq ft",tj="{count, plural, one{minuut} other{minuten}}",nj="mm",rj="mm/h",aj="mmHg",ij="{count, plural, one{seconde} other{seconden}}",oj="{count, plural, one{milliseconde} other{milliseconden}}",sj="{count, plural, one{uur} other{uren}}",lj="{count, plural, one{druppel} other{druppels}}",uj="{count, plural, one{patroon} other{patronen}}",cj="gal",dj="mmol",hj="op aanvraag",pj="mg/100mL",mj="{count, plural, one{spray} other{sprays}}",fj="{count, plural, one{flesje} other{flesjes}}",gj="{count, plural, one{spuit} other{spuiten}}",vj="{count, plural, one{tampon} other{tampons}}",bj="{count, plural, one{buis} other{buizen}}",yj="pg",_j="niet gespecificeerd",wj="{count, plural, one{zetpil} other{zetpillen}}",xj="{count, plural, one{tablet} other{tabletten}}",Ej="{count, plural, one{eetlepel} other{eetlepels}}",Sj="{count, plural, one{test} other{tests}}",kj="{count, plural, one{eenheid} other{eenheden}}",Cj="{count, plural, one{theelepel} other{theelepels}}",Ij="{count, plural, one{ton} other{tonnen}}",Dj="% v/v",Nj="% w/v",Tj="% w/w",Mj="{count, plural, one{slag per minuut} other{slagen per minuut}}",Oj="bolus",Rj="{count, plural, one{fles} other{flessen}}",Pj="{count, plural, one{blikje} other{blikjes}}",Aj="{count, plural, one{capsule} other{capsules}}",Lj="cm3",Fj="cm",jj="{count, plural, one{houder} other{houders}}",Vj="{count, plural, one{korrel} other{korrels}}",zj="in",Bj="in²",Hj="{count, plural, one{pot} other{potten}}",qj="{count, plural, one{kit} other{kits}}",$j="micron",Gj="µCi",Uj="mCi",Wj="minim",Zj="μmol",Yj="normaal",Kj="{count, plural, one{pil} other{pillen}}",Qj="{count, plural, one{pakket} other{pakketten}}",Jj="{count, plural, one{pint} other{pinten}}",Xj="voldoende hoeveelheid",eV="qt",tV="cm²",nV="{count, plural, one{eenheid / mg} other{eenheden / mg}}",rV="yd",aV="yd²",iV="mL/min/1.73m²",oV="{count, plural, one{schok} other{schokken}}",sV="{count, plural, one{zuigtablet} other{zuigtabletten}}",lV="{count, plural, one{zuigtablet} other{zuigtabletten}}",uV="dagelijks",cV="homeopathische verdunning (centesimal 1/100)",dV="cnt",hV="vat",pV="homeopathische verdunning (50 millesimal in verhouding 1:50,000)",mV="diverse",fV="ng",gV="nmol",vV="{count, plural, one{eiwiteenheid} other{eiwiteenheden}}",bV="verzadigd",yV="{count, plural, one{strip} other{strips}}",_V="{count, plural, one{spoor} other{sporen}}",wV="behandelingsschema-afhankelijk",xV="{count, plural, one{ouwel} other{ouwels}}",EV="homeopathische verdunning (decimaal 1/10)",SV="aantal anti-tachycardie-stimulatiebehandelingen",mX={"%":yF,amp:_F,bag:wF,box:xF,fl:EF,"g/dl":SF,gm:kF,kg:CF,"kg/m2":IF,l:DF,lb:NF,mcg:TF,mcl:MF,meq:OF,mg:RF,"mg/dl":PF,"mg/l":AF,"mg/m2":LF,"mg/ml":FF,ml:jF,"ml/min":VF,mol:zF,oz:BF,ppm:HF,degree:qF,"1000/mm3":$F,cmm:GF,day:UF,spoon:WF,week:ZF,month:YF,dis:KF,fld:QF,flo:JF,ftc:XF,fts:ej,minute:tj,mm:nj,"mm/h":rj,mmhg:aj,second:ij,millisecond:oj,hour:sj,goutte:lj,ctg:uj,gal:cj,mcm:dj,ondemand:hj,mgper100ml:pj,spr:mj,vil:fj,syr:gj,tpn:vj,tub:bj,pg:yj,ns:_j,sup:wj,tab:xj,tbl:Ej,tes:Sj,unt:kj,tsp:Cj,ton:Ij,"%vv":Dj,"%wv":Nj,"%ww":Tj,bitperminute:Mj,bol:Oj,bot:Rj,can:Pj,cap:Aj,cc:Lj,cm:Fj,ctr:jj,gr:Vj,in:zj,inc:Bj,jar:Hj,kit:qj,mcn:$j,mic:Gj,mil:Uj,min:Wj,mmo:Zj,nl:Yj,pel:Kj,pkg:Qj,pt:Jj,qs:Xj,qt:eV,sqc:tV,umg:nV,ydl:rV,yds:aV,"ml/min/1.73m2":iV,shock:oV,loz:sV,tro:lV,daily:uV,c:cV,cnt:dV,drm:hV,lm:pV,mis:mV,nmg:fV,nmo:gV,pnu:vV,sat:bV,stp:yV,trc:_V,vpr:wV,waf:xV,x:EV,atptreatment:SV},fX={nl:bF,fr:dA,de:QT,en:aR},kV={};re(kV,{default:()=>gX,header:()=>CV,patient:()=>IV,professional:()=>DV});var CV="Ausgegebene Medikamente?",IV={part1:{1:"Die Liste kann",2:" unvollständig ",3:"sein: Dies ist der Fall, wenn der Apotheker die Arzneimittel bei der Lieferung nicht auf Ihren Namen registriert hat."},part2:{1:"Die Liste kann Arzneimittel enthalten, die",2:" nicht für Sie bestimmt ",3:"sind. Dies geschieht, wenn Sie Ihre Medikamente gleichzeitig mit Medikamenten für eine andere Person abholen."},part3:{1:"Konsultieren Sie im Zweifelsfall immer Ihren Arzt oder Apotheker. Die Bereitstellung dieser Daten erfolgt zu",2:" Informationszwecken und ist kein Ersatz für eine professionelle medizinische Beratung."}},DV={part1:{1:"Die Liste kann",2:" unvollständig ",3:": , da bestimmte Arzneimittel nicht von einer belgischen Apotheke geliefert oder registriert wurden."},part2:{1:"Die Liste kann Arzneimittel enthalten, die",2:" nicht für diesen Patienten bestimmt ",3:"sind. Dies geschieht, wenn Medikamente für eine andere Person abgeholt werden, ohne dass das/die dazugehörige Verschreibungen ausgestellt wird."}},gX={header:CV,patient:IV,professional:DV},NV={};re(NV,{default:()=>vX,header:()=>TV,patient:()=>MV,professional:()=>OV});var TV="Hoe de lijst interpreteren?",MV={part1:{1:"Het is mogelijk dat de lijst",2:" onvolledig ",3:"is: dat is het geval indien de apotheker de geneesmiddelen niet op uw naam heeft geregistreerd bij aflevering."},part2:{1:"De lijst kan geneesmiddelen bevatten die",2:" niet voor u bestemd ",3:"zijn. Dat gebeurt wanneer u uw geneesmiddelen, samen met geneesmiddelen voor iemand anders, ophaalt op het zelfde moment."},part3:{1:"Raadpleeg bij twijfel altijd uw arts of apotheker. Deze gegevens worden aangeboden voor",2:" informatieve doeleinden en zijn geen vervanging voor professioneel medisch advies."}},OV={part1:{1:"Cette liste",2:" peut être incomplète ",3:": c'est le cas lorsque des médicaments n'ont pas été délivrés par une pharmacie belge ou qu'ils n'y ont pas été enregistrés."},part2:{1:"La liste peut contenir des médicaments",2:" qui ne concernent pas ce patient. ",3:"C'est le cas lorsqu'il a retiré des médicaments pour d'autres personnes sans donner leur(s) prescription(s)."}},vX={header:TV,patient:MV,professional:OV},RV={};re(RV,{default:()=>bX,header:()=>PV,patient:()=>AV,professional:()=>LV});var PV="Comment interpréter la liste?",AV={part1:{1:"Cette liste",2:" peut être incomplète ",3:": c'est le cas lorsque les médicaments retirés n'ont pas été enregistrés en votre nom par le pharmacien."},part2:{1:"La liste peut contenir des médicaments",2:" qui ne vous concernent pas. ",3:"Cela peut être le cas lorsque vous retirez des médicaments pour d'autres personnes en même temps que les vôtres."},part3:{1:"En cas de doute, consultez toujours votre médecin ou pharmacien. Ces données sont offertes",2:" à titre informatif et ne remplacent pas un avis médical professionnel."}},LV={part1:{1:"Cette liste",2:" peut être incomplète ",3:": c'est le cas lorsque des médicaments n'ont pas été délivrés par une pharmacie belge ou qu'ils n'y ont pas été enregistrés."},part2:{1:"La liste peut contenir des médicaments",2:" qui ne concernent pas ce patient. ",3:"C'est le cas lorsqu'il a retiré des médicaments pour d'autres personnes sans donner leur(s) prescription(s)."}},bX={header:PV,patient:AV,professional:LV},FV={};re(FV,{default:()=>yX,header:()=>jV,patient:()=>VV,professional:()=>zV});var jV="Hoe de lijst interpreteren?",VV={part1:{1:"Het is mogelijk dat de lijst",2:" onvolledig ",3:"is: dat is het geval indien de apotheker de geneesmiddelen niet op uw naam heeft geregistreerd bij aflevering."},part2:{1:"De lijst kan geneesmiddelen bevatten die",2:" niet voor u bestemd ",3:"zijn. Dat gebeurt wanneer u uw geneesmiddelen, samen met geneesmiddelen voor iemand anders, ophaalt op het zelfde moment."},part3:{1:"Raadpleeg bij twijfel altijd uw arts of apotheker. Deze gegevens worden aangeboden voor",2:" informatieve doeleinden en zijn geen vervanging voor professioneel medisch advies."}},zV={part1:{1:"Het is mogelijk dat de lijst",2:" onvolledig ",3:": is omdat bepaalde geneesmiddelen niet door een Belgische apotheek afgeleverd of geregistreerd werden."},part2:{1:"De lijst kan geneesmiddelen bevatten die",2:" niet voor deze patiënt bestemd ",3:"zijn. Dit gebeurt wanneer geneesmiddelen voor iemand anders opgehaald worden zonder afgifte van daarbij horend(e) voorschrift(en)."}},yX={header:jV,patient:VV,professional:zV},_X={nl:FV,fr:RV,de:kV,en:NV},BV={};re(BV,{default:()=>wX,headers:()=>HV,magisterialPreparation:()=>qV,noContent:()=>$V});var HV={deliveredOn:"Ausgestellt am",medicationName:"Medikation",quantity:"Menge",patient:"Patient",leaflet:"Packungsbeilage"},qV="Verschreibungurarzneimittel",$V="Bei diesem Patienten wurden keine abgegebenen Medikamente wiedergefunden.",wX={headers:HV,magisterialPreparation:qV,noContent:$V},GV={};re(GV,{default:()=>xX,headers:()=>UV,magisterialPreparation:()=>WV,noContent:()=>ZV});var UV={deliveredOn:"Delivered on",medicationName:"Medication",quantity:"Quantity",patient:"Patient",leaflet:"Leaflet"},WV="Magistral preparation",ZV="There is no delivered medication found for this patient.",xX={headers:UV,magisterialPreparation:WV,noContent:ZV},YV={};re(YV,{default:()=>EX,headers:()=>KV,magisterialPreparation:()=>QV,noContent:()=>JV});var KV={deliveredOn:"Délivré le",medicationName:"Médicament(s)",quantity:"Quantité",patient:"Patient",leaflet:"Leaflet"},QV="Préparation magistrale",JV="Aucun médicament délivré n'a été retrouvé pour ce patient.",EX={headers:KV,magisterialPreparation:QV,noContent:JV},XV={};re(XV,{default:()=>SX,headers:()=>ez,magisterialPreparation:()=>tz,noContent:()=>nz});var ez={deliveredOn:"Afgeleverd op",medicationName:"Geneesmiddel(en)",quantity:"Hoeveelheid",patient:"Patiënt",leaflet:"Bijsluiter"},tz="Magistrale bereiding",nz="Er zijn geen afgeleverde geneesmiddelen teruggevonden voor deze patiënt.",SX={headers:ez,magisterialPreparation:tz,noContent:nz},kX={nl:XV,fr:YV,de:BV,en:GV},rz={};re(rz,{composition:()=>az,default:()=>CX,"delivered-by":()=>cz,"delivery-date":()=>uz,dguid:()=>oz,"is-prescribed":()=>sz,leaflet:()=>vz,"magisterial-preparation":()=>gz,medication:()=>yz,"no-pharmacy":()=>mz,noDetails:()=>_z,package:()=>bz,patient:()=>fz,posologie:()=>iz,quantity:()=>lz,"return-delivery-date":()=>hz,"returned-by":()=>pz,"returned-quantity":()=>dz});var az="Zusammensetzung",iz="Dosierung",oz="ID Ausgabe",sz={title:"Wurde verschrieben",yes:"Ja",no:"Nein"},lz="Gelieferte Menge",uz="Lieferdatum",cz="Geliefert von",dz="Zurückgenommene Menge",hz="Rücknahme am",pz="Rücknahme durch",mz="Apotheke mit LIKIV-Erkennungsnummer",fz="Patient",gz="Verschreibungurarzneimittel",vz="Packungsbeilage",bz="{count, plural, one{Verpackung} other{Verpackungen}}",yz="Arzneimittel",_z="Die angeforderte verschreibung wurde gelöscht oder existiert nicht.",CX={composition:az,posologie:iz,dguid:oz,"is-prescribed":sz,quantity:lz,"delivery-date":uz,"delivered-by":cz,"returned-quantity":dz,"return-delivery-date":hz,"returned-by":pz,"no-pharmacy":mz,patient:fz,"magisterial-preparation":gz,leaflet:vz,package:bz,medication:yz,noDetails:_z},wz={};re(wz,{composition:()=>xz,default:()=>IX,"delivered-by":()=>Dz,"delivery-date":()=>Iz,dguid:()=>Sz,"is-prescribed":()=>kz,leaflet:()=>Az,"magisterial-preparation":()=>Pz,medication:()=>Fz,"no-pharmacy":()=>Oz,noDetails:()=>jz,package:()=>Lz,patient:()=>Rz,posologie:()=>Ez,quantity:()=>Cz,"return-delivery-date":()=>Tz,"returned-by":()=>Mz,"returned-quantity":()=>Nz});var xz="Composition",Ez="Posologie",Sz="ID délivrance",kz={title:"A été prescrit",yes:"Oui",no:"Non"},Cz="Quantité délivrée",Iz="Date de délivrance",Dz="Délivré par",Nz="Returned quantity",Tz="Return on",Mz="Taken back by",Oz="Pharmacie avec numéro INAMI",Rz="Patient",Pz="Préparation magistrale",Az="Leaflet",Lz="{count, plural, one{emballage} other{emballages}}",Fz="Medication",jz="The requested information has been deleted or doesn't exist.",IX={composition:xz,posologie:Ez,dguid:Sz,"is-prescribed":kz,quantity:Cz,"delivery-date":Iz,"delivered-by":Dz,"returned-quantity":Nz,"return-delivery-date":Tz,"returned-by":Mz,"no-pharmacy":Oz,patient:Rz,"magisterial-preparation":Pz,leaflet:Az,package:Lz,medication:Fz,noDetails:jz},Vz={};re(Vz,{composition:()=>zz,default:()=>DX,"delivered-by":()=>Uz,"delivery-date":()=>Gz,dguid:()=>Hz,"is-prescribed":()=>qz,leaflet:()=>Xz,"magisterial-preparation":()=>Jz,medication:()=>tB,"no-pharmacy":()=>Kz,noDetails:()=>nB,package:()=>eB,patient:()=>Qz,posologie:()=>Bz,quantity:()=>$z,"return-delivery-date":()=>Zz,"returned-by":()=>Yz,"returned-quantity":()=>Wz});var zz="Composition",Bz="Posologie",Hz="ID délivrance",qz={title:"A été prescrit",yes:"Oui",no:"Non"},$z="Quantité délivrée",Gz="Date de délivrance",Uz="Délivré par",Wz="Quantité retournée",Zz="Retour le",Yz="Retour par",Kz="Pharmacie avec numéro INAMI",Qz="Patient",Jz="Préparation magistrale",Xz="Leaflet",eB="{count, plural, one{emballage} other{emballages}}",tB="Médicament",nB="La prescription demandée a été supprimée ou n'existe pas.",DX={composition:zz,posologie:Bz,dguid:Hz,"is-prescribed":qz,quantity:$z,"delivery-date":Gz,"delivered-by":Uz,"returned-quantity":Wz,"return-delivery-date":Zz,"returned-by":Yz,"no-pharmacy":Kz,patient:Qz,"magisterial-preparation":Jz,leaflet:Xz,package:eB,medication:tB,noDetails:nB},rB={};re(rB,{composition:()=>aB,default:()=>NX,"delivered-by":()=>cB,"delivery-date":()=>uB,dguid:()=>oB,"is-prescribed":()=>sB,leaflet:()=>vB,"magisterial-preparation":()=>gB,medication:()=>yB,"no-pharmacy":()=>mB,noDetails:()=>_B,package:()=>bB,patient:()=>fB,posologie:()=>iB,quantity:()=>lB,"return-delivery-date":()=>hB,"returned-by":()=>pB,"returned-quantity":()=>dB});var aB="Samenstelling",iB="Posologie",oB="ID aflevering",sB={title:"Werd voorgeschreven",yes:"Ja",no:"Nee"},lB="Afgeleverde hoeveelheid",uB="Datum afgeleverd",cB="Afgeleverd door",dB="Teruggenomen hoeveelheid",hB="Terugname op",pB="Terugname door",mB="Apotheek met RIZIV-nummer",fB="Patiënt",gB="Magistrale bereiding",vB="Bijsluiter",bB="{count, plural, one{verpakking} other{verpakkingen}}",yB="Geneesmiddel(en)",_B="Het gevraagde voorschrift is verwijderd of bestaat niet.",NX={composition:aB,posologie:iB,dguid:oB,"is-prescribed":sB,quantity:lB,"delivery-date":uB,"delivered-by":cB,"returned-quantity":dB,"return-delivery-date":hB,"returned-by":pB,"no-pharmacy":mB,patient:fB,"magisterial-preparation":gB,leaflet:vB,package:bB,medication:yB,noDetails:_B},TX={nl:rB,fr:Vz,de:rz,en:wz},MX=class extends ro{getTranslation(e){return _t({commons:Qt(ge({},YJ[e]),{units:fX[e],galenicFormCodes:$J[e],timeUnits:cX[e],administrationUnits:NJ[e],periods:eX[e],days:PJ[e],posology:iX[e],errors:VJ[e]}),deliveredMedicationsList:kX[e],deliveredMedicationsDisclaimer:_X[e],deliveredMedicationDetails:TX[e]})}},OX=[bJ,g6({defaultLanguage:"fr",loader:{provide:ro,useClass:MX},compiler:{provide:io,useClass:xJ}})],ka=function(e){return e.INITIAL="INITIAL",e.LOADING="LOADING",e.SUCCESS="SUCCESS",e.UPDATING="UPDATING",e.ERROR="ERROR",e}(ka||{});function RX(e){let t=new _c(1);return e.subscribe({next:r=>{t.next(r),t.complete()},error:r=>t.error(r)}),t.asObservable()}function PX(e){return e.pipe(wt(t=>({status:ka.SUCCESS,data:t})),Hs(t=>_t({status:ka.ERROR,error:t})),bf({status:ka.LOADING}))}var AX=()=>e=>PX(e),wB=(()=>{const t=class t{constructor(){this.http=D(no)}get(n){return this.http.post("/v2/deliveredMedications/findAll",{ssin:n})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=$({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),xB=(()=>{const t=class t{constructor(){this.http=D(no)}get(n){return this.http.get("assets/v2_deliveredMedications_findAll.json")}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=$({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),EB=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵprov=$({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),LX=(e,t)=>e.getEnvironmentVariable("env")===yr.DEMO?t.get(xB):t.get(wB),FX={provide:EB,useFactory:LX,deps:[sl,Ot]},SB=(()=>{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=$({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),dm=(()=>{const t=class t extends aJ{constructor(n,a){super(n.getServices(),Yb.DELIVERED_MEDICATIONS,a.getInstance().isOfflineAuthenticated,a.getInstance().isOfflineDataStorageEnabled,"deliveredMedications_log"),this.deliveredMedicationsApiService=D(EB),this.authServiceSelector=D(Rs),this.deliveredMedicationsStateSubject$=new bc({status:ka.INITIAL}),this.deliveredMedicationsState$=this.deliveredMedicationsStateSubject$.asObservable()}getDataFromBackend(){return Ct(this,null,function*(){let n=yield this.authServiceSelector.getInstance().resolveSsin(),a=this.deliveredMedicationsApiService.get(n);try{return yield s5(a)}catch(i){return console.error("Error fetching delivered medications:",i),null}})}getDeliveredMedications(n=!0){return Ct(this,null,function*(){let a=yield this.getData(n),i=_t(a).pipe(AX(),Ho(o=>{this.deliveredMedicationsStateSubject$.next(o)}));return RX(i)})}};t.ɵfac=function(n){return new(n||t)(ee(SB),ee(Rs))},t.ɵprov=$({token:t,factory:t.ɵfac});let e=t;return e})(),Lo;function jX(){if(Lo===void 0&&(Lo=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(Lo=e.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Lo}function ai(e){var t;return((t=jX())==null?void 0:t.createHTML(e))||e}function hm(e){return Error(`Unable to find icon with the name "${e}"`)}function VX(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function pm(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function mm(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var Vr=class{constructor(e,t,r){s(this,"url");s(this,"svgText");s(this,"options");s(this,"svgElement");this.url=e,this.svgText=t,this.options=r}},zX=(()=>{const t=class t{constructor(n,a,i,o){s(this,"_httpClient");s(this,"_sanitizer");s(this,"_errorHandler");s(this,"_document");s(this,"_svgIconConfigs",new Map);s(this,"_iconSetConfigs",new Map);s(this,"_cachedIconsByUrl",new Map);s(this,"_inProgressUrlFetches",new Map);s(this,"_fontCssClassesByAlias",new Map);s(this,"_resolvers",[]);s(this,"_defaultFontSetClass",["material-icons","mat-ligature-font"]);this._httpClient=n,this._sanitizer=a,this._errorHandler=o,this._document=i}addSvgIcon(n,a,i){return this.addSvgIconInNamespace("",n,a,i)}addSvgIconLiteral(n,a,i){return this.addSvgIconLiteralInNamespace("",n,a,i)}addSvgIconInNamespace(n,a,i,o){return this._addSvgIconConfig(n,a,new Vr(i,null,o))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,a,i,o){let l=this._sanitizer.sanitize(sn.HTML,i);if(!l)throw mm(i);let h=ai(l);return this._addSvgIconConfig(n,a,new Vr("",h,o))}addSvgIconSet(n,a){return this.addSvgIconSetInNamespace("",n,a)}addSvgIconSetLiteral(n,a){return this.addSvgIconSetLiteralInNamespace("",n,a)}addSvgIconSetInNamespace(n,a,i){return this._addSvgIconSetConfig(n,new Vr(a,null,i))}addSvgIconSetLiteralInNamespace(n,a,i){let o=this._sanitizer.sanitize(sn.HTML,a);if(!o)throw mm(a);let l=ai(o);return this._addSvgIconSetConfig(n,new Vr("",l,i))}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(sn.RESOURCE_URL,n);if(!a)throw pm(n);let i=this._cachedIconsByUrl.get(a);return i?_t(Fo(i)):this._loadSvgIconFromConfig(new Vr(n,null)).pipe(Ho(o=>this._cachedIconsByUrl.set(a,o)),wt(o=>Fo(o)))}getNamedSvgIcon(n,a=""){let i=fm(a,n),o=this._svgIconConfigs.get(i);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(a,n),o)return this._svgIconConfigs.set(i,o),this._getSvgFromConfig(o);let l=this._iconSetConfigs.get(a);return l?this._getSvgFromIconSetConfigs(n,l):of(hm(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(n){return n.svgText?_t(Fo(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(wt(a=>Fo(a)))}_getSvgFromIconSetConfigs(n,a){let i=this._extractIconWithNameFromAnySet(n,a);if(i)return _t(i);let o=a.filter(l=>!l.svgText).map(l=>this._loadSvgIconSetFromConfig(l).pipe(Hs(h=>{let u=`Loading icon set URL: ${this._sanitizer.sanitize(sn.RESOURCE_URL,l.url)} failed: ${h.message}`;return this._errorHandler.handleError(new Error(u)),_t(null)})));return df(o).pipe(wt(()=>{let l=this._extractIconWithNameFromAnySet(n,a);if(!l)throw hm(n);return l}))}_extractIconWithNameFromAnySet(n,a){for(let i=a.length-1;i>=0;i--){let o=a[i];if(o.svgText&&o.svgText.toString().indexOf(n)>-1){let l=this._svgElementFromConfig(o),h=this._extractSvgIconFromSet(l,n,o.options);if(h)return h}}return null}_loadSvgIconFromConfig(n){return this._fetchIcon(n).pipe(Ho(a=>n.svgText=a),wt(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?_t(null):this._fetchIcon(n).pipe(Ho(a=>n.svgText=a))}_extractSvgIconFromSet(n,a,i){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,i);if(l.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(l),i);let h=this._svgElementFromString(ai("<svg></svg>"));return h.appendChild(l),this._setSvgAttributes(h,i)}_svgElementFromString(n){let a=this._document.createElement("DIV");a.innerHTML=n;let i=a.querySelector("svg");if(!i)throw Error("<svg> tag not found");return i}_toSvgElement(n){let a=this._svgElementFromString(ai("<svg></svg>")),i=n.attributes;for(let o=0;o<i.length;o++){let{name:l,value:h}=i[o];l!=="id"&&a.setAttribute(l,h)}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:i}=n,o=(i==null?void 0:i.withCredentials)??!1;if(!this._httpClient)throw VX();if(a==null)throw Error(`Cannot fetch icon from URL "${a}".`);let l=this._sanitizer.sanitize(sn.RESOURCE_URL,a);if(!l)throw pm(a);let h=this._inProgressUrlFetches.get(l);if(h)return h;let u=this._httpClient.get(l,{responseType:"text",withCredentials:o}).pipe(wt(c=>ai(c)),ff(()=>this._inProgressUrlFetches.delete(l)),gf());return this._inProgressUrlFetches.set(l,u),u}_addSvgIconConfig(n,a,i){return this._svgIconConfigs.set(fm(n,a),i),this}_addSvgIconSetConfig(n,a){let i=this._iconSetConfigs.get(n);return i?i.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 i=0;i<this._resolvers.length;i++){let o=this._resolvers[i](a,n);if(o)return BX(o)?new Vr(o.url,null,o.options):new Vr(o,null)}}};s(t,"ɵfac",function(n){return new(n||t)(ee(no,8),ee($0),ee(Le,8),ee(Hn))}),s(t,"ɵprov",$({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Fo(e){return e.cloneNode(!0)}function fm(e,t){return e+":"+t}function BX(e){return!!(e.url&&e.options)}var HX=["*"],qX=new Q("MAT_ICON_DEFAULT_OPTIONS"),$X=new Q("mat-icon-location",{providedIn:"root",factory:GX});function GX(){let e=D(Le),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var kB=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],UX=kB.map(e=>`[${e}]`).join(", "),WX=/^url\(['"]?#(.*?)['"]?\)$/,CB=(()=>{const t=class t{constructor(){s(this,"_elementRef",D(en));s(this,"_iconRegistry",D(zX));s(this,"_location",D($X));s(this,"_errorHandler",D(Hn));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",Yt.EMPTY);let n=D(new rH("aria-hidden"),{optional:!0}),a=D(qX,{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 i=n.childNodes[a];(i.nodeType!==1||i.nodeName.toLowerCase()==="svg")&&i.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let n=this._elementRef.nativeElement,a=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(i=>i.length>0);this._previousFontSetClass.forEach(i=>n.classList.remove(i)),a.forEach(i=>n.classList.add(i)),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((i,o)=>{i.forEach(l=>{o.setAttribute(l.name,`url('${n}#${l.value}')`)})})}_cacheChildrenWithExternalReferences(n){let a=n.querySelectorAll(UX),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<a.length;o++)kB.forEach(l=>{let h=a[o],u=h.getAttribute(l),c=u?u.match(WX):null;if(c){let m=i.get(h);m||(m=[],i.set(h,m)),m.push({name:l,value:c[1]})}})}_updateSvgIcon(n){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),n){let[a,i]=this._splitIconName(n);a&&(this._svgNamespace=a),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,a).pipe(rr(1)).subscribe(o=>this._setSvgElement(o),o=>{let l=`Error retrieving icon ${a}:${i}! ${o.message}`;this._errorHandler.handleError(new Error(l))})}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Dt({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(n,a){n&2&&(qa("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),gd(a.color?"mat-"+a.color:""),Dr("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",si],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:HX,decls:1,vars:0,template:function(n,a){n&1&&(Ga(),dn(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}
34
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})();function ZX(e){e||(Oc(),e=D(Gi));let t=new Je(r=>e.onDestroy(r.next.bind(r)));return r=>r.pipe(Fi(t))}var IB={"application/prs.cww":["cww"],"application/prs.xsf+xml":["xsf"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["*xfdf"],"application/vnd.age":["age"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.autodesk.fbx":["fbx"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dcmp+xml":["dcmp"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["*fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.slides":["ggs"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.drawing":["gdraw"],"application/vnd.google-apps.form":["gform"],"application/vnd.google-apps.jam":["gjam"],"application/vnd.google-apps.map":["gmap"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.script":["gscript"],"application/vnd.google-apps.site":["gsite"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.gov.sk.xmldatacontainer+xml":["xdcf"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["*mpp","mpt"],"application/vnd.ms-visio.viewer":["vdx"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.nato.bindingdataobject+xml":["bdo"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.procrate.brushset":["brushset"],"application/vnd.procreate.brush":["brush"],"application/vnd.procreate.dream":["drm"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.pwg-xhtml-print+xml":["xhtm"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml","uo"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw","vsdx","vtx"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blender":["blend"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-compressed":["*rar"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-ipynb+json":["ipynb"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["*prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["*sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zip-compressed":["*zip"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["*aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif","btf"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-adobe-dng":["dng"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.bary":["bary"],"model/vnd.cld":["cld"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["*mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.pytha.pyox":["pyo","pyox"],"model/vnd.sap.vds":["vds"],"model/vnd.usda":["usda"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.familysearch.gedcom":["ged"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]};Object.freeze(IB);var YX=IB,DB={"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(DB);var KX=DB,rn=function(e,t,r,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 r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)},ha,ci,Br,QX=class{constructor(...e){ha.set(this,new Map),ci.set(this,new Map),Br.set(this,new Map);for(let t of e)this.define(t)}define(e,t=!1){for(let[r,n]of Object.entries(e)){r=r.toLowerCase(),n=n.map(o=>o.toLowerCase()),rn(this,Br,"f").has(r)||rn(this,Br,"f").set(r,new Set);let a=rn(this,Br,"f").get(r),i=!0;for(let o of n){let l=o.startsWith("*");if(o=l?o.slice(1):o,a==null||a.add(o),i&&rn(this,ci,"f").set(r,o),i=!1,l)continue;let h=rn(this,ha,"f").get(o);if(h&&h!=r&&!t)throw new Error(`"${r} -> ${o}" conflicts with "${h} -> ${o}". Pass \`force=true\` to override this definition.`);rn(this,ha,"f").set(o,r)}}return this}getType(e){if(typeof e!="string")return null;let t=e.replace(/^.*[/\\]/s,"").toLowerCase(),r=t.replace(/^.*\./s,"").toLowerCase(),n=t.length<e.length;return!(r.length<t.length-1)&&n?null:rn(this,ha,"f").get(r)??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&&rn(this,ci,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:rn(this,Br,"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 rn(this,Br,"f").values())Object.freeze(e);return this}_getTestState(){return{types:rn(this,ha,"f"),extensions:rn(this,ci,"f")}}};ha=new WeakMap,ci=new WeakMap,Br=new WeakMap;var JX=QX;new JX(KX,YX)._freeze();var XX=(()=>{const t=class t{transform(n){return FQ(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=ra({name:"fullname",type:t,pure:!0});let e=t;return e})(),eee=(()=>{const t=class t{constructor(){this.ingredientLabelService=D(VQ),this.translate=D(qn),this.destroyRef=D(Gi),this.cd=D(nl),this.translate.onLangChange.pipe(ZX(this.destroyRef)).subscribe(()=>{this.transformIngredientLabel(),this.cd.markForCheck()})}transform(n){return n!==this.ingredient&&(this.ingredient=n,this.transformIngredientLabel()),this.translation}transformIngredientLabel(){this.translation=this.ingredient?this.ingredientLabelService.transform(this.ingredient):""}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=ra({name:"ingredientLabel",type:t,pure:!0});let e=t;return e})(),tee=(()=>{const t=class t{constructor(){this.translate=D(qn)}transform(n){return Wb(n,this.translate.currentLang)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=ra({name:"translateValue",type:t,pure:!0});let e=t;return e})(),nee=(()=>{const t=class t{transform(n){return Math.abs(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=ra({name:"absolute",type:t,pure:!0});let e=t;return e})(),ree=e=>({count:e});function aee(e,t){if(e&1){let r=n0();ke(0,"span",1),Ae(1),$e(2,"translate"),Ce(),ke(3,"span",2)(4,"a",3),el("click",function(n){eg(r);let a=Et(2);return tg(a.onDownloadClick(n))}),Kt(5,"mat-icon",4),Ae(6),$e(7,"translate"),Ce()()}e&2&&(we(),mt(Qe(2,2,"deliveredMedicationDetails.leaflet")),we(5),lr(" ",Qe(7,4,"commons.downloadLeaflet")," "))}function iee(e,t){if(e&1&&(ke(0,"span",1),Ae(1),$e(2,"translate"),Ce(),ke(3,"span",2),Ae(4),$e(5,"translateValue"),Ce(),Ht(6,aee,8,6)),e&2){let r=Et();we(),mt(Qe(2,3,"deliveredMedicationDetails.medication")),we(3),mt(Qe(5,5,r.item().medication.name)),we(2),ln(r.displayAllDetails()&&r.item().medication.identifier&&r.item().medication.identifier.type===r.identifierType.CNK?6:-1)}}function oee(e,t){if(e&1&&(Ae(0),$e(1,"ingredientLabel")),e&2){let r=t.$implicit;lr(" ",Qe(1,1,r)," ")}}function see(e,t){if(e&1&&(ke(0,"span",1)(1,"strong"),Ae(2),$e(3,"translate"),Ce()(),ke(4,"span",2),e0(5,oee,2,3,null,null,gG),Ce()),e&2){let r=Et();we(2),mt(Qe(3,1,"deliveredMedicationsList.magisterialPreparation")),we(3),t0(r.item().medication.ingredients)}}function lee(e,t){if(e&1&&(ke(0,"span",1),Ae(1),$e(2,"translate"),Ce(),ke(3,"span",2),Ae(4),$e(5,"date"),Ce()),e&2){let r=Et(),n=Et();we(),mt(Qe(2,2,r<0?"deliveredMedicationDetails.return-delivery-date":"deliveredMedicationDetails.delivery-date")),we(3),mt(u0(5,4,n.item().deliveryDate,"dd/MM/yyyy"))}}function uee(e,t){if(e&1&&(ke(0,"span",1),Ae(1),$e(2,"translate"),Ce(),ke(3,"span",2),Ae(4),$e(5,"absolute"),$e(6,"absolute"),$e(7,"translate"),Ce(),Ht(8,lee,6,7),ke(9,"span",1),Ae(10),$e(11,"translate"),Ce()),e&2){let r=t,n=Et();we(),mt(Qe(2,5,r<0?"deliveredMedicationDetails.returned-quantity":"deliveredMedicationDetails.quantity")),we(3),vd("",Qe(5,7,r)," ",u0(7,11,"deliveredMedicationDetails.package",zG(16,ree,Qe(6,9,r))),""),we(4),ln(n.displayAllDetails()?8:-1),we(2),mt(Qe(11,14,r<0?"deliveredMedicationDetails.returned-by":"deliveredMedicationDetails.delivered-by"))}}function cee(e,t){if(e&1&&(Ae(0),$e(1,"translateValue"),Kt(2,"br"),Ae(3)),e&2){let r=Et();lr(" ",Qe(1,2,t)," "),we(3),lr(" ",r.item().pharmacy.nihdi," ")}}function dee(e,t){if(e&1&&(Ae(0),$e(1,"translate")),e&2){let r=Et();vd(" ",Qe(1,2,"deliveredMedicationDetails.no-pharmacy"),": ",r.item().pharmacy.nihdi," ")}}function hee(e,t){if(e&1&&(ke(0,"span",1),Ae(1),$e(2,"translate"),Ce(),ke(3,"span",2),Ae(4),$e(5,"fullname"),Ce()),e&2){let r=Et();we(),mt(Qe(2,2,"deliveredMedicationDetails.patient")),we(3),mt(Qe(5,4,r.item().person))}}var pee=(()=>{const t=class t{constructor(){this.translate=D(qn),this.leafletService=D(nJ),this.item=Wt.required(),this.displayAllDetails=Wt(!1),this.isProfessional=Wt.required(),this.identifierType=Kb}onDownloadClick(n){n.preventDefault(),this.leafletService.getLeaflet(this.translate.currentLang,this.item().medication.identifier.value)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Dt({type:t,selectors:[["vidis-delivered-medication-details-row"]],inputs:{item:[1,"item"],displayAllDetails:[1,"displayAllDetails"],isProfessional:[1,"isProfessional"]},decls:24,vars:18,consts:[[1,"details"],[1,"details__label"],[1,"details__value"],["mat-button","","target","_blank",3,"click"],["fontIcon","download"]],template:function(n,a){if(n&1&&(ke(0,"span",0),Ht(1,iee,7,7)(2,see,7,3),ke(3,"span",1),Ae(4),$e(5,"translate"),Ce(),ke(6,"span",2),Ae(7),Ce(),ke(8,"span",1),Ae(9),$e(10,"translate"),Ce(),ke(11,"span",2),Ae(12),$e(13,"translate"),Ce(),Ht(14,uee,12,18),ke(15,"span",2),Ht(16,cee,4,4)(17,dee,2,4),Ce(),Ht(18,hee,6,6),ke(19,"span",1),Ae(20),$e(21,"translate"),Ce(),ke(22,"span",2),Ae(23),Ce()()),n&2){let i,o,l;we(),ln(a.item().medication.name?1:2),we(3),mt(Qe(5,10,"deliveredMedicationDetails.posologie")),we(3),mt((i=a.item().dosageInstruction)==null?null:i.text),we(2),mt(Qe(10,12,"deliveredMedicationDetails.is-prescribed.title")),we(3),mt(Qe(13,14,"deliveredMedicationDetails.is-prescribed."+(a.item().isPrescribed?"yes":"no"))),we(2),ln((o=(o=a.item().medication.quantity)==null?null:o.value)?14:-1,o),we(2),ln((l=(l=a.item().pharmacy)==null?null:l.name)?16:17,l),we(2),ln(a.displayAllDetails()&&!a.isProfessional()?18:-1),we(2),mt(Qe(21,16,"deliveredMedicationDetails.dguid")),we(3),mt(a.item().dguid)}},dependencies:[Id,tee,eee,NW,CB,l8,XX,nee],styles:[".details[_ngcontent-%COMP%]{display:grid}@media only screen and (min-width: 960px){.details[_ngcontent-%COMP%]{grid-template-columns:max-content auto;gap:10px 20px}}@media only screen and (max-width: 960px){.details__value[_ngcontent-%COMP%]{margin-bottom:10px}}.details__label[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:700;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.details__value[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}"]});let e=t;return e})();bm(m4());var mee=(()=>{const t=class t extends rJ{constructor(){super(...arguments),this.version=dc,this.authServiceSelector=D(Rs),this.translateService=D(qn),this.webComponentConfig=D(sl),this.injector=D(Ot),this.servicesStore=D(SB),this.extraRequiredFields=["offlineDataStorageEnabled","isOfflineAuthenticated","professional","ssin"]}onInitialized(){this.webComponentConfig.setEnvironment(this.configName),this.translateService.use(this.language),this.authServiceSelector.getInstance().registerAccessToken(this.services.getAccessToken),this.authServiceSelector.getInstance().isProfessional=this.professional,this.authServiceSelector.getInstance().patientSsin=this.ssin,this.authServiceSelector.getInstance().isOfflineDataStorageEnabled=this.offlineDataStorageEnabled,this.authServiceSelector.getInstance().isOfflineAuthenticated=this.isOfflineAuthenticated,this.servicesStore.setServices(this.services),this.injectService(),this.fetchData(!0),this.services.registerRefreshCallback(n=>Ct(this,null,function*(){this.fetchData(!0),n()}))}onPropsChanged(n){n.language&&this.translateService.use(this.language)}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=Sn(t)))(a||t)}})(),t.ɵcmp=Dt({type:t,selectors:[["ng-component"]],inputs:{isOfflineAuthenticated:"isOfflineAuthenticated",offlineDataStorageEnabled:"offlineDataStorageEnabled",professional:"professional",ssin:"ssin"},features:[Tr],decls:0,vars:0,template:function(n,a){},encapsulation:2});let e=t;return e})(),fee=["*"],gee=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],vee=["[mat-card-avatar], [matCardAvatar]",`mat-card-title, mat-card-subtitle,
35
35
  [mat-card-title], [mat-card-subtitle],
36
- [matCardTitle], [matCardSubtitle]`,"*"],fee=new Q("MAT_CARD_CONFIG"),D3=(()=>{const t=class t{constructor(){s(this,"appearance");let n=D(fee,{optional:!0});this.appearance=(n==null?void 0:n.appearance)||"raised"}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",It({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(n,a){n&2&&Dr("mat-mdc-card-outlined",a.appearance==="outlined")("mdc-card--outlined",a.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:hee,decls:1,vars:0,template:function(n,a){n&1&&($a(),cn(0))},styles:[`.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mdc-elevated-card-container-color, var(--mat-sys-surface-container-low));border-color:var(--mdc-elevated-card-container-color, var(--mat-sys-surface-container-low));border-radius:var(--mdc-elevated-card-container-shape, var(--mat-sys-corner-medium));box-shadow:var(--mdc-elevated-card-container-elevation, var(--mat-sys-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mdc-elevated-card-container-shape, var(--mat-sys-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mdc-outlined-card-container-color, var(--mat-sys-surface));border-radius:var(--mdc-outlined-card-container-shape, var(--mat-sys-corner-medium));border-width:var(--mdc-outlined-card-outline-width, 1px);border-color:var(--mdc-outlined-card-outline-color, var(--mat-sys-outline-variant));box-shadow:var(--mdc-outlined-card-container-elevation, var(--mat-sys-level0))}.mat-mdc-card-outlined::after{border:none}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-sys-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-sys-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-sys-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-sys-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-sys-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-sys-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-sys-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-sys-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-sys-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-sys-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-sys-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}
37
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),N3=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",hr({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}));let e=t;return e})(),gee=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",It({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:mee,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(n,a){n&1&&($a(pee),cn(0),ke(1,"div",0),cn(2,1),Ce(),cn(3,2))},encapsulation:2,changeDetection:0}));let e=t;return e})(),vee=(()=>{const t=class t{constructor(){this.translate=D(qn),this.error=Ut.required()}get messageKey(){var o;let n=(o=this.error().error)==null?void 0:o.code,a="commons.errors.status-message-content";if(!n)return a;let i=`commons.errors.${n}`;return this.translate.instant(i)!==i?i:a}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=It({type:t,selectors:[["vidis-status-message"]],inputs:{error:[1,"error"]},decls:9,vars:6,consts:[["fontIcon","info",1,"material-icons"]],template:function(n,a){n&1&&(ke(0,"mat-card")(1,"mat-card-header"),Yt(2,"mat-icon",0),Ae(3),Ze(4,"translate"),Ce(),ke(5,"mat-card-content")(6,"span"),Ae(7),Ze(8,"translate"),Ce()()()),n&2&&(we(3),lr(" ",Xe(4,2,"commons.errors.status-message-title")," "),we(4),mt(Xe(8,4,a.messageKey)))},dependencies:[D3,N3,gee,k3,Cd],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})(),bee=["*"],yee=(e,t,r,n,a)=>({"custom-content":e,circle:t,progress:r,"progress-dark":n,pulse:a});function _ee(e,t){e&1&&cn(0)}function wee(e,t){if(e&1&&(ke(0,"div",0),zt(1,_ee,1,0),Ce()),e&2){let r=Et(),n=ip(0),a=ip(1);qa("ngClass",jG(5,yee,n==="custom-content",n==="circle",a==="progress",a==="progress-dark",a==="pulse"))("ngStyle",r.styles()),Ha("aria-label",r.ariaLabel())("aria-valuetext",r.loadingText()),we(),sn(n==="custom-content"?1:-1)}}var T3=new Q("ngx-skeleton-loader.config"),xee=(()=>{var t;const r=class r{constructor(){ah(this,t);var a,i,o,l,h,u;ih(this,t,D(T3,{optional:!0})),this.count=Ut(((a=er(this,t))==null?void 0:a.count)||1,{transform:p0}),this.loadingText=Ut(((i=er(this,t))==null?void 0:i.loadingText)||"Loading..."),this.appearance=Ut(((o=er(this,t))==null?void 0:o.appearance)||"line"),this.animation=Ut(((l=er(this,t))==null?void 0:l.animation)||"progress"),this.ariaLabel=Ut(((h=er(this,t))==null?void 0:h.ariaLabel)||"loading"),this.theme=Ut(((u=er(this,t))==null?void 0:u.theme)||null),this.items=lp(()=>{let c=this.count()||1;return this.appearance()==="custom-content"&&tU(),[...Array(c)].map((m,b)=>b)}),this.styles=lp(()=>{var m,b,g;let c=this.theme();return(b=(m=er(this,t))==null?void 0:m.theme)!=null&&b.extendsFromRoot?ge(ge({},(g=er(this,t))==null?void 0:g.theme),c):c})}};t=new WeakMap,r.ɵfac=function(a){return new(a||r)},r.ɵcmp=It({type:r,selectors:[["ngx-skeleton-loader"]],inputs:{count:[1,"count"],loadingText:[1,"loadingText"],appearance:[1,"appearance"],animation:[1,"animation"],ariaLabel:[1,"ariaLabel"],theme:[1,"theme"]},ngContentSelectors:bee,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,i){a&1&&($a(),o0(0)(1),t0(2,wee,2,11,"div",0,mG)),a&2&&(ap(i.appearance()),we(),ap(i.animation()),we(),n0(i.items()))},dependencies:[YU,KU],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=r;return e})(),Eee=(()=>{const t=class t{static forRoot(n){return{ngModule:t,providers:[{provide:T3,useValue:n}]}}};t.ɵfac=function(n){return new(n||t)},t.ɵmod=zv({type:t}),t.ɵinj=Cf({imports:[o8]});let e=t;return e})(),See=()=>({width:"40%",height:"20px"});function kee(e,t){e&1&&Yt(0,"ngx-skeleton-loader",0),e&2&&qa("theme",LG(1,See))}function Cee(e,t){if(e&1&&Yt(0,"vidis-delivered-medication-details-row",1),e&2){let r=Et();qa("item",r.item())("displayAllDetails",!0)("isProfessional",r.isProfessional())}}function Iee(e,t){e&1&&(ke(0,"div",2)(1,"h3"),Ae(2),Ze(3,"translate"),Ce()()),e&2&&(we(2),mt(Xe(3,1,"deliveredMedicationDetails.noDetails")))}var Dee=(()=>{const t=class t{constructor(){this.item=Ut.required(),this.isLoading=Ut.required(),this.isProfessional=Ut.required()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=It({type:t,selectors:[["vidis-delivered-medication-details-card"]],inputs:{item:[1,"item"],isLoading:[1,"isLoading"],isProfessional:[1,"isProfessional"]},decls:5,vars:1,consts:[["count","8","appearance","line",3,"theme"],[3,"item","displayAllDetails","isProfessional"],[1,"center"]],template:function(n,a){n&1&&(ke(0,"mat-card")(1,"mat-card-content"),zt(2,kee,1,2,"ngx-skeleton-loader",0)(3,Cee,1,3,"vidis-delivered-medication-details-row",1)(4,Iee,4,3,"div",2),Ce()()),n&2&&(we(2),sn(a.isLoading()?2:a.item()?3:4))},dependencies:[D3,N3,Cd,Eee,xee,uee],encapsulation:2});let e=t;return e})();function Nee(e,t){e&1&&(ke(0,"div"),Ae(1,"Component not properly initialized!"),Ce())}function Tee(e,t){if(e&1&&Yt(0,"vidis-status-message",0),e&2){let r=Et();qa("error",r.error)}}function Mee(e,t){if(e&1&&Yt(0,"vidis-delivered-medication-details-card",1),e&2){let r=Et(),n=Et(2);qa("item",r.data)("isLoading",r.status===n.loadingStatus.LOADING)("isProfessional",n.professional)}}function Ree(e,t){if(e&1&&zt(0,Tee,1,1,"vidis-status-message",0)(1,Mee,1,3,"vidis-delivered-medication-details-card",1),e&2){let r=Et(2);sn(t.status===r.loadingStatus.ERROR?0:1)}}function Oee(e,t){if(e&1&&(zt(0,Ree,2,1),Ze(1,"async")),e&2){let r,n=Et();sn((r=Xe(1,1,n.deliveredMedicationsState$))?0:-1,r)}}var Pee=(()=>{const t=class t extends dee{constructor(){super(...arguments),this.extraRequiredFields=["dguid","professional","ssin"],this.loadingStatus=ka}fetchData(n){return Mn(this,null,function*(){return yield this.deliveredMedicationsService.getDeliveredMedications(this.services,n)})}injectService(){this.deliveredMedicationsService=this.injector.get(dm),this.deliveredMedicationsState$=this.deliveredMedicationsService.deliveredMedicationsState$.pipe(wt(n=>{var a;return Kt(ge({},n),{data:(a=n.data)==null?void 0:a.items.find(i=>i.dguid===this.dguid)})}))}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=En(t)))(a||t)}})(),t.ɵcmp=It({type:t,selectors:[["ng-component"]],inputs:{dguid:"dguid"},features:[AG([dm,w3,x3,OX]),Tr],decls:2,vars:1,consts:[[3,"error"],[3,"item","isLoading","isProfessional"]],template:function(n,a){n&1&&zt(0,Nee,2,0,"div")(1,Oee,2,3),n&2&&sn(a.isCorrectlySetup()?1:0)},dependencies:[t8,Dee,vee],encapsulation:2,changeDetection:0});let e=t;return e})();k8({providers:[DX]}).then(e=>{let t=_U(Pee,{injector:e.injector});customElements.define("vidis-delivered-medication-detail",t)}).catch(e=>console.error(e));
36
+ [matCardTitle], [matCardSubtitle]`,"*"],bee=new Q("MAT_CARD_CONFIG"),NB=(()=>{const t=class t{constructor(){s(this,"appearance");let n=D(bee,{optional:!0});this.appearance=(n==null?void 0:n.appearance)||"raised"}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Dt({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(n,a){n&2&&Dr("mat-mdc-card-outlined",a.appearance==="outlined")("mdc-card--outlined",a.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:fee,decls:1,vars:0,template:function(n,a){n&1&&(Ga(),dn(0))},styles:[`.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mdc-elevated-card-container-color, var(--mat-sys-surface-container-low));border-color:var(--mdc-elevated-card-container-color, var(--mat-sys-surface-container-low));border-radius:var(--mdc-elevated-card-container-shape, var(--mat-sys-corner-medium));box-shadow:var(--mdc-elevated-card-container-elevation, var(--mat-sys-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mdc-elevated-card-container-shape, var(--mat-sys-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mdc-outlined-card-container-color, var(--mat-sys-surface));border-radius:var(--mdc-outlined-card-container-shape, var(--mat-sys-corner-medium));border-width:var(--mdc-outlined-card-outline-width, 1px);border-color:var(--mdc-outlined-card-outline-color, var(--mat-sys-outline-variant));box-shadow:var(--mdc-outlined-card-container-elevation, var(--mat-sys-level0))}.mat-mdc-card-outlined::after{border:none}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-sys-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-sys-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-sys-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-sys-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-sys-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-sys-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-sys-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-sys-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-sys-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-sys-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-sys-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}
37
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),TB=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",hr({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}));let e=t;return e})(),yee=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Dt({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:vee,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(n,a){n&1&&(Ga(gee),dn(0),ke(1,"div",0),dn(2,1),Ce(),dn(3,2))},encapsulation:2,changeDetection:0}));let e=t;return e})(),_ee=(()=>{const t=class t{constructor(){this.translate=D(qn),this.error=Wt.required()}get messageKey(){var o;let n=(o=this.error().error)==null?void 0:o.code,a="commons.errors.status-message-content";if(!n)return a;let i=`commons.errors.${n}`;return this.translate.instant(i)!==i?i:a}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Dt({type:t,selectors:[["vidis-status-message"]],inputs:{error:[1,"error"]},decls:9,vars:6,consts:[["fontIcon","info",1,"material-icons"]],template:function(n,a){n&1&&(ke(0,"mat-card")(1,"mat-card-header"),Kt(2,"mat-icon",0),Ae(3),$e(4,"translate"),Ce(),ke(5,"mat-card-content")(6,"span"),Ae(7),$e(8,"translate"),Ce()()()),n&2&&(we(3),lr(" ",Qe(4,2,"commons.errors.status-message-title")," "),we(4),mt(Qe(8,4,a.messageKey)))},dependencies:[NB,TB,yee,CB,Id],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})(),wee=["*"],xee=(e,t,r,n,a)=>({"custom-content":e,circle:t,progress:r,"progress-dark":n,pulse:a});function Eee(e,t){e&1&&dn(0)}function See(e,t){if(e&1&&(ke(0,"div",0),Ht(1,Eee,1,0),Ce()),e&2){let r=Et(),n=ip(0),a=ip(1);$a("ngClass",BG(5,xee,n==="custom-content",n==="circle",a==="progress",a==="progress-dark",a==="pulse"))("ngStyle",r.styles()),qa("aria-label",r.ariaLabel())("aria-valuetext",r.loadingText()),we(),ln(n==="custom-content"?1:-1)}}var MB=new Q("ngx-skeleton-loader.config"),kee=(()=>{var t;const r=class r{constructor(){ah(this,t);var a,i,o,l,h,u;ih(this,t,D(MB,{optional:!0})),this.count=Wt(((a=er(this,t))==null?void 0:a.count)||1,{transform:h0}),this.loadingText=Wt(((i=er(this,t))==null?void 0:i.loadingText)||"Loading..."),this.appearance=Wt(((o=er(this,t))==null?void 0:o.appearance)||"line"),this.animation=Wt(((l=er(this,t))==null?void 0:l.animation)||"progress"),this.ariaLabel=Wt(((h=er(this,t))==null?void 0:h.ariaLabel)||"loading"),this.theme=Wt(((u=er(this,t))==null?void 0:u.theme)||null),this.items=lp(()=>{let c=this.count()||1;return this.appearance()==="custom-content"&&aU(),[...Array(c)].map((m,b)=>b)}),this.styles=lp(()=>{var m,b,g;let c=this.theme();return(b=(m=er(this,t))==null?void 0:m.theme)!=null&&b.extendsFromRoot?ge(ge({},(g=er(this,t))==null?void 0:g.theme),c):c})}};t=new WeakMap,r.ɵfac=function(a){return new(a||r)},r.ɵcmp=Dt({type:r,selectors:[["ngx-skeleton-loader"]],inputs:{count:[1,"count"],loadingText:[1,"loadingText"],appearance:[1,"appearance"],animation:[1,"animation"],ariaLabel:[1,"ariaLabel"],theme:[1,"theme"]},ngContentSelectors:wee,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,i){a&1&&(Ga(),i0(0)(1),e0(2,See,2,11,"div",0,vG)),a&2&&(ap(i.appearance()),we(),ap(i.animation()),we(),t0(i.items()))},dependencies:[JU,XU],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=r;return e})(),Cee=(()=>{const t=class t{static forRoot(n){return{ngModule:t,providers:[{provide:MB,useValue:n}]}}};t.ɵfac=function(n){return new(n||t)},t.ɵmod=zv({type:t}),t.ɵinj=kf({imports:[u8]});let e=t;return e})(),Iee=()=>({width:"40%",height:"20px"});function Dee(e,t){e&1&&Kt(0,"ngx-skeleton-loader",0),e&2&&$a("theme",VG(1,Iee))}function Nee(e,t){if(e&1&&Kt(0,"vidis-delivered-medication-details-row",1),e&2){let r=Et();$a("item",r.item())("displayAllDetails",!0)("isProfessional",r.isProfessional())}}function Tee(e,t){e&1&&(ke(0,"div",2)(1,"h3"),Ae(2),$e(3,"translate"),Ce()()),e&2&&(we(2),mt(Qe(3,1,"deliveredMedicationDetails.noDetails")))}var Mee=(()=>{const t=class t{constructor(){this.item=Wt.required(),this.isLoading=Wt.required(),this.isProfessional=Wt.required()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Dt({type:t,selectors:[["vidis-delivered-medication-details-card"]],inputs:{item:[1,"item"],isLoading:[1,"isLoading"],isProfessional:[1,"isProfessional"]},decls:5,vars:1,consts:[["count","8","appearance","line",3,"theme"],[3,"item","displayAllDetails","isProfessional"],[1,"center"]],template:function(n,a){n&1&&(ke(0,"mat-card")(1,"mat-card-content"),Ht(2,Dee,1,2,"ngx-skeleton-loader",0)(3,Nee,1,3,"vidis-delivered-medication-details-row",1)(4,Tee,4,3,"div",2),Ce()()),n&2&&(we(2),ln(a.isLoading()?2:a.item()?3:4))},dependencies:[NB,TB,Id,Cee,kee,pee],encapsulation:2});let e=t;return e})();function Oee(e,t){e&1&&(ke(0,"div"),Ae(1,"Component not properly initialized!"),Ce())}function Ree(e,t){if(e&1&&Kt(0,"vidis-status-message",0),e&2){let r=Et();$a("error",r.error)}}function Pee(e,t){if(e&1&&Kt(0,"vidis-delivered-medication-details-card",1),e&2){let r=Et(),n=Et(2);$a("item",r.data)("isLoading",r.status===n.loadingStatus.LOADING)("isProfessional",n.professional)}}function Aee(e,t){if(e&1&&Ht(0,Ree,1,1,"vidis-status-message",0)(1,Pee,1,3,"vidis-delivered-medication-details-card",1),e&2){let r=Et(2);ln(t.status===r.loadingStatus.ERROR?0:1)}}function Lee(e,t){if(e&1&&(Ht(0,Aee,2,1),$e(1,"async")),e&2){let r,n=Et();ln((r=Qe(1,1,n.deliveredMedicationsState$))?0:-1,r)}}var Fee=(()=>{const t=class t extends mee{constructor(){super(...arguments),this.extraRequiredFields=["dguid","professional","ssin","offlineDataStorageEnabled","isOfflineAuthenticated"],this.loadingStatus=ka}fetchData(n){return Ct(this,null,function*(){return yield this.deliveredMedicationsService.getDeliveredMedications(!1)})}injectService(){this.deliveredMedicationsService=this.injector.get(dm),this.deliveredMedicationsState$=this.deliveredMedicationsService.deliveredMedicationsState$.pipe(wt(n=>{var a;return Qt(ge({},n),{data:(a=n.data)==null?void 0:a.items.find(i=>i.dguid===this.dguid)})}))}};t.ɵfac=(()=>{let n;return function(a){return(n||(n=Sn(t)))(a||t)}})(),t.ɵcmp=Dt({type:t,selectors:[["ng-component"]],inputs:{dguid:"dguid"},features:[jG([dm,wB,xB,FX]),Tr],decls:2,vars:1,consts:[[3,"error"],[3,"item","isLoading","isProfessional"]],template:function(n,a){n&1&&Ht(0,Oee,2,0,"div")(1,Lee,2,3),n&2&&ln(a.isCorrectlySetup()?1:0)},dependencies:[a8,Mee,_ee],encapsulation:2,changeDetection:0});let e=t;return e})();D8({providers:[OX]}).then(e=>{let t=EU(Fee,{injector:e.injector});customElements.define("vidis-delivered-medication-detail",t)}).catch(e=>console.error(e));