@smals-belgium-shared/vidis-delivered-medication-list 3.3.1 → 3.3.2-snapshot.1

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,21 +1,21 @@
1
- var nq=Object.defineProperty;var Nm=e=>{throw TypeError(e)};var aq=(e,t,a)=>t in e?nq(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a;var s=(e,t,a)=>aq(e,typeof t!="symbol"?t+"":t,a),Om=(e,t,a)=>t.has(e)||Nm("Cannot "+a);var Ra=(e,t,a)=>(Om(e,t,"read from private field"),a?a.call(e):t.get(e)),Mm=(e,t,a)=>t.has(e)?Nm("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,a),Am=(e,t,a,n)=>(Om(e,t,"write to private field"),n?n.call(e,a):t.set(e,a),a);var rq=Object.create,nu=Object.defineProperty,iq=Object.defineProperties,oq=Object.getOwnPropertyDescriptor,sq=Object.getOwnPropertyDescriptors,lq=Object.getOwnPropertyNames,vl=Object.getOwnPropertySymbols,uq=Object.getPrototypeOf,ph=Object.prototype.hasOwnProperty,kv=Object.prototype.propertyIsEnumerable,Pm=(e,t,a)=>t in e?nu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,ue=(e,t)=>{for(var a in t||(t={}))ph.call(t,a)&&Pm(e,a,t[a]);if(vl)for(var a of vl(t))kv.call(t,a)&&Pm(e,a,t[a]);return e},Yt=(e,t)=>iq(e,sq(t)),cq=(e,t)=>{var a={};for(var n in e)ph.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(e!=null&&vl)for(var n of vl(e))t.indexOf(n)<0&&kv.call(e,n)&&(a[n]=e[n]);return a},se=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),de=(e,t)=>{for(var a in t)nu(e,a,{get:t[a],enumerable:!0})},dq=(e,t,a,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of lq(t))!ph.call(e,r)&&r!==a&&nu(e,r,{get:()=>t[r],enumerable:!(n=oq(t,r))||n.enumerable});return e},Cv=(e,t,a)=>(a=e!=null?rq(uq(e)):{},dq(t||!e||!e.__esModule?nu(a,"default",{value:e,enumerable:!0}):a,e)),At=(e,t,a)=>new Promise((n,r)=>{var i=u=>{try{l(a.next(u))}catch(c){r(c)}},o=u=>{try{l(a.throw(u))}catch(c){r(c)}},l=u=>u.done?n(u.value):Promise.resolve(u.value).then(i,o);l((a=a.apply(e,t)).next())}),hq=se((e,t)=>{(function(a,n){typeof e=="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):(a=typeof globalThis<"u"?globalThis:a||self,a.MessageFormat=n())})(e,function(){var a=function(){return a=Object.assign||function(p){for(var f,b=1,y=arguments.length;b<y;b++){f=arguments[b];for(var _ in f)Object.prototype.hasOwnProperty.call(f,_)&&(p[_]=f[_])}return p},a.apply(this,arguments)};function n(p){var f=typeof Symbol=="function"&&Symbol.iterator,b=f&&p[f],y=0;if(b)return b.call(p);if(p&&typeof p.length=="number")return{next:function(){return p&&y>=p.length&&(p=void 0),{value:p&&p[y++],done:!p}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")}function r(p,f){var b=typeof Symbol=="function"&&p[Symbol.iterator];if(!b)return p;var y=b.call(p),_,E=[],C;try{for(;(f===void 0||f-- >0)&&!(_=y.next()).done;)E.push(_.value)}catch(I){C={error:I}}finally{try{_&&!_.done&&(b=y.return)&&b.call(y)}finally{if(C)throw C.error}}return E}function i(p,f,b){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,b,y){super(f),this.token=b,this.type=y||"error"}}let l=p=>p<4?"short":p===4?"long":"narrow",u=p=>p%2===0?"2-digit":"numeric";function c(p,f){switch(p.char){case"y":return{year:u(p.width)};case"r":return{calendar:"gregory",year:"numeric"};case"u":case"U":case"Y":default:return f(`${p.desc} is not supported; falling back to year:numeric`,o.WARNING),{year:"numeric"}}}function d(p,f){switch(p.width){case 1:return"numeric";case 2:return"2-digit";case 3:return"short";case 4:return"long";case 5:return"narrow";default:f(`${p.desc} is not supported with width ${p.width}`);return}}function m(p,f){let{char:b,desc:y,width:_}=p;if(b==="d")return u(_);f(`${y} is not supported`)}function v(p,f){let{char:b,desc:y,width:_}=p;if((b==="c"||b==="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=u(p.width),b;switch(p.char){case"h":b="h12";break;case"H":b="h23";break;case"k":b="h24";break;case"K":b="h11";break}return b?{hour:f,hourCycle:b}:{hour:f}}function w(p,f){let{char:b,desc:y,width:_}=p;switch(b){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 c(p,f);case"month":return{month:d(p,f)};case"day":return{day:m(p,f)};case"weekday":return{weekday:v(p,f)};case"period":return;case"hour":return g(p);case"min":return{minute:u(p.width)};case"sec":return{second:u(p.width)};case"tz":return{timeZoneName:w(p,f)};case"quarter":case"week":case"sec-frac":case"ms":f(`${p.desc} is not supported`)}}function k(p,f){let b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:E=>{throw E},y={timeZone:f},_=[];for(let E of p){let{error:C,field:I,str:R}=E;if(C){let re=new o(C.message,E);re.stack=C.stack,b(re)}if(R){let re=`Ignoring string part: ${R}`;b(new o(re,E,o.WARNING))}I&&(_.indexOf(I)===-1?_.push(I):b(new o(`Duplicate ${I} token`,E)));let B=x(E,(re,fe)=>b(new o(re,E,fe)));B&&Object.assign(y,B)}return y}let D={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"}},N=p=>p>="A"&&p<="Z"||p>="a"&&p<="z";function O(p,f){let b=p[f],y=1;for(;p[++f]===b;)++y;let _=D[b];if(!_){let E=`The letter ${b} is not a valid field identifier`;return{char:b,error:new Error(E),width:y}}return{char:b,field:_.field,desc:_.desc,width:y}}function J(p,f){let b=p[++f],y=2;if(b==="'")return{char:"'",str:b,width:y};for(;;){let _=p[++f];if(++y,_===void 0){let E=`Unterminated quoted literal in pattern: ${b||p}`;return{char:"'",error:new Error(E),str:b,width:y}}else if(_==="'"){if(p[++f]!=="'")return{char:"'",str:b,width:y};++y}b+=_}}function le(p,f){let b=p[f];if(!b)return null;if(N(b))return O(p,f);if(b==="'")return J(p,f);let y=b,_=1;for(;;){let E=p[++f];if(!E||N(E)||E==="'")return{char:b,str:y,width:_};y+=E,_+=1}}function _e(p){let f=[],b=0;for(;;){let y=le(p,b);if(!y)return f;f.push(y),b+=y.width}}function Nt(p,f,b,y){typeof f=="string"&&(f=_e(f)),typeof b=="function"&&(y=b,b=void 0);let _=k(f,b,y),E=new Intl.DateTimeFormat(p,_);return C=>E.format(C)}function _t(p,f,b,y){typeof f=="string"&&(f=_e(f)),typeof b=="function"&&(y=b,b=void 0);let _=k(f,b,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 nq=Object.defineProperty;var Nm=e=>{throw TypeError(e)};var aq=(e,t,a)=>t in e?nq(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a;var s=(e,t,a)=>aq(e,typeof t!="symbol"?t+"":t,a),Om=(e,t,a)=>t.has(e)||Nm("Cannot "+a);var Ra=(e,t,a)=>(Om(e,t,"read from private field"),a?a.call(e):t.get(e)),Mm=(e,t,a)=>t.has(e)?Nm("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,a),Am=(e,t,a,n)=>(Om(e,t,"write to private field"),n?n.call(e,a):t.set(e,a),a);var rq=Object.create,nu=Object.defineProperty,iq=Object.defineProperties,oq=Object.getOwnPropertyDescriptor,sq=Object.getOwnPropertyDescriptors,lq=Object.getOwnPropertyNames,vl=Object.getOwnPropertySymbols,uq=Object.getPrototypeOf,ph=Object.prototype.hasOwnProperty,kv=Object.prototype.propertyIsEnumerable,Pm=(e,t,a)=>t in e?nu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,ue=(e,t)=>{for(var a in t||(t={}))ph.call(t,a)&&Pm(e,a,t[a]);if(vl)for(var a of vl(t))kv.call(t,a)&&Pm(e,a,t[a]);return e},Yt=(e,t)=>iq(e,sq(t)),cq=(e,t)=>{var a={};for(var n in e)ph.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(e!=null&&vl)for(var n of vl(e))t.indexOf(n)<0&&kv.call(e,n)&&(a[n]=e[n]);return a},se=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),de=(e,t)=>{for(var a in t)nu(e,a,{get:t[a],enumerable:!0})},dq=(e,t,a,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of lq(t))!ph.call(e,r)&&r!==a&&nu(e,r,{get:()=>t[r],enumerable:!(n=oq(t,r))||n.enumerable});return e},Cv=(e,t,a)=>(a=e!=null?rq(uq(e)):{},dq(t||!e||!e.__esModule?nu(a,"default",{value:e,enumerable:!0}):a,e)),Rt=(e,t,a)=>new Promise((n,r)=>{var i=u=>{try{l(a.next(u))}catch(c){r(c)}},o=u=>{try{l(a.throw(u))}catch(c){r(c)}},l=u=>u.done?n(u.value):Promise.resolve(u.value).then(i,o);l((a=a.apply(e,t)).next())}),hq=se((e,t)=>{(function(a,n){typeof e=="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):(a=typeof globalThis<"u"?globalThis:a||self,a.MessageFormat=n())})(e,function(){var a=function(){return a=Object.assign||function(p){for(var f,b=1,y=arguments.length;b<y;b++){f=arguments[b];for(var _ in f)Object.prototype.hasOwnProperty.call(f,_)&&(p[_]=f[_])}return p},a.apply(this,arguments)};function n(p){var f=typeof Symbol=="function"&&Symbol.iterator,b=f&&p[f],y=0;if(b)return b.call(p);if(p&&typeof p.length=="number")return{next:function(){return p&&y>=p.length&&(p=void 0),{value:p&&p[y++],done:!p}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")}function r(p,f){var b=typeof Symbol=="function"&&p[Symbol.iterator];if(!b)return p;var y=b.call(p),_,E=[],C;try{for(;(f===void 0||f-- >0)&&!(_=y.next()).done;)E.push(_.value)}catch(I){C={error:I}}finally{try{_&&!_.done&&(b=y.return)&&b.call(y)}finally{if(C)throw C.error}}return E}function i(p,f,b){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,b,y){super(f),this.token=b,this.type=y||"error"}}let l=p=>p<4?"short":p===4?"long":"narrow",u=p=>p%2===0?"2-digit":"numeric";function c(p,f){switch(p.char){case"y":return{year:u(p.width)};case"r":return{calendar:"gregory",year:"numeric"};case"u":case"U":case"Y":default:return f(`${p.desc} is not supported; falling back to year:numeric`,o.WARNING),{year:"numeric"}}}function d(p,f){switch(p.width){case 1:return"numeric";case 2:return"2-digit";case 3:return"short";case 4:return"long";case 5:return"narrow";default:f(`${p.desc} is not supported with width ${p.width}`);return}}function m(p,f){let{char:b,desc:y,width:_}=p;if(b==="d")return u(_);f(`${y} is not supported`)}function v(p,f){let{char:b,desc:y,width:_}=p;if((b==="c"||b==="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=u(p.width),b;switch(p.char){case"h":b="h12";break;case"H":b="h23";break;case"k":b="h24";break;case"K":b="h11";break}return b?{hour:f,hourCycle:b}:{hour:f}}function w(p,f){let{char:b,desc:y,width:_}=p;switch(b){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 c(p,f);case"month":return{month:d(p,f)};case"day":return{day:m(p,f)};case"weekday":return{weekday:v(p,f)};case"period":return;case"hour":return g(p);case"min":return{minute:u(p.width)};case"sec":return{second:u(p.width)};case"tz":return{timeZoneName:w(p,f)};case"quarter":case"week":case"sec-frac":case"ms":f(`${p.desc} is not supported`)}}function k(p,f){let b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:E=>{throw E},y={timeZone:f},_=[];for(let E of p){let{error:C,field:I,str:R}=E;if(C){let re=new o(C.message,E);re.stack=C.stack,b(re)}if(R){let re=`Ignoring string part: ${R}`;b(new o(re,E,o.WARNING))}I&&(_.indexOf(I)===-1?_.push(I):b(new o(`Duplicate ${I} token`,E)));let B=x(E,(re,fe)=>b(new o(re,E,fe)));B&&Object.assign(y,B)}return y}let D={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"}},N=p=>p>="A"&&p<="Z"||p>="a"&&p<="z";function O(p,f){let b=p[f],y=1;for(;p[++f]===b;)++y;let _=D[b];if(!_){let E=`The letter ${b} is not a valid field identifier`;return{char:b,error:new Error(E),width:y}}return{char:b,field:_.field,desc:_.desc,width:y}}function J(p,f){let b=p[++f],y=2;if(b==="'")return{char:"'",str:b,width:y};for(;;){let _=p[++f];if(++y,_===void 0){let E=`Unterminated quoted literal in pattern: ${b||p}`;return{char:"'",error:new Error(E),str:b,width:y}}else if(_==="'"){if(p[++f]!=="'")return{char:"'",str:b,width:y};++y}b+=_}}function le(p,f){let b=p[f];if(!b)return null;if(N(b))return O(p,f);if(b==="'")return J(p,f);let y=b,_=1;for(;;){let E=p[++f];if(!E||N(E)||E==="'")return{char:b,str:y,width:_};y+=E,_+=1}}function _e(p){let f=[],b=0;for(;;){let y=le(p,b);if(!y)return f;f.push(y),b+=y.width}}function Ot(p,f,b,y){typeof f=="string"&&(f=_e(f)),typeof b=="function"&&(y=b,b=void 0);let _=k(f,b,y),E=new Intl.DateTimeFormat(p,_);return C=>E.format(C)}function _t(p,f,b,y){typeof f=="string"&&(f=_e(f)),typeof b=="function"&&(y=b,b=void 0);let _=k(f,b,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 nt extends Error{constructor(f,b){super(b),this.code=f}}class Ct extends nt{constructor(f,b){super("BAD_OPTION",`Unknown ${f} option: ${b}`),this.stem=f,this.option=b}}class X extends nt{constructor(f){super("BAD_STEM",`Unknown stem: ${f}`),this.stem=f}}class G extends nt{constructor(f,b){super("MASKED_VALUE",`Value for ${f} is set multiple times`),this.type=f,this.prev=b}}class xe extends nt{constructor(f){super("MISSING_OPTION",`Required option missing for ${f}`),this.stem=f}}class F extends nt{constructor(f,b){super("BAD_PATTERN",b),this.char=f}}class H extends nt{constructor(f,b,y){let _=y>1?`${y} options`:"one option";super("TOO_MANY_OPTIONS",`Token ${f} only supports ${_} (got ${b.length})`),this.stem=f,this.options=b}}function Y(p,f){let{numberingSystem:b}=f;return Array.isArray(p)||(p=[p]),b?p.map(y=>{let _=y.indexOf("-u-")===-1?"u-nu":"nu";return`${y}-${_}-${b}`}).concat(p):p}function Ie(p,f){let b=+p+f/2;return b-b%+f}function Xe(p){let{scale:f,unit:b}=p,y=typeof f=="number"&&f>=0?f:1;return b&&b.style==="percent"&&(y*=.01),y}function Qt(p){let f=Xe(p),{precision:b}=p;return b&&b.style==="precision-increment"?y=>Ie(y,b.increment)*f:y=>y*f}function Me(p){let f=Xe(p),{precision:b}=p;if(b&&b.style==="precision-increment"){let y=`+n + ${b.increment/2}`,_=`x - (x % +${b.increment})`;return f!==1&&(_=`(${_}) * ${f}`),`function(n) { var x = ${y}; return ${_}; }`}return f!==1?`function(n) { return n * ${f}; }`:null}function Ve(p,f){let{decimal:b,group:y,integerWidth:_,notation:E,precision:C,roundingMode:I,sign:R,unit:B,unitPer:re,unitWidth:fe}=p,Re=(rt,wt)=>{},Q={};if(B)switch(B.style){case"base-unit":Q.style="decimal";break;case"currency":Q.style="currency",Q.currency=B.currency;break;case"measure-unit":Q.style="unit",Q.unit=B.unit.replace(/.*-/,""),re&&(Q.unit+="-per-"+re.replace(/.*-/,""));break;case"percent":Q.style="percent";break}switch(fe){case"unit-width-full-name":Q.currencyDisplay="name",Q.unitDisplay="long";break;case"unit-width-hidden":break;case"unit-width-iso-code":Q.currencyDisplay="code";break;case"unit-width-narrow":Q.currencyDisplay="narrowSymbol",Q.unitDisplay="narrow";break;case"unit-width-short":Q.currencyDisplay="symbol",Q.unitDisplay="short";break}switch(y){case"group-off":Q.useGrouping=!1;break;case"group-auto":Q.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":Q.useGrouping=!0;break}if(C)switch(C.style){case"precision-fraction":{let{minFraction:rt,maxFraction:wt,minSignificant:Mt,maxSignificant:on,source:zn}=C;typeof rt=="number"&&(Q.minimumFractionDigits=rt,typeof Mt=="number"&&Re()),typeof wt=="number"&&(Q.maximumFractionDigits=wt),typeof Mt=="number"&&(Q.minimumSignificantDigits=Mt),typeof on=="number"&&(Q.maximumSignificantDigits=on);break}case"precision-integer":Q.maximumFractionDigits=0;break;case"precision-unlimited":Q.maximumFractionDigits=20;break;case"precision-increment":break;case"precision-currency-standard":Q.trailingZeroDisplay=C.trailingZero;break;case"precision-currency-cash":Re(C.style);break}if(E)switch(E.style){case"compact-short":Q.notation="compact",Q.compactDisplay="short";break;case"compact-long":Q.notation="compact",Q.compactDisplay="long";break;case"notation-simple":Q.notation="standard";break;case"scientific":case"engineering":{let{expDigits:rt,expSign:wt,source:Mt,style:on}=E;Q.notation=on;break}}if(_){let{min:rt,max:wt,source:Mt}=_;if(rt>0&&(Q.minimumIntegerDigits=rt),Number(wt)>0){let on=Q.notation==="engineering"||Q.notation==="scientific";wt===3&&on?Q.notation="engineering":Re()}}switch(R){case"sign-auto":Q.signDisplay="auto";break;case"sign-always":Q.signDisplay="always";break;case"sign-except-zero":Q.signDisplay="exceptZero";break;case"sign-never":Q.signDisplay="never";break;case"sign-accounting":Q.currencySign="accounting";break;case"sign-accounting-always":Q.currencySign="accounting",Q.signDisplay="always";break;case"sign-accounting-except-zero":Q.currencySign="accounting",Q.signDisplay="exceptZero";break}return Q}function ft(p,f,b){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 b(new F("¤",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 C=p[++f];if(++E,C===void 0){let I=`Unterminated quoted literal in pattern: ${_}`;return b(new F("'",I)),{char:y,str:_,width:E}}else if(C==="'"){if(p[++f]!=="'")return{char:y,str:_,width:E};++E}_+=C}}}return null}let Vn=p=>p>="0"&&p<="9";function at(p,f){let b=p[f];if(Vn(b)){let y=b;for(;;){let _=p[++f];if(Vn(_))y+=_;else return{char:"0",digits:y,width:y.length}}}switch(b){case"#":{let y=1;for(;p[++f]==="#";)++y;return{char:b,width:y}}case"@":{let y=1;for(;p[++f]==="@";)++y;let _=y;for(f-=1;p[++f]==="#";)++_;return{char:b,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:b,expDigits:_,plus:y,width:E};break}case".":case",":return{char:b,width:1}}return null}function Xt(p,f,b){let y;(function(B){B[B.Prefix=0]="Prefix",B[B.Number=1]="Number",B[B.Suffix=2]="Suffix"})(y||(y={}));let _=[],E=[],C=[],I=y.Prefix,R="";for(;f<p.length;){let B=p[f];if(B===";"){f+=1;break}switch(I){case y.Prefix:{let re=ft(p,f,b);if(re)R&&(_.push({char:"'",str:R,width:R.length}),R=""),_.push(re),f+=re.width;else{let fe=at(p,f);fe?(R&&(_.push({char:"'",str:R,width:R.length}),R=""),I=y.Number,E.push(fe),f+=fe.width):(R+=B,f+=1)}break}case y.Number:{let re=at(p,f);re?(E.push(re),f+=re.width):I=y.Suffix;break}case y.Suffix:{let re=ft(p,f,b);re?(R&&(C.push({char:"'",str:R,width:R.length}),R=""),C.push(re),f+=re.width):(R+=B,f+=1);break}}}return R&&C.push({char:"'",str:R,width:R.length}),{pattern:{prefix:_,number:E,suffix:C},pos:f}}function Ot(p,f){let{pattern:b,pos:y}=Xt(p,0,f);if(y<p.length){let{pattern:_}=Xt(p,y,f);return{tokens:b,negative:_}}return{tokens:b}}function Jn(p,f){let b={},y=!1,_=!1,E=0,C="",I=-1,R="",B=0;for(let fe=0;fe<p.length;++fe){let Re=p[fe];switch(Re.char){case"#":{if(I===-1){if(C){let Q="Pattern has # after integer digits";f(new F("#",Q))}E+=Re.width}else B+=Re.width;break}case"0":{if(I===-1)C+=Re.digits;else{if(B){let Q="Pattern has digits after # in fraction";f(new F("0",Q))}R+=Re.digits}break}case"@":{b.precision&&f(new G("precision",b.precision)),b.precision={style:"precision-fraction",minSignificant:Re.min,maxSignificant:Re.width};break}case",":y=!0;break;case".":if(I===1){let Q="Pattern has more than one decimal separator";f(new F(".",Q))}I=fe;break;case"E":{if(_&&f(new G("exponent",b.notation)),y){let Q="Exponential patterns may not contain grouping separators";f(new F("E",Q))}b.notation={style:"scientific"},Re.expDigits>1&&(b.notation.expDigits=Re.expDigits),Re.plus&&(b.notation.expSign="sign-always"),_=!0}}}y?b.group="group-auto":E+C.length>3&&(b.group="group-off");let re=+`${C||"0"}.${R}`;if(re&&(b.precision={style:"precision-increment",increment:re}),!_)C.length>1&&(b.integerWidth={min:C.length}),!b.precision&&(R.length||B)&&(b.precision={style:"precision-fraction",minFraction:R.length,maxFraction:R.length+B});else if((!b.precision||re)&&(b.integerWidth=E?{min:1,max:E+C.length}:{min:Math.max(1,C.length)}),b.precision)re||(b.integerWidth={min:1,max:1});else{let fe=C.length+R.length;I===-1?fe>0&&(b.precision={style:"precision-fraction",maxSignificant:fe}):(b.precision={style:"precision-fraction",maxSignificant:Math.max(1,fe)+B},fe>1&&(b.precision.minSignificant=fe))}return b}function $a(p,f,b,y,_){let E=!1,C="";for(let I of p)switch(I.char){case"%":f.unit={style:I.style},_?E=!0:C="";break;case"¤":if(!b){let R="The ¤ pattern requires a currency";y(new F("¤",R));break}switch(f.unit={style:"currency",currency:b},I.currency){case"iso-code":f.unitWidth="unit-width-iso-code";break;case"full-name":f.unitWidth="unit-width-full-name";break;case"narrow":f.unitWidth="unit-width-narrow";break}_?E=!0:C="";break;case"*":break;case"+":E||(C+="+");break;case"'":E||(C+=I.str);break}return C}function _s(p,f){let b=!1,y="";for(let _ of p)switch(_.char){case"%":case"¤":f?b=!0:y="";break;case"-":b||(y+="-");break;case"'":b||(y+=_.str);break}return y}function ws(p,f){let b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:R=>{throw R},{tokens:y,negative:_}=Ot(p,b),E=Jn(y.number,b),C=$a(y.prefix,E,f,b,!0),I=$a(y.suffix,E,f,b,!1);if(_){let R=_s(_.prefix,!0),B=_s(_.suffix,!1);E.affix={pos:[C,I],neg:[R,B]},E.sign="sign-never"}else(C||I)&&(E.affix={pos:[C,I]});return E}function m9(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 ym(p){let f=["acceleration","angle","area","concentr","consumption","digital","duration","electric","energy","force","frequency","graphics","length","light","mass","power","pressure","speed","temperature","torque","volume"],[b]=p.split("-",1);return f.indexOf(b)!==-1}let _m={"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},wm={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function f9(p){return p in _m}function g9(p){return p in wm}function v9(p,f,b){if(f9(p)){let y=_m[p];if(f.length>y){if(y===0)for(let _ of f)b(new Ct(p,_));else b(new H(p,f,y));return!1}else if(g9(p)&&f.length<wm[p])return b(new xe(p)),!1}return!0}function Bu(p,f){let b=f==="fraction"?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/,y=p&&p.match(b);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 b9(p,f,b){let y=Bu(p,"fraction");if(y){f.length>1&&b(new H(p,f,1));let E={style:"precision-fraction",source:p,minFraction:y.min};y.max!=null&&(E.maxFraction=y.max);let C=f[0],I=Bu(C,"significant");return I?(E.source=`${p}/${C}`,E.minSignificant=I.min,I.max!=null&&(E.maxSignificant=I.max)):C&&b(new Ct(p,C)),E}let _=Bu(p,"significant");if(_){for(let C of f)b(new Ct(p,C));let E={style:"precision-fraction",source:p,minSignificant:_.min};return _.max!=null&&(E.maxSignificant=_.max),E}return null}class y9{constructor(f){this.skeleton={},this.onError=f}badOption(f,b){this.onError(new Ct(f,b))}assertEmpty(f){let b=this.skeleton[f];b&&this.onError(new G(f,b))}parseToken(f,b){if(!v9(f,b,this.onError))return;let y=b[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,C;for(let R of b)switch(R){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":C=R;break;default:/^\+e+$/.test(R)?E=R.length-1:this.badOption(f,R)}this.assertEmpty("notation");let I=b.join("/");_.notation=E&&C?{style:f,source:I,expDigits:E,expSign:C}:E?{style:f,source:I,expDigits:E}:C?{style:f,source:I,expSign:C}:{style:f,source:I};break}case"percent":case"permille":case"base-unit":this.assertEmpty("unit"),_.unit={style:f};break;case"currency":/^[A-Z]{3}$/.test(y)?(this.assertEmpty("unit"),_.unit={style:f,currency:y}):this.badOption(f,y);break;case"measure-unit":{ym(y)?(this.assertEmpty("unit"),_.unit={style:f,unit:y}):this.badOption(f,y);break}case"per-measure-unit":{ym(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":{m9(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=b9(f,b,this.onError);E?(this.assertEmpty("precision"),_.precision=E):this.onError(new X(f))}}}}function xm(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_=>{throw _},b=[];for(let _ of p.split(" "))if(_){let E=_.split("/"),C=E.shift()||"";b.push({stem:C,options:E})}let y=new y9(f);for(let{stem:_,options:E}of b)y.parseToken(_,E);return y.skeleton}function _9(p,f,b,y){typeof f=="string"&&(f=f.indexOf("::")===0?xm(f.slice(2),y):ws(f,b,y));let _=Y(p,f),E=Ve(f),C=Qt(f),I=new Intl.NumberFormat(_,E);if(f.affix){let[R,B]=f.affix.pos,[re,fe]=f.affix.neg||["",""];return Re=>{let Q=I.format(C(Re));return Re<0?`${re}${Q}${fe}`:`${R}${Q}${B}`}}return R=>I.format(C(R))}function w9(p,f,b,y){typeof f=="string"&&(f=f.indexOf("::")===0?xm(f.slice(2),y):ws(f,b,y));let _=Y(p,f),E=Ve(f),C=Me(f),I=["(function() {",`var opt = ${JSON.stringify(E)};`,`var nf = new Intl.NumberFormat(${JSON.stringify(_)}, opt);`],R="nf.format(value)";if(C&&(I.push(`var mod = ${C};`),R="nf.format(mod(value))"),f.affix){let[B,re]=f.affix.pos.map(fe=>JSON.stringify(fe));if(f.affix.neg){let[fe,Re]=f.affix.neg.map(Q=>JSON.stringify(Q));R=`value < 0 ? ${fe} + ${R} + ${Re} : ${B} + ${R} + ${re}`}else R=`${B} + ${R} + ${re}`}return I.push(`return function(value) { return ${R}; }`),I.join(`
3
+ })()`}class nt extends Error{constructor(f,b){super(b),this.code=f}}class Ct extends nt{constructor(f,b){super("BAD_OPTION",`Unknown ${f} option: ${b}`),this.stem=f,this.option=b}}class X extends nt{constructor(f){super("BAD_STEM",`Unknown stem: ${f}`),this.stem=f}}class G extends nt{constructor(f,b){super("MASKED_VALUE",`Value for ${f} is set multiple times`),this.type=f,this.prev=b}}class xe extends nt{constructor(f){super("MISSING_OPTION",`Required option missing for ${f}`),this.stem=f}}class F extends nt{constructor(f,b){super("BAD_PATTERN",b),this.char=f}}class H extends nt{constructor(f,b,y){let _=y>1?`${y} options`:"one option";super("TOO_MANY_OPTIONS",`Token ${f} only supports ${_} (got ${b.length})`),this.stem=f,this.options=b}}function Y(p,f){let{numberingSystem:b}=f;return Array.isArray(p)||(p=[p]),b?p.map(y=>{let _=y.indexOf("-u-")===-1?"u-nu":"nu";return`${y}-${_}-${b}`}).concat(p):p}function Ie(p,f){let b=+p+f/2;return b-b%+f}function Xe(p){let{scale:f,unit:b}=p,y=typeof f=="number"&&f>=0?f:1;return b&&b.style==="percent"&&(y*=.01),y}function Qt(p){let f=Xe(p),{precision:b}=p;return b&&b.style==="precision-increment"?y=>Ie(y,b.increment)*f:y=>y*f}function Me(p){let f=Xe(p),{precision:b}=p;if(b&&b.style==="precision-increment"){let y=`+n + ${b.increment/2}`,_=`x - (x % +${b.increment})`;return f!==1&&(_=`(${_}) * ${f}`),`function(n) { var x = ${y}; return ${_}; }`}return f!==1?`function(n) { return n * ${f}; }`:null}function Ve(p,f){let{decimal:b,group:y,integerWidth:_,notation:E,precision:C,roundingMode:I,sign:R,unit:B,unitPer:re,unitWidth:fe}=p,Re=(rt,wt)=>{},Q={};if(B)switch(B.style){case"base-unit":Q.style="decimal";break;case"currency":Q.style="currency",Q.currency=B.currency;break;case"measure-unit":Q.style="unit",Q.unit=B.unit.replace(/.*-/,""),re&&(Q.unit+="-per-"+re.replace(/.*-/,""));break;case"percent":Q.style="percent";break}switch(fe){case"unit-width-full-name":Q.currencyDisplay="name",Q.unitDisplay="long";break;case"unit-width-hidden":break;case"unit-width-iso-code":Q.currencyDisplay="code";break;case"unit-width-narrow":Q.currencyDisplay="narrowSymbol",Q.unitDisplay="narrow";break;case"unit-width-short":Q.currencyDisplay="symbol",Q.unitDisplay="short";break}switch(y){case"group-off":Q.useGrouping=!1;break;case"group-auto":Q.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":Q.useGrouping=!0;break}if(C)switch(C.style){case"precision-fraction":{let{minFraction:rt,maxFraction:wt,minSignificant:At,maxSignificant:on,source:zn}=C;typeof rt=="number"&&(Q.minimumFractionDigits=rt,typeof At=="number"&&Re()),typeof wt=="number"&&(Q.maximumFractionDigits=wt),typeof At=="number"&&(Q.minimumSignificantDigits=At),typeof on=="number"&&(Q.maximumSignificantDigits=on);break}case"precision-integer":Q.maximumFractionDigits=0;break;case"precision-unlimited":Q.maximumFractionDigits=20;break;case"precision-increment":break;case"precision-currency-standard":Q.trailingZeroDisplay=C.trailingZero;break;case"precision-currency-cash":Re(C.style);break}if(E)switch(E.style){case"compact-short":Q.notation="compact",Q.compactDisplay="short";break;case"compact-long":Q.notation="compact",Q.compactDisplay="long";break;case"notation-simple":Q.notation="standard";break;case"scientific":case"engineering":{let{expDigits:rt,expSign:wt,source:At,style:on}=E;Q.notation=on;break}}if(_){let{min:rt,max:wt,source:At}=_;if(rt>0&&(Q.minimumIntegerDigits=rt),Number(wt)>0){let on=Q.notation==="engineering"||Q.notation==="scientific";wt===3&&on?Q.notation="engineering":Re()}}switch(R){case"sign-auto":Q.signDisplay="auto";break;case"sign-always":Q.signDisplay="always";break;case"sign-except-zero":Q.signDisplay="exceptZero";break;case"sign-never":Q.signDisplay="never";break;case"sign-accounting":Q.currencySign="accounting";break;case"sign-accounting-always":Q.currencySign="accounting",Q.signDisplay="always";break;case"sign-accounting-except-zero":Q.currencySign="accounting",Q.signDisplay="exceptZero";break}return Q}function ft(p,f,b){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 b(new F("¤",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 C=p[++f];if(++E,C===void 0){let I=`Unterminated quoted literal in pattern: ${_}`;return b(new F("'",I)),{char:y,str:_,width:E}}else if(C==="'"){if(p[++f]!=="'")return{char:y,str:_,width:E};++E}_+=C}}}return null}let Vn=p=>p>="0"&&p<="9";function at(p,f){let b=p[f];if(Vn(b)){let y=b;for(;;){let _=p[++f];if(Vn(_))y+=_;else return{char:"0",digits:y,width:y.length}}}switch(b){case"#":{let y=1;for(;p[++f]==="#";)++y;return{char:b,width:y}}case"@":{let y=1;for(;p[++f]==="@";)++y;let _=y;for(f-=1;p[++f]==="#";)++_;return{char:b,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:b,expDigits:_,plus:y,width:E};break}case".":case",":return{char:b,width:1}}return null}function Xt(p,f,b){let y;(function(B){B[B.Prefix=0]="Prefix",B[B.Number=1]="Number",B[B.Suffix=2]="Suffix"})(y||(y={}));let _=[],E=[],C=[],I=y.Prefix,R="";for(;f<p.length;){let B=p[f];if(B===";"){f+=1;break}switch(I){case y.Prefix:{let re=ft(p,f,b);if(re)R&&(_.push({char:"'",str:R,width:R.length}),R=""),_.push(re),f+=re.width;else{let fe=at(p,f);fe?(R&&(_.push({char:"'",str:R,width:R.length}),R=""),I=y.Number,E.push(fe),f+=fe.width):(R+=B,f+=1)}break}case y.Number:{let re=at(p,f);re?(E.push(re),f+=re.width):I=y.Suffix;break}case y.Suffix:{let re=ft(p,f,b);re?(R&&(C.push({char:"'",str:R,width:R.length}),R=""),C.push(re),f+=re.width):(R+=B,f+=1);break}}}return R&&C.push({char:"'",str:R,width:R.length}),{pattern:{prefix:_,number:E,suffix:C},pos:f}}function Mt(p,f){let{pattern:b,pos:y}=Xt(p,0,f);if(y<p.length){let{pattern:_}=Xt(p,y,f);return{tokens:b,negative:_}}return{tokens:b}}function Jn(p,f){let b={},y=!1,_=!1,E=0,C="",I=-1,R="",B=0;for(let fe=0;fe<p.length;++fe){let Re=p[fe];switch(Re.char){case"#":{if(I===-1){if(C){let Q="Pattern has # after integer digits";f(new F("#",Q))}E+=Re.width}else B+=Re.width;break}case"0":{if(I===-1)C+=Re.digits;else{if(B){let Q="Pattern has digits after # in fraction";f(new F("0",Q))}R+=Re.digits}break}case"@":{b.precision&&f(new G("precision",b.precision)),b.precision={style:"precision-fraction",minSignificant:Re.min,maxSignificant:Re.width};break}case",":y=!0;break;case".":if(I===1){let Q="Pattern has more than one decimal separator";f(new F(".",Q))}I=fe;break;case"E":{if(_&&f(new G("exponent",b.notation)),y){let Q="Exponential patterns may not contain grouping separators";f(new F("E",Q))}b.notation={style:"scientific"},Re.expDigits>1&&(b.notation.expDigits=Re.expDigits),Re.plus&&(b.notation.expSign="sign-always"),_=!0}}}y?b.group="group-auto":E+C.length>3&&(b.group="group-off");let re=+`${C||"0"}.${R}`;if(re&&(b.precision={style:"precision-increment",increment:re}),!_)C.length>1&&(b.integerWidth={min:C.length}),!b.precision&&(R.length||B)&&(b.precision={style:"precision-fraction",minFraction:R.length,maxFraction:R.length+B});else if((!b.precision||re)&&(b.integerWidth=E?{min:1,max:E+C.length}:{min:Math.max(1,C.length)}),b.precision)re||(b.integerWidth={min:1,max:1});else{let fe=C.length+R.length;I===-1?fe>0&&(b.precision={style:"precision-fraction",maxSignificant:fe}):(b.precision={style:"precision-fraction",maxSignificant:Math.max(1,fe)+B},fe>1&&(b.precision.minSignificant=fe))}return b}function $a(p,f,b,y,_){let E=!1,C="";for(let I of p)switch(I.char){case"%":f.unit={style:I.style},_?E=!0:C="";break;case"¤":if(!b){let R="The ¤ pattern requires a currency";y(new F("¤",R));break}switch(f.unit={style:"currency",currency:b},I.currency){case"iso-code":f.unitWidth="unit-width-iso-code";break;case"full-name":f.unitWidth="unit-width-full-name";break;case"narrow":f.unitWidth="unit-width-narrow";break}_?E=!0:C="";break;case"*":break;case"+":E||(C+="+");break;case"'":E||(C+=I.str);break}return C}function _s(p,f){let b=!1,y="";for(let _ of p)switch(_.char){case"%":case"¤":f?b=!0:y="";break;case"-":b||(y+="-");break;case"'":b||(y+=_.str);break}return y}function ws(p,f){let b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:R=>{throw R},{tokens:y,negative:_}=Mt(p,b),E=Jn(y.number,b),C=$a(y.prefix,E,f,b,!0),I=$a(y.suffix,E,f,b,!1);if(_){let R=_s(_.prefix,!0),B=_s(_.suffix,!1);E.affix={pos:[C,I],neg:[R,B]},E.sign="sign-never"}else(C||I)&&(E.affix={pos:[C,I]});return E}function m9(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 ym(p){let f=["acceleration","angle","area","concentr","consumption","digital","duration","electric","energy","force","frequency","graphics","length","light","mass","power","pressure","speed","temperature","torque","volume"],[b]=p.split("-",1);return f.indexOf(b)!==-1}let _m={"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},wm={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function f9(p){return p in _m}function g9(p){return p in wm}function v9(p,f,b){if(f9(p)){let y=_m[p];if(f.length>y){if(y===0)for(let _ of f)b(new Ct(p,_));else b(new H(p,f,y));return!1}else if(g9(p)&&f.length<wm[p])return b(new xe(p)),!1}return!0}function Bu(p,f){let b=f==="fraction"?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/,y=p&&p.match(b);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 b9(p,f,b){let y=Bu(p,"fraction");if(y){f.length>1&&b(new H(p,f,1));let E={style:"precision-fraction",source:p,minFraction:y.min};y.max!=null&&(E.maxFraction=y.max);let C=f[0],I=Bu(C,"significant");return I?(E.source=`${p}/${C}`,E.minSignificant=I.min,I.max!=null&&(E.maxSignificant=I.max)):C&&b(new Ct(p,C)),E}let _=Bu(p,"significant");if(_){for(let C of f)b(new Ct(p,C));let E={style:"precision-fraction",source:p,minSignificant:_.min};return _.max!=null&&(E.maxSignificant=_.max),E}return null}class y9{constructor(f){this.skeleton={},this.onError=f}badOption(f,b){this.onError(new Ct(f,b))}assertEmpty(f){let b=this.skeleton[f];b&&this.onError(new G(f,b))}parseToken(f,b){if(!v9(f,b,this.onError))return;let y=b[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,C;for(let R of b)switch(R){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":C=R;break;default:/^\+e+$/.test(R)?E=R.length-1:this.badOption(f,R)}this.assertEmpty("notation");let I=b.join("/");_.notation=E&&C?{style:f,source:I,expDigits:E,expSign:C}:E?{style:f,source:I,expDigits:E}:C?{style:f,source:I,expSign:C}:{style:f,source:I};break}case"percent":case"permille":case"base-unit":this.assertEmpty("unit"),_.unit={style:f};break;case"currency":/^[A-Z]{3}$/.test(y)?(this.assertEmpty("unit"),_.unit={style:f,currency:y}):this.badOption(f,y);break;case"measure-unit":{ym(y)?(this.assertEmpty("unit"),_.unit={style:f,unit:y}):this.badOption(f,y);break}case"per-measure-unit":{ym(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":{m9(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=b9(f,b,this.onError);E?(this.assertEmpty("precision"),_.precision=E):this.onError(new X(f))}}}}function xm(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_=>{throw _},b=[];for(let _ of p.split(" "))if(_){let E=_.split("/"),C=E.shift()||"";b.push({stem:C,options:E})}let y=new y9(f);for(let{stem:_,options:E}of b)y.parseToken(_,E);return y.skeleton}function _9(p,f,b,y){typeof f=="string"&&(f=f.indexOf("::")===0?xm(f.slice(2),y):ws(f,b,y));let _=Y(p,f),E=Ve(f),C=Qt(f),I=new Intl.NumberFormat(_,E);if(f.affix){let[R,B]=f.affix.pos,[re,fe]=f.affix.neg||["",""];return Re=>{let Q=I.format(C(Re));return Re<0?`${re}${Q}${fe}`:`${R}${Q}${B}`}}return R=>I.format(C(R))}function w9(p,f,b,y){typeof f=="string"&&(f=f.indexOf("::")===0?xm(f.slice(2),y):ws(f,b,y));let _=Y(p,f),E=Ve(f),C=Me(f),I=["(function() {",`var opt = ${JSON.stringify(E)};`,`var nf = new Intl.NumberFormat(${JSON.stringify(_)}, opt);`],R="nf.format(value)";if(C&&(I.push(`var mod = ${C};`),R="nf.format(mod(value))"),f.affix){let[B,re]=f.affix.pos.map(fe=>JSON.stringify(fe));if(f.affix.neg){let[fe,Re]=f.affix.neg.map(Q=>JSON.stringify(Q));R=`value < 0 ? ${fe} + ${R} + ${Re} : ${B} + ${R} + ${re}`}else R=`${B} + ${R} + ${re}`}return I.push(`return function(value) { return ${R}; }`),I.join(`
4
4
  `)+`
5
5
  })()`}var Hu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function x9(p){return p&&p.__esModule&&Object.prototype.hasOwnProperty.call(p,"default")?p.default:p}var no={},Em={},Sm={exports:{}};(function(p){(function(f,b){p.exports?p.exports=b():f.moo=b()})(Hu,function(){var f=Object.prototype.hasOwnProperty,b=Object.prototype.toString,y=typeof new RegExp().sticky=="boolean";function _(M){return M&&b.call(M)==="[object RegExp]"}function E(M){return M&&typeof M=="object"&&!_(M)&&!Array.isArray(M)}function C(M){return M.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function I(M){var $=new RegExp("|"+M);return $.exec("").length-1}function R(M){return"("+M+")"}function B(M){if(!M.length)return"(?!)";var $=M.map(function(ne){return"(?:"+ne+")"}).join("|");return"(?:"+$+")"}function re(M){if(typeof M=="string")return"(?:"+C(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 fe(M,$){return M.length>$?M:Array($-M.length+1).join(" ")+M}function Re(M,$){for(var ne=M.length,ie=0;;){var we=M.lastIndexOf(`
6
6
  `,ne-1);if(we===-1||(ie++,ne=we,ie===$)||ne===0)break}var he=ie<$?0:ne+1;return M.substring(he).split(`
7
- `)}function Q(M){for(var $=Object.getOwnPropertyNames(M),ne=[],ie=0;ie<$.length;ie++){var we=$[ie],he=M[we],Ae=[].concat(he);if(we==="include"){for(var dt=0;dt<Ae.length;dt++)ne.push({include:Ae[dt]});continue}var We=[];Ae.forEach(function(ve){E(ve)?(We.length&&ne.push(wt(we,We)),ne.push(wt(we,ve)),We=[]):We.push(ve)}),We.length&&ne.push(wt(we,We))}return ne}function rt(M){for(var $=[],ne=0;ne<M.length;ne++){var ie=M[ne];if(ie.include){for(var we=[].concat(ie.include),he=0;he<we.length;he++)$.push({include:we[he]});continue}if(!ie.type)throw new Error("Rule has no type: "+JSON.stringify(ie));$.push(wt(ie.type,ie))}return $}function wt(M,$){if(E($)||($={match:$}),$.include)throw new Error("Matching rules cannot also include states");var ne={defaultType:M,lineBreaks:!!$.error||!!$.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var ie in $)f.call($,ie)&&(ne[ie]=$[ie]);if(typeof ne.type=="string"&&M!==ne.type)throw new Error("Type transform cannot be a string (type '"+ne.type+"' for token '"+M+"')");var we=ne.match;return ne.match=Array.isArray(we)?we:we?[we]:[],ne.match.sort(function(he,Ae){return _(he)&&_(Ae)?0:_(Ae)?-1:_(he)?1:Ae.length-he.length}),ne}function Mt(M){return Array.isArray(M)?rt(M):Q(M)}var on=wt("error",{lineBreaks:!0,shouldThrow:!0});function zn(M,$){for(var ne=null,ie=Object.create(null),we=!0,he=null,Ae=[],dt=[],We=0;We<M.length;We++)M[We].fallback&&(we=!1);for(var We=0;We<M.length;We++){var ve=M[We];if(ve.include)throw new Error("Inheritance is not allowed in stateless lexers");if(ve.error||ve.fallback){if(ne)throw!ve.fallback==!ne.fallback?new Error("Multiple "+(ve.fallback?"fallback":"error")+" rules not allowed (for token '"+ve.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+ve.defaultType+"')");ne=ve}var Dt=ve.match.slice();if(we)for(;Dt.length&&typeof Dt[0]=="string"&&Dt[0].length===1;){var ei=Dt.shift();ie[ei.charCodeAt(0)]=ve}if(ve.pop||ve.push||ve.next){if(!$)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+ve.defaultType+"')");if(ve.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+ve.defaultType+"')")}if(Dt.length!==0){we=!1,Ae.push(ve);for(var na=0;na<Dt.length;na++){var yr=Dt[na];if(_(yr)){if(he===null)he=yr.unicode;else if(he!==yr.unicode&&ve.fallback===!1)throw new Error("If one rule is /u then all must be")}}var ti=B(Dt.map(re)),Bn=new RegExp(ti);if(Bn.test(""))throw new Error("RegExp matches empty string: "+Bn);var ro=I(ti);if(ro>0)throw new Error("RegExp has capture groups: "+Bn+`
7
+ `)}function Q(M){for(var $=Object.getOwnPropertyNames(M),ne=[],ie=0;ie<$.length;ie++){var we=$[ie],he=M[we],Ae=[].concat(he);if(we==="include"){for(var dt=0;dt<Ae.length;dt++)ne.push({include:Ae[dt]});continue}var We=[];Ae.forEach(function(ve){E(ve)?(We.length&&ne.push(wt(we,We)),ne.push(wt(we,ve)),We=[]):We.push(ve)}),We.length&&ne.push(wt(we,We))}return ne}function rt(M){for(var $=[],ne=0;ne<M.length;ne++){var ie=M[ne];if(ie.include){for(var we=[].concat(ie.include),he=0;he<we.length;he++)$.push({include:we[he]});continue}if(!ie.type)throw new Error("Rule has no type: "+JSON.stringify(ie));$.push(wt(ie.type,ie))}return $}function wt(M,$){if(E($)||($={match:$}),$.include)throw new Error("Matching rules cannot also include states");var ne={defaultType:M,lineBreaks:!!$.error||!!$.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var ie in $)f.call($,ie)&&(ne[ie]=$[ie]);if(typeof ne.type=="string"&&M!==ne.type)throw new Error("Type transform cannot be a string (type '"+ne.type+"' for token '"+M+"')");var we=ne.match;return ne.match=Array.isArray(we)?we:we?[we]:[],ne.match.sort(function(he,Ae){return _(he)&&_(Ae)?0:_(Ae)?-1:_(he)?1:Ae.length-he.length}),ne}function At(M){return Array.isArray(M)?rt(M):Q(M)}var on=wt("error",{lineBreaks:!0,shouldThrow:!0});function zn(M,$){for(var ne=null,ie=Object.create(null),we=!0,he=null,Ae=[],dt=[],We=0;We<M.length;We++)M[We].fallback&&(we=!1);for(var We=0;We<M.length;We++){var ve=M[We];if(ve.include)throw new Error("Inheritance is not allowed in stateless lexers");if(ve.error||ve.fallback){if(ne)throw!ve.fallback==!ne.fallback?new Error("Multiple "+(ve.fallback?"fallback":"error")+" rules not allowed (for token '"+ve.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+ve.defaultType+"')");ne=ve}var Dt=ve.match.slice();if(we)for(;Dt.length&&typeof Dt[0]=="string"&&Dt[0].length===1;){var ei=Dt.shift();ie[ei.charCodeAt(0)]=ve}if(ve.pop||ve.push||ve.next){if(!$)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+ve.defaultType+"')");if(ve.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+ve.defaultType+"')")}if(Dt.length!==0){we=!1,Ae.push(ve);for(var na=0;na<Dt.length;na++){var yr=Dt[na];if(_(yr)){if(he===null)he=yr.unicode;else if(he!==yr.unicode&&ve.fallback===!1)throw new Error("If one rule is /u then all must be")}}var ti=B(Dt.map(re)),Bn=new RegExp(ti);if(Bn.test(""))throw new Error("RegExp matches empty string: "+Bn);var ro=I(ti);if(ro>0)throw new Error("RegExp has capture groups: "+Bn+`
8
8
  Use (?: … ) instead`);if(!ve.lineBreaks&&Bn.test(`
9
- `))throw new Error("Rule should declare lineBreaks: "+Bn);dt.push(R(ti))}}var ni=ne&&ne.fallback,io=y&&!ni?"ym":"gm",Is=y||ni?"":"|";he===!0&&(io+="u");var tq=new RegExp(B(dt)+Is,io);return{regexp:tq,groups:Ae,fast:ie,error:ne||on}}function Ga(M){var $=zn(Mt(M));return new bt({start:$},"start")}function Ca(M,$,ne){var ie=M&&(M.push||M.next);if(ie&&!ne[ie])throw new Error("Missing state '"+ie+"' (in token '"+M.defaultType+"' of state '"+$+"')");if(M&&M.pop&&+M.pop!=1)throw new Error("pop must be 1 (in token '"+M.defaultType+"' of state '"+$+"')")}function Da(M,$){var ne=M.$all?Mt(M.$all):[];delete M.$all;var ie=Object.getOwnPropertyNames(M);$||($=ie[0]);for(var we=Object.create(null),he=0;he<ie.length;he++){var Ae=ie[he];we[Ae]=Mt(M[Ae]).concat(ne)}for(var he=0;he<ie.length;he++)for(var Ae=ie[he],dt=we[Ae],We=Object.create(null),ve=0;ve<dt.length;ve++){var Dt=dt[ve];if(Dt.include){var ei=[ve,1];if(Dt.include!==Ae&&!We[Dt.include]){We[Dt.include]=!0;var na=we[Dt.include];if(!na)throw new Error("Cannot include nonexistent state '"+Dt.include+"' (in state '"+Ae+"')");for(var yr=0;yr<na.length;yr++){var ti=na[yr];dt.indexOf(ti)===-1&&ei.push(ti)}}dt.splice.apply(dt,ei),ve--}}for(var Bn=Object.create(null),he=0;he<ie.length;he++){var Ae=ie[he];Bn[Ae]=zn(we[Ae],!0)}for(var he=0;he<ie.length;he++){for(var ro=ie[he],ni=Bn[ro],io=ni.groups,ve=0;ve<io.length;ve++)Ca(io[ve],ro,Bn);for(var Is=Object.getOwnPropertyNames(ni.fast),ve=0;ve<Is.length;ve++)Ca(ni.fast[Is[ve]],ro,Bn)}return new bt(Bn,$)}function Ia(M){for(var $=typeof Map<"u",ne=$?new Map:Object.create(null),ie=Object.getOwnPropertyNames(M),we=0;we<ie.length;we++){var he=ie[we],Ae=M[he],dt=Array.isArray(Ae)?Ae:[Ae];dt.forEach(function(We){if(typeof We!="string")throw new Error("keyword must be string (in keyword '"+he+"')");$?ne.set(We,he):ne[We]=he})}return function(We){return $?ne.get(We):ne[We]}}var bt=function(M,$){this.startState=$,this.states=M,this.buffer="",this.stack=[],this.reset()};bt.prototype.reset=function(M,$){return this.buffer=M||"",this.index=0,this.line=$?$.line:1,this.col=$?$.col:1,this.queuedToken=$?$.queuedToken:null,this.queuedText=$?$.queuedText:"",this.queuedThrow=$?$.queuedThrow:null,this.setState($?$.state:this.startState),this.stack=$&&$.stack?$.stack.slice():[],this},bt.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}},bt.prototype.setState=function(M){if(!(!M||this.state===M)){this.state=M;var $=this.states[M];this.groups=$.groups,this.error=$.error,this.re=$.regexp,this.fast=$.fast}},bt.prototype.popState=function(){this.setState(this.stack.pop())},bt.prototype.pushState=function(M){this.stack.push(this.state),this.setState(M)};var Cs=y?function(M,$){return M.exec($)}:function(M,$){var ne=M.exec($);return ne[0].length===0?null:ne};bt.prototype._getGroup=function(M){for(var $=this.groups.length,ne=0;ne<$;ne++)if(M[ne+1]!==void 0)return this.groups[ne];throw new Error("Cannot find token type for matched text")};function Ds(){return this.value}if(bt.prototype.next=function(){var M=this.index;if(this.queuedGroup){var $=this._token(this.queuedGroup,this.queuedText,M);return this.queuedGroup=null,this.queuedText="",$}var ne=this.buffer;if(M!==ne.length){var Ae=this.fast[ne.charCodeAt(M)];if(Ae)return this._token(Ae,ne.charAt(M),M);var ie=this.re;ie.lastIndex=M;var we=Cs(ie,ne),he=this.error;if(we==null)return this._token(he,ne.slice(M,ne.length),M);var Ae=this._getGroup(we),dt=we[0];return he.fallback&&we.index!==M?(this.queuedGroup=Ae,this.queuedText=dt,this._token(he,ne.slice(M,we.index),M)):this._token(Ae,dt,M)}},bt.prototype._token=function(M,$,ne){var ie=0;if(M.lineBreaks){var we=/\n/g,he=1;if($===`
9
+ `))throw new Error("Rule should declare lineBreaks: "+Bn);dt.push(R(ti))}}var ni=ne&&ne.fallback,io=y&&!ni?"ym":"gm",Is=y||ni?"":"|";he===!0&&(io+="u");var tq=new RegExp(B(dt)+Is,io);return{regexp:tq,groups:Ae,fast:ie,error:ne||on}}function Ga(M){var $=zn(At(M));return new bt({start:$},"start")}function Ca(M,$,ne){var ie=M&&(M.push||M.next);if(ie&&!ne[ie])throw new Error("Missing state '"+ie+"' (in token '"+M.defaultType+"' of state '"+$+"')");if(M&&M.pop&&+M.pop!=1)throw new Error("pop must be 1 (in token '"+M.defaultType+"' of state '"+$+"')")}function Da(M,$){var ne=M.$all?At(M.$all):[];delete M.$all;var ie=Object.getOwnPropertyNames(M);$||($=ie[0]);for(var we=Object.create(null),he=0;he<ie.length;he++){var Ae=ie[he];we[Ae]=At(M[Ae]).concat(ne)}for(var he=0;he<ie.length;he++)for(var Ae=ie[he],dt=we[Ae],We=Object.create(null),ve=0;ve<dt.length;ve++){var Dt=dt[ve];if(Dt.include){var ei=[ve,1];if(Dt.include!==Ae&&!We[Dt.include]){We[Dt.include]=!0;var na=we[Dt.include];if(!na)throw new Error("Cannot include nonexistent state '"+Dt.include+"' (in state '"+Ae+"')");for(var yr=0;yr<na.length;yr++){var ti=na[yr];dt.indexOf(ti)===-1&&ei.push(ti)}}dt.splice.apply(dt,ei),ve--}}for(var Bn=Object.create(null),he=0;he<ie.length;he++){var Ae=ie[he];Bn[Ae]=zn(we[Ae],!0)}for(var he=0;he<ie.length;he++){for(var ro=ie[he],ni=Bn[ro],io=ni.groups,ve=0;ve<io.length;ve++)Ca(io[ve],ro,Bn);for(var Is=Object.getOwnPropertyNames(ni.fast),ve=0;ve<Is.length;ve++)Ca(ni.fast[Is[ve]],ro,Bn)}return new bt(Bn,$)}function Ia(M){for(var $=typeof Map<"u",ne=$?new Map:Object.create(null),ie=Object.getOwnPropertyNames(M),we=0;we<ie.length;we++){var he=ie[we],Ae=M[he],dt=Array.isArray(Ae)?Ae:[Ae];dt.forEach(function(We){if(typeof We!="string")throw new Error("keyword must be string (in keyword '"+he+"')");$?ne.set(We,he):ne[We]=he})}return function(We){return $?ne.get(We):ne[We]}}var bt=function(M,$){this.startState=$,this.states=M,this.buffer="",this.stack=[],this.reset()};bt.prototype.reset=function(M,$){return this.buffer=M||"",this.index=0,this.line=$?$.line:1,this.col=$?$.col:1,this.queuedToken=$?$.queuedToken:null,this.queuedText=$?$.queuedText:"",this.queuedThrow=$?$.queuedThrow:null,this.setState($?$.state:this.startState),this.stack=$&&$.stack?$.stack.slice():[],this},bt.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}},bt.prototype.setState=function(M){if(!(!M||this.state===M)){this.state=M;var $=this.states[M];this.groups=$.groups,this.error=$.error,this.re=$.regexp,this.fast=$.fast}},bt.prototype.popState=function(){this.setState(this.stack.pop())},bt.prototype.pushState=function(M){this.stack.push(this.state),this.setState(M)};var Cs=y?function(M,$){return M.exec($)}:function(M,$){var ne=M.exec($);return ne[0].length===0?null:ne};bt.prototype._getGroup=function(M){for(var $=this.groups.length,ne=0;ne<$;ne++)if(M[ne+1]!==void 0)return this.groups[ne];throw new Error("Cannot find token type for matched text")};function Ds(){return this.value}if(bt.prototype.next=function(){var M=this.index;if(this.queuedGroup){var $=this._token(this.queuedGroup,this.queuedText,M);return this.queuedGroup=null,this.queuedText="",$}var ne=this.buffer;if(M!==ne.length){var Ae=this.fast[ne.charCodeAt(M)];if(Ae)return this._token(Ae,ne.charAt(M),M);var ie=this.re;ie.lastIndex=M;var we=Cs(ie,ne),he=this.error;if(we==null)return this._token(he,ne.slice(M,ne.length),M);var Ae=this._getGroup(we),dt=we[0];return he.fallback&&we.index!==M?(this.queuedGroup=Ae,this.queuedText=dt,this._token(he,ne.slice(M,we.index),M)):this._token(Ae,dt,M)}},bt.prototype._token=function(M,$,ne){var ie=0;if(M.lineBreaks){var we=/\n/g,he=1;if($===`
10
10
  `)ie=1;else for(;we.exec($);)ie++,he=we.lastIndex}var Ae={type:typeof M.type=="function"&&M.type($)||M.defaultType,value:typeof M.value=="function"?M.value($):$,text:$,toString:Ds,offset:ne,lineBreaks:ie,line:this.line,col:this.col},dt=$.length;if(this.index+=dt,this.line+=ie,ie!==0?this.col=dt-he+1:this.col+=dt,M.shouldThrow){var We=new Error(this.formatError(Ae,"invalid syntax"));throw We}return M.pop?this.popState():M.push?this.pushState(M.push):M.next&&this.setState(M.next),Ae},typeof Symbol<"u"&&Symbol.iterator){var Ta=function(M){this.lexer=M};Ta.prototype.next=function(){var M=this.lexer.next();return{value:M,done:!M}},Ta.prototype[Symbol.iterator]=function(){return this},bt.prototype[Symbol.iterator]=function(){return new Ta(this)}}return bt.prototype.formatError=function(ie,$){if(ie==null)var ne=this.buffer.slice(this.index),ie={text:ne,offset:this.index,lineBreaks:ne.indexOf(`
11
11
  `)===-1?0:1,line:this.line,col:this.col};var we=2,he=Math.max(ie.line-we,1),Ae=ie.line+we,dt=String(Ae).length,We=Re(this.buffer,this.line-ie.line+we+1).slice(0,5),ve=[];ve.push($+" at line "+ie.line+" col "+ie.col+":"),ve.push("");for(var Dt=0;Dt<We.length;Dt++){var ei=We[Dt],na=he+Dt;ve.push(fe(String(na),dt)+" "+ei),na===ie.line&&ve.push(fe("",dt+ie.col+1)+"^")}return ve.join(`
12
- `)},bt.prototype.clone=function(){return new bt(this.states,this.state)},bt.prototype.has=function(M){return!0},{compile:Ga,states:Da,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:Ia}})})(Sm);var E9=Sm.exports;(function(p){var f=Hu&&Hu.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(p,"__esModule",{value:!0}),p.lexer=p.states=void 0;let b=f(E9);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=b.default.states(p.states)})(Em),Object.defineProperty(no,"__esModule",{value:!0});var km=no.parse=no.ParseError=void 0;let Cm=Em,xs=p=>({offset:p.offset,line:p.line,col:p.col,text:p.text,lineBreaks:p.lineBreaks}),qu=p=>p==="plural"||p==="select"||p==="selectordinal";function S9(p,f){let b="",y="";for(let _ of f){let E=_.ctx.text;switch(y+=E,_.type){case"content":b+=_.value;break;case"argument":case"function":case"octothorpe":b+=E;break;default:throw new Ht(p,`Unsupported part in strict mode function arg style: ${E}`)}}return[{type:"content",value:b.trim(),ctx:Object.assign({},f[0].ctx,{text:y})}]}let k9=["number","date","time","spellout","ordinal","duration"],Dm=["zero","one","two","few","many","other"];class Ht extends Error{constructor(f,b){super(Cm.lexer.formatError(f,b))}}no.ParseError=Ht;class C9{constructor(f,b){var y,_,E,C;this.lexer=Cm.lexer.reset(f),this.cardinalKeys=(y=b==null?void 0:b.cardinal)!==null&&y!==void 0?y:Dm,this.ordinalKeys=(_=b==null?void 0:b.ordinal)!==null&&_!==void 0?_:Dm,this.strict=(E=b==null?void 0:b.strict)!==null&&E!==void 0?E:!1,this.strictPluralKeys=(C=b==null?void 0:b.strictPluralKeys)!==null&&C!==void 0?C:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(f,b,y){if(y[0]==="="){if(b==="select")throw new Ht(f,`The case ${y} is not valid with select`)}else if(b!=="select"){let _=b==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&_.length>0&&!_.includes(y)){let E=`The ${b} case ${y} is not valid in this locale`;throw new Ht(f,E)}}}parseSelect(f,b,y,_){let{value:E}=f,C={type:_,arg:E,cases:[],ctx:y};_==="plural"||_==="selectordinal"?b=!0:this.strict&&(b=!1);for(let I of this.lexer)switch(I.type){case"offset":if(_==="select")throw new Ht(I,"Unexpected plural offset for select");if(C.cases.length>0)throw new Ht(I,"Plural offset must be set before cases");C.pluralOffset=Number(I.value),y.text+=I.text,y.lineBreaks+=I.lineBreaks;break;case"case":{this.checkSelectKey(I,_,I.value),C.cases.push({key:I.value,tokens:this.parseBody(b),ctx:xs(I)});break}case"end":return C;default:throw new Ht(I,`Unexpected lexer token: ${I.type}`)}throw new Ht(null,"Unexpected message end")}parseArgToken(f,b){let y=xs(f),_=this.lexer.next();if(!_)throw new Ht(null,"Unexpected message end");if(y.text+=_.text,y.lineBreaks+=_.lineBreaks,this.strict&&(_.type==="func-simple"||_.type==="func-args")&&!k9.includes(_.value)){let E=`Invalid strict mode function arg type: ${_.value}`;throw new Ht(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 Ht(null,"Unexpected message end");if(E.type!=="end")throw new Ht(E,`Unexpected lexer token: ${E.type}`);if(y.text+=E.text,qu(_.value.toLowerCase()))throw new Ht(_,`Invalid type identifier: ${_.value}`);return{type:"function",arg:f.value,key:_.value,ctx:y}}case"func-args":{if(qu(_.value.toLowerCase())){let C=`Invalid type identifier: ${_.value}`;throw new Ht(_,C)}let E=this.parseBody(this.strict?!1:b);return this.strict&&E.length>0&&(E=S9(f,E)),{type:"function",arg:f.value,key:_.value,param:E,ctx:y}}case"select":if(qu(_.value))return this.parseSelect(f,b,y,_.value);throw new Ht(_,`Unexpected select type ${_.value}`);default:throw new Ht(_,`Unexpected lexer token: ${_.type}`)}}parseBody(f,b){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:xs(E)});else{if(E.type==="end"&&!b)return y;{let C=E.value;if(!f&&E.type==="quoted"&&C[0]==="#"){if(C.includes("{")){let I=`Unsupported escape pattern: ${C}`;throw new Ht(E,I)}C=E.text}_?(_.value+=C,_.ctx.text+=E.text,_.ctx.lineBreaks+=E.lineBreaks):(_={type:"content",value:C,ctx:xs(E)},y.push(_))}}if(b)return y;throw new Ht(null,"Unexpected message end")}}function D9(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new C9(p,f).parse()}km=no.parse=D9;function ao(p){return ao[p]||(ao[p]=new Intl.NumberFormat(p))}function I9(p,f,b){return ao(p).format(f-b)}function T9(p,f,b,y){var _=f-b;if(isNaN(_))throw new Error("`"+y+"` or its offset is not a number");return ao(p).format(_)}function R9(p,f,b,y,_){if({}.hasOwnProperty.call(y,p))return y[p];f&&(p-=f);var E=b(p,_);return E in y?y[E]:y.other}function N9(p,f){return{}.hasOwnProperty.call(f,p)?f[p]:f.other}function O9(p,f){for(var b=0;b<p.length;++b)if(!f||f[p[b]]===void 0)throw new Error("Message requires argument '".concat(p[b],"'"))}var M9=Object.freeze({__proto__:null,_nf:ao,number:I9,plural:R9,reqArgs:O9,select:N9,strictNumber:T9});function A9(p,f,b){var y={day:"numeric",month:"short",year:"numeric"};switch(b){case"full":y.weekday="long";case"long":y.month="long";break;case"short":y.month="numeric"}return new Date(p).toLocaleDateString(f,y)}function P9(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 b=p%60,y=[Math.round(b)===b?b:b.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 $u={};function Es(p,f){var b=String(p)+JSON.stringify(f);return $u[b]||($u[b]=new Intl.NumberFormat(p,f)),$u[b]}function L9(p,f,b,y){var _=b&&b.split(":")||[],E=_[0],C=_[1],I={integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:C&&C.trim()||y,minimumFractionDigits:2,maximumFractionDigits:2}};return Es(f,I[E]||{}).format(p)}var F9=function(p,f,b){return Es(f,{style:"currency",currency:b,minimumFractionDigits:2,maximumFractionDigits:2}).format(p)},j9=function(p,f){return Es(f,{maximumFractionDigits:0}).format(p)},V9=function(p,f){return Es(f,{style:"percent"}).format(p)};function z9(p,f,b){var y={second:"numeric",minute:"numeric",hour:"numeric"};switch(b){case"full":case"long":y.timeZoneName="short";break;case"short":delete y.second}return new Date(p).toLocaleTimeString(f,y)}var Uu=Object.freeze({__proto__:null,date:A9,duration:P9,numberCurrency:F9,numberFmt:L9,numberInteger:j9,numberPercent:V9,time:z9}),B9={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}},Gu=x9(B9);function H9(p){let f=0;for(let b=0;b<p.length;++b){let y=p.charCodeAt(b);f=(f<<5)-f+y,f|=0}return f}function Ua(p,f){f&&(p+=" "+H9(p).toString(36));let b=p.trim().replace(/\W+/g,"_");return Gu.ES3[b]||Gu.ESnext[b]||/^\d/.test(b)?"_"+b:b}function Wu(p,f){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(f)&&!Gu.ES3[f])return p?p+"."+f:f;{let b=JSON.stringify(f);return p?p+"["+b+"]":b}}var q9=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],$9=new RegExp("^"+q9.join("|^"));function U9(p,f){var b=$9.test(f),y=JSON.stringify(b?"‏":"‎");return"".concat(y," + ").concat(p," + ").concat(y)}var G9="@messageformat/runtime",W9="@messageformat/runtime/lib/cardinals",Im="@messageformat/runtime/lib/plurals",Z9="@messageformat/runtime/lib/formatters",Y9=function(){function p(f){this.arguments=[],this.runtime={},this.options=f}return p.prototype.compile=function(f,b,y){var _,E,C=this,I=this.options,R=I.localeCodeFromKey,B=I.requireAllArguments,re=I.strict,fe=I.strictPluralKeys;if(typeof f=="object"){var Re={};try{for(var Q=n(Object.keys(f)),rt=Q.next();!rt.done;rt=Q.next()){var wt=rt.value,Mt=R?R(wt):wt,on=y&&Mt&&y[Mt]||b;Re[wt]=this.compile(f[wt],on,y)}}catch(bt){_={error:bt}}finally{try{rt&&!rt.done&&(E=Q.return)&&E.call(Q)}finally{if(_)throw _.error}}return Re}this.plural=b;var zn={cardinal:b.cardinals,ordinal:b.ordinals,strict:re,strictPluralKeys:fe};this.arguments=[];var Ga=km(f,zn).map(function(bt){return C.token(bt,null)}),Ca=this.arguments.length>0,Da=this.concatenate(Ga,!0);if(B&&Ca){this.setRuntimeFn("reqArgs");var Ia=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(Ia,", d); return ").concat(Da,"; }")}return"(".concat(Ca?"d":"",") => ").concat(Da)},p.prototype.cases=function(f,b){var y=this,_=!0,E=f.cases.map(function(re){var fe=re.key,Re=re.tokens;fe==="other"&&(_=!1);var Q=Re.map(function(rt){return y.token(rt,b)});return"".concat(Wu(null,fe.replace(/^=/,"")),": ").concat(y.concatenate(Q,!1))});if(_){var C=f.type,I=this.plural,R=I.cardinals,B=I.ordinals;if(C==="select"||C==="plural"&&R.includes("other")||C==="selectordinal"&&B.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(f)))}return"{ ".concat(E.join(", ")," }")},p.prototype.concatenate=function(f,b){var y=this.options.returnType==="values";return y&&(b||f.length>1)?"["+f.join(", ")+"]":f.join(" + ")||'""'},p.prototype.token=function(f,b){if(f.type==="content")return JSON.stringify(f.value);var y=this.plural,_=y.id,E=y.lc,C,I;switch("arg"in f?(this.arguments.push(f.arg),C=[Wu("d",f.arg)]):C=[],f.type){case"argument":return this.options.biDiSupport?U9(String(C[0]),E):String(C[0]);case"select":I="select",b&&this.options.strict&&(b=null),C.push(this.cases(f,b)),this.setRuntimeFn("select");break;case"selectordinal":I="plural",C.push(f.pluralOffset||0,_,this.cases(f,f),1),this.setLocale(_,!0),this.setRuntimeFn("plural");break;case"plural":I="plural",C.push(f.pluralOffset||0,_,this.cases(f,f)),this.setLocale(_,!1),this.setRuntimeFn("plural");break;case"function":{var R=this.options.customFormatters[f.key],B=R&&"module"in R&&typeof R.module=="function";if(!R){if(f.key==="date"){I=this.setDateFormatter(f,C,b);break}else if(f.key==="number"){I=this.setNumberFormatter(f,C,b);break}}if(C.push(JSON.stringify(this.plural.locale)),f.param){b&&this.options.strict&&(b=null);var re=this.getFormatterArg(f,b);re&&C.push(re)}I=B?Ua("".concat(f.key,"__").concat(this.plural.locale)):f.key,this.setFormatter(I,f.key);break}case"octothorpe":if(!b)return'"#"';C=[JSON.stringify(this.plural.locale),Wu("d",b.arg),b.pluralOffset||0],this.options.strict?(I="strictNumber",C.push(JSON.stringify(b.arg)),this.setRuntimeFn("strictNumber")):(I="number",this.setRuntimeFn("number"));break}if(!I)throw new Error("Parser error for token "+JSON.stringify(f));return"".concat(I,"(").concat(C.join(", "),")")},p.prototype.runtimeIncludes=function(f,b){if(Ua(f)!==f)throw new SyntaxError("Reserved word used as ".concat(b," identifier: ").concat(f));var y=this.runtime[f];if(!y||y.type===b)return y;throw new TypeError("Cannot override ".concat(y.type," runtime function as ").concat(b,": ").concat(f))},p.prototype.setLocale=function(f,b){var y=this.runtimeIncludes(f,"locale"),_=this.plural,E=_.getCardinal,C=_.getPlural,I=_.isDefault,R,B,re;if(!b&&I&&E){if(y)return;R=function(fe){return E(fe)},B=W9,re=function(){return String(E)}}else{if(y&&(!I||y.module===Im))return;R=function(fe,Re){return C(fe,Re)},B=I?Im:C.module||null,re=function(){return String(C)}}this.runtime[f]=Object.assign(R,{id:f,module:B,toString:re,type:"locale"})},p.prototype.setRuntimeFn=function(f){this.runtimeIncludes(f,"runtime")||(this.runtime[f]=Object.assign(M9[f],{id:f,module:G9,type:"runtime"}))},p.prototype.getFormatterArg=function(f,b){var y,_,E,C,I=this,R=f.key,B=f.param,re=this.options.customFormatters[R]||Tm(R)&&Uu[R];if(!re||!B)return null;var fe="arg"in re&&re.arg||"string";if(fe==="options"){var Re="";try{for(var Q=n(B),rt=Q.next();!rt.done;rt=Q.next()){var wt=rt.value;if(wt.type==="content")Re+=wt.value;else throw new SyntaxError("Expected literal options for ".concat(R," formatter"))}}catch(Ta){y={error:Ta}}finally{try{rt&&!rt.done&&(_=Q.return)&&_.call(Q)}finally{if(y)throw y.error}}var Mt={};try{for(var on=n(Re.split(",")),zn=on.next();!zn.done;zn=on.next()){var Ga=zn.value,Ca=Ga.indexOf(":");if(Ca===-1)Mt[Ga.trim()]=null;else{var Da=Ga.substring(0,Ca).trim(),Ia=Ga.substring(Ca+1).trim();if(Ia==="true")Mt[Da]=!0;else if(Ia==="false")Mt[Da]=!1;else if(Ia==="null")Mt[Da]=null;else{var bt=Number(Ia);Mt[Da]=Number.isFinite(bt)?bt:Ia}}}}catch(Ta){E={error:Ta}}finally{try{zn&&!zn.done&&(C=on.return)&&C.call(on)}finally{if(E)throw E.error}}return JSON.stringify(Mt)}else{var Cs=B.map(function(Ta){return I.token(Ta,b)});if(fe==="raw")return"[".concat(Cs.join(", "),"]");var Ds=Cs.join(" + ");return Ds?"(".concat(Ds,").trim()"):'""'}},p.prototype.setFormatter=function(f,b){if(!this.runtimeIncludes(f,"formatter")){var y=this.options.customFormatters[b||f];if(y){var _=typeof y=="function"?{formatter:y}:y;this.runtime[f]=Object.assign(_.formatter.bind({}),a(a({},_.formatter.prototype),{toString:function(){return String(_.formatter)}}),{type:"formatter"},"module"in y&&y.module&&y.id?{id:Ua(y.id),module:typeof y.module=="function"?y.module(this.plural.locale):y.module}:{id:null,module:null})}else if(Tm(f))this.runtime[f]=Object.assign(Uu[f],{type:"formatter"},{id:f,module:Z9});else throw new Error("Formatting function not found: ".concat(f))}},p.prototype.setDateFormatter=function(f,b,y){var _=this,E=f.param,C=this.plural.locale,I=E&&E.length===1&&E[0];if(I&&I.type==="content"&&/^\s*::/.test(I.value)){var R=I.value.trim().substr(2),B=Ua("date_".concat(C,"_").concat(R),!0);if(!this.runtimeIncludes(B,"formatter")){var re=Nt(C,R,this.options.timeZone);this.runtime[B]=Object.assign(re,{id:B,module:null,toString:function(){return _t(C,R,_.options.timeZone)},type:"formatter"})}return B}if(b.push(JSON.stringify(C)),E&&E.length>0){y&&this.options.strict&&(y=null);var fe=E.map(function(Re){return _.token(Re,y)});b.push("("+(fe.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},p.prototype.setNumberFormatter=function(f,b,y){var _=this,E=f.param,C=this.plural.locale;if(!E||E.length===0)return b.unshift(JSON.stringify(C)),b.push("0"),this.setRuntimeFn("number"),"number";if(b.push(JSON.stringify(C)),E.length===1&&E[0].type==="content"){var I=E[0].value.trim();switch(I){case"currency":return b.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 R=I.match(/^currency:([A-Z]+)$/);if(R)return b.push(JSON.stringify(R[1])),this.setFormatter("numberCurrency"),"numberCurrency";var B=Ua("number_".concat(C,"_").concat(I),!0);if(!this.runtimeIncludes(B,"formatter")){var re=this.options.currency,fe=_9(C,I,re);this.runtime[B]=Object.assign(fe,{id:null,module:null,toString:function(){return w9(C,I,re)},type:"formatter"})}return B}y&&this.options.strict&&(y=null);var Re=E.map(function(Q){return _.token(Q,y)});return b.push("("+(Re.join(" + ")||'""')+").trim()"),b.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},p}();function Tm(p){return p in Uu}let q=p=>p==1?"one":"other",wa=p=>p==0||p==1?"one":"other",ea=p=>p>=0&&p<=1?"one":"other",Gt=p=>{let f=String(p).split("."),b=!f[1];return p==1&&b?"one":"other"},Le=p=>"other",xa=p=>p==1?"one":p==2?"two":"other";var K9=Object.freeze({__proto__:null,af:q,ak:wa,am:ea,an:q,ar:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&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("."),b=Number(f[0])==p,y=b&&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:ea,asa:q,ast:Gt,az:q,bal:q,be:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&f[0].slice(-1),_=b&&f[0].slice(-2);return y==1&&_!=11?"one":y>=2&&y<=4&&(_<12||_>14)?"few":b&&y==0||y>=5&&y<=9||_>=11&&_<=14?"many":"other"},bem:q,bez:q,bg:q,bho:wa,bm:Le,bn:ea,bo:Le,br:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&f[0].slice(-1),_=b&&f[0].slice(-2),E=b&&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&&b&&E==0?"many":"other"},brx:q,bs:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=b.slice(-2),I=y.slice(-1),R=y.slice(-2);return _&&E==1&&C!=11||I==1&&R!=11?"one":_&&E>=2&&E<=4&&(C<12||C>14)||I>=2&&I<=4&&(R<12||R>14)?"few":"other"},ca:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p==1&&y?"one":b!=0&&_==0&&y?"many":"other"},ce:q,ceb:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=y.slice(-1);return _&&(b==1||b==2||b==3)||_&&E!=4&&E!=6&&E!=9||!_&&C!=4&&C!=6&&C!=9?"one":"other"},cgg:q,chr:q,ckb:q,cs:p=>{let f=String(p).split("."),b=f[0],y=!f[1];return p==1&&y?"one":b>=2&&b<=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("."),b=f[0],y=Number(f[0])==p;return p==1||!y&&(b==0||b==1)?"one":"other"},de:Gt,doi:ea,dsb:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-2),C=y.slice(-2);return _&&E==1||C==1?"one":_&&E==2||C==2?"two":_&&(E==3||E==4)||C==3||C==4?"few":"other"},dv:q,dz:Le,ee:q,el:q,en:Gt,eo:q,es:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p==1?"one":b!=0&&_==0&&y?"many":"other"},et:Gt,eu:q,fa:ea,ff:p=>p>=0&&p<2?"one":"other",fi:Gt,fil:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=y.slice(-1);return _&&(b==1||b==2||b==3)||_&&E!=4&&E!=6&&E!=9||!_&&C!=4&&C!=6&&C!=9?"one":"other"},fo:q,fr:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p>=0&&p<2?"one":b!=0&&_==0&&y?"many":"other"},fur:q,fy:Gt,ga:p=>{let f=String(p).split("."),b=Number(f[0])==p;return p==1?"one":p==2?"two":b&&p>=3&&p<=6?"few":b&&p>=7&&p<=10?"many":"other"},gd:p=>{let f=String(p).split("."),b=Number(f[0])==p;return p==1||p==11?"one":p==2||p==12?"two":b&&p>=3&&p<=10||b&&p>=13&&p<=19?"few":"other"},gl:Gt,gsw:q,gu:ea,guw:wa,gv:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-1),E=b.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:q,haw:q,he:p=>{let f=String(p).split("."),b=f[0],y=!f[1];return b==1&&y||b==0&&!y?"one":b==2&&y?"two":"other"},hi:ea,hnj:Le,hr:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=b.slice(-2),I=y.slice(-1),R=y.slice(-2);return _&&E==1&&C!=11||I==1&&R!=11?"one":_&&E>=2&&E<=4&&(C<12||C>14)||I>=2&&I<=4&&(R<12||R>14)?"few":"other"},hsb:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-2),C=y.slice(-2);return _&&E==1||C==1?"one":_&&E==2||C==2?"two":_&&(E==3||E==4)||C==3||C==4?"few":"other"},hu:q,hy:p=>p>=0&&p<2?"one":"other",ia:Gt,id:Le,ig:Le,ii:Le,io:Gt,is:p=>{let f=String(p).split("."),b=f[0],y=(f[1]||"").replace(/0+$/,""),_=Number(f[0])==p,E=b.slice(-1),C=b.slice(-2);return _&&E==1&&C!=11||y%10==1&&y%100!=11?"one":"other"},it:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p==1&&y?"one":b!=0&&_==0&&y?"many":"other"},iu:xa,ja:Le,jbo:Le,jgo:q,jmc:q,jv:Le,jw:Le,ka:q,kab:p=>p>=0&&p<2?"one":"other",kaj:q,kcg:q,kde:Le,kea:Le,kk:q,kkj:q,kl:q,km:Le,kn:ea,ko:Le,ks:q,ksb:q,ksh:p=>p==0?"zero":p==1?"one":"other",ku:q,kw:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&f[0].slice(-2),_=b&&f[0].slice(-3),E=b&&f[0].slice(-5),C=b&&f[0].slice(-6);return p==0?"zero":p==1?"one":y==2||y==22||y==42||y==62||y==82||b&&_==0&&(E>=1e3&&E<=2e4||E==4e4||E==6e4||E==8e4)||p!=0&&C==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:q,lag:p=>{let f=String(p).split("."),b=f[0];return p==0?"zero":(b==0||b==1)&&p!=0?"one":"other"},lb:q,lg:q,lij:Gt,lkt:Le,ln:wa,lo:Le,lt:p=>{let f=String(p).split("."),b=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":b!=0?"many":"other"},lv:p=>{let f=String(p).split("."),b=f[1]||"",y=b.length,_=Number(f[0])==p,E=_&&f[0].slice(-1),C=_&&f[0].slice(-2),I=b.slice(-2),R=b.slice(-1);return _&&E==0||C>=11&&C<=19||y==2&&I>=11&&I<=19?"zero":E==1&&C!=11||y==2&&R==1&&I!=11||y!=2&&R==1?"one":"other"},mas:q,mg:wa,mgo:q,mk:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=b.slice(-2),I=y.slice(-1),R=y.slice(-2);return _&&E==1&&C!=11||I==1&&R!=11?"one":"other"},ml:q,mn:q,mo:p=>{let f=String(p).split("."),b=!f[1],y=Number(f[0])==p,_=y&&f[0].slice(-2);return p==1&&b?"one":!b||p==0||p!=1&&_>=1&&_<=19?"few":"other"},mr:q,ms:Le,mt:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&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:Le,nah:q,naq:xa,nb:q,nd:q,ne:q,nl:Gt,nn:q,nnh:q,no:q,nqo:Le,nr:q,nso:wa,ny:q,nyn:q,om:q,or:q,os:q,osa:Le,pa:wa,pap:q,pcm:ea,pl:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-1),E=b.slice(-2);return p==1&&y?"one":y&&_>=2&&_<=4&&(E<12||E>14)?"few":y&&b!=1&&(_==0||_==1)||y&&_>=5&&_<=9||y&&E>=12&&E<=14?"many":"other"},prg:p=>{let f=String(p).split("."),b=f[1]||"",y=b.length,_=Number(f[0])==p,E=_&&f[0].slice(-1),C=_&&f[0].slice(-2),I=b.slice(-2),R=b.slice(-1);return _&&E==0||C>=11&&C<=19||y==2&&I>=11&&I<=19?"zero":E==1&&C!=11||y==2&&R==1&&I!=11||y!=2&&R==1?"one":"other"},ps:q,pt:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return b==0||b==1?"one":b!=0&&_==0&&y?"many":"other"},pt_PT:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p==1&&y?"one":b!=0&&_==0&&y?"many":"other"},rm:q,ro:p=>{let f=String(p).split("."),b=!f[1],y=Number(f[0])==p,_=y&&f[0].slice(-2);return p==1&&b?"one":!b||p==0||p!=1&&_>=1&&_<=19?"few":"other"},rof:q,ru:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-1),E=b.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:q,sah:Le,saq:q,sat:xa,sc:Gt,scn:Gt,sd:q,sdh:q,se:xa,seh:q,ses:Le,sg:Le,sh:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=b.slice(-2),I=y.slice(-1),R=y.slice(-2);return _&&E==1&&C!=11||I==1&&R!=11?"one":_&&E>=2&&E<=4&&(C<12||C>14)||I>=2&&I<=4&&(R<12||R>14)?"few":"other"},shi:p=>{let f=String(p).split("."),b=Number(f[0])==p;return p>=0&&p<=1?"one":b&&p>=2&&p<=10?"few":"other"},si:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"";return p==0||p==1||b==0&&y==1?"one":"other"},sk:p=>{let f=String(p).split("."),b=f[0],y=!f[1];return p==1&&y?"one":b>=2&&b<=4&&y?"few":y?"other":"many"},sl:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-2);return y&&_==1?"one":y&&_==2?"two":y&&(_==3||_==4)||!y?"few":"other"},sma:xa,smi:xa,smj:xa,smn:xa,sms:xa,sn:q,so:q,sq:q,sr:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=b.slice(-2),I=y.slice(-1),R=y.slice(-2);return _&&E==1&&C!=11||I==1&&R!=11?"one":_&&E>=2&&E<=4&&(C<12||C>14)||I>=2&&I<=4&&(R<12||R>14)?"few":"other"},ss:q,ssy:q,st:q,su:Le,sv:Gt,sw:Gt,syr:q,ta:q,te:q,teo:q,th:Le,ti:wa,tig:q,tk:q,tl:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=y.slice(-1);return _&&(b==1||b==2||b==3)||_&&E!=4&&E!=6&&E!=9||!_&&C!=4&&C!=6&&C!=9?"one":"other"},tn:q,to:Le,tpi:Le,tr:q,ts:q,tzm:p=>{let f=String(p).split("."),b=Number(f[0])==p;return p==0||p==1||b&&p>=11&&p<=99?"one":"other"},ug:q,uk:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-1),E=b.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:Le,ur:Gt,uz:q,ve:q,vec:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p==1&&y?"one":b!=0&&_==0&&y?"many":"other"},vi:Le,vo:q,vun:q,wa,wae:q,wo:Le,xh:q,xog:q,yi:Gt,yo:Le,yue:Le,zh:Le,zu:ea});let Ea="zero",W="one",ct="two",ke="few",Ce="many",A="other",L={cardinal:[W,A],ordinal:[A]},br={cardinal:[W,A],ordinal:[W,A]},Be={cardinal:[A],ordinal:[A]},ta={cardinal:[W,ct,A],ordinal:[A]};var Rm=Object.freeze({__proto__:null,af:L,ak:L,am:L,an:L,ar:{cardinal:[Ea,W,ct,ke,Ce,A],ordinal:[A]},ars:{cardinal:[Ea,W,ct,ke,Ce,A],ordinal:[A]},as:{cardinal:[W,A],ordinal:[W,ct,ke,Ce,A]},asa:L,ast:L,az:{cardinal:[W,A],ordinal:[W,ke,Ce,A]},bal:br,be:{cardinal:[W,ke,Ce,A],ordinal:[ke,A]},bem:L,bez:L,bg:L,bho:L,bm:Be,bn:{cardinal:[W,A],ordinal:[W,ct,ke,Ce,A]},bo:Be,br:{cardinal:[W,ct,ke,Ce,A],ordinal:[A]},brx:L,bs:{cardinal:[W,ke,A],ordinal:[A]},ca:{cardinal:[W,Ce,A],ordinal:[W,ct,ke,A]},ce:L,ceb:L,cgg:L,chr:L,ckb:L,cs:{cardinal:[W,ke,Ce,A],ordinal:[A]},cy:{cardinal:[Ea,W,ct,ke,Ce,A],ordinal:[Ea,W,ct,ke,Ce,A]},da:L,de:L,doi:L,dsb:{cardinal:[W,ct,ke,A],ordinal:[A]},dv:L,dz:Be,ee:L,el:L,en:{cardinal:[W,A],ordinal:[W,ct,ke,A]},eo:L,es:{cardinal:[W,Ce,A],ordinal:[A]},et:L,eu:L,fa:L,ff:L,fi:L,fil:br,fo:L,fr:{cardinal:[W,Ce,A],ordinal:[W,A]},fur:L,fy:L,ga:{cardinal:[W,ct,ke,Ce,A],ordinal:[W,A]},gd:{cardinal:[W,ct,ke,A],ordinal:[W,ct,ke,A]},gl:L,gsw:L,gu:{cardinal:[W,A],ordinal:[W,ct,ke,Ce,A]},guw:L,gv:{cardinal:[W,ct,ke,Ce,A],ordinal:[A]},ha:L,haw:L,he:ta,hi:{cardinal:[W,A],ordinal:[W,ct,ke,Ce,A]},hnj:Be,hr:{cardinal:[W,ke,A],ordinal:[A]},hsb:{cardinal:[W,ct,ke,A],ordinal:[A]},hu:br,hy:br,ia:L,id:Be,ig:Be,ii:Be,io:L,is:L,it:{cardinal:[W,Ce,A],ordinal:[Ce,A]},iu:ta,ja:Be,jbo:Be,jgo:L,jmc:L,jv:Be,jw:Be,ka:{cardinal:[W,A],ordinal:[W,Ce,A]},kab:L,kaj:L,kcg:L,kde:Be,kea:Be,kk:{cardinal:[W,A],ordinal:[Ce,A]},kkj:L,kl:L,km:Be,kn:L,ko:Be,ks:L,ksb:L,ksh:{cardinal:[Ea,W,A],ordinal:[A]},ku:L,kw:{cardinal:[Ea,W,ct,ke,Ce,A],ordinal:[W,Ce,A]},ky:L,lag:{cardinal:[Ea,W,A],ordinal:[A]},lb:L,lg:L,lij:{cardinal:[W,A],ordinal:[Ce,A]},lkt:Be,ln:L,lo:{cardinal:[A],ordinal:[W,A]},lt:{cardinal:[W,ke,Ce,A],ordinal:[A]},lv:{cardinal:[Ea,W,A],ordinal:[A]},mas:L,mg:L,mgo:L,mk:{cardinal:[W,A],ordinal:[W,ct,Ce,A]},ml:L,mn:L,mo:{cardinal:[W,ke,A],ordinal:[W,A]},mr:{cardinal:[W,A],ordinal:[W,ct,ke,A]},ms:{cardinal:[A],ordinal:[W,A]},mt:{cardinal:[W,ct,ke,Ce,A],ordinal:[A]},my:Be,nah:L,naq:ta,nb:L,nd:L,ne:br,nl:L,nn:L,nnh:L,no:L,nqo:Be,nr:L,nso:L,ny:L,nyn:L,om:L,or:{cardinal:[W,A],ordinal:[W,ct,ke,Ce,A]},os:L,osa:Be,pa:L,pap:L,pcm:L,pl:{cardinal:[W,ke,Ce,A],ordinal:[A]},prg:{cardinal:[Ea,W,A],ordinal:[A]},ps:L,pt:{cardinal:[W,Ce,A],ordinal:[A]},pt_PT:{cardinal:[W,Ce,A],ordinal:[A]},rm:L,ro:{cardinal:[W,ke,A],ordinal:[W,A]},rof:L,ru:{cardinal:[W,ke,Ce,A],ordinal:[A]},rwk:L,sah:Be,saq:L,sat:ta,sc:{cardinal:[W,A],ordinal:[Ce,A]},scn:{cardinal:[W,A],ordinal:[Ce,A]},sd:L,sdh:L,se:ta,seh:L,ses:Be,sg:Be,sh:{cardinal:[W,ke,A],ordinal:[A]},shi:{cardinal:[W,ke,A],ordinal:[A]},si:L,sk:{cardinal:[W,ke,Ce,A],ordinal:[A]},sl:{cardinal:[W,ct,ke,A],ordinal:[A]},sma:ta,smi:ta,smj:ta,smn:ta,sms:ta,sn:L,so:L,sq:{cardinal:[W,A],ordinal:[W,Ce,A]},sr:{cardinal:[W,ke,A],ordinal:[A]},ss:L,ssy:L,st:L,su:Be,sv:br,sw:L,syr:L,ta:L,te:L,teo:L,th:Be,ti:L,tig:L,tk:{cardinal:[W,A],ordinal:[ke,A]},tl:br,tn:L,to:Be,tpi:Be,tr:L,ts:L,tzm:L,ug:L,uk:{cardinal:[W,ke,Ce,A],ordinal:[ke,A]},und:Be,ur:L,uz:L,ve:L,vec:{cardinal:[W,Ce,A],ordinal:[Ce,A]},vi:{cardinal:[A],ordinal:[W,A]},vo:L,vun:L,wa:L,wae:L,wo:Be,xh:L,xog:L,yi:L,yo:Be,yue:Be,zh:Be,zu:L});let Z=(p,f)=>f?"other":p==1?"one":"other",Sa=(p,f)=>f?"other":p==0||p==1?"one":"other",Jr=(p,f)=>f?"other":p>=0&&p<=1?"one":"other",Rn=(p,f)=>{let b=String(p).split("."),y=!b[1];return f?"other":p==1&&y?"one":"other"},He=(p,f)=>"other",ka=(p,f)=>f?"other":p==1?"one":p==2?"two":"other";var Ss=Object.freeze({__proto__:null,af:Z,ak:Sa,am:Jr,an:Z,ar:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[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 b=String(p).split("."),y=Number(b[0])==p,_=y&&b[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:Z,ast:Rn,az:(p,f)=>{let b=String(p).split("."),y=b[0],_=y.slice(-1),E=y.slice(-2),C=y.slice(-3);return f?_==1||_==2||_==5||_==7||_==8||E==20||E==50||E==70||E==80?"one":_==3||_==4||C==100||C==200||C==300||C==400||C==500||C==600||C==700||C==800||C==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 b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1),E=y&&b[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:Z,bez:Z,bg:Z,bho:Sa,bm:He,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:He,br:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1),E=y&&b[0].slice(-2),C=y&&b[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&&C==0?"many":"other"},brx:Z,bs:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=y.slice(-2),R=_.slice(-1),B=_.slice(-2);return f?"other":E&&C==1&&I!=11||R==1&&B!=11?"one":E&&C>=2&&C<=4&&(I<12||I>14)||R>=2&&R<=4&&(B<12||B>14)?"few":"other"},ca:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[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:Z,ceb:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=_.slice(-1);return f?"other":E&&(y==1||y==2||y==3)||E&&C!=4&&C!=6&&C!=9||!E&&I!=4&&I!=6&&I!=9?"one":"other"},cgg:Z,chr:Z,ckb:Z,cs:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[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 b=String(p).split("."),y=b[0],_=Number(b[0])==p;return f?"other":p==1||!_&&(y==0||y==1)?"one":"other"},de:Rn,doi:Jr,dsb:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-2),I=_.slice(-2);return f?"other":E&&C==1||I==1?"one":E&&C==2||I==2?"two":E&&(C==3||C==4)||I==3||I==4?"few":"other"},dv:Z,dz:He,ee:Z,el:Z,en:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p,E=_&&b[0].slice(-1),C=_&&b[0].slice(-2);return f?E==1&&C!=11?"one":E==2&&C!=12?"two":E==3&&C!=13?"few":"other":p==1&&y?"one":"other"},eo:Z,es:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-6);return f?"other":p==1?"one":y!=0&&E==0&&_?"many":"other"},et:Rn,eu:Z,fa:Jr,ff:(p,f)=>f?"other":p>=0&&p<2?"one":"other",fi:Rn,fil:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=_.slice(-1);return f?p==1?"one":"other":E&&(y==1||y==2||y==3)||E&&C!=4&&C!=6&&C!=9||!E&&I!=4&&I!=6&&I!=9?"one":"other"},fo:Z,fr:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-6);return f?p==1?"one":"other":p>=0&&p<2?"one":y!=0&&E==0&&_?"many":"other"},fur:Z,fy:Rn,ga:(p,f)=>{let b=String(p).split("."),y=Number(b[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 b=String(p).split("."),y=Number(b[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:Rn,gsw:Z,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:Sa,gv:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-1),C=y.slice(-2);return f?"other":_&&E==1?"one":_&&E==2?"two":_&&(C==0||C==20||C==40||C==60||C==80)?"few":_?"other":"many"},ha:Z,haw:Z,he:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[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:He,hr:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=y.slice(-2),R=_.slice(-1),B=_.slice(-2);return f?"other":E&&C==1&&I!=11||R==1&&B!=11?"one":E&&C>=2&&C<=4&&(I<12||I>14)||R>=2&&R<=4&&(B<12||B>14)?"few":"other"},hsb:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-2),I=_.slice(-2);return f?"other":E&&C==1||I==1?"one":E&&C==2||I==2?"two":E&&(C==3||C==4)||I==3||I==4?"few":"other"},hu:(p,f)=>f?p==1||p==5?"one":"other":p==1?"one":"other",hy:(p,f)=>f?p==1?"one":"other":p>=0&&p<2?"one":"other",ia:Rn,id:He,ig:He,ii:He,io:Rn,is:(p,f)=>{let b=String(p).split("."),y=b[0],_=(b[1]||"").replace(/0+$/,""),E=Number(b[0])==p,C=y.slice(-1),I=y.slice(-2);return f?"other":E&&C==1&&I!=11||_%10==1&&_%100!=11?"one":"other"},it:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[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:ka,ja:He,jbo:He,jgo:Z,jmc:Z,jv:He,jw:He,ka:(p,f)=>{let b=String(p).split("."),y=b[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:Z,kcg:Z,kde:He,kea:He,kk:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1);return f?_==6||_==9||y&&_==0&&p!=0?"many":"other":p==1?"one":"other"},kkj:Z,kl:Z,km:He,kn:Jr,ko:He,ks:Z,ksb:Z,ksh:(p,f)=>f?"other":p==0?"zero":p==1?"one":"other",ku:Z,kw:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-2),E=y&&b[0].slice(-3),C=y&&b[0].slice(-5),I=y&&b[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&&(C>=1e3&&C<=2e4||C==4e4||C==6e4||C==8e4)||p!=0&&I==1e5?"two":_==3||_==23||_==43||_==63||_==83?"few":p!=1&&(_==1||_==21||_==41||_==61||_==81)?"many":"other"},ky:Z,lag:(p,f)=>{let b=String(p).split("."),y=b[0];return f?"other":p==0?"zero":(y==0||y==1)&&p!=0?"one":"other"},lb:Z,lg:Z,lij:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p;return f?p==11||p==8||_&&p>=80&&p<=89||_&&p>=800&&p<=899?"many":"other":p==1&&y?"one":"other"},lkt:He,ln:Sa,lo:(p,f)=>f&&p==1?"one":"other",lt:(p,f)=>{let b=String(p).split("."),y=b[1]||"",_=Number(b[0])==p,E=_&&b[0].slice(-1),C=_&&b[0].slice(-2);return f?"other":E==1&&(C<11||C>19)?"one":E>=2&&E<=9&&(C<11||C>19)?"few":y!=0?"many":"other"},lv:(p,f)=>{let b=String(p).split("."),y=b[1]||"",_=y.length,E=Number(b[0])==p,C=E&&b[0].slice(-1),I=E&&b[0].slice(-2),R=y.slice(-2),B=y.slice(-1);return f?"other":E&&C==0||I>=11&&I<=19||_==2&&R>=11&&R<=19?"zero":C==1&&I!=11||_==2&&B==1&&R!=11||_!=2&&B==1?"one":"other"},mas:Z,mg:Sa,mgo:Z,mk:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=y.slice(-2),R=_.slice(-1),B=_.slice(-2);return f?C==1&&I!=11?"one":C==2&&I!=12?"two":(C==7||C==8)&&I!=17&&I!=18?"many":"other":E&&C==1&&I!=11||R==1&&B!=11?"one":"other"},ml:Z,mn:Z,mo:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p,E=_&&b[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 b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-2);return f?"other":p==1?"one":p==2?"two":p==0||_>=3&&_<=10?"few":_>=11&&_<=19?"many":"other"},my:He,nah:Z,naq:ka,nb:Z,nd:Z,ne:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p;return f?y&&p>=1&&p<=4?"one":"other":p==1?"one":"other"},nl:Rn,nn:Z,nnh:Z,no:Z,nqo:He,nr:Z,nso:Sa,ny:Z,nyn:Z,om:Z,or:(p,f)=>{let b=String(p).split("."),y=Number(b[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:Z,osa:He,pa:Sa,pap:Z,pcm:Jr,pl:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-1),C=y.slice(-2);return f?"other":p==1&&_?"one":_&&E>=2&&E<=4&&(C<12||C>14)?"few":_&&y!=1&&(E==0||E==1)||_&&E>=5&&E<=9||_&&C>=12&&C<=14?"many":"other"},prg:(p,f)=>{let b=String(p).split("."),y=b[1]||"",_=y.length,E=Number(b[0])==p,C=E&&b[0].slice(-1),I=E&&b[0].slice(-2),R=y.slice(-2),B=y.slice(-1);return f?"other":E&&C==0||I>=11&&I<=19||_==2&&R>=11&&R<=19?"zero":C==1&&I!=11||_==2&&B==1&&R!=11||_!=2&&B==1?"one":"other"},ps:Z,pt:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-6);return f?"other":y==0||y==1?"one":y!=0&&E==0&&_?"many":"other"},pt_PT:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-6);return f?"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},rm:Z,ro:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p,E=_&&b[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:Z,ru:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-1),C=y.slice(-2);return f?"other":_&&E==1&&C!=11?"one":_&&E>=2&&E<=4&&(C<12||C>14)?"few":_&&E==0||_&&E>=5&&E<=9||_&&C>=11&&C<=14?"many":"other"},rwk:Z,sah:He,saq:Z,sat:ka,sc:(p,f)=>{let b=String(p).split("."),y=!b[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&y?"one":"other"},scn:(p,f)=>{let b=String(p).split("."),y=!b[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&y?"one":"other"},sd:Z,sdh:Z,se:ka,seh:Z,ses:He,sg:He,sh:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=y.slice(-2),R=_.slice(-1),B=_.slice(-2);return f?"other":E&&C==1&&I!=11||R==1&&B!=11?"one":E&&C>=2&&C<=4&&(I<12||I>14)||R>=2&&R<=4&&(B<12||B>14)?"few":"other"},shi:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p;return f?"other":p>=0&&p<=1?"one":y&&p>=2&&p<=10?"few":"other"},si:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"";return f?"other":p==0||p==1||y==0&&_==1?"one":"other"},sk:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1];return f?"other":p==1&&_?"one":y>=2&&y<=4&&_?"few":_?"other":"many"},sl:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-2);return f?"other":_&&E==1?"one":_&&E==2?"two":_&&(E==3||E==4)||!_?"few":"other"},sma:ka,smi:ka,smj:ka,smn:ka,sms:ka,sn:Z,so:Z,sq:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1),E=y&&b[0].slice(-2);return f?p==1?"one":_==4&&E!=14?"many":"other":p==1?"one":"other"},sr:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=y.slice(-2),R=_.slice(-1),B=_.slice(-2);return f?"other":E&&C==1&&I!=11||R==1&&B!=11?"one":E&&C>=2&&C<=4&&(I<12||I>14)||R>=2&&R<=4&&(B<12||B>14)?"few":"other"},ss:Z,ssy:Z,st:Z,su:He,sv:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p,E=_&&b[0].slice(-1),C=_&&b[0].slice(-2);return f?(E==1||E==2)&&C!=11&&C!=12?"one":"other":p==1&&y?"one":"other"},sw:Rn,syr:Z,ta:Z,te:Z,teo:Z,th:He,ti:Sa,tig:Z,tk:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1);return f?_==6||_==9||p==10?"few":"other":p==1?"one":"other"},tl:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=_.slice(-1);return f?p==1?"one":"other":E&&(y==1||y==2||y==3)||E&&C!=4&&C!=6&&C!=9||!E&&I!=4&&I!=6&&I!=9?"one":"other"},tn:Z,to:He,tpi:He,tr:Z,ts:Z,tzm:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p;return f?"other":p==0||p==1||y&&p>=11&&p<=99?"one":"other"},ug:Z,uk:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=Number(b[0])==p,C=E&&b[0].slice(-1),I=E&&b[0].slice(-2),R=y.slice(-1),B=y.slice(-2);return f?C==3&&I!=13?"few":"other":_&&R==1&&B!=11?"one":_&&R>=2&&R<=4&&(B<12||B>14)?"few":_&&R==0||_&&R>=5&&R<=9||_&&B>=11&&B<=14?"many":"other"},und:He,ur:Rn,uz:Z,ve:Z,vec:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[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:Z,vun:Z,wa:Sa,wae:Z,wo:He,xh:Z,xog:Z,yi:Rn,yo:He,yue:He,zh:He,zu:Jr});function Zu(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 ks(p){if(typeof p=="function"){var f=Zu(p.name);return{isDefault:!1,id:Ua(f),lc:f,locale:p.name,getPlural:p,cardinals:p.cardinals||[],ordinals:p.ordinals||[]}}var b=Zu(p),y=Ua(b);return J9(y)?{isDefault:!0,id:y,lc:b,locale:p,getCardinal:K9[y],getPlural:Ss[y],cardinals:Rm[y].cardinal,ordinals:Rm[y].ordinal}:null}function Q9(p){var f=Object.keys(Ss).filter(function(b){return b!==p});return f.unshift(p),f.map(ks)}function X9(p){var f=Zu(p);return Ua(f)in Ss}function J9(p){return p in Ss}var eq=function(){function p(f,b){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:b&&b.strictNumberSign||!1,strictPluralKeys:!0},b),f==="*")this.plurals=Q9(p.defaultLocale);else if(Array.isArray(f))this.plurals=f.map(ks).filter(Boolean);else if(f){var y=ks(f);y&&(this.plurals=[y])}if(this.plurals.length===0){var y=ks(p.defaultLocale);this.plurals=[y]}}return p.escape=function(f,b){var y=b?/[#{}]/g:/[{}]/g;return String(f).replace(y,"'$&'")},p.supportedLocalesOf=function(f){var b=Array.isArray(f)?f:[f];return b.filter(X9)},p.prototype.resolvedOptions=function(){return a(a({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},p.prototype.compile=function(f){var b,y,_=new Y9(this.options),E="return "+_.compile(f,this.plurals[0]),C=[],I=[];try{for(var R=n(Object.entries(_.runtime)),B=R.next();!B.done;B=R.next()){var re=r(B.value,2),fe=re[0],Re=re[1];C.push(fe),I.push(Re)}}catch(rt){b={error:rt}}finally{try{B&&!B.done&&(y=R.return)&&y.call(R)}finally{if(b)throw b.error}}var Q=new(Function.bind.apply(Function,i(i([void 0],r(C),!1),[E],!1)));return Q.apply(void 0,i([],r(I),!1))},p.defaultLocale="en",p}();return eq})}),Dn=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}var a=function n(r,i){t(this,n),this.data=r,this.text=i.text||r,this.options=i};e.default=a}),pq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var t=function(){function k(D,N){for(var O=0;O<N.length;O++){var J=N[O];J.enumerable=J.enumerable||!1,J.configurable=!0,"value"in J&&(J.writable=!0),Object.defineProperty(D,J.key,J)}}return function(D,N,O){return N&&k(D.prototype,N),O&&k(D,O),D}}(),a=Dn(),n=r(a);function r(k){return k&&k.__esModule?k:{default:k}}function i(k,D){if(!(k instanceof D))throw new TypeError("Cannot call a class as a function")}function o(k,D){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D&&(typeof D=="object"||typeof D=="function")?D:k}function l(k,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof D);k.prototype=Object.create(D&&D.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),D&&(Object.setPrototypeOf?Object.setPrototypeOf(k,D):k.__proto__=D)}var u=function(k){l(D,k);function D(N,O){return i(this,D),N=N.toUpperCase(),O.mod43&&(N+=g(x(N))),o(this,(D.__proto__||Object.getPrototypeOf(D)).call(this,N,O))}return t(D,[{key:"encode",value:function(){for(var N=m("*"),O=0;O<this.data.length;O++)N+=m(this.data[O])+"0";return N+=m("*"),{data:N,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),D}(n.default),c=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","*"],d=[20957,29783,23639,30485,20951,29813,23669,20855,29789,23645,29975,23831,30533,22295,30149,24005,21623,29981,23837,22301,30023,23879,30545,22343,30161,24017,21959,30065,23921,22385,29015,18263,29141,17879,29045,18293,17783,29021,18269,17477,17489,17681,20753,35770];function m(k){return v(w(k))}function v(k){return d[k].toString(2)}function g(k){return c[k]}function w(k){return c.indexOf(k)}function x(k){for(var D=0,N=0;N<k.length;N++)D+=w(k[N]);return D=D%43,D}e.CODE39=u}),Ko=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t;function a(c,d,m){return d in c?Object.defineProperty(c,d,{value:m,enumerable:!0,configurable:!0,writable:!0}):c[d]=m,c}var n=e.SET_A=0,r=e.SET_B=1,i=e.SET_C=2;e.SHIFT=98;var o=e.START_A=103,l=e.START_B=104,u=e.START_C=105;e.MODULO=103,e.STOP=106,e.FNC1=207,e.SET_BY_CODE=(t={},a(t,o,n),a(t,l,r),a(t,u,i),t),e.SWAP={101:n,100:r,99:i},e.A_START_CHAR="Ð",e.B_START_CHAR="Ñ",e.C_START_CHAR="Ò",e.A_CHARS="[\0-_È-Ï]",e.B_CHARS="[ -È-Ï]",e.C_CHARS="(Ï*[0-9]{2}Ï*)",e.BARS=[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11011110110,11110110110,10101111e3,10100011110,10001011110,10111101e3,10111100010,11110101e3,11110100010,10111011110,10111101110,11101011110,11110101110,11010000100,1101001e4,11010011100,1100011101011]}),au=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),a=Dn(),n=i(a),r=Ko();function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(v,g){o(this,m);var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v.substring(1),g));return w.bytes=v.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 v=this.bytes,g=v.shift()-105,w=r.SET_BY_CODE[g];if(w===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&v.unshift(r.FNC1);var x=m.next(v,1,w);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:m.getBar(g)+x.result+m.getBar((x.checksum+g)%r.MODULO)+m.getBar(r.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var v=this.options.ean128||!1;return typeof v=="string"&&(v=v.toLowerCase()==="true"),v}}],[{key:"getBar",value:function(v){return r.BARS[v]?r.BARS[v].toString():""}},{key:"correctIndex",value:function(v,g){if(g===r.SET_A){var w=v.shift();return w<32?w+64:w-32}else return g===r.SET_B?v.shift()-32:(v.shift()-48)*10+v.shift()-48}},{key:"next",value:function(v,g,w){if(!v.length)return{result:"",checksum:0};var x=void 0,k=void 0;if(v[0]>=200){k=v.shift()-105;var D=r.SWAP[k];D!==void 0?x=m.next(v,g+1,D):((w===r.SET_A||w===r.SET_B)&&k===r.SHIFT&&(v[0]=w===r.SET_A?v[0]>95?v[0]-96:v[0]:v[0]<32?v[0]+96:v[0]),x=m.next(v,g+1,w))}else k=m.correctIndex(v,w),x=m.next(v,g+1,w);var N=m.getBar(k),O=k*g;return{result:N+x.result,checksum:O+x.checksum}}}]),m}(n.default);e.default=c}),mq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Ko(),a=function(l){return l.match(new RegExp("^"+t.A_CHARS+"*"))[0].length},n=function(l){return l.match(new RegExp("^"+t.B_CHARS+"*"))[0].length},r=function(l){return l.match(new RegExp("^"+t.C_CHARS+"*"))[0]};function i(l,u){var c=u?t.A_CHARS:t.B_CHARS,d=l.match(new RegExp("^("+c+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(d)return d[1]+"Ì"+o(l.substring(d[1].length));var m=l.match(new RegExp("^"+c+"+"))[0];return m.length===l.length?l:m+String.fromCharCode(u?205:206)+i(l.substring(m.length),!u)}function o(l){var u=r(l),c=u.length;if(c===l.length)return l;l=l.substring(c);var d=a(l)>=n(l);return u+String.fromCharCode(d?206:205)+i(l,d)}e.default=function(l){var u=void 0,c=r(l).length;if(c>=2)u=t.C_START_CHAR+o(l);else{var d=a(l)>n(l);u=(d?t.A_START_CHAR:t.B_START_CHAR)+i(l,d)}return u.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(m,v){return"Ë"+v})}}),fq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=au(),a=i(t),n=mq(),r=i(n);function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(v,g){if(o(this,m),/^[\x00-\x7F\xC8-\xD3]+$/.test(v))var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,(0,r.default)(v),g));else var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g));return l(w)}return m}(a.default);e.default=c}),gq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),a=au(),n=i(a),r=Ko();function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,r.A_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+r.A_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=c}),vq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),a=au(),n=i(a),r=Ko();function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,r.B_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+r.B_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=c}),bq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),a=au(),n=i(a),r=Ko();function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,r.C_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+r.C_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=c}),yq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=fq(),a=c(t),n=gq(),r=c(n),i=vq(),o=c(i),l=bq(),u=c(l);function c(d){return d&&d.__esModule?d:{default:d}}e.CODE128=a.default,e.CODE128A=r.default,e.CODE128B=o.default,e.CODE128C=u.default}),Qo=se(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"]}),Xo=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Qo(),a=function(n,r,i){var o=n.split("").map(function(u,c){return t.BINARIES[r[c]]}).map(function(u,c){return u?u[n[c]]:""});if(i){var l=n.length-1;o=o.map(function(u,c){return c<l?u+i:u})}return o.join("")};e.default=a}),Dv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,w){for(var x=0;x<w.length;x++){var k=w[x];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(g,k.key,k)}}return function(g,w,x){return w&&v(g.prototype,w),x&&v(g,x),g}}(),a=Qo(),n=Xo(),r=l(n),i=Dn(),o=l(i);function l(v){return v&&v.__esModule?v:{default:v}}function u(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function c(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function d(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var m=function(v){d(g,v);function g(w,x){u(this,g);var k=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return k.fontSize=!x.flat&&x.fontSize>x.width*10?x.width*10:x.fontSize,k.guardHeight=x.height+k.fontSize/2+x.textMargin,k}return t(g,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(w,x){return this.text.substr(w,x)}},{key:"leftEncode",value:function(w,x){return(0,r.default)(w,x)}},{key:"rightText",value:function(w,x){return this.text.substr(w,x)}},{key:"rightEncode",value:function(w,x){return(0,r.default)(w,x)}},{key:"encodeGuarded",value:function(){var w={fontSize:this.fontSize},x={height:this.guardHeight};return[{data:a.SIDE_BIN,options:x},{data:this.leftEncode(),text:this.leftText(),options:w},{data:a.MIDDLE_BIN,options:x},{data:this.rightEncode(),text:this.rightText(),options:w},{data:a.SIDE_BIN,options:x}]}},{key:"encodeFlat",value:function(){var w=[a.SIDE_BIN,this.leftEncode(),a.MIDDLE_BIN,this.rightEncode(),a.SIDE_BIN];return{data:w.join(""),text:this.text}}}]),g}(o.default);e.default=m}),_q=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,w){for(var x=0;x<w.length;x++){var k=w[x];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(g,k.key,k)}}return function(g,w,x){return w&&v(g.prototype,w),x&&v(g,x),g}}(),a=function v(g,w,x){g===null&&(g=Function.prototype);var k=Object.getOwnPropertyDescriptor(g,w);if(k===void 0){var D=Object.getPrototypeOf(g);return D===null?void 0:v(D,w,x)}else{if("value"in k)return k.value;var N=k.get;return N===void 0?void 0:N.call(x)}},n=Qo(),r=Dv(),i=o(r);function o(v){return v&&v.__esModule?v:{default:v}}function l(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function u(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function c(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var d=function(v){var g=v.substr(0,12).split("").map(function(w){return+w}).reduce(function(w,x,k){return k%2?w+x*3:w+x},0);return(10-g%10)%10},m=function(v){c(g,v);function g(w,x){l(this,g),w.search(/^[0-9]{12}$/)!==-1&&(w+=d(w));var k=u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return k.lastChar=x.lastChar,k}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===d(this.data)}},{key:"leftText",value:function(){return a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var w=this.data.substr(1,6),x=n.EAN13_STRUCTURE[this.data[0]];return a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftEncode",this).call(this,w,x)}},{key:"rightText",value:function(){return a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var w=this.data.substr(7,6);return a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightEncode",this).call(this,w,"RRRRRR")}},{key:"encodeGuarded",value:function(){var w=a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(w.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(w.push({data:"00"}),w.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),w}}]),g}(i.default);e.default=m}),wq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function m(v,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(v,x.key,x)}}return function(v,g,w){return g&&m(v.prototype,g),w&&m(v,w),v}}(),a=function m(v,g,w){v===null&&(v=Function.prototype);var x=Object.getOwnPropertyDescriptor(v,g);if(x===void 0){var k=Object.getPrototypeOf(v);return k===null?void 0:m(k,g,w)}else{if("value"in x)return x.value;var D=x.get;return D===void 0?void 0:D.call(w)}},n=Dv(),r=i(n);function i(m){return m&&m.__esModule?m:{default:m}}function o(m,v){if(!(m instanceof v))throw new TypeError("Cannot call a class as a function")}function l(m,v){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:m}function u(m,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);m.prototype=Object.create(v&&v.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(m,v):m.__proto__=v)}var c=function(m){var v=m.substr(0,7).split("").map(function(g){return+g}).reduce(function(g,w,x){return x%2?g+w:g+w*3},0);return(10-v%10)%10},d=function(m){u(v,m);function v(g,w){return o(this,v),g.search(/^[0-9]{7}$/)!==-1&&(g+=c(g)),l(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,g,w))}return t(v,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===c(this.data)}},{key:"leftText",value:function(){return a(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var g=this.data.substr(0,4);return a(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"leftEncode",this).call(this,g,"LLLL")}},{key:"rightText",value:function(){return a(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var g=this.data.substr(4,4);return a(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"rightEncode",this).call(this,g,"RRRR")}}]),v}(r.default);e.default=d}),xq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function g(w,x){for(var k=0;k<x.length;k++){var D=x[k];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(w,D.key,D)}}return function(w,x,k){return x&&g(w.prototype,x),k&&g(w,k),w}}(),a=Qo(),n=Xo(),r=l(n),i=Dn(),o=l(i);function l(g){return g&&g.__esModule?g:{default:g}}function u(g,w){if(!(g instanceof w))throw new TypeError("Cannot call a class as a function")}function c(g,w){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w&&(typeof w=="object"||typeof w=="function")?w:g}function d(g,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);g.prototype=Object.create(w&&w.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(g,w):g.__proto__=w)}var m=function(g){var w=g.split("").map(function(x){return+x}).reduce(function(x,k,D){return D%2?x+k*9:x+k*3},0);return w%10},v=function(g){d(w,g);function w(x,k){return u(this,w),c(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,x,k))}return t(w,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var x=a.EAN5_STRUCTURE[m(this.data)];return{data:"1011"+(0,r.default)(this.data,x,"01"),text:this.text}}}]),w}(o.default);e.default=v}),Eq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,w){for(var x=0;x<w.length;x++){var k=w[x];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(g,k.key,k)}}return function(g,w,x){return w&&v(g.prototype,w),x&&v(g,x),g}}(),a=Qo(),n=Xo(),r=l(n),i=Dn(),o=l(i);function l(v){return v&&v.__esModule?v:{default:v}}function u(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function c(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function d(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var m=function(v){d(g,v);function g(w,x){return u(this,g),c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x))}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var w=a.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,r.default)(this.data,w,"01"),text:this.text}}}]),g}(o.default);e.default=m}),Iv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,w){for(var x=0;x<w.length;x++){var k=w[x];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(g,k.key,k)}}return function(g,w,x){return w&&v(g.prototype,w),x&&v(g,x),g}}();e.checksum=m;var a=Xo(),n=o(a),r=Dn(),i=o(r);function o(v){return v&&v.__esModule?v:{default:v}}function l(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function u(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function c(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var d=function(v){c(g,v);function g(w,x){l(this,g),w.search(/^[0-9]{11}$/)!==-1&&(w+=m(w));var k=u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return k.displayValue=x.displayValue,x.fontSize>x.width*10?k.fontSize=x.width*10:k.fontSize=x.fontSize,k.guardHeight=x.height+k.fontSize/2+x.textMargin,k}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(v){var g=0,w;for(w=1;w<11;w+=2)g+=parseInt(v[w]);for(w=0;w<11;w+=2)g+=parseInt(v[w])*3;return(10-g%10)%10}e.default=d}),Sq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function x(k,D){for(var N=0;N<D.length;N++){var O=D[N];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(k,O.key,O)}}return function(k,D,N){return D&&x(k.prototype,D),N&&x(k,N),k}}(),a=Xo(),n=l(a),r=Dn(),i=l(r),o=Iv();function l(x){return x&&x.__esModule?x:{default:x}}function u(x,k){if(!(x instanceof k))throw new TypeError("Cannot call a class as a function")}function c(x,k){if(!x)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k&&(typeof k=="object"||typeof k=="function")?k:x}function d(x,k){if(typeof k!="function"&&k!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof k);x.prototype=Object.create(k&&k.prototype,{constructor:{value:x,enumerable:!1,writable:!0,configurable:!0}}),k&&(Object.setPrototypeOf?Object.setPrototypeOf(x,k):x.__proto__=k)}var m=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],v=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],g=function(x){d(k,x);function k(D,N){u(this,k);var O=c(this,(k.__proto__||Object.getPrototypeOf(k)).call(this,D,N));if(O.isValid=!1,D.search(/^[0-9]{6}$/)!==-1)O.middleDigits=D,O.upcA=w(D,"0"),O.text=N.text||""+O.upcA[0]+D+O.upcA[O.upcA.length-1],O.isValid=!0;else if(D.search(/^[01][0-9]{7}$/)!==-1)if(O.middleDigits=D.substring(1,D.length-1),O.upcA=w(O.middleDigits,D[0]),O.upcA[O.upcA.length-1]===D[D.length-1])O.isValid=!0;else return c(O);else return c(O);return O.displayValue=N.displayValue,N.fontSize>N.width*10?O.fontSize=N.width*10:O.fontSize=N.fontSize,O.guardHeight=N.height+O.fontSize/2+N.textMargin,O}return t(k,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var D="";return D+="101",D+=this.encodeMiddleDigits(),D+="010101",{data:D,text:this.text}}},{key:"guardedEncoding",value:function(){var D=[];return this.displayValue&&D.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),D.push({data:"101",options:{height:this.guardHeight}}),D.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),D.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&D.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),D}},{key:"encodeMiddleDigits",value:function(){var D=this.upcA[0],N=this.upcA[this.upcA.length-1],O=v[parseInt(N)][parseInt(D)];return(0,n.default)(this.middleDigits,O)}}]),k}(i.default);function w(x,k){for(var D=parseInt(x[x.length-1]),N=m[D],O="",J=0,le=0;le<N.length;le++){var _e=N[le];_e==="X"?O+=x[J++]:O+=_e}return O=""+k+O,""+O+(0,o.checksum)(O)}e.default=g}),kq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=_q(),a=g(t),n=wq(),r=g(n),i=xq(),o=g(i),l=Eq(),u=g(l),c=Iv(),d=g(c),m=Sq(),v=g(m);function g(w){return w&&w.__esModule?w:{default:w}}e.EAN13=a.default,e.EAN8=r.default,e.EAN5=o.default,e.EAN2=u.default,e.UPC=d.default,e.UPCE=v.default}),Cq=se(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"]}),Tv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),a=Cq(),n=Dn(),r=i(n);function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return t(m,[{key:"valid",value:function(){return this.data.search(/^([0-9]{2})+$/)!==-1}},{key:"encode",value:function(){var v=this,g=this.data.match(/.{2}/g).map(function(w){return v.encodePair(w)}).join("");return{data:a.START_BIN+g+a.END_BIN,text:this.text}}},{key:"encodePair",value:function(v){var g=a.BINARIES[v[1]];return a.BINARIES[v[0]].split("").map(function(w,x){return(w==="1"?"111":"1")+(g[x]==="1"?"000":"0")}).join("")}}]),m}(r.default);e.default=c}),Dq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),a=Tv(),n=r(a);function r(d){return d&&d.__esModule?d:{default:d}}function i(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function o(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function l(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var u=function(d){var m=d.substr(0,13).split("").map(function(v){return parseInt(v,10)}).reduce(function(v,g,w){return v+g*(3-w%2*2)},0);return Math.ceil(m/10)*10-m},c=function(d){l(m,d);function m(v,g){return i(this,m),v.search(/^[0-9]{13}$/)!==-1&&(v+=u(v)),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===u(this.data)}}]),m}(n.default);e.default=c}),Iq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=Tv(),a=i(t),n=Dq(),r=i(n);function i(o){return o&&o.__esModule?o:{default:o}}e.ITF=a.default,e.ITF14=r.default}),Jo=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),a=Dn(),n=r(a);function r(d){return d&&d.__esModule?d:{default:d}}function i(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function o(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function l(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var u=function(d){l(m,d);function m(v,g){return i(this,m),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"encode",value:function(){for(var v="110",g=0;g<this.data.length;g++){var w=parseInt(this.data[g]),x=w.toString(2);x=c(x,4-x.length);for(var k=0;k<x.length;k++)v+=x[k]=="0"?"100":"110"}return v+="1001",{data:v,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),m}(n.default);function c(d,m){for(var v=0;v<m;v++)d="0"+d;return d}e.default=u}),ru=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.mod10=t,e.mod11=a;function t(n){for(var r=0,i=0;i<n.length;i++){var o=parseInt(n[i]);(i+n.length)%2===0?r+=o:r+=o*2%10+Math.floor(o*2/10)}return(10-r%10)%10}function a(n){for(var r=0,i=[2,3,4,5,6,7],o=0;o<n.length;o++){var l=parseInt(n[n.length-1-o]);r+=i[o%i.length]*l}return(11-r%11)%11}}),Tq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Jo(),a=r(t),n=ru();function r(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){return i(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m+(0,n.mod10)(m),v))}return d}(a.default);e.default=u}),Rq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Jo(),a=r(t),n=ru();function r(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){return i(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m+(0,n.mod11)(m),v))}return d}(a.default);e.default=u}),Nq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Jo(),a=r(t),n=ru();function r(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){return i(this,d),m+=(0,n.mod10)(m),m+=(0,n.mod10)(m),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,v))}return d}(a.default);e.default=u}),Oq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Jo(),a=r(t),n=ru();function r(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){return i(this,d),m+=(0,n.mod11)(m),m+=(0,n.mod10)(m),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,v))}return d}(a.default);e.default=u}),Mq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var t=Jo(),a=m(t),n=Tq(),r=m(n),i=Rq(),o=m(i),l=Nq(),u=m(l),c=Oq(),d=m(c);function m(v){return v&&v.__esModule?v:{default:v}}e.MSI=a.default,e.MSI10=r.default,e.MSI11=o.default,e.MSI1010=u.default,e.MSI1110=d.default}),Aq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.pharmacode=void 0;var t=function(){function c(d,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,v){return m&&c(d.prototype,m),v&&c(d,v),d}}(),a=Dn(),n=r(a);function r(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){i(this,d);var g=o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,v));return g.number=parseInt(m,10),g}return t(d,[{key:"encode",value:function(){for(var m=this.number,v="";!isNaN(m)&&m!=0;)m%2===0?(v="11100"+v,m=(m-2)/2):(v="100"+v,m=(m-1)/2);return v=v.slice(0,-2),{data:v,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),d}(n.default);e.pharmacode=u}),Pq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codabar=void 0;var t=function(){function c(d,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,v){return m&&c(d.prototype,m),v&&c(d,v),d}}(),a=Dn(),n=r(a);function r(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){i(this,d),m.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(m="A"+m+"A");var g=o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m.toUpperCase(),v));return g.text=g.options.text||g.text.replace(/[A-D]/g,""),g}return t(d,[{key:"valid",value:function(){return this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)!==-1}},{key:"encode",value:function(){for(var m=[],v=this.getEncodings(),g=0;g<this.data.length;g++)m.push(v[this.data.charAt(g)]),g!==this.data.length-1&&m.push("0");return{text:this.text,data:m.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"1011011011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),d}(n.default);e.codabar=u}),Lq=se(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"]}}),Rv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),a=Lq(),n=Dn(),r=i(n);function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"valid",value:function(){return/^[0-9A-Z\-. $/+%]+$/.test(this.data)}},{key:"encode",value:function(){var v=this.data.split("").flatMap(function(k){return a.MULTI_SYMBOLS[k]||k}),g=v.map(function(k){return m.getEncoding(k)}).join(""),w=m.checksum(v,20),x=m.checksum(v.concat(w),15);return{text:this.text,data:m.getEncoding("ÿ")+g+m.getEncoding(w)+m.getEncoding(x)+m.getEncoding("ÿ")+"1"}}}],[{key:"getEncoding",value:function(v){return a.BINARIES[m.symbolValue(v)]}},{key:"getSymbol",value:function(v){return a.SYMBOLS[v]}},{key:"symbolValue",value:function(v){return a.SYMBOLS.indexOf(v)}},{key:"checksum",value:function(v,g){var w=v.slice().reverse().reduce(function(x,k,D){var N=D%g+1;return x+m.symbolValue(k)*N},0);return m.getSymbol(w%47)}}]),m}(r.default);e.default=c}),Fq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(d,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,v){return m&&c(d.prototype,m),v&&c(d,v),d}}(),a=Rv(),n=r(a);function r(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){return i(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,v))}return t(d,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),d}(n.default);e.default=u}),jq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE93FullASCII=e.CODE93=void 0;var t=Rv(),a=i(t),n=Fq(),r=i(n);function i(o){return o&&o.__esModule?o:{default:o}}e.CODE93=a.default,e.CODE93FullASCII=r.default}),Vq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GenericBarcode=void 0;var t=function(){function c(d,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,v){return m&&c(d.prototype,m),v&&c(d,v),d}}(),a=Dn(),n=r(a);function r(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){return i(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,v))}return t(d,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),d}(n.default);e.GenericBarcode=u}),zq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=pq(),a=yq(),n=kq(),r=Iq(),i=Mq(),o=Aq(),l=Pq(),u=jq(),c=Vq();e.default={CODE39:t.CODE39,CODE128:a.CODE128,CODE128A:a.CODE128A,CODE128B:a.CODE128B,CODE128C:a.CODE128C,EAN13:n.EAN13,EAN8:n.EAN8,EAN5:n.EAN5,EAN2:n.EAN2,UPC:n.UPC,UPCE:n.UPCE,ITF14:r.ITF14,ITF:r.ITF,MSI:i.MSI,MSI10:i.MSI10,MSI11:i.MSI11,MSI1010:i.MSI1010,MSI1110:i.MSI1110,pharmacode:o.pharmacode,codabar:l.codabar,CODE93:u.CODE93,CODE93FullASCII:u.CODE93FullASCII,GenericBarcode:c.GenericBarcode}}),iu=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(a){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])}return a};e.default=function(a,n){return t({},a,n)}}),Bq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(a){var n=[];function r(i){if(Array.isArray(i))for(var o=0;o<i.length;o++)r(i[o]);else i.text=i.text||"",i.data=i.data||"",n.push(i)}return r(a),n}}),Hq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(a){return a.marginTop=a.marginTop||a.margin,a.marginBottom=a.marginBottom||a.margin,a.marginRight=a.marginRight||a.margin,a.marginLeft=a.marginLeft||a.margin,a}}),Nv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(a){var n=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var r in n)n.hasOwnProperty(r)&&(r=n[r],typeof a[r]=="string"&&(a[r]=parseInt(a[r],10)));return typeof a.displayValue=="string"&&(a.displayValue=a.displayValue!="false"),a}}),Ov=se(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}),qq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Nv(),a=i(t),n=Ov(),r=i(n);function i(l){return l&&l.__esModule?l:{default:l}}function o(l){var u={};for(var c in r.default)r.default.hasOwnProperty(c)&&(l.hasAttribute("jsbarcode-"+c.toLowerCase())&&(u[c]=l.getAttribute("jsbarcode-"+c.toLowerCase())),l.hasAttribute("data-"+c.toLowerCase())&&(u[c]=l.getAttribute("data-"+c.toLowerCase())));return u.value=l.getAttribute("jsbarcode-value")||l.getAttribute("data-value"),u=(0,a.default)(u),u}e.default=o}),Mv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var t=iu(),a=n(t);function n(d){return d&&d.__esModule?d:{default:d}}function r(d,m){return m.height+(m.displayValue&&d.text.length>0?m.fontSize+m.textMargin:0)+m.marginTop+m.marginBottom}function i(d,m,v){if(v.displayValue&&m<d){if(v.textAlign=="center")return Math.floor((d-m)/2);if(v.textAlign=="left")return 0;if(v.textAlign=="right")return Math.floor(d-m)}return 0}function o(d,m,v){for(var g=0;g<d.length;g++){var w=d[g],x=(0,a.default)(m,w.options),k;x.displayValue?k=c(w.text,x,v):k=0;var D=w.data.length*x.width;w.width=Math.ceil(Math.max(k,D)),w.height=r(w,x),w.barcodePadding=i(k,D,x)}}function l(d){for(var m=0,v=0;v<d.length;v++)m+=d[v].width;return m}function u(d){for(var m=0,v=0;v<d.length;v++)d[v].height>m&&(m=d[v].height);return m}function c(d,m,v){var g;if(v)g=v;else if(typeof document<"u")g=document.createElement("canvas").getContext("2d");else return 0;g.font=m.fontOptions+" "+m.fontSize+"px "+m.font;var w=g.measureText(d);if(!w)return 0;var x=w.width;return x}e.getMaximumHeightOfEncodings=u,e.getEncodingHeight=r,e.getBarcodePadding=i,e.calculateEncodingAttributes=o,e.getTotalWidthOfEncodings=l}),$q=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(c,d){for(var m=0;m<d.length;m++){var v=d[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(c,v.key,v)}}return function(c,d,m){return d&&u(c.prototype,d),m&&u(c,m),c}}(),a=iu(),n=i(a),r=Mv();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=function(){function u(c,d,m){o(this,u),this.canvas=c,this.encodings=d,this.options=m}return t(u,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var c=0;c<this.encodings.length;c++){var d=(0,n.default)(this.options,this.encodings[c].options);this.drawCanvasBarcode(d,this.encodings[c]),this.drawCanvasText(d,this.encodings[c]),this.moveCanvasDrawing(this.encodings[c])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var c=this.canvas.getContext("2d");c.save(),(0,r.calculateEncodingAttributes)(this.encodings,this.options,c);var d=(0,r.getTotalWidthOfEncodings)(this.encodings),m=(0,r.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=d+this.options.marginLeft+this.options.marginRight,this.canvas.height=m,c.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(c.fillStyle=this.options.background,c.fillRect(0,0,this.canvas.width,this.canvas.height)),c.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(c,d){var m=this.canvas.getContext("2d"),v=d.data,g;c.textPosition=="top"?g=c.marginTop+c.fontSize+c.textMargin:g=c.marginTop,m.fillStyle=c.lineColor;for(var w=0;w<v.length;w++){var x=w*c.width+d.barcodePadding;v[w]==="1"?m.fillRect(x,g,c.width,c.height):v[w]&&m.fillRect(x,g,c.width,c.height*v[w])}}},{key:"drawCanvasText",value:function(c,d){var m=this.canvas.getContext("2d"),v=c.fontOptions+" "+c.fontSize+"px "+c.font;if(c.displayValue){var g,w;c.textPosition=="top"?w=c.marginTop+c.fontSize-c.textMargin:w=c.height+c.textMargin+c.marginTop+c.fontSize,m.font=v,c.textAlign=="left"||d.barcodePadding>0?(g=0,m.textAlign="left"):c.textAlign=="right"?(g=d.width-1,m.textAlign="right"):(g=d.width/2,m.textAlign="center"),m.fillText(d.text,g,w)}}},{key:"moveCanvasDrawing",value:function(c){var d=this.canvas.getContext("2d");d.translate(c.width,0)}},{key:"restoreCanvas",value:function(){var c=this.canvas.getContext("2d");c.restore()}}]),u}();e.default=l}),Uq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(d,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,v){return m&&c(d.prototype,m),v&&c(d,v),d}}(),a=iu(),n=i(a),r=Mv();function i(c){return c&&c.__esModule?c:{default:c}}function o(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}var l="http://www.w3.org/2000/svg",u=function(){function c(d,m,v){o(this,c),this.svg=d,this.encodings=m,this.options=v,this.document=v.xmlDocument||document}return t(c,[{key:"render",value:function(){var d=this.options.marginLeft;this.prepareSVG();for(var m=0;m<this.encodings.length;m++){var v=this.encodings[m],g=(0,n.default)(this.options,v.options),w=this.createGroup(d,g.marginTop,this.svg);this.setGroupOptions(w,g),this.drawSvgBarcode(w,g,v),this.drawSVGText(w,g,v),d+=v.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,r.calculateEncodingAttributes)(this.encodings,this.options);var d=(0,r.getTotalWidthOfEncodings)(this.encodings),m=(0,r.getMaximumHeightOfEncodings)(this.encodings),v=d+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(v,m),this.options.background&&this.drawRect(0,0,v,m,this.svg).setAttribute("style","fill:"+this.options.background+";")}},{key:"drawSvgBarcode",value:function(d,m,v){var g=v.data,w;m.textPosition=="top"?w=m.fontSize+m.textMargin:w=0;for(var x=0,k=0,D=0;D<g.length;D++)k=D*m.width+v.barcodePadding,g[D]==="1"?x++:x>0&&(this.drawRect(k-m.width*x,w,m.width*x,m.height,d),x=0);x>0&&this.drawRect(k-m.width*(x-1),w,m.width*x,m.height,d)}},{key:"drawSVGText",value:function(d,m,v){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"||v.barcodePadding>0?(w=0,g.setAttribute("text-anchor","start")):m.textAlign=="right"?(w=v.width-1,g.setAttribute("text-anchor","end")):(w=v.width/2,g.setAttribute("text-anchor","middle")),g.setAttribute("x",w),g.setAttribute("y",x),g.appendChild(this.document.createTextNode(v.text)),d.appendChild(g)}}},{key:"setSvgAttributes",value:function(d,m){var v=this.svg;v.setAttribute("width",d+"px"),v.setAttribute("height",m+"px"),v.setAttribute("x","0px"),v.setAttribute("y","0px"),v.setAttribute("viewBox","0 0 "+d+" "+m),v.setAttribute("xmlns",l),v.setAttribute("version","1.1"),v.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(d,m,v){var g=this.document.createElementNS(l,"g");return g.setAttribute("transform","translate("+d+", "+m+")"),v.appendChild(g),g}},{key:"setGroupOptions",value:function(d,m){d.setAttribute("style","fill:"+m.lineColor+";")}},{key:"drawRect",value:function(d,m,v,g,w){var x=this.document.createElementNS(l,"rect");return x.setAttribute("x",d),x.setAttribute("y",m),x.setAttribute("width",v),x.setAttribute("height",g),w.appendChild(x),x}}]),c}();e.default=u}),Gq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function r(i,o){for(var l=0;l<o.length;l++){var u=o[l];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(i,u.key,u)}}return function(i,o,l){return o&&r(i.prototype,o),l&&r(i,l),i}}();function a(r,i){if(!(r instanceof i))throw new TypeError("Cannot call a class as a function")}var n=function(){function r(i,o,l){a(this,r),this.object=i,this.encodings=o,this.options=l}return t(r,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),r}();e.default=n}),Wq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=$q(),a=l(t),n=Uq(),r=l(n),i=Gq(),o=l(i);function l(u){return u&&u.__esModule?u:{default:u}}e.default={CanvasRenderer:a.default,SVGRenderer:r.default,ObjectRenderer:o.default}}),Av=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(l,u){if(!(l instanceof u))throw new TypeError("Cannot call a class as a function")}function a(l,u){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:l}function n(l,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);l.prototype=Object.create(u&&u.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(l,u):l.__proto__=u)}var r=function(l){n(u,l);function u(c,d){t(this,u);var m=a(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return m.name="InvalidInputException",m.symbology=c,m.input=d,m.message='"'+m.input+'" is not a valid input for '+m.symbology,m}return u}(Error),i=function(l){n(u,l);function u(){t(this,u);var c=a(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return c.name="InvalidElementException",c.message="Not supported type to render on",c}return u}(Error),o=function(l){n(u,l);function u(){t(this,u);var c=a(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return c.name="NoElementException",c.message="No element to render on.",c}return u}(Error);e.InvalidInputException=r,e.InvalidElementException=i,e.NoElementException=o}),Zq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},a=qq(),n=l(a),r=Wq(),i=l(r),o=Av();function l(m){return m&&m.__esModule?m:{default:m}}function u(m){if(typeof m=="string")return c(m);if(Array.isArray(m)){for(var v=[],g=0;g<m.length;g++)v.push(u(m[g]));return v}else{if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLImageElement)return d(m);if(m&&m.nodeName&&m.nodeName.toLowerCase()==="svg"||typeof SVGElement<"u"&&m instanceof SVGElement)return{element:m,options:(0,n.default)(m),renderer:i.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLCanvasElement)return{element:m,options:(0,n.default)(m),renderer:i.default.CanvasRenderer};if(m&&m.getContext)return{element:m,renderer:i.default.CanvasRenderer};if(m&&(typeof m>"u"?"undefined":t(m))==="object"&&!m.nodeName)return{element:m,renderer:i.default.ObjectRenderer};throw new o.InvalidElementException}}function c(m){var v=document.querySelectorAll(m);if(v.length!==0){for(var g=[],w=0;w<v.length;w++)g.push(u(v[w]));return g}}function d(m){var v=document.createElement("canvas");return{element:v,options:(0,n.default)(m),renderer:i.default.CanvasRenderer,afterRender:function(){m.setAttribute("src",v.toDataURL())}}}e.default=u}),Yq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function r(i,o){for(var l=0;l<o.length;l++){var u=o[l];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(i,u.key,u)}}return function(i,o,l){return o&&r(i.prototype,o),l&&r(i,l),i}}();function a(r,i){if(!(r instanceof i))throw new TypeError("Cannot call a class as a function")}var n=function(){function r(i){a(this,r),this.api=i}return t(r,[{key:"handleCatch",value:function(i){if(i.name==="InvalidInputException")if(this.api._options.valid!==this.api._defaults.valid)this.api._options.valid(!1);else throw i.message;else throw i;this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(i){try{var o=i.apply(void 0,arguments);return this.api._options.valid(!0),o}catch(l){return this.handleCatch(l),this.api}}}]),r}();e.default=n}),Kq=se((e,t)=>{var a=zq(),n=O(a),r=iu(),i=O(r),o=Bq(),l=O(o),u=Hq(),c=O(u),d=Zq(),m=O(d),v=Nv(),g=O(v),w=Yq(),x=O(w),k=Av(),D=Ov(),N=O(D);function O(X){return X&&X.__esModule?X:{default:X}}var J=function(){},le=function(X,G,xe){var F=new J;if(typeof X>"u")throw Error("No element to render on was provided.");return F._renderProperties=(0,m.default)(X),F._encodings=[],F._options=N.default,F._errorHandler=new x.default(F),typeof G<"u"&&(xe=xe||{},xe.format||(xe.format=nt()),F.options(xe)[xe.format](G,xe).render()),F};le.getModule=function(X){return n.default[X]};for(_e in n.default)n.default.hasOwnProperty(_e)&&Nt(n.default,_e);var _e;function Nt(X,G){J.prototype[G]=J.prototype[G.toUpperCase()]=J.prototype[G.toLowerCase()]=function(xe,F){var H=this;return H._errorHandler.wrapBarcodeCall(function(){F.text=typeof F.text>"u"?void 0:""+F.text;var Y=(0,i.default)(H._options,F);Y=(0,g.default)(Y);var Ie=X[G],Xe=_t(xe,Ie,Y);return H._encodings.push(Xe),H})}}function _t(X,G,xe){X=""+X;var F=new G(X,xe);if(!F.valid())throw new k.InvalidInputException(F.constructor.name,X);var H=F.encode();H=(0,l.default)(H);for(var Y=0;Y<H.length;Y++)H[Y].options=(0,i.default)(xe,H[Y].options);return H}function nt(){return n.default.CODE128?"CODE128":Object.keys(n.default)[0]}J.prototype.options=function(X){return this._options=(0,i.default)(this._options,X),this},J.prototype.blank=function(X){var G=new Array(X+1).join("0");return this._encodings.push({data:G}),this},J.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var X;for(var G in this._renderProperties){X=this._renderProperties[G];var xe=(0,i.default)(this._options,X.options);xe.format=="auto"&&(xe.format=nt()),this._errorHandler.wrapBarcodeCall(function(){var F=xe.value,H=n.default[xe.format.toUpperCase()],Y=_t(F,H,xe);Ct(X,Y,xe)})}}},J.prototype.render=function(){if(!this._renderProperties)throw new k.NoElementException;if(Array.isArray(this._renderProperties))for(var X=0;X<this._renderProperties.length;X++)Ct(this._renderProperties[X],this._encodings,this._options);else Ct(this._renderProperties,this._encodings,this._options);return this},J.prototype._defaults=N.default;function Ct(X,G,xe){G=(0,l.default)(G);for(var F=0;F<G.length;F++)G[F].options=(0,i.default)(xe,G[F].options),(0,c.default)(G[F].options);(0,c.default)(xe);var H=X.renderer,Y=new H(X.element,G,xe);Y.render(),X.afterRender&&X.afterRender()}typeof window<"u"&&(window.JsBarcode=le),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(X,G){var xe=[];return jQuery(this).each(function(){xe.push(this)}),le(xe,X,G)}),t.exports=le});function mh(e,t){return Object.is(e,t)}var xt=null,el=!1,fh=1,fn=Symbol("SIGNAL");function De(e){let t=xt;return xt=e,t}function Qq(){return xt}var zi={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 es(e){if(el)throw new Error("");if(xt===null)return;xt.consumerOnSignalRead(e);let t=xt.nextProducerIndex++;if(uu(xt),t<xt.producerNode.length&&xt.producerNode[t]!==e&&Io(xt)){let a=xt.producerNode[t];lu(a,xt.producerIndexOfThis[t])}xt.producerNode[t]!==e&&(xt.producerNode[t]=e,xt.producerIndexOfThis[t]=Io(xt)?Fv(e,xt,t):0),xt.producerLastReadVersion[t]=e.version}function Xq(){fh++}function ts(e){if(!(Io(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===fh)){if(!e.producerMustRecompute(e)&&!gh(e)){bl(e);return}e.producerRecomputeValue(e),bl(e)}}function Pv(e){if(e.liveConsumerNode===void 0)return;let t=el;el=!0;try{for(let a of e.liveConsumerNode)a.dirty||Jq(a)}finally{el=t}}function Lv(){return(xt==null?void 0:xt.consumerAllowSignalWrites)!==!1}function Jq(e){var t;e.dirty=!0,Pv(e),(t=e.consumerMarkedDirty)==null||t.call(e,e)}function bl(e){e.dirty=!1,e.lastCleanEpoch=fh}function Do(e){return e&&(e.nextProducerIndex=0),De(e)}function ou(e,t){if(De(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Io(e))for(let a=e.nextProducerIndex;a<e.producerNode.length;a++)lu(e.producerNode[a],e.producerIndexOfThis[a]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function gh(e){uu(e);for(let t=0;t<e.producerNode.length;t++){let a=e.producerNode[t],n=e.producerLastReadVersion[t];if(n!==a.version||(ts(a),n!==a.version))return!0}return!1}function su(e){if(uu(e),Io(e))for(let t=0;t<e.producerNode.length;t++)lu(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 Fv(e,t,a){if(jv(e),e.liveConsumerNode.length===0&&Vv(e))for(let n=0;n<e.producerNode.length;n++)e.producerIndexOfThis[n]=Fv(e.producerNode[n],e,n);return e.liveConsumerIndexOfThis.push(a),e.liveConsumerNode.push(t)-1}function lu(e,t){if(jv(e),e.liveConsumerNode.length===1&&Vv(e))for(let n=0;n<e.producerNode.length;n++)lu(e.producerNode[n],e.producerIndexOfThis[n]);let a=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[a],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[a],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let n=e.liveConsumerIndexOfThis[t],r=e.liveConsumerNode[t];uu(r),r.producerIndexOfThis[n]=t}}function Io(e){var t;return e.consumerIsAlwaysLive||(((t=e==null?void 0:e.liveConsumerNode)==null?void 0:t.length)??0)>0}function uu(e){e.producerNode??(e.producerNode=[]),e.producerIndexOfThis??(e.producerIndexOfThis=[]),e.producerLastReadVersion??(e.producerLastReadVersion=[])}function jv(e){e.liveConsumerNode??(e.liveConsumerNode=[]),e.liveConsumerIndexOfThis??(e.liveConsumerIndexOfThis=[])}function Vv(e){return e.producerNode!==void 0}function e$(e,t){let a=Object.create(t$);a.computation=e;let n=()=>{if(ts(a),es(a),a.value===ir)throw a.error;return a.value};return n[fn]=a,n}var Rr=Symbol("UNSET"),fi=Symbol("COMPUTING"),ir=Symbol("ERRORED"),t$=Yt(ue({},zi),{value:Rr,dirty:!0,error:null,equal:mh,kind:"computed",producerMustRecompute(e){return e.value===Rr||e.value===fi},producerRecomputeValue(e){if(e.value===fi)throw new Error("Detected cycle in computations.");let t=e.value;e.value=fi;let a=Do(e),n,r=!1;try{n=e.computation(),De(null),r=t!==Rr&&t!==ir&&n!==ir&&e.equal(t,n)}catch(i){n=ir,e.error=i}finally{ou(e,a)}if(r){e.value=t;return}e.value=n,e.version++}});function n$(){throw new Error}var zv=n$;function Bv(e){zv(e)}function a$(e){zv=e}function r$(e,t){let a=Object.create(qv);a.value=e;let n=()=>(es(a),a.value);return n[fn]=a,n}function ns(e,t){Lv()||Bv(e),e.equal(e.value,t)||(e.value=t,i$(e))}function Hv(e,t){Lv()||Bv(e),ns(e,t(e.value))}var qv=Yt(ue({},zi),{equal:mh,value:void 0,kind:"signal"});function i$(e){e.version++,Xq(),Pv(e)}function Lm(e,t,a){let n=Object.create(l$);n.source=e,n.computation=t,a!=null&&(n.equal=a);let r=()=>{if(ts(n),es(n),n.value===ir)throw n.error;return n.value};return r[fn]=n,r}function o$(e,t){ts(e),ns(e,t),bl(e)}function s$(e,t){ts(e),Hv(e,t),bl(e)}var l$=Yt(ue({},zi),{value:Rr,dirty:!0,error:null,equal:mh,kind:"linkedSignal",producerMustRecompute(e){return e.value===Rr||e.value===fi},producerRecomputeValue(e){if(e.value===fi)throw new Error("Detected cycle in computations.");let t=e.value;e.value=fi;let a=Do(e),n;try{let r=e.source(),i=t===Rr||t===ir?void 0:{source:e.sourceValue,value:t};n=e.computation(r,i),e.sourceValue=r}catch(r){n=ir,e.error=r}finally{ou(e,a)}if(t!==Rr&&n!==ir&&e.equal(t,n)){e.value=t;return}e.value=n,e.version++}});function u$(e){let t=De(null);try{return e()}finally{De(t)}}var Kc;function tl(){return Kc}function Za(e){let t=Kc;return Kc=e,t}var $v=Symbol("NotFound");function ot(e){return typeof e=="function"}function vh(e){let t=e(a=>{Error.call(a),a.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var Yu=vh(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
12
+ `)},bt.prototype.clone=function(){return new bt(this.states,this.state)},bt.prototype.has=function(M){return!0},{compile:Ga,states:Da,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:Ia}})})(Sm);var E9=Sm.exports;(function(p){var f=Hu&&Hu.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(p,"__esModule",{value:!0}),p.lexer=p.states=void 0;let b=f(E9);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=b.default.states(p.states)})(Em),Object.defineProperty(no,"__esModule",{value:!0});var km=no.parse=no.ParseError=void 0;let Cm=Em,xs=p=>({offset:p.offset,line:p.line,col:p.col,text:p.text,lineBreaks:p.lineBreaks}),qu=p=>p==="plural"||p==="select"||p==="selectordinal";function S9(p,f){let b="",y="";for(let _ of f){let E=_.ctx.text;switch(y+=E,_.type){case"content":b+=_.value;break;case"argument":case"function":case"octothorpe":b+=E;break;default:throw new Ht(p,`Unsupported part in strict mode function arg style: ${E}`)}}return[{type:"content",value:b.trim(),ctx:Object.assign({},f[0].ctx,{text:y})}]}let k9=["number","date","time","spellout","ordinal","duration"],Dm=["zero","one","two","few","many","other"];class Ht extends Error{constructor(f,b){super(Cm.lexer.formatError(f,b))}}no.ParseError=Ht;class C9{constructor(f,b){var y,_,E,C;this.lexer=Cm.lexer.reset(f),this.cardinalKeys=(y=b==null?void 0:b.cardinal)!==null&&y!==void 0?y:Dm,this.ordinalKeys=(_=b==null?void 0:b.ordinal)!==null&&_!==void 0?_:Dm,this.strict=(E=b==null?void 0:b.strict)!==null&&E!==void 0?E:!1,this.strictPluralKeys=(C=b==null?void 0:b.strictPluralKeys)!==null&&C!==void 0?C:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(f,b,y){if(y[0]==="="){if(b==="select")throw new Ht(f,`The case ${y} is not valid with select`)}else if(b!=="select"){let _=b==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&_.length>0&&!_.includes(y)){let E=`The ${b} case ${y} is not valid in this locale`;throw new Ht(f,E)}}}parseSelect(f,b,y,_){let{value:E}=f,C={type:_,arg:E,cases:[],ctx:y};_==="plural"||_==="selectordinal"?b=!0:this.strict&&(b=!1);for(let I of this.lexer)switch(I.type){case"offset":if(_==="select")throw new Ht(I,"Unexpected plural offset for select");if(C.cases.length>0)throw new Ht(I,"Plural offset must be set before cases");C.pluralOffset=Number(I.value),y.text+=I.text,y.lineBreaks+=I.lineBreaks;break;case"case":{this.checkSelectKey(I,_,I.value),C.cases.push({key:I.value,tokens:this.parseBody(b),ctx:xs(I)});break}case"end":return C;default:throw new Ht(I,`Unexpected lexer token: ${I.type}`)}throw new Ht(null,"Unexpected message end")}parseArgToken(f,b){let y=xs(f),_=this.lexer.next();if(!_)throw new Ht(null,"Unexpected message end");if(y.text+=_.text,y.lineBreaks+=_.lineBreaks,this.strict&&(_.type==="func-simple"||_.type==="func-args")&&!k9.includes(_.value)){let E=`Invalid strict mode function arg type: ${_.value}`;throw new Ht(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 Ht(null,"Unexpected message end");if(E.type!=="end")throw new Ht(E,`Unexpected lexer token: ${E.type}`);if(y.text+=E.text,qu(_.value.toLowerCase()))throw new Ht(_,`Invalid type identifier: ${_.value}`);return{type:"function",arg:f.value,key:_.value,ctx:y}}case"func-args":{if(qu(_.value.toLowerCase())){let C=`Invalid type identifier: ${_.value}`;throw new Ht(_,C)}let E=this.parseBody(this.strict?!1:b);return this.strict&&E.length>0&&(E=S9(f,E)),{type:"function",arg:f.value,key:_.value,param:E,ctx:y}}case"select":if(qu(_.value))return this.parseSelect(f,b,y,_.value);throw new Ht(_,`Unexpected select type ${_.value}`);default:throw new Ht(_,`Unexpected lexer token: ${_.type}`)}}parseBody(f,b){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:xs(E)});else{if(E.type==="end"&&!b)return y;{let C=E.value;if(!f&&E.type==="quoted"&&C[0]==="#"){if(C.includes("{")){let I=`Unsupported escape pattern: ${C}`;throw new Ht(E,I)}C=E.text}_?(_.value+=C,_.ctx.text+=E.text,_.ctx.lineBreaks+=E.lineBreaks):(_={type:"content",value:C,ctx:xs(E)},y.push(_))}}if(b)return y;throw new Ht(null,"Unexpected message end")}}function D9(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new C9(p,f).parse()}km=no.parse=D9;function ao(p){return ao[p]||(ao[p]=new Intl.NumberFormat(p))}function I9(p,f,b){return ao(p).format(f-b)}function T9(p,f,b,y){var _=f-b;if(isNaN(_))throw new Error("`"+y+"` or its offset is not a number");return ao(p).format(_)}function R9(p,f,b,y,_){if({}.hasOwnProperty.call(y,p))return y[p];f&&(p-=f);var E=b(p,_);return E in y?y[E]:y.other}function N9(p,f){return{}.hasOwnProperty.call(f,p)?f[p]:f.other}function O9(p,f){for(var b=0;b<p.length;++b)if(!f||f[p[b]]===void 0)throw new Error("Message requires argument '".concat(p[b],"'"))}var M9=Object.freeze({__proto__:null,_nf:ao,number:I9,plural:R9,reqArgs:O9,select:N9,strictNumber:T9});function A9(p,f,b){var y={day:"numeric",month:"short",year:"numeric"};switch(b){case"full":y.weekday="long";case"long":y.month="long";break;case"short":y.month="numeric"}return new Date(p).toLocaleDateString(f,y)}function P9(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 b=p%60,y=[Math.round(b)===b?b:b.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 $u={};function Es(p,f){var b=String(p)+JSON.stringify(f);return $u[b]||($u[b]=new Intl.NumberFormat(p,f)),$u[b]}function L9(p,f,b,y){var _=b&&b.split(":")||[],E=_[0],C=_[1],I={integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:C&&C.trim()||y,minimumFractionDigits:2,maximumFractionDigits:2}};return Es(f,I[E]||{}).format(p)}var F9=function(p,f,b){return Es(f,{style:"currency",currency:b,minimumFractionDigits:2,maximumFractionDigits:2}).format(p)},j9=function(p,f){return Es(f,{maximumFractionDigits:0}).format(p)},V9=function(p,f){return Es(f,{style:"percent"}).format(p)};function z9(p,f,b){var y={second:"numeric",minute:"numeric",hour:"numeric"};switch(b){case"full":case"long":y.timeZoneName="short";break;case"short":delete y.second}return new Date(p).toLocaleTimeString(f,y)}var Uu=Object.freeze({__proto__:null,date:A9,duration:P9,numberCurrency:F9,numberFmt:L9,numberInteger:j9,numberPercent:V9,time:z9}),B9={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}},Gu=x9(B9);function H9(p){let f=0;for(let b=0;b<p.length;++b){let y=p.charCodeAt(b);f=(f<<5)-f+y,f|=0}return f}function Ua(p,f){f&&(p+=" "+H9(p).toString(36));let b=p.trim().replace(/\W+/g,"_");return Gu.ES3[b]||Gu.ESnext[b]||/^\d/.test(b)?"_"+b:b}function Wu(p,f){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(f)&&!Gu.ES3[f])return p?p+"."+f:f;{let b=JSON.stringify(f);return p?p+"["+b+"]":b}}var q9=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],$9=new RegExp("^"+q9.join("|^"));function U9(p,f){var b=$9.test(f),y=JSON.stringify(b?"‏":"‎");return"".concat(y," + ").concat(p," + ").concat(y)}var G9="@messageformat/runtime",W9="@messageformat/runtime/lib/cardinals",Im="@messageformat/runtime/lib/plurals",Z9="@messageformat/runtime/lib/formatters",Y9=function(){function p(f){this.arguments=[],this.runtime={},this.options=f}return p.prototype.compile=function(f,b,y){var _,E,C=this,I=this.options,R=I.localeCodeFromKey,B=I.requireAllArguments,re=I.strict,fe=I.strictPluralKeys;if(typeof f=="object"){var Re={};try{for(var Q=n(Object.keys(f)),rt=Q.next();!rt.done;rt=Q.next()){var wt=rt.value,At=R?R(wt):wt,on=y&&At&&y[At]||b;Re[wt]=this.compile(f[wt],on,y)}}catch(bt){_={error:bt}}finally{try{rt&&!rt.done&&(E=Q.return)&&E.call(Q)}finally{if(_)throw _.error}}return Re}this.plural=b;var zn={cardinal:b.cardinals,ordinal:b.ordinals,strict:re,strictPluralKeys:fe};this.arguments=[];var Ga=km(f,zn).map(function(bt){return C.token(bt,null)}),Ca=this.arguments.length>0,Da=this.concatenate(Ga,!0);if(B&&Ca){this.setRuntimeFn("reqArgs");var Ia=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(Ia,", d); return ").concat(Da,"; }")}return"(".concat(Ca?"d":"",") => ").concat(Da)},p.prototype.cases=function(f,b){var y=this,_=!0,E=f.cases.map(function(re){var fe=re.key,Re=re.tokens;fe==="other"&&(_=!1);var Q=Re.map(function(rt){return y.token(rt,b)});return"".concat(Wu(null,fe.replace(/^=/,"")),": ").concat(y.concatenate(Q,!1))});if(_){var C=f.type,I=this.plural,R=I.cardinals,B=I.ordinals;if(C==="select"||C==="plural"&&R.includes("other")||C==="selectordinal"&&B.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(f)))}return"{ ".concat(E.join(", ")," }")},p.prototype.concatenate=function(f,b){var y=this.options.returnType==="values";return y&&(b||f.length>1)?"["+f.join(", ")+"]":f.join(" + ")||'""'},p.prototype.token=function(f,b){if(f.type==="content")return JSON.stringify(f.value);var y=this.plural,_=y.id,E=y.lc,C,I;switch("arg"in f?(this.arguments.push(f.arg),C=[Wu("d",f.arg)]):C=[],f.type){case"argument":return this.options.biDiSupport?U9(String(C[0]),E):String(C[0]);case"select":I="select",b&&this.options.strict&&(b=null),C.push(this.cases(f,b)),this.setRuntimeFn("select");break;case"selectordinal":I="plural",C.push(f.pluralOffset||0,_,this.cases(f,f),1),this.setLocale(_,!0),this.setRuntimeFn("plural");break;case"plural":I="plural",C.push(f.pluralOffset||0,_,this.cases(f,f)),this.setLocale(_,!1),this.setRuntimeFn("plural");break;case"function":{var R=this.options.customFormatters[f.key],B=R&&"module"in R&&typeof R.module=="function";if(!R){if(f.key==="date"){I=this.setDateFormatter(f,C,b);break}else if(f.key==="number"){I=this.setNumberFormatter(f,C,b);break}}if(C.push(JSON.stringify(this.plural.locale)),f.param){b&&this.options.strict&&(b=null);var re=this.getFormatterArg(f,b);re&&C.push(re)}I=B?Ua("".concat(f.key,"__").concat(this.plural.locale)):f.key,this.setFormatter(I,f.key);break}case"octothorpe":if(!b)return'"#"';C=[JSON.stringify(this.plural.locale),Wu("d",b.arg),b.pluralOffset||0],this.options.strict?(I="strictNumber",C.push(JSON.stringify(b.arg)),this.setRuntimeFn("strictNumber")):(I="number",this.setRuntimeFn("number"));break}if(!I)throw new Error("Parser error for token "+JSON.stringify(f));return"".concat(I,"(").concat(C.join(", "),")")},p.prototype.runtimeIncludes=function(f,b){if(Ua(f)!==f)throw new SyntaxError("Reserved word used as ".concat(b," identifier: ").concat(f));var y=this.runtime[f];if(!y||y.type===b)return y;throw new TypeError("Cannot override ".concat(y.type," runtime function as ").concat(b,": ").concat(f))},p.prototype.setLocale=function(f,b){var y=this.runtimeIncludes(f,"locale"),_=this.plural,E=_.getCardinal,C=_.getPlural,I=_.isDefault,R,B,re;if(!b&&I&&E){if(y)return;R=function(fe){return E(fe)},B=W9,re=function(){return String(E)}}else{if(y&&(!I||y.module===Im))return;R=function(fe,Re){return C(fe,Re)},B=I?Im:C.module||null,re=function(){return String(C)}}this.runtime[f]=Object.assign(R,{id:f,module:B,toString:re,type:"locale"})},p.prototype.setRuntimeFn=function(f){this.runtimeIncludes(f,"runtime")||(this.runtime[f]=Object.assign(M9[f],{id:f,module:G9,type:"runtime"}))},p.prototype.getFormatterArg=function(f,b){var y,_,E,C,I=this,R=f.key,B=f.param,re=this.options.customFormatters[R]||Tm(R)&&Uu[R];if(!re||!B)return null;var fe="arg"in re&&re.arg||"string";if(fe==="options"){var Re="";try{for(var Q=n(B),rt=Q.next();!rt.done;rt=Q.next()){var wt=rt.value;if(wt.type==="content")Re+=wt.value;else throw new SyntaxError("Expected literal options for ".concat(R," formatter"))}}catch(Ta){y={error:Ta}}finally{try{rt&&!rt.done&&(_=Q.return)&&_.call(Q)}finally{if(y)throw y.error}}var At={};try{for(var on=n(Re.split(",")),zn=on.next();!zn.done;zn=on.next()){var Ga=zn.value,Ca=Ga.indexOf(":");if(Ca===-1)At[Ga.trim()]=null;else{var Da=Ga.substring(0,Ca).trim(),Ia=Ga.substring(Ca+1).trim();if(Ia==="true")At[Da]=!0;else if(Ia==="false")At[Da]=!1;else if(Ia==="null")At[Da]=null;else{var bt=Number(Ia);At[Da]=Number.isFinite(bt)?bt:Ia}}}}catch(Ta){E={error:Ta}}finally{try{zn&&!zn.done&&(C=on.return)&&C.call(on)}finally{if(E)throw E.error}}return JSON.stringify(At)}else{var Cs=B.map(function(Ta){return I.token(Ta,b)});if(fe==="raw")return"[".concat(Cs.join(", "),"]");var Ds=Cs.join(" + ");return Ds?"(".concat(Ds,").trim()"):'""'}},p.prototype.setFormatter=function(f,b){if(!this.runtimeIncludes(f,"formatter")){var y=this.options.customFormatters[b||f];if(y){var _=typeof y=="function"?{formatter:y}:y;this.runtime[f]=Object.assign(_.formatter.bind({}),a(a({},_.formatter.prototype),{toString:function(){return String(_.formatter)}}),{type:"formatter"},"module"in y&&y.module&&y.id?{id:Ua(y.id),module:typeof y.module=="function"?y.module(this.plural.locale):y.module}:{id:null,module:null})}else if(Tm(f))this.runtime[f]=Object.assign(Uu[f],{type:"formatter"},{id:f,module:Z9});else throw new Error("Formatting function not found: ".concat(f))}},p.prototype.setDateFormatter=function(f,b,y){var _=this,E=f.param,C=this.plural.locale,I=E&&E.length===1&&E[0];if(I&&I.type==="content"&&/^\s*::/.test(I.value)){var R=I.value.trim().substr(2),B=Ua("date_".concat(C,"_").concat(R),!0);if(!this.runtimeIncludes(B,"formatter")){var re=Ot(C,R,this.options.timeZone);this.runtime[B]=Object.assign(re,{id:B,module:null,toString:function(){return _t(C,R,_.options.timeZone)},type:"formatter"})}return B}if(b.push(JSON.stringify(C)),E&&E.length>0){y&&this.options.strict&&(y=null);var fe=E.map(function(Re){return _.token(Re,y)});b.push("("+(fe.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},p.prototype.setNumberFormatter=function(f,b,y){var _=this,E=f.param,C=this.plural.locale;if(!E||E.length===0)return b.unshift(JSON.stringify(C)),b.push("0"),this.setRuntimeFn("number"),"number";if(b.push(JSON.stringify(C)),E.length===1&&E[0].type==="content"){var I=E[0].value.trim();switch(I){case"currency":return b.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 R=I.match(/^currency:([A-Z]+)$/);if(R)return b.push(JSON.stringify(R[1])),this.setFormatter("numberCurrency"),"numberCurrency";var B=Ua("number_".concat(C,"_").concat(I),!0);if(!this.runtimeIncludes(B,"formatter")){var re=this.options.currency,fe=_9(C,I,re);this.runtime[B]=Object.assign(fe,{id:null,module:null,toString:function(){return w9(C,I,re)},type:"formatter"})}return B}y&&this.options.strict&&(y=null);var Re=E.map(function(Q){return _.token(Q,y)});return b.push("("+(Re.join(" + ")||'""')+").trim()"),b.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},p}();function Tm(p){return p in Uu}let q=p=>p==1?"one":"other",wa=p=>p==0||p==1?"one":"other",ea=p=>p>=0&&p<=1?"one":"other",Gt=p=>{let f=String(p).split("."),b=!f[1];return p==1&&b?"one":"other"},Le=p=>"other",xa=p=>p==1?"one":p==2?"two":"other";var K9=Object.freeze({__proto__:null,af:q,ak:wa,am:ea,an:q,ar:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&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("."),b=Number(f[0])==p,y=b&&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:ea,asa:q,ast:Gt,az:q,bal:q,be:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&f[0].slice(-1),_=b&&f[0].slice(-2);return y==1&&_!=11?"one":y>=2&&y<=4&&(_<12||_>14)?"few":b&&y==0||y>=5&&y<=9||_>=11&&_<=14?"many":"other"},bem:q,bez:q,bg:q,bho:wa,bm:Le,bn:ea,bo:Le,br:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&f[0].slice(-1),_=b&&f[0].slice(-2),E=b&&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&&b&&E==0?"many":"other"},brx:q,bs:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=b.slice(-2),I=y.slice(-1),R=y.slice(-2);return _&&E==1&&C!=11||I==1&&R!=11?"one":_&&E>=2&&E<=4&&(C<12||C>14)||I>=2&&I<=4&&(R<12||R>14)?"few":"other"},ca:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p==1&&y?"one":b!=0&&_==0&&y?"many":"other"},ce:q,ceb:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=y.slice(-1);return _&&(b==1||b==2||b==3)||_&&E!=4&&E!=6&&E!=9||!_&&C!=4&&C!=6&&C!=9?"one":"other"},cgg:q,chr:q,ckb:q,cs:p=>{let f=String(p).split("."),b=f[0],y=!f[1];return p==1&&y?"one":b>=2&&b<=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("."),b=f[0],y=Number(f[0])==p;return p==1||!y&&(b==0||b==1)?"one":"other"},de:Gt,doi:ea,dsb:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-2),C=y.slice(-2);return _&&E==1||C==1?"one":_&&E==2||C==2?"two":_&&(E==3||E==4)||C==3||C==4?"few":"other"},dv:q,dz:Le,ee:q,el:q,en:Gt,eo:q,es:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p==1?"one":b!=0&&_==0&&y?"many":"other"},et:Gt,eu:q,fa:ea,ff:p=>p>=0&&p<2?"one":"other",fi:Gt,fil:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=y.slice(-1);return _&&(b==1||b==2||b==3)||_&&E!=4&&E!=6&&E!=9||!_&&C!=4&&C!=6&&C!=9?"one":"other"},fo:q,fr:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p>=0&&p<2?"one":b!=0&&_==0&&y?"many":"other"},fur:q,fy:Gt,ga:p=>{let f=String(p).split("."),b=Number(f[0])==p;return p==1?"one":p==2?"two":b&&p>=3&&p<=6?"few":b&&p>=7&&p<=10?"many":"other"},gd:p=>{let f=String(p).split("."),b=Number(f[0])==p;return p==1||p==11?"one":p==2||p==12?"two":b&&p>=3&&p<=10||b&&p>=13&&p<=19?"few":"other"},gl:Gt,gsw:q,gu:ea,guw:wa,gv:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-1),E=b.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:q,haw:q,he:p=>{let f=String(p).split("."),b=f[0],y=!f[1];return b==1&&y||b==0&&!y?"one":b==2&&y?"two":"other"},hi:ea,hnj:Le,hr:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=b.slice(-2),I=y.slice(-1),R=y.slice(-2);return _&&E==1&&C!=11||I==1&&R!=11?"one":_&&E>=2&&E<=4&&(C<12||C>14)||I>=2&&I<=4&&(R<12||R>14)?"few":"other"},hsb:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-2),C=y.slice(-2);return _&&E==1||C==1?"one":_&&E==2||C==2?"two":_&&(E==3||E==4)||C==3||C==4?"few":"other"},hu:q,hy:p=>p>=0&&p<2?"one":"other",ia:Gt,id:Le,ig:Le,ii:Le,io:Gt,is:p=>{let f=String(p).split("."),b=f[0],y=(f[1]||"").replace(/0+$/,""),_=Number(f[0])==p,E=b.slice(-1),C=b.slice(-2);return _&&E==1&&C!=11||y%10==1&&y%100!=11?"one":"other"},it:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p==1&&y?"one":b!=0&&_==0&&y?"many":"other"},iu:xa,ja:Le,jbo:Le,jgo:q,jmc:q,jv:Le,jw:Le,ka:q,kab:p=>p>=0&&p<2?"one":"other",kaj:q,kcg:q,kde:Le,kea:Le,kk:q,kkj:q,kl:q,km:Le,kn:ea,ko:Le,ks:q,ksb:q,ksh:p=>p==0?"zero":p==1?"one":"other",ku:q,kw:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&f[0].slice(-2),_=b&&f[0].slice(-3),E=b&&f[0].slice(-5),C=b&&f[0].slice(-6);return p==0?"zero":p==1?"one":y==2||y==22||y==42||y==62||y==82||b&&_==0&&(E>=1e3&&E<=2e4||E==4e4||E==6e4||E==8e4)||p!=0&&C==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:q,lag:p=>{let f=String(p).split("."),b=f[0];return p==0?"zero":(b==0||b==1)&&p!=0?"one":"other"},lb:q,lg:q,lij:Gt,lkt:Le,ln:wa,lo:Le,lt:p=>{let f=String(p).split("."),b=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":b!=0?"many":"other"},lv:p=>{let f=String(p).split("."),b=f[1]||"",y=b.length,_=Number(f[0])==p,E=_&&f[0].slice(-1),C=_&&f[0].slice(-2),I=b.slice(-2),R=b.slice(-1);return _&&E==0||C>=11&&C<=19||y==2&&I>=11&&I<=19?"zero":E==1&&C!=11||y==2&&R==1&&I!=11||y!=2&&R==1?"one":"other"},mas:q,mg:wa,mgo:q,mk:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=b.slice(-2),I=y.slice(-1),R=y.slice(-2);return _&&E==1&&C!=11||I==1&&R!=11?"one":"other"},ml:q,mn:q,mo:p=>{let f=String(p).split("."),b=!f[1],y=Number(f[0])==p,_=y&&f[0].slice(-2);return p==1&&b?"one":!b||p==0||p!=1&&_>=1&&_<=19?"few":"other"},mr:q,ms:Le,mt:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&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:Le,nah:q,naq:xa,nb:q,nd:q,ne:q,nl:Gt,nn:q,nnh:q,no:q,nqo:Le,nr:q,nso:wa,ny:q,nyn:q,om:q,or:q,os:q,osa:Le,pa:wa,pap:q,pcm:ea,pl:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-1),E=b.slice(-2);return p==1&&y?"one":y&&_>=2&&_<=4&&(E<12||E>14)?"few":y&&b!=1&&(_==0||_==1)||y&&_>=5&&_<=9||y&&E>=12&&E<=14?"many":"other"},prg:p=>{let f=String(p).split("."),b=f[1]||"",y=b.length,_=Number(f[0])==p,E=_&&f[0].slice(-1),C=_&&f[0].slice(-2),I=b.slice(-2),R=b.slice(-1);return _&&E==0||C>=11&&C<=19||y==2&&I>=11&&I<=19?"zero":E==1&&C!=11||y==2&&R==1&&I!=11||y!=2&&R==1?"one":"other"},ps:q,pt:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return b==0||b==1?"one":b!=0&&_==0&&y?"many":"other"},pt_PT:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p==1&&y?"one":b!=0&&_==0&&y?"many":"other"},rm:q,ro:p=>{let f=String(p).split("."),b=!f[1],y=Number(f[0])==p,_=y&&f[0].slice(-2);return p==1&&b?"one":!b||p==0||p!=1&&_>=1&&_<=19?"few":"other"},rof:q,ru:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-1),E=b.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:q,sah:Le,saq:q,sat:xa,sc:Gt,scn:Gt,sd:q,sdh:q,se:xa,seh:q,ses:Le,sg:Le,sh:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=b.slice(-2),I=y.slice(-1),R=y.slice(-2);return _&&E==1&&C!=11||I==1&&R!=11?"one":_&&E>=2&&E<=4&&(C<12||C>14)||I>=2&&I<=4&&(R<12||R>14)?"few":"other"},shi:p=>{let f=String(p).split("."),b=Number(f[0])==p;return p>=0&&p<=1?"one":b&&p>=2&&p<=10?"few":"other"},si:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"";return p==0||p==1||b==0&&y==1?"one":"other"},sk:p=>{let f=String(p).split("."),b=f[0],y=!f[1];return p==1&&y?"one":b>=2&&b<=4&&y?"few":y?"other":"many"},sl:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-2);return y&&_==1?"one":y&&_==2?"two":y&&(_==3||_==4)||!y?"few":"other"},sma:xa,smi:xa,smj:xa,smn:xa,sms:xa,sn:q,so:q,sq:q,sr:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=b.slice(-2),I=y.slice(-1),R=y.slice(-2);return _&&E==1&&C!=11||I==1&&R!=11?"one":_&&E>=2&&E<=4&&(C<12||C>14)||I>=2&&I<=4&&(R<12||R>14)?"few":"other"},ss:q,ssy:q,st:q,su:Le,sv:Gt,sw:Gt,syr:q,ta:q,te:q,teo:q,th:Le,ti:wa,tig:q,tk:q,tl:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],E=b.slice(-1),C=y.slice(-1);return _&&(b==1||b==2||b==3)||_&&E!=4&&E!=6&&E!=9||!_&&C!=4&&C!=6&&C!=9?"one":"other"},tn:q,to:Le,tpi:Le,tr:q,ts:q,tzm:p=>{let f=String(p).split("."),b=Number(f[0])==p;return p==0||p==1||b&&p>=11&&p<=99?"one":"other"},ug:q,uk:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-1),E=b.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:Le,ur:Gt,uz:q,ve:q,vec:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-6);return p==1&&y?"one":b!=0&&_==0&&y?"many":"other"},vi:Le,vo:q,vun:q,wa,wae:q,wo:Le,xh:q,xog:q,yi:Gt,yo:Le,yue:Le,zh:Le,zu:ea});let Ea="zero",W="one",ct="two",ke="few",Ce="many",A="other",L={cardinal:[W,A],ordinal:[A]},br={cardinal:[W,A],ordinal:[W,A]},Be={cardinal:[A],ordinal:[A]},ta={cardinal:[W,ct,A],ordinal:[A]};var Rm=Object.freeze({__proto__:null,af:L,ak:L,am:L,an:L,ar:{cardinal:[Ea,W,ct,ke,Ce,A],ordinal:[A]},ars:{cardinal:[Ea,W,ct,ke,Ce,A],ordinal:[A]},as:{cardinal:[W,A],ordinal:[W,ct,ke,Ce,A]},asa:L,ast:L,az:{cardinal:[W,A],ordinal:[W,ke,Ce,A]},bal:br,be:{cardinal:[W,ke,Ce,A],ordinal:[ke,A]},bem:L,bez:L,bg:L,bho:L,bm:Be,bn:{cardinal:[W,A],ordinal:[W,ct,ke,Ce,A]},bo:Be,br:{cardinal:[W,ct,ke,Ce,A],ordinal:[A]},brx:L,bs:{cardinal:[W,ke,A],ordinal:[A]},ca:{cardinal:[W,Ce,A],ordinal:[W,ct,ke,A]},ce:L,ceb:L,cgg:L,chr:L,ckb:L,cs:{cardinal:[W,ke,Ce,A],ordinal:[A]},cy:{cardinal:[Ea,W,ct,ke,Ce,A],ordinal:[Ea,W,ct,ke,Ce,A]},da:L,de:L,doi:L,dsb:{cardinal:[W,ct,ke,A],ordinal:[A]},dv:L,dz:Be,ee:L,el:L,en:{cardinal:[W,A],ordinal:[W,ct,ke,A]},eo:L,es:{cardinal:[W,Ce,A],ordinal:[A]},et:L,eu:L,fa:L,ff:L,fi:L,fil:br,fo:L,fr:{cardinal:[W,Ce,A],ordinal:[W,A]},fur:L,fy:L,ga:{cardinal:[W,ct,ke,Ce,A],ordinal:[W,A]},gd:{cardinal:[W,ct,ke,A],ordinal:[W,ct,ke,A]},gl:L,gsw:L,gu:{cardinal:[W,A],ordinal:[W,ct,ke,Ce,A]},guw:L,gv:{cardinal:[W,ct,ke,Ce,A],ordinal:[A]},ha:L,haw:L,he:ta,hi:{cardinal:[W,A],ordinal:[W,ct,ke,Ce,A]},hnj:Be,hr:{cardinal:[W,ke,A],ordinal:[A]},hsb:{cardinal:[W,ct,ke,A],ordinal:[A]},hu:br,hy:br,ia:L,id:Be,ig:Be,ii:Be,io:L,is:L,it:{cardinal:[W,Ce,A],ordinal:[Ce,A]},iu:ta,ja:Be,jbo:Be,jgo:L,jmc:L,jv:Be,jw:Be,ka:{cardinal:[W,A],ordinal:[W,Ce,A]},kab:L,kaj:L,kcg:L,kde:Be,kea:Be,kk:{cardinal:[W,A],ordinal:[Ce,A]},kkj:L,kl:L,km:Be,kn:L,ko:Be,ks:L,ksb:L,ksh:{cardinal:[Ea,W,A],ordinal:[A]},ku:L,kw:{cardinal:[Ea,W,ct,ke,Ce,A],ordinal:[W,Ce,A]},ky:L,lag:{cardinal:[Ea,W,A],ordinal:[A]},lb:L,lg:L,lij:{cardinal:[W,A],ordinal:[Ce,A]},lkt:Be,ln:L,lo:{cardinal:[A],ordinal:[W,A]},lt:{cardinal:[W,ke,Ce,A],ordinal:[A]},lv:{cardinal:[Ea,W,A],ordinal:[A]},mas:L,mg:L,mgo:L,mk:{cardinal:[W,A],ordinal:[W,ct,Ce,A]},ml:L,mn:L,mo:{cardinal:[W,ke,A],ordinal:[W,A]},mr:{cardinal:[W,A],ordinal:[W,ct,ke,A]},ms:{cardinal:[A],ordinal:[W,A]},mt:{cardinal:[W,ct,ke,Ce,A],ordinal:[A]},my:Be,nah:L,naq:ta,nb:L,nd:L,ne:br,nl:L,nn:L,nnh:L,no:L,nqo:Be,nr:L,nso:L,ny:L,nyn:L,om:L,or:{cardinal:[W,A],ordinal:[W,ct,ke,Ce,A]},os:L,osa:Be,pa:L,pap:L,pcm:L,pl:{cardinal:[W,ke,Ce,A],ordinal:[A]},prg:{cardinal:[Ea,W,A],ordinal:[A]},ps:L,pt:{cardinal:[W,Ce,A],ordinal:[A]},pt_PT:{cardinal:[W,Ce,A],ordinal:[A]},rm:L,ro:{cardinal:[W,ke,A],ordinal:[W,A]},rof:L,ru:{cardinal:[W,ke,Ce,A],ordinal:[A]},rwk:L,sah:Be,saq:L,sat:ta,sc:{cardinal:[W,A],ordinal:[Ce,A]},scn:{cardinal:[W,A],ordinal:[Ce,A]},sd:L,sdh:L,se:ta,seh:L,ses:Be,sg:Be,sh:{cardinal:[W,ke,A],ordinal:[A]},shi:{cardinal:[W,ke,A],ordinal:[A]},si:L,sk:{cardinal:[W,ke,Ce,A],ordinal:[A]},sl:{cardinal:[W,ct,ke,A],ordinal:[A]},sma:ta,smi:ta,smj:ta,smn:ta,sms:ta,sn:L,so:L,sq:{cardinal:[W,A],ordinal:[W,Ce,A]},sr:{cardinal:[W,ke,A],ordinal:[A]},ss:L,ssy:L,st:L,su:Be,sv:br,sw:L,syr:L,ta:L,te:L,teo:L,th:Be,ti:L,tig:L,tk:{cardinal:[W,A],ordinal:[ke,A]},tl:br,tn:L,to:Be,tpi:Be,tr:L,ts:L,tzm:L,ug:L,uk:{cardinal:[W,ke,Ce,A],ordinal:[ke,A]},und:Be,ur:L,uz:L,ve:L,vec:{cardinal:[W,Ce,A],ordinal:[Ce,A]},vi:{cardinal:[A],ordinal:[W,A]},vo:L,vun:L,wa:L,wae:L,wo:Be,xh:L,xog:L,yi:L,yo:Be,yue:Be,zh:Be,zu:L});let Z=(p,f)=>f?"other":p==1?"one":"other",Sa=(p,f)=>f?"other":p==0||p==1?"one":"other",Jr=(p,f)=>f?"other":p>=0&&p<=1?"one":"other",Rn=(p,f)=>{let b=String(p).split("."),y=!b[1];return f?"other":p==1&&y?"one":"other"},He=(p,f)=>"other",ka=(p,f)=>f?"other":p==1?"one":p==2?"two":"other";var Ss=Object.freeze({__proto__:null,af:Z,ak:Sa,am:Jr,an:Z,ar:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[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 b=String(p).split("."),y=Number(b[0])==p,_=y&&b[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:Z,ast:Rn,az:(p,f)=>{let b=String(p).split("."),y=b[0],_=y.slice(-1),E=y.slice(-2),C=y.slice(-3);return f?_==1||_==2||_==5||_==7||_==8||E==20||E==50||E==70||E==80?"one":_==3||_==4||C==100||C==200||C==300||C==400||C==500||C==600||C==700||C==800||C==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 b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1),E=y&&b[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:Z,bez:Z,bg:Z,bho:Sa,bm:He,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:He,br:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1),E=y&&b[0].slice(-2),C=y&&b[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&&C==0?"many":"other"},brx:Z,bs:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=y.slice(-2),R=_.slice(-1),B=_.slice(-2);return f?"other":E&&C==1&&I!=11||R==1&&B!=11?"one":E&&C>=2&&C<=4&&(I<12||I>14)||R>=2&&R<=4&&(B<12||B>14)?"few":"other"},ca:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[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:Z,ceb:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=_.slice(-1);return f?"other":E&&(y==1||y==2||y==3)||E&&C!=4&&C!=6&&C!=9||!E&&I!=4&&I!=6&&I!=9?"one":"other"},cgg:Z,chr:Z,ckb:Z,cs:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[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 b=String(p).split("."),y=b[0],_=Number(b[0])==p;return f?"other":p==1||!_&&(y==0||y==1)?"one":"other"},de:Rn,doi:Jr,dsb:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-2),I=_.slice(-2);return f?"other":E&&C==1||I==1?"one":E&&C==2||I==2?"two":E&&(C==3||C==4)||I==3||I==4?"few":"other"},dv:Z,dz:He,ee:Z,el:Z,en:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p,E=_&&b[0].slice(-1),C=_&&b[0].slice(-2);return f?E==1&&C!=11?"one":E==2&&C!=12?"two":E==3&&C!=13?"few":"other":p==1&&y?"one":"other"},eo:Z,es:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-6);return f?"other":p==1?"one":y!=0&&E==0&&_?"many":"other"},et:Rn,eu:Z,fa:Jr,ff:(p,f)=>f?"other":p>=0&&p<2?"one":"other",fi:Rn,fil:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=_.slice(-1);return f?p==1?"one":"other":E&&(y==1||y==2||y==3)||E&&C!=4&&C!=6&&C!=9||!E&&I!=4&&I!=6&&I!=9?"one":"other"},fo:Z,fr:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-6);return f?p==1?"one":"other":p>=0&&p<2?"one":y!=0&&E==0&&_?"many":"other"},fur:Z,fy:Rn,ga:(p,f)=>{let b=String(p).split("."),y=Number(b[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 b=String(p).split("."),y=Number(b[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:Rn,gsw:Z,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:Sa,gv:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-1),C=y.slice(-2);return f?"other":_&&E==1?"one":_&&E==2?"two":_&&(C==0||C==20||C==40||C==60||C==80)?"few":_?"other":"many"},ha:Z,haw:Z,he:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[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:He,hr:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=y.slice(-2),R=_.slice(-1),B=_.slice(-2);return f?"other":E&&C==1&&I!=11||R==1&&B!=11?"one":E&&C>=2&&C<=4&&(I<12||I>14)||R>=2&&R<=4&&(B<12||B>14)?"few":"other"},hsb:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-2),I=_.slice(-2);return f?"other":E&&C==1||I==1?"one":E&&C==2||I==2?"two":E&&(C==3||C==4)||I==3||I==4?"few":"other"},hu:(p,f)=>f?p==1||p==5?"one":"other":p==1?"one":"other",hy:(p,f)=>f?p==1?"one":"other":p>=0&&p<2?"one":"other",ia:Rn,id:He,ig:He,ii:He,io:Rn,is:(p,f)=>{let b=String(p).split("."),y=b[0],_=(b[1]||"").replace(/0+$/,""),E=Number(b[0])==p,C=y.slice(-1),I=y.slice(-2);return f?"other":E&&C==1&&I!=11||_%10==1&&_%100!=11?"one":"other"},it:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[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:ka,ja:He,jbo:He,jgo:Z,jmc:Z,jv:He,jw:He,ka:(p,f)=>{let b=String(p).split("."),y=b[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:Z,kcg:Z,kde:He,kea:He,kk:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1);return f?_==6||_==9||y&&_==0&&p!=0?"many":"other":p==1?"one":"other"},kkj:Z,kl:Z,km:He,kn:Jr,ko:He,ks:Z,ksb:Z,ksh:(p,f)=>f?"other":p==0?"zero":p==1?"one":"other",ku:Z,kw:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-2),E=y&&b[0].slice(-3),C=y&&b[0].slice(-5),I=y&&b[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&&(C>=1e3&&C<=2e4||C==4e4||C==6e4||C==8e4)||p!=0&&I==1e5?"two":_==3||_==23||_==43||_==63||_==83?"few":p!=1&&(_==1||_==21||_==41||_==61||_==81)?"many":"other"},ky:Z,lag:(p,f)=>{let b=String(p).split("."),y=b[0];return f?"other":p==0?"zero":(y==0||y==1)&&p!=0?"one":"other"},lb:Z,lg:Z,lij:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p;return f?p==11||p==8||_&&p>=80&&p<=89||_&&p>=800&&p<=899?"many":"other":p==1&&y?"one":"other"},lkt:He,ln:Sa,lo:(p,f)=>f&&p==1?"one":"other",lt:(p,f)=>{let b=String(p).split("."),y=b[1]||"",_=Number(b[0])==p,E=_&&b[0].slice(-1),C=_&&b[0].slice(-2);return f?"other":E==1&&(C<11||C>19)?"one":E>=2&&E<=9&&(C<11||C>19)?"few":y!=0?"many":"other"},lv:(p,f)=>{let b=String(p).split("."),y=b[1]||"",_=y.length,E=Number(b[0])==p,C=E&&b[0].slice(-1),I=E&&b[0].slice(-2),R=y.slice(-2),B=y.slice(-1);return f?"other":E&&C==0||I>=11&&I<=19||_==2&&R>=11&&R<=19?"zero":C==1&&I!=11||_==2&&B==1&&R!=11||_!=2&&B==1?"one":"other"},mas:Z,mg:Sa,mgo:Z,mk:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=y.slice(-2),R=_.slice(-1),B=_.slice(-2);return f?C==1&&I!=11?"one":C==2&&I!=12?"two":(C==7||C==8)&&I!=17&&I!=18?"many":"other":E&&C==1&&I!=11||R==1&&B!=11?"one":"other"},ml:Z,mn:Z,mo:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p,E=_&&b[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 b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-2);return f?"other":p==1?"one":p==2?"two":p==0||_>=3&&_<=10?"few":_>=11&&_<=19?"many":"other"},my:He,nah:Z,naq:ka,nb:Z,nd:Z,ne:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p;return f?y&&p>=1&&p<=4?"one":"other":p==1?"one":"other"},nl:Rn,nn:Z,nnh:Z,no:Z,nqo:He,nr:Z,nso:Sa,ny:Z,nyn:Z,om:Z,or:(p,f)=>{let b=String(p).split("."),y=Number(b[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:Z,osa:He,pa:Sa,pap:Z,pcm:Jr,pl:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-1),C=y.slice(-2);return f?"other":p==1&&_?"one":_&&E>=2&&E<=4&&(C<12||C>14)?"few":_&&y!=1&&(E==0||E==1)||_&&E>=5&&E<=9||_&&C>=12&&C<=14?"many":"other"},prg:(p,f)=>{let b=String(p).split("."),y=b[1]||"",_=y.length,E=Number(b[0])==p,C=E&&b[0].slice(-1),I=E&&b[0].slice(-2),R=y.slice(-2),B=y.slice(-1);return f?"other":E&&C==0||I>=11&&I<=19||_==2&&R>=11&&R<=19?"zero":C==1&&I!=11||_==2&&B==1&&R!=11||_!=2&&B==1?"one":"other"},ps:Z,pt:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-6);return f?"other":y==0||y==1?"one":y!=0&&E==0&&_?"many":"other"},pt_PT:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-6);return f?"other":p==1&&_?"one":y!=0&&E==0&&_?"many":"other"},rm:Z,ro:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p,E=_&&b[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:Z,ru:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-1),C=y.slice(-2);return f?"other":_&&E==1&&C!=11?"one":_&&E>=2&&E<=4&&(C<12||C>14)?"few":_&&E==0||_&&E>=5&&E<=9||_&&C>=11&&C<=14?"many":"other"},rwk:Z,sah:He,saq:Z,sat:ka,sc:(p,f)=>{let b=String(p).split("."),y=!b[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&y?"one":"other"},scn:(p,f)=>{let b=String(p).split("."),y=!b[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&y?"one":"other"},sd:Z,sdh:Z,se:ka,seh:Z,ses:He,sg:He,sh:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=y.slice(-2),R=_.slice(-1),B=_.slice(-2);return f?"other":E&&C==1&&I!=11||R==1&&B!=11?"one":E&&C>=2&&C<=4&&(I<12||I>14)||R>=2&&R<=4&&(B<12||B>14)?"few":"other"},shi:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p;return f?"other":p>=0&&p<=1?"one":y&&p>=2&&p<=10?"few":"other"},si:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"";return f?"other":p==0||p==1||y==0&&_==1?"one":"other"},sk:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1];return f?"other":p==1&&_?"one":y>=2&&y<=4&&_?"few":_?"other":"many"},sl:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=y.slice(-2);return f?"other":_&&E==1?"one":_&&E==2?"two":_&&(E==3||E==4)||!_?"few":"other"},sma:ka,smi:ka,smj:ka,smn:ka,sms:ka,sn:Z,so:Z,sq:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1),E=y&&b[0].slice(-2);return f?p==1?"one":_==4&&E!=14?"many":"other":p==1?"one":"other"},sr:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=y.slice(-2),R=_.slice(-1),B=_.slice(-2);return f?"other":E&&C==1&&I!=11||R==1&&B!=11?"one":E&&C>=2&&C<=4&&(I<12||I>14)||R>=2&&R<=4&&(B<12||B>14)?"few":"other"},ss:Z,ssy:Z,st:Z,su:He,sv:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p,E=_&&b[0].slice(-1),C=_&&b[0].slice(-2);return f?(E==1||E==2)&&C!=11&&C!=12?"one":"other":p==1&&y?"one":"other"},sw:Rn,syr:Z,ta:Z,te:Z,teo:Z,th:He,ti:Sa,tig:Z,tk:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1);return f?_==6||_==9||p==10?"few":"other":p==1?"one":"other"},tl:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",E=!b[1],C=y.slice(-1),I=_.slice(-1);return f?p==1?"one":"other":E&&(y==1||y==2||y==3)||E&&C!=4&&C!=6&&C!=9||!E&&I!=4&&I!=6&&I!=9?"one":"other"},tn:Z,to:He,tpi:He,tr:Z,ts:Z,tzm:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p;return f?"other":p==0||p==1||y&&p>=11&&p<=99?"one":"other"},ug:Z,uk:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],E=Number(b[0])==p,C=E&&b[0].slice(-1),I=E&&b[0].slice(-2),R=y.slice(-1),B=y.slice(-2);return f?C==3&&I!=13?"few":"other":_&&R==1&&B!=11?"one":_&&R>=2&&R<=4&&(B<12||B>14)?"few":_&&R==0||_&&R>=5&&R<=9||_&&B>=11&&B<=14?"many":"other"},und:He,ur:Rn,uz:Z,ve:Z,vec:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[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:Z,vun:Z,wa:Sa,wae:Z,wo:He,xh:Z,xog:Z,yi:Rn,yo:He,yue:He,zh:He,zu:Jr});function Zu(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 ks(p){if(typeof p=="function"){var f=Zu(p.name);return{isDefault:!1,id:Ua(f),lc:f,locale:p.name,getPlural:p,cardinals:p.cardinals||[],ordinals:p.ordinals||[]}}var b=Zu(p),y=Ua(b);return J9(y)?{isDefault:!0,id:y,lc:b,locale:p,getCardinal:K9[y],getPlural:Ss[y],cardinals:Rm[y].cardinal,ordinals:Rm[y].ordinal}:null}function Q9(p){var f=Object.keys(Ss).filter(function(b){return b!==p});return f.unshift(p),f.map(ks)}function X9(p){var f=Zu(p);return Ua(f)in Ss}function J9(p){return p in Ss}var eq=function(){function p(f,b){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:b&&b.strictNumberSign||!1,strictPluralKeys:!0},b),f==="*")this.plurals=Q9(p.defaultLocale);else if(Array.isArray(f))this.plurals=f.map(ks).filter(Boolean);else if(f){var y=ks(f);y&&(this.plurals=[y])}if(this.plurals.length===0){var y=ks(p.defaultLocale);this.plurals=[y]}}return p.escape=function(f,b){var y=b?/[#{}]/g:/[{}]/g;return String(f).replace(y,"'$&'")},p.supportedLocalesOf=function(f){var b=Array.isArray(f)?f:[f];return b.filter(X9)},p.prototype.resolvedOptions=function(){return a(a({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},p.prototype.compile=function(f){var b,y,_=new Y9(this.options),E="return "+_.compile(f,this.plurals[0]),C=[],I=[];try{for(var R=n(Object.entries(_.runtime)),B=R.next();!B.done;B=R.next()){var re=r(B.value,2),fe=re[0],Re=re[1];C.push(fe),I.push(Re)}}catch(rt){b={error:rt}}finally{try{B&&!B.done&&(y=R.return)&&y.call(R)}finally{if(b)throw b.error}}var Q=new(Function.bind.apply(Function,i(i([void 0],r(C),!1),[E],!1)));return Q.apply(void 0,i([],r(I),!1))},p.defaultLocale="en",p}();return eq})}),Dn=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}var a=function n(r,i){t(this,n),this.data=r,this.text=i.text||r,this.options=i};e.default=a}),pq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var t=function(){function k(D,N){for(var O=0;O<N.length;O++){var J=N[O];J.enumerable=J.enumerable||!1,J.configurable=!0,"value"in J&&(J.writable=!0),Object.defineProperty(D,J.key,J)}}return function(D,N,O){return N&&k(D.prototype,N),O&&k(D,O),D}}(),a=Dn(),n=r(a);function r(k){return k&&k.__esModule?k:{default:k}}function i(k,D){if(!(k instanceof D))throw new TypeError("Cannot call a class as a function")}function o(k,D){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D&&(typeof D=="object"||typeof D=="function")?D:k}function l(k,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof D);k.prototype=Object.create(D&&D.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),D&&(Object.setPrototypeOf?Object.setPrototypeOf(k,D):k.__proto__=D)}var u=function(k){l(D,k);function D(N,O){return i(this,D),N=N.toUpperCase(),O.mod43&&(N+=g(x(N))),o(this,(D.__proto__||Object.getPrototypeOf(D)).call(this,N,O))}return t(D,[{key:"encode",value:function(){for(var N=m("*"),O=0;O<this.data.length;O++)N+=m(this.data[O])+"0";return N+=m("*"),{data:N,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),D}(n.default),c=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","*"],d=[20957,29783,23639,30485,20951,29813,23669,20855,29789,23645,29975,23831,30533,22295,30149,24005,21623,29981,23837,22301,30023,23879,30545,22343,30161,24017,21959,30065,23921,22385,29015,18263,29141,17879,29045,18293,17783,29021,18269,17477,17489,17681,20753,35770];function m(k){return v(w(k))}function v(k){return d[k].toString(2)}function g(k){return c[k]}function w(k){return c.indexOf(k)}function x(k){for(var D=0,N=0;N<k.length;N++)D+=w(k[N]);return D=D%43,D}e.CODE39=u}),Ko=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t;function a(c,d,m){return d in c?Object.defineProperty(c,d,{value:m,enumerable:!0,configurable:!0,writable:!0}):c[d]=m,c}var n=e.SET_A=0,r=e.SET_B=1,i=e.SET_C=2;e.SHIFT=98;var o=e.START_A=103,l=e.START_B=104,u=e.START_C=105;e.MODULO=103,e.STOP=106,e.FNC1=207,e.SET_BY_CODE=(t={},a(t,o,n),a(t,l,r),a(t,u,i),t),e.SWAP={101:n,100:r,99:i},e.A_START_CHAR="Ð",e.B_START_CHAR="Ñ",e.C_START_CHAR="Ò",e.A_CHARS="[\0-_È-Ï]",e.B_CHARS="[ -È-Ï]",e.C_CHARS="(Ï*[0-9]{2}Ï*)",e.BARS=[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11011110110,11110110110,10101111e3,10100011110,10001011110,10111101e3,10111100010,11110101e3,11110100010,10111011110,10111101110,11101011110,11110101110,11010000100,1101001e4,11010011100,1100011101011]}),au=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),a=Dn(),n=i(a),r=Ko();function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(v,g){o(this,m);var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v.substring(1),g));return w.bytes=v.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 v=this.bytes,g=v.shift()-105,w=r.SET_BY_CODE[g];if(w===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&v.unshift(r.FNC1);var x=m.next(v,1,w);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:m.getBar(g)+x.result+m.getBar((x.checksum+g)%r.MODULO)+m.getBar(r.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var v=this.options.ean128||!1;return typeof v=="string"&&(v=v.toLowerCase()==="true"),v}}],[{key:"getBar",value:function(v){return r.BARS[v]?r.BARS[v].toString():""}},{key:"correctIndex",value:function(v,g){if(g===r.SET_A){var w=v.shift();return w<32?w+64:w-32}else return g===r.SET_B?v.shift()-32:(v.shift()-48)*10+v.shift()-48}},{key:"next",value:function(v,g,w){if(!v.length)return{result:"",checksum:0};var x=void 0,k=void 0;if(v[0]>=200){k=v.shift()-105;var D=r.SWAP[k];D!==void 0?x=m.next(v,g+1,D):((w===r.SET_A||w===r.SET_B)&&k===r.SHIFT&&(v[0]=w===r.SET_A?v[0]>95?v[0]-96:v[0]:v[0]<32?v[0]+96:v[0]),x=m.next(v,g+1,w))}else k=m.correctIndex(v,w),x=m.next(v,g+1,w);var N=m.getBar(k),O=k*g;return{result:N+x.result,checksum:O+x.checksum}}}]),m}(n.default);e.default=c}),mq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Ko(),a=function(l){return l.match(new RegExp("^"+t.A_CHARS+"*"))[0].length},n=function(l){return l.match(new RegExp("^"+t.B_CHARS+"*"))[0].length},r=function(l){return l.match(new RegExp("^"+t.C_CHARS+"*"))[0]};function i(l,u){var c=u?t.A_CHARS:t.B_CHARS,d=l.match(new RegExp("^("+c+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(d)return d[1]+"Ì"+o(l.substring(d[1].length));var m=l.match(new RegExp("^"+c+"+"))[0];return m.length===l.length?l:m+String.fromCharCode(u?205:206)+i(l.substring(m.length),!u)}function o(l){var u=r(l),c=u.length;if(c===l.length)return l;l=l.substring(c);var d=a(l)>=n(l);return u+String.fromCharCode(d?206:205)+i(l,d)}e.default=function(l){var u=void 0,c=r(l).length;if(c>=2)u=t.C_START_CHAR+o(l);else{var d=a(l)>n(l);u=(d?t.A_START_CHAR:t.B_START_CHAR)+i(l,d)}return u.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(m,v){return"Ë"+v})}}),fq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=au(),a=i(t),n=mq(),r=i(n);function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(v,g){if(o(this,m),/^[\x00-\x7F\xC8-\xD3]+$/.test(v))var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,(0,r.default)(v),g));else var w=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g));return l(w)}return m}(a.default);e.default=c}),gq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),a=au(),n=i(a),r=Ko();function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,r.A_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+r.A_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=c}),vq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),a=au(),n=i(a),r=Ko();function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,r.B_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+r.B_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=c}),bq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),a=au(),n=i(a),r=Ko();function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,r.C_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+r.C_CHARS+"+$").test(this.data)}}]),m}(n.default);e.default=c}),yq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=fq(),a=c(t),n=gq(),r=c(n),i=vq(),o=c(i),l=bq(),u=c(l);function c(d){return d&&d.__esModule?d:{default:d}}e.CODE128=a.default,e.CODE128A=r.default,e.CODE128B=o.default,e.CODE128C=u.default}),Qo=se(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"]}),Xo=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Qo(),a=function(n,r,i){var o=n.split("").map(function(u,c){return t.BINARIES[r[c]]}).map(function(u,c){return u?u[n[c]]:""});if(i){var l=n.length-1;o=o.map(function(u,c){return c<l?u+i:u})}return o.join("")};e.default=a}),Dv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,w){for(var x=0;x<w.length;x++){var k=w[x];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(g,k.key,k)}}return function(g,w,x){return w&&v(g.prototype,w),x&&v(g,x),g}}(),a=Qo(),n=Xo(),r=l(n),i=Dn(),o=l(i);function l(v){return v&&v.__esModule?v:{default:v}}function u(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function c(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function d(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var m=function(v){d(g,v);function g(w,x){u(this,g);var k=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return k.fontSize=!x.flat&&x.fontSize>x.width*10?x.width*10:x.fontSize,k.guardHeight=x.height+k.fontSize/2+x.textMargin,k}return t(g,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(w,x){return this.text.substr(w,x)}},{key:"leftEncode",value:function(w,x){return(0,r.default)(w,x)}},{key:"rightText",value:function(w,x){return this.text.substr(w,x)}},{key:"rightEncode",value:function(w,x){return(0,r.default)(w,x)}},{key:"encodeGuarded",value:function(){var w={fontSize:this.fontSize},x={height:this.guardHeight};return[{data:a.SIDE_BIN,options:x},{data:this.leftEncode(),text:this.leftText(),options:w},{data:a.MIDDLE_BIN,options:x},{data:this.rightEncode(),text:this.rightText(),options:w},{data:a.SIDE_BIN,options:x}]}},{key:"encodeFlat",value:function(){var w=[a.SIDE_BIN,this.leftEncode(),a.MIDDLE_BIN,this.rightEncode(),a.SIDE_BIN];return{data:w.join(""),text:this.text}}}]),g}(o.default);e.default=m}),_q=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,w){for(var x=0;x<w.length;x++){var k=w[x];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(g,k.key,k)}}return function(g,w,x){return w&&v(g.prototype,w),x&&v(g,x),g}}(),a=function v(g,w,x){g===null&&(g=Function.prototype);var k=Object.getOwnPropertyDescriptor(g,w);if(k===void 0){var D=Object.getPrototypeOf(g);return D===null?void 0:v(D,w,x)}else{if("value"in k)return k.value;var N=k.get;return N===void 0?void 0:N.call(x)}},n=Qo(),r=Dv(),i=o(r);function o(v){return v&&v.__esModule?v:{default:v}}function l(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function u(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function c(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var d=function(v){var g=v.substr(0,12).split("").map(function(w){return+w}).reduce(function(w,x,k){return k%2?w+x*3:w+x},0);return(10-g%10)%10},m=function(v){c(g,v);function g(w,x){l(this,g),w.search(/^[0-9]{12}$/)!==-1&&(w+=d(w));var k=u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return k.lastChar=x.lastChar,k}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===d(this.data)}},{key:"leftText",value:function(){return a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var w=this.data.substr(1,6),x=n.EAN13_STRUCTURE[this.data[0]];return a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftEncode",this).call(this,w,x)}},{key:"rightText",value:function(){return a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var w=this.data.substr(7,6);return a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightEncode",this).call(this,w,"RRRRRR")}},{key:"encodeGuarded",value:function(){var w=a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(w.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(w.push({data:"00"}),w.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),w}}]),g}(i.default);e.default=m}),wq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function m(v,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(v,x.key,x)}}return function(v,g,w){return g&&m(v.prototype,g),w&&m(v,w),v}}(),a=function m(v,g,w){v===null&&(v=Function.prototype);var x=Object.getOwnPropertyDescriptor(v,g);if(x===void 0){var k=Object.getPrototypeOf(v);return k===null?void 0:m(k,g,w)}else{if("value"in x)return x.value;var D=x.get;return D===void 0?void 0:D.call(w)}},n=Dv(),r=i(n);function i(m){return m&&m.__esModule?m:{default:m}}function o(m,v){if(!(m instanceof v))throw new TypeError("Cannot call a class as a function")}function l(m,v){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:m}function u(m,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);m.prototype=Object.create(v&&v.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(m,v):m.__proto__=v)}var c=function(m){var v=m.substr(0,7).split("").map(function(g){return+g}).reduce(function(g,w,x){return x%2?g+w:g+w*3},0);return(10-v%10)%10},d=function(m){u(v,m);function v(g,w){return o(this,v),g.search(/^[0-9]{7}$/)!==-1&&(g+=c(g)),l(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,g,w))}return t(v,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===c(this.data)}},{key:"leftText",value:function(){return a(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var g=this.data.substr(0,4);return a(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"leftEncode",this).call(this,g,"LLLL")}},{key:"rightText",value:function(){return a(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var g=this.data.substr(4,4);return a(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"rightEncode",this).call(this,g,"RRRR")}}]),v}(r.default);e.default=d}),xq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function g(w,x){for(var k=0;k<x.length;k++){var D=x[k];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(w,D.key,D)}}return function(w,x,k){return x&&g(w.prototype,x),k&&g(w,k),w}}(),a=Qo(),n=Xo(),r=l(n),i=Dn(),o=l(i);function l(g){return g&&g.__esModule?g:{default:g}}function u(g,w){if(!(g instanceof w))throw new TypeError("Cannot call a class as a function")}function c(g,w){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w&&(typeof w=="object"||typeof w=="function")?w:g}function d(g,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);g.prototype=Object.create(w&&w.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(g,w):g.__proto__=w)}var m=function(g){var w=g.split("").map(function(x){return+x}).reduce(function(x,k,D){return D%2?x+k*9:x+k*3},0);return w%10},v=function(g){d(w,g);function w(x,k){return u(this,w),c(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,x,k))}return t(w,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var x=a.EAN5_STRUCTURE[m(this.data)];return{data:"1011"+(0,r.default)(this.data,x,"01"),text:this.text}}}]),w}(o.default);e.default=v}),Eq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,w){for(var x=0;x<w.length;x++){var k=w[x];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(g,k.key,k)}}return function(g,w,x){return w&&v(g.prototype,w),x&&v(g,x),g}}(),a=Qo(),n=Xo(),r=l(n),i=Dn(),o=l(i);function l(v){return v&&v.__esModule?v:{default:v}}function u(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function c(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function d(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var m=function(v){d(g,v);function g(w,x){return u(this,g),c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x))}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var w=a.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,r.default)(this.data,w,"01"),text:this.text}}}]),g}(o.default);e.default=m}),Iv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,w){for(var x=0;x<w.length;x++){var k=w[x];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(g,k.key,k)}}return function(g,w,x){return w&&v(g.prototype,w),x&&v(g,x),g}}();e.checksum=m;var a=Xo(),n=o(a),r=Dn(),i=o(r);function o(v){return v&&v.__esModule?v:{default:v}}function l(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function u(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:v}function c(v,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}var d=function(v){c(g,v);function g(w,x){l(this,g),w.search(/^[0-9]{11}$/)!==-1&&(w+=m(w));var k=u(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,w,x));return k.displayValue=x.displayValue,x.fontSize>x.width*10?k.fontSize=x.width*10:k.fontSize=x.fontSize,k.guardHeight=x.height+k.fontSize/2+x.textMargin,k}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(v){var g=0,w;for(w=1;w<11;w+=2)g+=parseInt(v[w]);for(w=0;w<11;w+=2)g+=parseInt(v[w])*3;return(10-g%10)%10}e.default=d}),Sq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function x(k,D){for(var N=0;N<D.length;N++){var O=D[N];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(k,O.key,O)}}return function(k,D,N){return D&&x(k.prototype,D),N&&x(k,N),k}}(),a=Xo(),n=l(a),r=Dn(),i=l(r),o=Iv();function l(x){return x&&x.__esModule?x:{default:x}}function u(x,k){if(!(x instanceof k))throw new TypeError("Cannot call a class as a function")}function c(x,k){if(!x)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k&&(typeof k=="object"||typeof k=="function")?k:x}function d(x,k){if(typeof k!="function"&&k!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof k);x.prototype=Object.create(k&&k.prototype,{constructor:{value:x,enumerable:!1,writable:!0,configurable:!0}}),k&&(Object.setPrototypeOf?Object.setPrototypeOf(x,k):x.__proto__=k)}var m=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],v=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],g=function(x){d(k,x);function k(D,N){u(this,k);var O=c(this,(k.__proto__||Object.getPrototypeOf(k)).call(this,D,N));if(O.isValid=!1,D.search(/^[0-9]{6}$/)!==-1)O.middleDigits=D,O.upcA=w(D,"0"),O.text=N.text||""+O.upcA[0]+D+O.upcA[O.upcA.length-1],O.isValid=!0;else if(D.search(/^[01][0-9]{7}$/)!==-1)if(O.middleDigits=D.substring(1,D.length-1),O.upcA=w(O.middleDigits,D[0]),O.upcA[O.upcA.length-1]===D[D.length-1])O.isValid=!0;else return c(O);else return c(O);return O.displayValue=N.displayValue,N.fontSize>N.width*10?O.fontSize=N.width*10:O.fontSize=N.fontSize,O.guardHeight=N.height+O.fontSize/2+N.textMargin,O}return t(k,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var D="";return D+="101",D+=this.encodeMiddleDigits(),D+="010101",{data:D,text:this.text}}},{key:"guardedEncoding",value:function(){var D=[];return this.displayValue&&D.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),D.push({data:"101",options:{height:this.guardHeight}}),D.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),D.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&D.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),D}},{key:"encodeMiddleDigits",value:function(){var D=this.upcA[0],N=this.upcA[this.upcA.length-1],O=v[parseInt(N)][parseInt(D)];return(0,n.default)(this.middleDigits,O)}}]),k}(i.default);function w(x,k){for(var D=parseInt(x[x.length-1]),N=m[D],O="",J=0,le=0;le<N.length;le++){var _e=N[le];_e==="X"?O+=x[J++]:O+=_e}return O=""+k+O,""+O+(0,o.checksum)(O)}e.default=g}),kq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=_q(),a=g(t),n=wq(),r=g(n),i=xq(),o=g(i),l=Eq(),u=g(l),c=Iv(),d=g(c),m=Sq(),v=g(m);function g(w){return w&&w.__esModule?w:{default:w}}e.EAN13=a.default,e.EAN8=r.default,e.EAN5=o.default,e.EAN2=u.default,e.UPC=d.default,e.UPCE=v.default}),Cq=se(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"]}),Tv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),a=Cq(),n=Dn(),r=i(n);function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return t(m,[{key:"valid",value:function(){return this.data.search(/^([0-9]{2})+$/)!==-1}},{key:"encode",value:function(){var v=this,g=this.data.match(/.{2}/g).map(function(w){return v.encodePair(w)}).join("");return{data:a.START_BIN+g+a.END_BIN,text:this.text}}},{key:"encodePair",value:function(v){var g=a.BINARIES[v[1]];return a.BINARIES[v[0]].split("").map(function(w,x){return(w==="1"?"111":"1")+(g[x]==="1"?"000":"0")}).join("")}}]),m}(r.default);e.default=c}),Dq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),a=Tv(),n=r(a);function r(d){return d&&d.__esModule?d:{default:d}}function i(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function o(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function l(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var u=function(d){var m=d.substr(0,13).split("").map(function(v){return parseInt(v,10)}).reduce(function(v,g,w){return v+g*(3-w%2*2)},0);return Math.ceil(m/10)*10-m},c=function(d){l(m,d);function m(v,g){return i(this,m),v.search(/^[0-9]{13}$/)!==-1&&(v+=u(v)),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===u(this.data)}}]),m}(n.default);e.default=c}),Iq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=Tv(),a=i(t),n=Dq(),r=i(n);function i(o){return o&&o.__esModule?o:{default:o}}e.ITF=a.default,e.ITF14=r.default}),Jo=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),a=Dn(),n=r(a);function r(d){return d&&d.__esModule?d:{default:d}}function i(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function o(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function l(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var u=function(d){l(m,d);function m(v,g){return i(this,m),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"encode",value:function(){for(var v="110",g=0;g<this.data.length;g++){var w=parseInt(this.data[g]),x=w.toString(2);x=c(x,4-x.length);for(var k=0;k<x.length;k++)v+=x[k]=="0"?"100":"110"}return v+="1001",{data:v,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),m}(n.default);function c(d,m){for(var v=0;v<m;v++)d="0"+d;return d}e.default=u}),ru=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.mod10=t,e.mod11=a;function t(n){for(var r=0,i=0;i<n.length;i++){var o=parseInt(n[i]);(i+n.length)%2===0?r+=o:r+=o*2%10+Math.floor(o*2/10)}return(10-r%10)%10}function a(n){for(var r=0,i=[2,3,4,5,6,7],o=0;o<n.length;o++){var l=parseInt(n[n.length-1-o]);r+=i[o%i.length]*l}return(11-r%11)%11}}),Tq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Jo(),a=r(t),n=ru();function r(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){return i(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m+(0,n.mod10)(m),v))}return d}(a.default);e.default=u}),Rq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Jo(),a=r(t),n=ru();function r(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){return i(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m+(0,n.mod11)(m),v))}return d}(a.default);e.default=u}),Nq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Jo(),a=r(t),n=ru();function r(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){return i(this,d),m+=(0,n.mod10)(m),m+=(0,n.mod10)(m),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,v))}return d}(a.default);e.default=u}),Oq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Jo(),a=r(t),n=ru();function r(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){return i(this,d),m+=(0,n.mod11)(m),m+=(0,n.mod10)(m),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,v))}return d}(a.default);e.default=u}),Mq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var t=Jo(),a=m(t),n=Tq(),r=m(n),i=Rq(),o=m(i),l=Nq(),u=m(l),c=Oq(),d=m(c);function m(v){return v&&v.__esModule?v:{default:v}}e.MSI=a.default,e.MSI10=r.default,e.MSI11=o.default,e.MSI1010=u.default,e.MSI1110=d.default}),Aq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.pharmacode=void 0;var t=function(){function c(d,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,v){return m&&c(d.prototype,m),v&&c(d,v),d}}(),a=Dn(),n=r(a);function r(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){i(this,d);var g=o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,v));return g.number=parseInt(m,10),g}return t(d,[{key:"encode",value:function(){for(var m=this.number,v="";!isNaN(m)&&m!=0;)m%2===0?(v="11100"+v,m=(m-2)/2):(v="100"+v,m=(m-1)/2);return v=v.slice(0,-2),{data:v,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),d}(n.default);e.pharmacode=u}),Pq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codabar=void 0;var t=function(){function c(d,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,v){return m&&c(d.prototype,m),v&&c(d,v),d}}(),a=Dn(),n=r(a);function r(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){i(this,d),m.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(m="A"+m+"A");var g=o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m.toUpperCase(),v));return g.text=g.options.text||g.text.replace(/[A-D]/g,""),g}return t(d,[{key:"valid",value:function(){return this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)!==-1}},{key:"encode",value:function(){for(var m=[],v=this.getEncodings(),g=0;g<this.data.length;g++)m.push(v[this.data.charAt(g)]),g!==this.data.length-1&&m.push("0");return{text:this.text,data:m.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"1011011011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),d}(n.default);e.codabar=u}),Lq=se(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"]}}),Rv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(m,v){for(var g=0;g<v.length;g++){var w=v[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,v,g){return v&&d(m.prototype,v),g&&d(m,g),m}}(),a=Lq(),n=Dn(),r=i(n);function i(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function l(d,m){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:d}function u(d,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);d.prototype=Object.create(m&&m.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(d,m):d.__proto__=m)}var c=function(d){u(m,d);function m(v,g){return o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"valid",value:function(){return/^[0-9A-Z\-. $/+%]+$/.test(this.data)}},{key:"encode",value:function(){var v=this.data.split("").flatMap(function(k){return a.MULTI_SYMBOLS[k]||k}),g=v.map(function(k){return m.getEncoding(k)}).join(""),w=m.checksum(v,20),x=m.checksum(v.concat(w),15);return{text:this.text,data:m.getEncoding("ÿ")+g+m.getEncoding(w)+m.getEncoding(x)+m.getEncoding("ÿ")+"1"}}}],[{key:"getEncoding",value:function(v){return a.BINARIES[m.symbolValue(v)]}},{key:"getSymbol",value:function(v){return a.SYMBOLS[v]}},{key:"symbolValue",value:function(v){return a.SYMBOLS.indexOf(v)}},{key:"checksum",value:function(v,g){var w=v.slice().reverse().reduce(function(x,k,D){var N=D%g+1;return x+m.symbolValue(k)*N},0);return m.getSymbol(w%47)}}]),m}(r.default);e.default=c}),Fq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(d,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,v){return m&&c(d.prototype,m),v&&c(d,v),d}}(),a=Rv(),n=r(a);function r(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){return i(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,v))}return t(d,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),d}(n.default);e.default=u}),jq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE93FullASCII=e.CODE93=void 0;var t=Rv(),a=i(t),n=Fq(),r=i(n);function i(o){return o&&o.__esModule?o:{default:o}}e.CODE93=a.default,e.CODE93FullASCII=r.default}),Vq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GenericBarcode=void 0;var t=function(){function c(d,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,v){return m&&c(d.prototype,m),v&&c(d,v),d}}(),a=Dn(),n=r(a);function r(c){return c&&c.__esModule?c:{default:c}}function i(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function o(c,d){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:c}function l(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(c,d):c.__proto__=d)}var u=function(c){l(d,c);function d(m,v){return i(this,d),o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,m,v))}return t(d,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),d}(n.default);e.GenericBarcode=u}),zq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=pq(),a=yq(),n=kq(),r=Iq(),i=Mq(),o=Aq(),l=Pq(),u=jq(),c=Vq();e.default={CODE39:t.CODE39,CODE128:a.CODE128,CODE128A:a.CODE128A,CODE128B:a.CODE128B,CODE128C:a.CODE128C,EAN13:n.EAN13,EAN8:n.EAN8,EAN5:n.EAN5,EAN2:n.EAN2,UPC:n.UPC,UPCE:n.UPCE,ITF14:r.ITF14,ITF:r.ITF,MSI:i.MSI,MSI10:i.MSI10,MSI11:i.MSI11,MSI1010:i.MSI1010,MSI1110:i.MSI1110,pharmacode:o.pharmacode,codabar:l.codabar,CODE93:u.CODE93,CODE93FullASCII:u.CODE93FullASCII,GenericBarcode:c.GenericBarcode}}),iu=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(a){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a[i]=r[i])}return a};e.default=function(a,n){return t({},a,n)}}),Bq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(a){var n=[];function r(i){if(Array.isArray(i))for(var o=0;o<i.length;o++)r(i[o]);else i.text=i.text||"",i.data=i.data||"",n.push(i)}return r(a),n}}),Hq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(a){return a.marginTop=a.marginTop||a.margin,a.marginBottom=a.marginBottom||a.margin,a.marginRight=a.marginRight||a.margin,a.marginLeft=a.marginLeft||a.margin,a}}),Nv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(a){var n=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var r in n)n.hasOwnProperty(r)&&(r=n[r],typeof a[r]=="string"&&(a[r]=parseInt(a[r],10)));return typeof a.displayValue=="string"&&(a.displayValue=a.displayValue!="false"),a}}),Ov=se(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}),qq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Nv(),a=i(t),n=Ov(),r=i(n);function i(l){return l&&l.__esModule?l:{default:l}}function o(l){var u={};for(var c in r.default)r.default.hasOwnProperty(c)&&(l.hasAttribute("jsbarcode-"+c.toLowerCase())&&(u[c]=l.getAttribute("jsbarcode-"+c.toLowerCase())),l.hasAttribute("data-"+c.toLowerCase())&&(u[c]=l.getAttribute("data-"+c.toLowerCase())));return u.value=l.getAttribute("jsbarcode-value")||l.getAttribute("data-value"),u=(0,a.default)(u),u}e.default=o}),Mv=se(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var t=iu(),a=n(t);function n(d){return d&&d.__esModule?d:{default:d}}function r(d,m){return m.height+(m.displayValue&&d.text.length>0?m.fontSize+m.textMargin:0)+m.marginTop+m.marginBottom}function i(d,m,v){if(v.displayValue&&m<d){if(v.textAlign=="center")return Math.floor((d-m)/2);if(v.textAlign=="left")return 0;if(v.textAlign=="right")return Math.floor(d-m)}return 0}function o(d,m,v){for(var g=0;g<d.length;g++){var w=d[g],x=(0,a.default)(m,w.options),k;x.displayValue?k=c(w.text,x,v):k=0;var D=w.data.length*x.width;w.width=Math.ceil(Math.max(k,D)),w.height=r(w,x),w.barcodePadding=i(k,D,x)}}function l(d){for(var m=0,v=0;v<d.length;v++)m+=d[v].width;return m}function u(d){for(var m=0,v=0;v<d.length;v++)d[v].height>m&&(m=d[v].height);return m}function c(d,m,v){var g;if(v)g=v;else if(typeof document<"u")g=document.createElement("canvas").getContext("2d");else return 0;g.font=m.fontOptions+" "+m.fontSize+"px "+m.font;var w=g.measureText(d);if(!w)return 0;var x=w.width;return x}e.getMaximumHeightOfEncodings=u,e.getEncodingHeight=r,e.getBarcodePadding=i,e.calculateEncodingAttributes=o,e.getTotalWidthOfEncodings=l}),$q=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(c,d){for(var m=0;m<d.length;m++){var v=d[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(c,v.key,v)}}return function(c,d,m){return d&&u(c.prototype,d),m&&u(c,m),c}}(),a=iu(),n=i(a),r=Mv();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=function(){function u(c,d,m){o(this,u),this.canvas=c,this.encodings=d,this.options=m}return t(u,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var c=0;c<this.encodings.length;c++){var d=(0,n.default)(this.options,this.encodings[c].options);this.drawCanvasBarcode(d,this.encodings[c]),this.drawCanvasText(d,this.encodings[c]),this.moveCanvasDrawing(this.encodings[c])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var c=this.canvas.getContext("2d");c.save(),(0,r.calculateEncodingAttributes)(this.encodings,this.options,c);var d=(0,r.getTotalWidthOfEncodings)(this.encodings),m=(0,r.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=d+this.options.marginLeft+this.options.marginRight,this.canvas.height=m,c.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(c.fillStyle=this.options.background,c.fillRect(0,0,this.canvas.width,this.canvas.height)),c.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(c,d){var m=this.canvas.getContext("2d"),v=d.data,g;c.textPosition=="top"?g=c.marginTop+c.fontSize+c.textMargin:g=c.marginTop,m.fillStyle=c.lineColor;for(var w=0;w<v.length;w++){var x=w*c.width+d.barcodePadding;v[w]==="1"?m.fillRect(x,g,c.width,c.height):v[w]&&m.fillRect(x,g,c.width,c.height*v[w])}}},{key:"drawCanvasText",value:function(c,d){var m=this.canvas.getContext("2d"),v=c.fontOptions+" "+c.fontSize+"px "+c.font;if(c.displayValue){var g,w;c.textPosition=="top"?w=c.marginTop+c.fontSize-c.textMargin:w=c.height+c.textMargin+c.marginTop+c.fontSize,m.font=v,c.textAlign=="left"||d.barcodePadding>0?(g=0,m.textAlign="left"):c.textAlign=="right"?(g=d.width-1,m.textAlign="right"):(g=d.width/2,m.textAlign="center"),m.fillText(d.text,g,w)}}},{key:"moveCanvasDrawing",value:function(c){var d=this.canvas.getContext("2d");d.translate(c.width,0)}},{key:"restoreCanvas",value:function(){var c=this.canvas.getContext("2d");c.restore()}}]),u}();e.default=l}),Uq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(d,m){for(var v=0;v<m.length;v++){var g=m[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,m,v){return m&&c(d.prototype,m),v&&c(d,v),d}}(),a=iu(),n=i(a),r=Mv();function i(c){return c&&c.__esModule?c:{default:c}}function o(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}var l="http://www.w3.org/2000/svg",u=function(){function c(d,m,v){o(this,c),this.svg=d,this.encodings=m,this.options=v,this.document=v.xmlDocument||document}return t(c,[{key:"render",value:function(){var d=this.options.marginLeft;this.prepareSVG();for(var m=0;m<this.encodings.length;m++){var v=this.encodings[m],g=(0,n.default)(this.options,v.options),w=this.createGroup(d,g.marginTop,this.svg);this.setGroupOptions(w,g),this.drawSvgBarcode(w,g,v),this.drawSVGText(w,g,v),d+=v.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,r.calculateEncodingAttributes)(this.encodings,this.options);var d=(0,r.getTotalWidthOfEncodings)(this.encodings),m=(0,r.getMaximumHeightOfEncodings)(this.encodings),v=d+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(v,m),this.options.background&&this.drawRect(0,0,v,m,this.svg).setAttribute("style","fill:"+this.options.background+";")}},{key:"drawSvgBarcode",value:function(d,m,v){var g=v.data,w;m.textPosition=="top"?w=m.fontSize+m.textMargin:w=0;for(var x=0,k=0,D=0;D<g.length;D++)k=D*m.width+v.barcodePadding,g[D]==="1"?x++:x>0&&(this.drawRect(k-m.width*x,w,m.width*x,m.height,d),x=0);x>0&&this.drawRect(k-m.width*(x-1),w,m.width*x,m.height,d)}},{key:"drawSVGText",value:function(d,m,v){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"||v.barcodePadding>0?(w=0,g.setAttribute("text-anchor","start")):m.textAlign=="right"?(w=v.width-1,g.setAttribute("text-anchor","end")):(w=v.width/2,g.setAttribute("text-anchor","middle")),g.setAttribute("x",w),g.setAttribute("y",x),g.appendChild(this.document.createTextNode(v.text)),d.appendChild(g)}}},{key:"setSvgAttributes",value:function(d,m){var v=this.svg;v.setAttribute("width",d+"px"),v.setAttribute("height",m+"px"),v.setAttribute("x","0px"),v.setAttribute("y","0px"),v.setAttribute("viewBox","0 0 "+d+" "+m),v.setAttribute("xmlns",l),v.setAttribute("version","1.1"),v.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(d,m,v){var g=this.document.createElementNS(l,"g");return g.setAttribute("transform","translate("+d+", "+m+")"),v.appendChild(g),g}},{key:"setGroupOptions",value:function(d,m){d.setAttribute("style","fill:"+m.lineColor+";")}},{key:"drawRect",value:function(d,m,v,g,w){var x=this.document.createElementNS(l,"rect");return x.setAttribute("x",d),x.setAttribute("y",m),x.setAttribute("width",v),x.setAttribute("height",g),w.appendChild(x),x}}]),c}();e.default=u}),Gq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function r(i,o){for(var l=0;l<o.length;l++){var u=o[l];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(i,u.key,u)}}return function(i,o,l){return o&&r(i.prototype,o),l&&r(i,l),i}}();function a(r,i){if(!(r instanceof i))throw new TypeError("Cannot call a class as a function")}var n=function(){function r(i,o,l){a(this,r),this.object=i,this.encodings=o,this.options=l}return t(r,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),r}();e.default=n}),Wq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=$q(),a=l(t),n=Uq(),r=l(n),i=Gq(),o=l(i);function l(u){return u&&u.__esModule?u:{default:u}}e.default={CanvasRenderer:a.default,SVGRenderer:r.default,ObjectRenderer:o.default}}),Av=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(l,u){if(!(l instanceof u))throw new TypeError("Cannot call a class as a function")}function a(l,u){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:l}function n(l,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);l.prototype=Object.create(u&&u.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(l,u):l.__proto__=u)}var r=function(l){n(u,l);function u(c,d){t(this,u);var m=a(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return m.name="InvalidInputException",m.symbology=c,m.input=d,m.message='"'+m.input+'" is not a valid input for '+m.symbology,m}return u}(Error),i=function(l){n(u,l);function u(){t(this,u);var c=a(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return c.name="InvalidElementException",c.message="Not supported type to render on",c}return u}(Error),o=function(l){n(u,l);function u(){t(this,u);var c=a(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));return c.name="NoElementException",c.message="No element to render on.",c}return u}(Error);e.InvalidInputException=r,e.InvalidElementException=i,e.NoElementException=o}),Zq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},a=qq(),n=l(a),r=Wq(),i=l(r),o=Av();function l(m){return m&&m.__esModule?m:{default:m}}function u(m){if(typeof m=="string")return c(m);if(Array.isArray(m)){for(var v=[],g=0;g<m.length;g++)v.push(u(m[g]));return v}else{if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLImageElement)return d(m);if(m&&m.nodeName&&m.nodeName.toLowerCase()==="svg"||typeof SVGElement<"u"&&m instanceof SVGElement)return{element:m,options:(0,n.default)(m),renderer:i.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLCanvasElement)return{element:m,options:(0,n.default)(m),renderer:i.default.CanvasRenderer};if(m&&m.getContext)return{element:m,renderer:i.default.CanvasRenderer};if(m&&(typeof m>"u"?"undefined":t(m))==="object"&&!m.nodeName)return{element:m,renderer:i.default.ObjectRenderer};throw new o.InvalidElementException}}function c(m){var v=document.querySelectorAll(m);if(v.length!==0){for(var g=[],w=0;w<v.length;w++)g.push(u(v[w]));return g}}function d(m){var v=document.createElement("canvas");return{element:v,options:(0,n.default)(m),renderer:i.default.CanvasRenderer,afterRender:function(){m.setAttribute("src",v.toDataURL())}}}e.default=u}),Yq=se(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function r(i,o){for(var l=0;l<o.length;l++){var u=o[l];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(i,u.key,u)}}return function(i,o,l){return o&&r(i.prototype,o),l&&r(i,l),i}}();function a(r,i){if(!(r instanceof i))throw new TypeError("Cannot call a class as a function")}var n=function(){function r(i){a(this,r),this.api=i}return t(r,[{key:"handleCatch",value:function(i){if(i.name==="InvalidInputException")if(this.api._options.valid!==this.api._defaults.valid)this.api._options.valid(!1);else throw i.message;else throw i;this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(i){try{var o=i.apply(void 0,arguments);return this.api._options.valid(!0),o}catch(l){return this.handleCatch(l),this.api}}}]),r}();e.default=n}),Kq=se((e,t)=>{var a=zq(),n=O(a),r=iu(),i=O(r),o=Bq(),l=O(o),u=Hq(),c=O(u),d=Zq(),m=O(d),v=Nv(),g=O(v),w=Yq(),x=O(w),k=Av(),D=Ov(),N=O(D);function O(X){return X&&X.__esModule?X:{default:X}}var J=function(){},le=function(X,G,xe){var F=new J;if(typeof X>"u")throw Error("No element to render on was provided.");return F._renderProperties=(0,m.default)(X),F._encodings=[],F._options=N.default,F._errorHandler=new x.default(F),typeof G<"u"&&(xe=xe||{},xe.format||(xe.format=nt()),F.options(xe)[xe.format](G,xe).render()),F};le.getModule=function(X){return n.default[X]};for(_e in n.default)n.default.hasOwnProperty(_e)&&Ot(n.default,_e);var _e;function Ot(X,G){J.prototype[G]=J.prototype[G.toUpperCase()]=J.prototype[G.toLowerCase()]=function(xe,F){var H=this;return H._errorHandler.wrapBarcodeCall(function(){F.text=typeof F.text>"u"?void 0:""+F.text;var Y=(0,i.default)(H._options,F);Y=(0,g.default)(Y);var Ie=X[G],Xe=_t(xe,Ie,Y);return H._encodings.push(Xe),H})}}function _t(X,G,xe){X=""+X;var F=new G(X,xe);if(!F.valid())throw new k.InvalidInputException(F.constructor.name,X);var H=F.encode();H=(0,l.default)(H);for(var Y=0;Y<H.length;Y++)H[Y].options=(0,i.default)(xe,H[Y].options);return H}function nt(){return n.default.CODE128?"CODE128":Object.keys(n.default)[0]}J.prototype.options=function(X){return this._options=(0,i.default)(this._options,X),this},J.prototype.blank=function(X){var G=new Array(X+1).join("0");return this._encodings.push({data:G}),this},J.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var X;for(var G in this._renderProperties){X=this._renderProperties[G];var xe=(0,i.default)(this._options,X.options);xe.format=="auto"&&(xe.format=nt()),this._errorHandler.wrapBarcodeCall(function(){var F=xe.value,H=n.default[xe.format.toUpperCase()],Y=_t(F,H,xe);Ct(X,Y,xe)})}}},J.prototype.render=function(){if(!this._renderProperties)throw new k.NoElementException;if(Array.isArray(this._renderProperties))for(var X=0;X<this._renderProperties.length;X++)Ct(this._renderProperties[X],this._encodings,this._options);else Ct(this._renderProperties,this._encodings,this._options);return this},J.prototype._defaults=N.default;function Ct(X,G,xe){G=(0,l.default)(G);for(var F=0;F<G.length;F++)G[F].options=(0,i.default)(xe,G[F].options),(0,c.default)(G[F].options);(0,c.default)(xe);var H=X.renderer,Y=new H(X.element,G,xe);Y.render(),X.afterRender&&X.afterRender()}typeof window<"u"&&(window.JsBarcode=le),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(X,G){var xe=[];return jQuery(this).each(function(){xe.push(this)}),le(xe,X,G)}),t.exports=le});function mh(e,t){return Object.is(e,t)}var xt=null,el=!1,fh=1,fn=Symbol("SIGNAL");function De(e){let t=xt;return xt=e,t}function Qq(){return xt}var zi={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 es(e){if(el)throw new Error("");if(xt===null)return;xt.consumerOnSignalRead(e);let t=xt.nextProducerIndex++;if(uu(xt),t<xt.producerNode.length&&xt.producerNode[t]!==e&&Io(xt)){let a=xt.producerNode[t];lu(a,xt.producerIndexOfThis[t])}xt.producerNode[t]!==e&&(xt.producerNode[t]=e,xt.producerIndexOfThis[t]=Io(xt)?Fv(e,xt,t):0),xt.producerLastReadVersion[t]=e.version}function Xq(){fh++}function ts(e){if(!(Io(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===fh)){if(!e.producerMustRecompute(e)&&!gh(e)){bl(e);return}e.producerRecomputeValue(e),bl(e)}}function Pv(e){if(e.liveConsumerNode===void 0)return;let t=el;el=!0;try{for(let a of e.liveConsumerNode)a.dirty||Jq(a)}finally{el=t}}function Lv(){return(xt==null?void 0:xt.consumerAllowSignalWrites)!==!1}function Jq(e){var t;e.dirty=!0,Pv(e),(t=e.consumerMarkedDirty)==null||t.call(e,e)}function bl(e){e.dirty=!1,e.lastCleanEpoch=fh}function Do(e){return e&&(e.nextProducerIndex=0),De(e)}function ou(e,t){if(De(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Io(e))for(let a=e.nextProducerIndex;a<e.producerNode.length;a++)lu(e.producerNode[a],e.producerIndexOfThis[a]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function gh(e){uu(e);for(let t=0;t<e.producerNode.length;t++){let a=e.producerNode[t],n=e.producerLastReadVersion[t];if(n!==a.version||(ts(a),n!==a.version))return!0}return!1}function su(e){if(uu(e),Io(e))for(let t=0;t<e.producerNode.length;t++)lu(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 Fv(e,t,a){if(jv(e),e.liveConsumerNode.length===0&&Vv(e))for(let n=0;n<e.producerNode.length;n++)e.producerIndexOfThis[n]=Fv(e.producerNode[n],e,n);return e.liveConsumerIndexOfThis.push(a),e.liveConsumerNode.push(t)-1}function lu(e,t){if(jv(e),e.liveConsumerNode.length===1&&Vv(e))for(let n=0;n<e.producerNode.length;n++)lu(e.producerNode[n],e.producerIndexOfThis[n]);let a=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[a],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[a],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let n=e.liveConsumerIndexOfThis[t],r=e.liveConsumerNode[t];uu(r),r.producerIndexOfThis[n]=t}}function Io(e){var t;return e.consumerIsAlwaysLive||(((t=e==null?void 0:e.liveConsumerNode)==null?void 0:t.length)??0)>0}function uu(e){e.producerNode??(e.producerNode=[]),e.producerIndexOfThis??(e.producerIndexOfThis=[]),e.producerLastReadVersion??(e.producerLastReadVersion=[])}function jv(e){e.liveConsumerNode??(e.liveConsumerNode=[]),e.liveConsumerIndexOfThis??(e.liveConsumerIndexOfThis=[])}function Vv(e){return e.producerNode!==void 0}function e$(e,t){let a=Object.create(t$);a.computation=e;let n=()=>{if(ts(a),es(a),a.value===ir)throw a.error;return a.value};return n[fn]=a,n}var Rr=Symbol("UNSET"),fi=Symbol("COMPUTING"),ir=Symbol("ERRORED"),t$=Yt(ue({},zi),{value:Rr,dirty:!0,error:null,equal:mh,kind:"computed",producerMustRecompute(e){return e.value===Rr||e.value===fi},producerRecomputeValue(e){if(e.value===fi)throw new Error("Detected cycle in computations.");let t=e.value;e.value=fi;let a=Do(e),n,r=!1;try{n=e.computation(),De(null),r=t!==Rr&&t!==ir&&n!==ir&&e.equal(t,n)}catch(i){n=ir,e.error=i}finally{ou(e,a)}if(r){e.value=t;return}e.value=n,e.version++}});function n$(){throw new Error}var zv=n$;function Bv(e){zv(e)}function a$(e){zv=e}function r$(e,t){let a=Object.create(qv);a.value=e;let n=()=>(es(a),a.value);return n[fn]=a,n}function ns(e,t){Lv()||Bv(e),e.equal(e.value,t)||(e.value=t,i$(e))}function Hv(e,t){Lv()||Bv(e),ns(e,t(e.value))}var qv=Yt(ue({},zi),{equal:mh,value:void 0,kind:"signal"});function i$(e){e.version++,Xq(),Pv(e)}function Lm(e,t,a){let n=Object.create(l$);n.source=e,n.computation=t,a!=null&&(n.equal=a);let r=()=>{if(ts(n),es(n),n.value===ir)throw n.error;return n.value};return r[fn]=n,r}function o$(e,t){ts(e),ns(e,t),bl(e)}function s$(e,t){ts(e),Hv(e,t),bl(e)}var l$=Yt(ue({},zi),{value:Rr,dirty:!0,error:null,equal:mh,kind:"linkedSignal",producerMustRecompute(e){return e.value===Rr||e.value===fi},producerRecomputeValue(e){if(e.value===fi)throw new Error("Detected cycle in computations.");let t=e.value;e.value=fi;let a=Do(e),n;try{let r=e.source(),i=t===Rr||t===ir?void 0:{source:e.sourceValue,value:t};n=e.computation(r,i),e.sourceValue=r}catch(r){n=ir,e.error=r}finally{ou(e,a)}if(t!==Rr&&n!==ir&&e.equal(t,n)){e.value=t;return}e.value=n,e.version++}});function u$(e){let t=De(null);try{return e()}finally{De(t)}}var Kc;function tl(){return Kc}function Za(e){let t=Kc;return Kc=e,t}var $v=Symbol("NotFound");function ot(e){return typeof e=="function"}function vh(e){let t=e(a=>{Error.call(a),a.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var Yu=vh(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
13
13
  ${t.map((a,n)=>`${n+1}) ${a.toString()}`).join(`
14
14
  `)}`:"",this.name="UnsubscriptionError",this.errors=t});function yl(e,t){if(e){let a=e.indexOf(t);0<=a&&e.splice(a,1)}}var Zt=class Qc{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:a}=this;if(a)if(this._parentage=null,Array.isArray(a))for(let i of a)i.remove(this);else a.remove(this);let{initialTeardown:n}=this;if(ot(n))try{n()}catch(i){t=i instanceof Yu?i.errors:[i]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let i of r)try{Fm(i)}catch(o){t=t??[],o instanceof Yu?t=[...t,...o.errors]:t.push(o)}}if(t)throw new Yu(t)}}add(t){var a;if(t&&t!==this)if(this.closed)Fm(t);else{if(t instanceof Qc){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(a=this._finalizers)!==null&&a!==void 0?a:[]).push(t)}}_hasParent(t){let{_parentage:a}=this;return a===t||Array.isArray(a)&&a.includes(t)}_addParent(t){let{_parentage:a}=this;this._parentage=Array.isArray(a)?(a.push(t),a):a?[a,t]:t}_removeParent(t){let{_parentage:a}=this;a===t?this._parentage=null:Array.isArray(a)&&yl(a,t)}remove(t){let{_finalizers:a}=this;a&&yl(a,t),t instanceof Qc&&t._removeParent(this)}};Zt.EMPTY=(()=>{let e=new Zt;return e.closed=!0,e})();var Uv=Zt.EMPTY;function Gv(e){return e instanceof Zt||e&&"closed"in e&&ot(e.remove)&&ot(e.add)&&ot(e.unsubscribe)}function Fm(e){ot(e)?e():e.unsubscribe()}var c$={Promise:void 0},d$={setTimeout(e,t,...a){return setTimeout(e,t,...a)},clearTimeout(e){return clearTimeout(e)},delegate:void 0};function Wv(e){d$.setTimeout(()=>{throw e})}function Xc(){}function nl(e){e()}var bh=class extends Zt{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Gv(e)&&e.add(this)):this.destination=m$}static create(e,t,a){return new To(e,t,a)}next(e){this.isStopped?void 0:this._next(e)}error(e){this.isStopped?void 0:(this.isStopped=!0,this._error(e))}complete(){this.isStopped?void 0:(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},h$=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(a){Ts(a)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(a){Ts(a)}else Ts(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){Ts(t)}}},To=class extends bh{constructor(e,t,a){super();let n;ot(e)||!e?n={next:e??void 0,error:t??void 0,complete:a??void 0}:n=e,this.destination=new h$(n)}};function Ts(e){Wv(e)}function p$(e){throw e}var m$={closed:!0,next:Xc,error:p$,complete:Xc},yh=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Bi(e){return e}function f$(e){return e.length===0?Bi:e.length===1?e[0]:function(t){return e.reduce((a,n)=>n(a),t)}}var mt=(()=>{class e{constructor(a){a&&(this._subscribe=a)}lift(a){let n=new e;return n.source=this,n.operator=a,n}subscribe(a,n,r){let i=v$(a)?a:new To(a,n,r);return nl(()=>{let{operator:o,source:l}=this;i.add(o?o.call(i,l):l?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(a){try{return this._subscribe(a)}catch(n){a.error(n)}}forEach(a,n){return n=jm(n),new n((r,i)=>{let o=new To({next:l=>{try{a(l)}catch(u){i(u),o.unsubscribe()}},error:i,complete:r});this.subscribe(o)})}_subscribe(a){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(a)}[yh](){return this}pipe(...a){return f$(a)(this)}toPromise(a){return a=jm(a),new a((n,r)=>{let i;this.subscribe(o=>i=o,o=>r(o),()=>n(i))})}}return e.create=t=>new e(t),e})();function jm(e){var t;return(t=e??c$.Promise)!==null&&t!==void 0?t:Promise}function g$(e){return e&&ot(e.next)&&ot(e.error)&&ot(e.complete)}function v$(e){return e&&e instanceof bh||g$(e)&&Gv(e)}function Zv(e){return ot(e==null?void 0:e.lift)}function Kt(e){return t=>{if(Zv(t))return t.lift(function(a){try{return e(a,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ft(e,t,a,n,r){return new b$(e,t,a,n,r)}var b$=class extends bh{constructor(e,t,a,n,r,i){super(e),this.onFinalize=r,this.shouldUnsubscribe=i,this._next=t?function(o){try{t(o)}catch(l){e.error(l)}}:super._next,this._error=n?function(o){try{n(o)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=a?function(){try{a()}catch(o){e.error(o)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function y$(){return Kt((e,t)=>{let a=null;e._refCount++;let n=Ft(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){a=null;return}let r=e._connection,i=a;a=null,r&&(!i||r===i)&&r.unsubscribe(),t.unsubscribe()});e.subscribe(n),n.closed||(a=e.connect())})}var _$=class extends mt{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,Zv(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e==null||e.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new Zt;let t=this.getSubject();e.add(this.source.subscribe(Ft(t,void 0,()=>{this._teardown(),t.complete()},a=>{this._teardown(),t.error(a)},()=>this._teardown()))),e.closed&&(this._connection=null,e=Zt.EMPTY)}return e}refCount(){return y$()(this)}},w$=vh(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}),ge=(()=>{class e extends mt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(a){let n=new Vm(this,this);return n.operator=a,n}_throwIfClosed(){if(this.closed)throw new w$}next(a){nl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(a)}})}error(a){nl(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=a;let{observers:n}=this;for(;n.length;)n.shift().error(a)}})}complete(){nl(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:a}=this;for(;a.length;)a.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var a;return((a=this.observers)===null||a===void 0?void 0:a.length)>0}_trySubscribe(a){return this._throwIfClosed(),super._trySubscribe(a)}_subscribe(a){return this._throwIfClosed(),this._checkFinalizedStatuses(a),this._innerSubscribe(a)}_innerSubscribe(a){let{hasError:n,isStopped:r,observers:i}=this;return n||r?Uv:(this.currentObservers=null,i.push(a),new Zt(()=>{this.currentObservers=null,yl(i,a)}))}_checkFinalizedStatuses(a){let{hasError:n,thrownError:r,isStopped:i}=this;n?a.error(r):i&&a.complete()}asObservable(){let a=new mt;return a.source=this,a}}return e.create=(t,a)=>new Vm(t,a),e})(),Vm=class extends ge{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,a;(a=(t=this.destination)===null||t===void 0?void 0:t.next)===null||a===void 0||a.call(t,e)}error(e){var t,a;(a=(t=this.destination)===null||t===void 0?void 0:t.error)===null||a===void 0||a.call(t,e)}complete(){var e,t;(t=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||t===void 0||t.call(e)}_subscribe(e){var t,a;return(a=(t=this.source)===null||t===void 0?void 0:t.subscribe(e))!==null&&a!==void 0?a:Uv}},Ar=class extends ge{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let t=super._subscribe(e);return!t.closed&&e.next(this._value),t}getValue(){let{hasError:e,thrownError:t,_value:a}=this;if(e)throw t;return this._throwIfClosed(),a}next(e){super.next(this._value=e)}},_h={now(){return(_h.delegate||Date).now()},delegate:void 0},wh=class extends ge{constructor(e=1/0,t=1/0,a=_h){super(),this._bufferSize=e,this._windowTime=t,this._timestampProvider=a,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,t)}next(e){let{isStopped:t,_buffer:a,_infiniteTimeWindow:n,_timestampProvider:r,_windowTime:i}=this;t||(a.push(e),!n&&a.push(r.now()+i)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(e),{_infiniteTimeWindow:a,_buffer:n}=this,r=n.slice();for(let i=0;i<r.length&&!e.closed;i+=a?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t}_trimBuffer(){let{_bufferSize:e,_timestampProvider:t,_buffer:a,_infiniteTimeWindow:n}=this,r=(n?1:2)*e;if(e<1/0&&r<a.length&&a.splice(0,a.length-r),!n){let i=t.now(),o=0;for(let l=1;l<a.length&&a[l]<=i;l+=2)o=l;o&&a.splice(0,o+1)}}},x$=class extends Zt{constructor(e,t){super()}schedule(e,t=0){return this}},Jc={setInterval(e,t,...a){let{delegate:n}=Jc;return n!=null&&n.setInterval?n.setInterval(e,t,...a):setInterval(e,t,...a)},clearInterval(e){return clearInterval(e)},delegate:void 0},E$=class extends x${constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var a;if(this.closed)return this;this.state=e;let n=this.id,r=this.scheduler;return n!=null&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=(a=this.id)!==null&&a!==void 0?a:this.requestAsyncId(r,this.id,t),this}requestAsyncId(e,t,a=0){return Jc.setInterval(e.flush.bind(e,this),a)}recycleAsyncId(e,t,a=0){if(a!=null&&this.delay===a&&this.pending===!1)return t;t!=null&&Jc.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let a=this._execute(e,t);if(a)return a;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let a=!1,n;try{this.work(e)}catch(r){a=!0,n=r||new Error("Scheduled action threw falsy error")}if(a)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){let{id:e,scheduler:t}=this,{actions:a}=t;this.work=this.state=this.scheduler=null,this.pending=!1,yl(a,this),e!=null&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}},ed=class Yv{constructor(t,a=Yv.now){this.schedulerActionCtor=t,this.now=a}schedule(t,a=0,n){return new this.schedulerActionCtor(this,t).schedule(n,a)}};ed.now=_h.now;var S$=class extends ed{constructor(e,t=ed.now){super(e,t),this.actions=[],this._active=!1}flush(e){let{actions:t}=this;if(this._active){t.push(e);return}let a;this._active=!0;do if(a=e.execute(e.state,e.delay))break;while(e=t.shift());if(this._active=!1,a){for(;e=t.shift();)e.unsubscribe();throw a}}},xh=new S$(E$),k$=xh,Eh=new mt(e=>e.complete());function Kv(e){return e&&ot(e.schedule)}function Sh(e){return e[e.length-1]}function Qv(e){return ot(Sh(e))?e.pop():void 0}function as(e){return Kv(Sh(e))?e.pop():void 0}function C$(e,t){return typeof Sh(e)=="number"?e.pop():t}function D$(e,t,a,n){function r(i){return i instanceof a?i:new a(function(o){o(i)})}return new(a||(a=Promise))(function(i,o){function l(d){try{c(n.next(d))}catch(m){o(m)}}function u(d){try{c(n.throw(d))}catch(m){o(m)}}function c(d){d.done?i(d.value):r(d.value).then(l,u)}c((n=n.apply(e,[])).next())})}function zm(e){var t=typeof Symbol=="function"&&Symbol.iterator,a=t&&e[t],n=0;if(a)return a.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function gi(e){return this instanceof gi?(this.v=e,this):new gi(e)}function I$(e,t,a){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=a.apply(e,t||[]),r,i=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),l("next"),l("throw"),l("return",o),r[Symbol.asyncIterator]=function(){return this},r;function o(g){return function(w){return Promise.resolve(w).then(g,m)}}function l(g,w){n[g]&&(r[g]=function(x){return new Promise(function(k,D){i.push([g,x,k,D])>1||u(g,x)})},w&&(r[g]=w(r[g])))}function u(g,w){try{c(n[g](w))}catch(x){v(i[0][3],x)}}function c(g){g.value instanceof gi?Promise.resolve(g.value.v).then(d,m):v(i[0][2],g)}function d(g){u("next",g)}function m(g){u("throw",g)}function v(g,w){g(w),i.shift(),i.length&&u(i[0][0],i[0][1])}}function T$(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],a;return t?t.call(e):(e=typeof zm=="function"?zm(e):e[Symbol.iterator](),a={},n("next"),n("throw"),n("return"),a[Symbol.asyncIterator]=function(){return this},a);function n(i){a[i]=e[i]&&function(o){return new Promise(function(l,u){o=e[i](o),r(l,u,o.done,o.value)})}}function r(i,o,l,u){Promise.resolve(u).then(function(c){i({value:c,done:l})},o)}}var Xv=e=>e&&typeof e.length=="number"&&typeof e!="function";function Jv(e){return ot(e==null?void 0:e.then)}function e0(e){return ot(e[yh])}function t0(e){return Symbol.asyncIterator&&ot(e==null?void 0:e[Symbol.asyncIterator])}function n0(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 R$(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var a0=R$();function r0(e){return ot(e==null?void 0:e[a0])}function i0(e){return I$(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:a,done:n}=yield gi(t.read());if(n)return yield gi(void 0);yield yield gi(a)}}finally{t.releaseLock()}})}function o0(e){return ot(e==null?void 0:e.getReader)}function yn(e){if(e instanceof mt)return e;if(e!=null){if(e0(e))return N$(e);if(Xv(e))return O$(e);if(Jv(e))return M$(e);if(t0(e))return s0(e);if(r0(e))return A$(e);if(o0(e))return P$(e)}throw n0(e)}function N$(e){return new mt(t=>{let a=e[yh]();if(ot(a.subscribe))return a.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function O$(e){return new mt(t=>{for(let a=0;a<e.length&&!t.closed;a++)t.next(e[a]);t.complete()})}function M$(e){return new mt(t=>{e.then(a=>{t.closed||(t.next(a),t.complete())},a=>t.error(a)).then(null,Wv)})}function A$(e){return new mt(t=>{for(let a of e)if(t.next(a),t.closed)return;t.complete()})}function s0(e){return new mt(t=>{L$(e,t).catch(a=>t.error(a))})}function P$(e){return s0(i0(e))}function L$(e,t){var a,n,r,i;return D$(this,void 0,void 0,function*(){try{for(a=T$(e);n=yield a.next(),!n.done;){let o=n.value;if(t.next(o),t.closed)return}}catch(o){r={error:o}}finally{try{n&&!n.done&&(i=a.return)&&(yield i.call(a))}finally{if(r)throw r.error}}t.complete()})}function ja(e,t,a,n=0,r=!1){let i=t.schedule(function(){a(),r?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(i),!r)return i}function l0(e,t=0){return Kt((a,n)=>{a.subscribe(Ft(n,r=>ja(n,e,()=>n.next(r),t),()=>ja(n,e,()=>n.complete(),t),r=>ja(n,e,()=>n.error(r),t)))})}function u0(e,t=0){return Kt((a,n)=>{n.add(e.schedule(()=>a.subscribe(n),t))})}function F$(e,t){return yn(e).pipe(u0(t),l0(t))}function j$(e,t){return yn(e).pipe(u0(t),l0(t))}function V$(e,t){return new mt(a=>{let n=0;return t.schedule(function(){n===e.length?a.complete():(a.next(e[n++]),a.closed||this.schedule())})})}function z$(e,t){return new mt(a=>{let n;return ja(a,t,()=>{n=e[a0](),ja(a,t,()=>{let r,i;try{({value:r,done:i}=n.next())}catch(o){a.error(o);return}i?a.complete():a.next(r)},0,!0)}),()=>ot(n==null?void 0:n.return)&&n.return()})}function c0(e,t){if(!e)throw new Error("Iterable cannot be null");return new mt(a=>{ja(a,t,()=>{let n=e[Symbol.asyncIterator]();ja(a,t,()=>{n.next().then(r=>{r.done?a.complete():a.next(r.value)})},0,!0)})})}function B$(e,t){return c0(i0(e),t)}function H$(e,t){if(e!=null){if(e0(e))return F$(e,t);if(Xv(e))return V$(e,t);if(Jv(e))return j$(e,t);if(t0(e))return c0(e,t);if(r0(e))return z$(e,t);if(o0(e))return B$(e,t)}throw n0(e)}function Ur(e,t){return t?H$(e,t):yn(e)}function et(...e){let t=as(e);return Ur(e,t)}function d0(e,t){let a=ot(e)?e:()=>e,n=r=>r.error(a());return new mt(n)}function vi(e){return!!e&&(e instanceof mt||ot(e.lift)&&ot(e.subscribe))}var q$=vh(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function $$(e,t){return new Promise((a,n)=>{let r=!1,i;e.subscribe({next:o=>{i=o,r=!0},error:n,complete:()=>{r?a(i):n(new q$)}})})}function U$(e){return e instanceof Date&&!isNaN(e)}function Pt(e,t){return Kt((a,n)=>{let r=0;a.subscribe(Ft(n,i=>{n.next(e.call(t,i,r++))}))})}var{isArray:G$}=Array;function W$(e,t){return G$(t)?e(...t):e(t)}function h0(e){return Pt(t=>W$(e,t))}var{isArray:Z$}=Array,{getPrototypeOf:Y$,prototype:K$,keys:Q$}=Object;function p0(e){if(e.length===1){let t=e[0];if(Z$(t))return{args:t,keys:null};if(X$(t)){let a=Q$(t);return{args:a.map(n=>t[n]),keys:a}}}return{args:e,keys:null}}function X$(e){return e&&typeof e=="object"&&Y$(e)===K$}function m0(e,t){return e.reduce((a,n,r)=>(a[n]=t[r],a),{})}function al(...e){let t=as(e),a=Qv(e),{args:n,keys:r}=p0(e);if(n.length===0)return Ur([],t);let i=new mt(J$(n,t,r?o=>m0(r,o):Bi));return a?i.pipe(h0(a)):i}function J$(e,t,a=Bi){return n=>{Bm(t,()=>{let{length:r}=e,i=new Array(r),o=r,l=r;for(let u=0;u<r;u++)Bm(t,()=>{let c=Ur(e[u],t),d=!1;c.subscribe(Ft(n,m=>{i[u]=m,d||(d=!0,l--),l||n.next(a(i.slice()))},()=>{--o||n.complete()}))},n)},n)}}function Bm(e,t,a){e?ja(a,e,t):t()}function e6(e,t,a,n,r,i,o,l){let u=[],c=0,d=0,m=!1,v=()=>{m&&!u.length&&!c&&t.complete()},g=x=>c<n?w(x):u.push(x),w=x=>{c++;let k=!1;yn(a(x,d++)).subscribe(Ft(t,D=>{t.next(D)},()=>{k=!0},void 0,()=>{if(k)try{for(c--;u.length&&c<n;){let D=u.shift();o?ja(t,o,()=>w(D)):w(D)}v()}catch(D){t.error(D)}}))};return e.subscribe(Ft(t,g,()=>{m=!0,v()})),()=>{}}function Ro(e,t,a=1/0){return ot(t)?Ro((n,r)=>Pt((i,o)=>t(n,i,r,o))(yn(e(n,r))),a):(typeof t=="number"&&(a=t),Kt((n,r)=>e6(n,r,e,a)))}function f0(e=1/0){return Ro(Bi,e)}function t6(){return f0(1)}function No(...e){return t6()(Ur(e,as(e)))}function _l(e){return new mt(t=>{yn(e()).subscribe(t)})}function g0(...e){let t=Qv(e),{args:a,keys:n}=p0(e),r=new mt(i=>{let{length:o}=a;if(!o){i.complete();return}let l=new Array(o),u=o,c=o;for(let d=0;d<o;d++){let m=!1;yn(a[d]).subscribe(Ft(i,v=>{m||(m=!0,c--),l[d]=v},()=>u--,void 0,()=>{(!u||!m)&&(c||i.next(n?m0(n,l):l),i.complete())}))}});return t?r.pipe(h0(t)):r}function n6(e=0,t,a=k$){let n=-1;return t!=null&&(Kv(t)?a=t:n=t),new mt(r=>{let i=U$(e)?+e-a.now():e;i<0&&(i=0);let o=0;return a.schedule(function(){r.closed||(r.next(o++),0<=n?this.schedule(void 0,n):r.complete())},i)})}function Lr(...e){let t=as(e),a=C$(e,1/0),n=e;return n.length?n.length===1?yn(n[0]):f0(a)(Ur(n,t)):Eh}function kn(e,t){return Kt((a,n)=>{let r=0;a.subscribe(Ft(n,i=>e.call(t,i,r++)&&n.next(i)))})}function a6(e){return Kt((t,a)=>{let n=!1,r=null,i=null,o=!1,l=()=>{if(i==null||i.unsubscribe(),i=null,n){n=!1;let c=r;r=null,a.next(c)}o&&a.complete()},u=()=>{i=null,o&&a.complete()};t.subscribe(Ft(a,c=>{n=!0,r=c,i||yn(e(c)).subscribe(i=Ft(a,l,u))},()=>{o=!0,(!n||!i||i.closed)&&a.complete()}))})}function v0(e,t=xh){return a6(()=>n6(e,t))}function kh(e){return Kt((t,a)=>{let n=null,r=!1,i;n=t.subscribe(Ft(a,void 0,void 0,o=>{i=yn(e(o,kh(e)(t))),n?(n.unsubscribe(),n=null,i.subscribe(a)):r=!0})),r&&(n.unsubscribe(),n=null,i.subscribe(a))})}function b0(e,t){return ot(t)?Ro(e,t,1):Ro(e,1)}function r6(e,t=xh){return Kt((a,n)=>{let r=null,i=null,o=null,l=()=>{if(r){r.unsubscribe(),r=null;let c=i;i=null,n.next(c)}};function u(){let c=o+e,d=t.now();if(d<c){r=this.schedule(void 0,c-d),n.add(r);return}l()}a.subscribe(Ft(n,c=>{i=c,o=t.now(),r||(r=t.schedule(u,e),n.add(r))},()=>{l(),n.complete()},void 0,()=>{i=r=null}))})}function pn(e){return e<=0?()=>Eh:Kt((t,a)=>{let n=0;t.subscribe(Ft(a,r=>{++n<=e&&(a.next(r),e<=n&&a.complete())}))})}function i6(e,t=Bi){return e=e??o6,Kt((a,n)=>{let r,i=!0;a.subscribe(Ft(n,o=>{let l=t(o);(i||!e(r,l))&&(i=!1,r=l,n.next(o))}))})}function o6(e,t){return e===t}function y0(e){return Kt((t,a)=>{try{t.subscribe(a)}finally{a.add(e)}})}function _0(e={}){let{connector:t=()=>new ge,resetOnError:a=!0,resetOnComplete:n=!0,resetOnRefCountZero:r=!0}=e;return i=>{let o,l,u,c=0,d=!1,m=!1,v=()=>{l==null||l.unsubscribe(),l=void 0},g=()=>{v(),o=u=void 0,d=m=!1},w=()=>{let x=o;g(),x==null||x.unsubscribe()};return Kt((x,k)=>{c++,!m&&!d&&v();let D=u=u??t();k.add(()=>{c--,c===0&&!m&&!d&&(l=Ku(w,r))}),D.subscribe(k),!o&&c>0&&(o=new To({next:N=>D.next(N),error:N=>{m=!0,v(),l=Ku(g,a,N),D.error(N)},complete:()=>{d=!0,v(),l=Ku(g,n),D.complete()}}),yn(x).subscribe(o))})(i)}}function Ku(e,t,...a){if(t===!0){e();return}if(t===!1)return;let n=new To({next:()=>{n.unsubscribe(),e()}});return yn(t(...a)).subscribe(n)}function Hm(e,t,a){let n;return n=e,_0({connector:()=>new wh(n,t,a),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:!1})}function w0(e){return kn((t,a)=>e<=a)}function cu(...e){let t=as(e);return Kt((a,n)=>{(t?No(e,a,t):No(e,a)).subscribe(n)})}function wl(e,t){return Kt((a,n)=>{let r=null,i=0,o=!1,l=()=>o&&!r&&n.complete();a.subscribe(Ft(n,u=>{r==null||r.unsubscribe();let c=0,d=i++;yn(e(u,d)).subscribe(r=Ft(n,m=>n.next(t?t(u,m,d,c++):m),()=>{r=null,l()}))},()=>{o=!0,l()}))})}function or(e){return Kt((t,a)=>{yn(e).subscribe(Ft(a,()=>a.complete(),Xc)),!a.closed&&t.subscribe(a)})}function Qu(e,t,a){let n=ot(e)||t||a?{next:e,error:t,complete:a}:e;return n?Kt((r,i)=>{var o;(o=n.subscribe)===null||o===void 0||o.call(n);let l=!0;r.subscribe(Ft(i,u=>{var c;(c=n.next)===null||c===void 0||c.call(n,u),i.next(u)},()=>{var u;l=!1,(u=n.complete)===null||u===void 0||u.call(n),i.complete()},u=>{var c;l=!1,(c=n.error)===null||c===void 0||c.call(n,u),i.error(u)},()=>{var u,c;l&&((u=n.unsubscribe)===null||u===void 0||u.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):Bi}var x0="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",U=class extends Error{constructor(t,a){super(E0(t,a));s(this,"code");this.code=t}};function s6(e){return`NG0${Math.abs(e)}`}function E0(e,t){return`${s6(e)}${t?": "+t:""}`}var du=Symbol("InputSignalNode#UNSET"),S0=Yt(ue({},qv),{transformFn:void 0,applyValueToInputSignal(e,t){ns(e,t)}});function k0(e,t){let a=Object.create(S0);a.value=e,a.transformFn=t==null?void 0:t.transform;function n(){if(es(a),a.value===du){let r=null;throw new U(-950,r)}return a.value}return n[fn]=a,n}function rs(e){return{toString:e}.toString()}var Rs="__parameters__";function l6(e){return function(...t){}}function C0(e,t,a){return rs(()=>{let n=l6();function r(...i){if(this instanceof r)return n.apply(this,i),this;let o=new r(...i);return l.annotation=o,l;function l(u,c,d){let m=u.hasOwnProperty(Rs)?u[Rs]:Object.defineProperty(u,Rs,{value:[]})[Rs];for(;m.length<=d;)m.push(null);return(m[d]=m[d]||[]).push(o),u}}return r.prototype.ngMetadataName=e,r.annotationCls=r,r})}var ci=globalThis;function st(e){for(let t in e)if(e[t]===st)return t;throw Error("Could not find renamed property on target object.")}function u6(e,t){for(let a in t)t.hasOwnProperty(a)&&!e.hasOwnProperty(a)&&(e[a]=t[a])}function An(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(An).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let a=e.toString();if(a==null)return""+a;let n=a.indexOf(`
15
15
  `);return n>=0?a.slice(0,n):a}function td(e,t){return e?t?`${e} ${t}`:e:t||""}var c6=st({__forward_ref__:st});function D0(e){return e.__forward_ref__=D0,e.toString=function(){return An(this())},e}function Wt(e){return I0(e)?e():e}function I0(e){return typeof e=="function"&&e.hasOwnProperty(c6)&&e.__forward_ref__===D0}function z(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function zt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ch(e){return qm(e,T0)||qm(e,R0)}function qm(e,t){return e.hasOwnProperty(t)?e[t]:null}function d6(e){return e&&(e[T0]||e[R0])||null}function $m(e){return e&&(e.hasOwnProperty(Um)||e.hasOwnProperty(h6))?e[Um]:null}var T0=st({ɵprov:st}),Um=st({ɵinj:st}),R0=st({ngInjectableDef:st}),h6=st({ngInjectorDef:st}),K=class{constructor(e,t){s(this,"_desc");s(this,"ngMetadataName","InjectionToken");s(this,"ɵprov");this._desc=e,this.ɵprov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.ɵprov=z({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function N0(e){return e&&!!e.ɵproviders}var p6=st({ɵcmp:st}),m6=st({ɵdir:st}),f6=st({ɵpipe:st}),xl=st({ɵfac:st}),_o=st({__NG_ELEMENT_ID__:st}),Gm=st({__NG_ENV_ID__:st});function Si(e){return typeof e=="string"?e:e==null?"":String(e)}function g6(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Si(e)}function O0(e,t){throw new U(-200,e)}function Dh(e,t){throw new U(-201,!1)}var Te=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}(Te||{}),nd;function M0(){return nd}function hn(e){let t=nd;return nd=e,t}function A0(e,t,a){let n=Ch(e);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(a&Te.Optional)return null;if(t!==void 0)return t;Dh()}var v6={},Pr=v6,ad="__NG_DI_FLAG__",P0=class{constructor(e){s(this,"injector");this.injector=e}retrieve(e,t){let a=t;return this.injector.get(e,a.optional?$v:Pr,a)}},El="ngTempTokenPath",b6="ngTokenPath",y6=/\n/gm,_6="ɵ",Wm="__source";function w6(e,t=Te.Default){if(tl()===void 0)throw new U(-203,!1);if(tl()===null)return A0(e,void 0,t);{let a=tl(),n;return a instanceof P0?n=a.injector:n=a,n.get(e,t&Te.Optional?null:void 0,t)}}function oe(e,t=Te.Default){return(M0()||w6)(Wt(e),t)}function S(e,t=Te.Default){return oe(e,hu(t))}function hu(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function rd(e){let t=[];for(let a=0;a<e.length;a++){let n=Wt(e[a]);if(Array.isArray(n)){if(n.length===0)throw new U(900,!1);let r,i=Te.Default;for(let o=0;o<n.length;o++){let l=n[o],u=x6(l);typeof u=="number"?u===-1?r=l.token:i|=u:r=l}t.push(oe(r,i))}else t.push(oe(n))}return t}function L0(e,t){return e[ad]=t,e.prototype[ad]=t,e}function x6(e){return e[ad]}function E6(e,t,a,n){let r=e[El];throw t[Wm]&&r.unshift(t[Wm]),e.message=S6(`
16
16
  `+e.message,r,a,n),e[b6]=r,e[El]=null,e}function S6(e,t,a,n=null){e=e&&e.charAt(0)===`
17
17
  `&&e.charAt(1)==_6?e.slice(2):e;let r=An(t);if(Array.isArray(t))r=t.map(An).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):An(l)))}r=`{${i.join(", ")}}`}return`${a}${n?"("+n+")":""}[${r}]: ${e.replace(y6,`
18
- `)}`}var Ih=L0(C0("Optional"),8),Th=L0(C0("SkipSelf"),4);function Fr(e,t){return e.hasOwnProperty(xl)?e[xl]:null}function k6(e,t,a){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let r=e[n],i=t[n];if(a&&(r=a(r),i=a(i)),i!==r)return!1}return!0}function C6(e){return e.flat(Number.POSITIVE_INFINITY)}function Rh(e,t){e.forEach(a=>Array.isArray(a)?Rh(a,t):t(a))}function F0(e,t,a){t>=e.length?e.push(a):e.splice(t,0,a)}function Sl(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function D6(e,t){let a=[];for(let n=0;n<e;n++)a.push(t);return a}function I6(e,t,a,n){let r=e.length;if(r==t)e.push(a,n);else if(r===1)e.push(n,e[0]),e[0]=a;else{for(r--,e.push(e[r-1],e[r]);r>t;){let i=r-2;e[r]=e[i],r--}e[t]=a,e[t+1]=n}}function Nh(e,t,a){let n=is(e,t);return n>=0?e[n|1]=a:(n=~n,I6(e,n,t,a)),n}function Xu(e,t){let a=is(e,t);if(a>=0)return e[a|1]}function is(e,t){return T6(e,t,1)}function T6(e,t,a){let n=0,r=e.length>>a;for(;r!==n;){let i=n+(r-n>>1),o=e[i<<a];if(t===o)return i<<a;o>t?r=i:n=i+1}return~(r<<a)}var ua={},mn=[],kl=new K(""),j0=new K("",-1),V0=new K(""),z0=class{get(e,t=Pr){if(t===Pr){let a=new Error(`NullInjectorError: No provider for ${An(e)}!`);throw a.name="NullInjectorError",a}return t}};function ki(e){return e[p6]||null}function B0(e){return e[m6]||null}function R6(e){return e[f6]||null}function Oh(e){return{ɵproviders:e}}function N6(...e){return{ɵproviders:H0(!0,e),ɵfromNgModule:!0}}function H0(e,...t){let a=[],n=new Set,r,i=o=>{a.push(o)};return Rh(t,o=>{let l=o;id(l,i,[],n)&&(r||(r=[]),r.push(l))}),r!==void 0&&q0(r,i),a}function q0(e,t){for(let a=0;a<e.length;a++){let{ngModule:n,providers:r}=e[a];Mh(r,i=>{t(i,n)})}}function id(e,t,a,n){if(e=Wt(e),!e)return!1;let r=null,i=$m(e),o=!i&&ki(e);if(!i&&!o){let u=e.ngModule;if(i=$m(u),i)r=u;else return!1}else{if(o&&!o.standalone)return!1;r=e}let l=n.has(r);if(o){if(l)return!1;if(n.add(r),o.dependencies){let u=typeof o.dependencies=="function"?o.dependencies():o.dependencies;for(let c of u)id(c,t,a,n)}}else if(i){if(i.imports!=null&&!l){n.add(r);let c;try{Rh(i.imports,d=>{id(d,t,a,n)&&(c||(c=[]),c.push(d))})}finally{}c!==void 0&&q0(c,t)}if(!l){let c=Fr(r)||(()=>new r);t({provide:r,useFactory:c,deps:mn},r),t({provide:V0,useValue:r,multi:!0},r),t({provide:kl,useValue:()=>oe(r),multi:!0},r)}let u=i.providers;if(u!=null&&!l){let c=e;Mh(u,d=>{t(d,c)})}}else return!1;return r!==e&&e.providers!==void 0}function Mh(e,t){for(let a of e)N0(a)&&(a=a.ɵproviders),Array.isArray(a)?Mh(a,t):t(a)}var O6=st({provide:String,useValue:st});function $0(e){return e!==null&&typeof e=="object"&&O6 in e}function M6(e){return!!(e&&e.useExisting)}function A6(e){return!!(e&&e.useFactory)}function Ci(e){return typeof e=="function"}function P6(e){return!!e.useClass}var Ah=new K(""),rl={},Zm={},Ju;function pu(){return Ju===void 0&&(Ju=new z0),Ju}var ca=class{},Ph=class extends ca{constructor(t,a,n,r){super();s(this,"parent");s(this,"source");s(this,"scopes");s(this,"records",new Map);s(this,"_ngOnDestroyHooks",new Set);s(this,"_onDestroyHooks",[]);s(this,"_destroyed",!1);s(this,"injectorDefTypes");this.parent=a,this.source=n,this.scopes=r,sd(t,o=>this.processProvider(o)),this.records.set(j0,di(void 0,this)),r.has("environment")&&this.records.set(ca,di(void 0,this));let i=this.records.get(Ah);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(V0,mn,Te.Self))}get destroyed(){return this._destroyed}retrieve(t,a){let n=a;return this.get(t,n.optional?$v:Pr,n)}destroy(){fo(this),this._destroyed=!0;let t=De(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let a=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of a)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),De(t)}}onDestroy(t){return fo(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){fo(this);let a=Za(this),n=hn(void 0);try{return t()}finally{Za(a),hn(n)}}get(t,a=Pr,n=Te.Default){if(fo(this),t.hasOwnProperty(Gm))return t[Gm](this);n=hu(n);let r=Za(this),i=hn(void 0);try{if(!(n&Te.SkipSelf)){let l=this.records.get(t);if(l===void 0){let u=z6(t)&&Ch(t);u&&this.injectableDefInScope(u)?l=di(od(t),rl):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,n)}let o=n&Te.Self?pu():this.parent;return a=n&Te.Optional&&a===Pr?null:a,o.get(t,a)}catch(o){if(o.name==="NullInjectorError"){if((o[El]=o[El]||[]).unshift(An(t)),r)throw o;return E6(o,t,"R3InjectorError",this.source)}else throw o}finally{hn(i),Za(r)}}resolveInjectorInitializers(){let t=De(null),a=Za(this),n=hn(void 0);try{let r=this.get(kl,mn,Te.Self);for(let i of r)i()}finally{Za(a),hn(n),De(t)}}toString(){let t=[],a=this.records;for(let n of a.keys())t.push(An(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Wt(t);let a=Ci(t)?t:Wt(t&&t.provide),n=F6(t);if(!Ci(t)&&t.multi===!0){let r=this.records.get(a);r||(r=di(void 0,rl,!0),r.factory=()=>rd(r.multi),this.records.set(a,r)),a=t,r.multi.push(t)}this.records.set(a,n)}hydrate(t,a,n){let r=De(null);try{return a.value===Zm?O0(An(t)):a.value===rl&&(a.value=Zm,a.value=a.factory(void 0,n)),typeof a.value=="object"&&a.value&&V6(a.value)&&this._ngOnDestroyHooks.add(a.value),a.value}finally{De(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let a=Wt(t.providedIn);return typeof a=="string"?a==="any"||this.scopes.has(a):this.injectorDefTypes.has(a)}removeOnDestroy(t){let a=this._onDestroyHooks.indexOf(t);a!==-1&&this._onDestroyHooks.splice(a,1)}};function od(e){let t=Ch(e),a=t!==null?t.factory:Fr(e);if(a!==null)return a;if(e instanceof K)throw new U(204,!1);if(e instanceof Function)return L6(e);throw new U(204,!1)}function L6(e){if(e.length>0)throw new U(204,!1);let t=d6(e);return t!==null?()=>t.factory(e):()=>new e}function F6(e){if($0(e))return di(void 0,e.useValue);{let t=U0(e);return di(t,rl)}}function U0(e,t,a){let n;if(Ci(e)){let r=Wt(e);return Fr(r)||od(r)}else if($0(e))n=()=>Wt(e.useValue);else if(A6(e))n=()=>e.useFactory(...rd(e.deps||[]));else if(M6(e))n=(r,i)=>oe(Wt(e.useExisting),i!==void 0&&i&Te.Optional?Te.Optional:void 0);else{let r=Wt(e&&(e.useClass||e.provide));if(j6(e))n=()=>new r(...rd(e.deps));else return Fr(r)||od(r)}return n}function fo(e){if(e.destroyed)throw new U(205,!1)}function di(e,t,a=!1){return{factory:e,value:t,multi:a?[]:void 0}}function j6(e){return!!e.deps}function V6(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function z6(e){return typeof e=="function"||typeof e=="object"&&e instanceof K}function sd(e,t){for(let a of e)Array.isArray(a)?sd(a,t):a&&N0(a)?sd(a.ɵproviders,t):t(a)}function Lh(e,t){let a;e instanceof Ph?(fo(e),a=e):a=new P0(e);let n=Za(a),r=hn(void 0);try{return t()}finally{Za(n),hn(r)}}function G0(){return M0()!==void 0||tl()!=null}function mu(e){if(!G0())throw new U(-203,!1)}function B6(e){return typeof e=="function"}var Ba=0,be=1,me=2,tn=3,Gn=4,_n=5,Di=6,bi=7,qt=8,Ii=9,za=10,vt=11,Oo=12,Ym=13,Hi=14,Ln=15,jr=16,hi=17,Wn=18,fu=19,W0=20,sr=21,ec=22,Aa=23,Pn=24,lr=25,kt=26,Z0=1,Vr=7,Cl=8,Ti=9,Jt=10;function ur(e){return Array.isArray(e)&&typeof e[Z0]=="object"}function Ha(e){return Array.isArray(e)&&e[Z0]===!0}function Fh(e){return(e.flags&4)!==0}function qi(e){return e.componentOffset>-1}function gu(e){return(e.flags&1)===1}function da(e){return!!e.template}function Dl(e){return(e[me]&512)!==0}function $i(e){return(e[me]&256)===256}var H6=class{constructor(e,t,a){s(this,"previousValue");s(this,"currentValue");s(this,"firstChange");this.previousValue=e,this.currentValue=t,this.firstChange=a}isFirstChange(){return this.firstChange}};function Y0(e,t,a,n){t!==null?t.applyValueToInputSignal(t,n):e[a]=n}var Gr=(()=>{let e=()=>K0;return e.ngInherit=!0,e})();function K0(e){return e.type.prototype.ngOnChanges&&(e.setInput=$6),q6}function q6(){let e=X0(this),t=e==null?void 0:e.current;if(t){let a=e.previous;if(a===ua)e.previous=t;else for(let n in t)a[n]=t[n];e.current=null,this.ngOnChanges(t)}}function $6(e,t,a,n,r){let i=this.declaredInputs[n],o=X0(e)||U6(e,{previous:ua,current:null}),l=o.current||(o.current={}),u=o.previous,c=u[i];l[i]=new H6(c&&c.currentValue,a,u===ua),Y0(e,t,r,a)}var Q0="__ngSimpleChanges__";function X0(e){return e[Q0]||null}function U6(e,t){return e[Q0]=t}var zr=function(e,t=null,a){},J0="svg",G6="math";function ha(e){for(;Array.isArray(e);)e=e[Ba];return e}function eb(e,t){return ha(t[e])}function fa(e,t){return ha(t[e.index])}function jh(e,t){return e.data[t]}function vu(e,t){return e[t]}function Vh(e,t,a,n){a>=e.data.length&&(e.data[a]=null,e.blueprint[a]=null),t[a]=n}function pa(e,t){let a=t[e];return ur(a)?a:a[Ba]}function W6(e){return(e[me]&4)===4}function zh(e){return(e[me]&128)===128}function Z6(e){return Ha(e[tn])}function Br(e,t){return t==null?null:e[t]}function tb(e){e[hi]=0}function Bh(e){e[me]&1024||(e[me]|=1024,zh(e)&&Ui(e))}function Y6(e,t){for(;e>0;)t=t[Hi],e--;return t}function os(e){var t;return!!(e[me]&9216||(t=e[Pn])!=null&&t.dirty)}function ld(e){var t;(t=e[za].changeDetectionScheduler)==null||t.notify(8),e[me]&64&&(e[me]|=1024),os(e)&&Ui(e)}function Ui(e){var a;(a=e[za].changeDetectionScheduler)==null||a.notify(0);let t=Hr(e);for(;t!==null&&!(t[me]&8192||(t[me]|=8192,!zh(t)));)t=Hr(t)}function nb(e,t){if($i(e))throw new U(911,!1);e[sr]===null&&(e[sr]=[]),e[sr].push(t)}function K6(e,t){if(e[sr]===null)return;let a=e[sr].indexOf(t);a!==-1&&e[sr].splice(a,1)}function Hr(e){let t=e[tn];return Ha(t)?t[tn]:t}function Hh(e){return e[bi]??(e[bi]=[])}function qh(e){return e.cleanup??(e.cleanup=[])}function Q6(e,t,a,n){let r=Hh(t);r.push(a),e.firstCreatePass&&qh(e).push(n,r.length-1)}var Se={lFrame:ub(null),bindingsEnabled:!0,skipHydrationRootTNode:null},ud=!1;function X6(){return Se.lFrame.elementDepthCount}function J6(){Se.lFrame.elementDepthCount++}function eU(){Se.lFrame.elementDepthCount--}function tU(){return Se.bindingsEnabled}function ab(){return Se.skipHydrationRootTNode!==null}function nU(e){return Se.skipHydrationRootTNode===e}function aU(){Se.skipHydrationRootTNode=null}function ce(){return Se.lFrame.lView}function ut(){return Se.lFrame.tView}function gn(e){return Se.lFrame.contextLView=e,e[qt]}function vn(e){return Se.lFrame.contextLView=null,e}function an(){let e=rb();for(;e!==null&&e.type===64;)e=e.parent;return e}function rb(){return Se.lFrame.currentTNode}function rU(){let e=Se.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function hr(e,t){let a=Se.lFrame;a.currentTNode=e,a.isParent=t}function $h(){return Se.lFrame.isParent}function Uh(){Se.lFrame.isParent=!1}function iU(){return Se.lFrame.contextLView}function ib(){return ud}function Il(e){let t=ud;return ud=e,t}function Wr(){let e=Se.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function oU(){return Se.lFrame.bindingIndex}function sU(e){return Se.lFrame.bindingIndex=e}function Zr(){return Se.lFrame.bindingIndex++}function Gh(e){let t=Se.lFrame,a=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,a}function lU(){return Se.lFrame.inI18n}function uU(e,t){let a=Se.lFrame;a.bindingIndex=a.bindingRootIndex=e,cd(t)}function cU(){return Se.lFrame.currentDirectiveIndex}function cd(e){Se.lFrame.currentDirectiveIndex=e}function dU(e){let t=Se.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ob(){return Se.lFrame.currentQueryIndex}function Wh(e){Se.lFrame.currentQueryIndex=e}function hU(e){let t=e[be];return t.type===2?t.declTNode:t.type===1?e[_n]:null}function sb(e,t,a){if(a&Te.SkipSelf){let r=t,i=e;for(;(r=r.parent,r===null&&!(a&Te.Host))&&(r=hU(i),!(r===null||(i=i[Hi],r.type&10))););if(r===null)return!1;t=r,e=i}let n=Se.lFrame=lb();return n.currentTNode=t,n.lView=e,!0}function Zh(e){let t=lb(),a=e[be];Se.lFrame=t,t.currentTNode=a.firstChild,t.lView=e,t.tView=a,t.contextLView=e,t.bindingIndex=a.bindingStartIndex,t.inI18n=!1}function lb(){let e=Se.lFrame,t=e===null?null:e.child;return t===null?ub(e):t}function ub(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 cb(){let e=Se.lFrame;return Se.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var db=cb;function Yh(){let e=cb();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 pU(e){return(Se.lFrame.contextLView=Y6(e,Se.lFrame.contextLView))[qt]}function ga(){return Se.lFrame.selectedIndex}function qr(e){Se.lFrame.selectedIndex=e}function bu(){let e=Se.lFrame;return jh(e.tView,e.selectedIndex)}function hb(){Se.lFrame.currentNamespace=J0}function mU(){return Se.lFrame.currentNamespace}var pb=!0;function yu(){return pb}function _u(e){pb=e}function fU(e,t,a){let{ngOnChanges:n,ngOnInit:r,ngDoCheck:i}=t.type.prototype;if(n){let o=K0(t);(a.preOrderHooks??(a.preOrderHooks=[])).push(e,o),(a.preOrderCheckHooks??(a.preOrderCheckHooks=[])).push(e,o)}r&&(a.preOrderHooks??(a.preOrderHooks=[])).push(0-e,r),i&&((a.preOrderHooks??(a.preOrderHooks=[])).push(e,i),(a.preOrderCheckHooks??(a.preOrderCheckHooks=[])).push(e,i))}function Kh(e,t){for(let a=t.directiveStart,n=t.directiveEnd;a<n;a++){let r=e.data[a].type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:o,ngAfterViewInit:l,ngAfterViewChecked:u,ngOnDestroy:c}=r;i&&(e.contentHooks??(e.contentHooks=[])).push(-a,i),o&&((e.contentHooks??(e.contentHooks=[])).push(a,o),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(a,o)),l&&(e.viewHooks??(e.viewHooks=[])).push(-a,l),u&&((e.viewHooks??(e.viewHooks=[])).push(a,u),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(a,u)),c!=null&&(e.destroyHooks??(e.destroyHooks=[])).push(a,c)}}function il(e,t,a){mb(e,t,3,a)}function ol(e,t,a,n){(e[me]&3)===a&&mb(e,t,a,n)}function tc(e,t){let a=e[me];(a&3)===t&&(a&=16383,a+=1,e[me]=a)}function mb(e,t,a,n){let r=n!==void 0?e[hi]&65535:0,i=n??-1,o=t.length-1,l=0;for(let u=r;u<o;u++)if(typeof t[u+1]=="number"){if(l=t[u],n!=null&&l>=n)break}else t[u]<0&&(e[hi]+=65536),(l<i||i==-1)&&(gU(e,a,t,u),e[hi]=(e[hi]&4294901760)+u+2),u++}function Km(e,t){let a=De(null);try{t.call(e)}finally{De(a)}}function gU(e,t,a,n){let r=a[n]<0,i=a[n+1],o=r?-a[n]:a[n],l=e[o];r?e[me]>>14<e[hi]>>16&&(e[me]&3)===t&&(e[me]+=16384,Km(l,i)):Km(l,i)}var yi=-1,ss=class{constructor(e,t,a){s(this,"factory");s(this,"injectImpl");s(this,"resolving",!1);s(this,"canSeeViewProviders");s(this,"multi");s(this,"componentProviders");s(this,"index");s(this,"providerFactory");this.factory=e,this.canSeeViewProviders=t,this.injectImpl=a}};function vU(e){return(e.flags&8)!==0}function bU(e){return(e.flags&16)!==0}function yU(e,t,a){let n=0;for(;n<a.length;){let r=a[n];if(typeof r=="number"){if(r!==0)break;n++;let i=a[n++],o=a[n++],l=a[n++];e.setAttribute(t,o,l,i)}else{let i=r,o=a[++n];_U(i)?e.setProperty(t,i,o):e.setAttribute(t,i,o),n++}}return n}function fb(e){return e===3||e===4||e===6}function _U(e){return e.charCodeAt(0)===64}function Ri(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let a=-1;for(let n=0;n<t.length;n++){let r=t[n];typeof r=="number"?a=r:a===0||(a===-1||a===2?Qm(e,a,r,null,t[++n]):Qm(e,a,r,null,null))}}return e}function Qm(e,t,a,n,r){let i=0,o=e.length;if(t===-1)o=-1;else for(;i<e.length;){let l=e[i++];if(typeof l=="number"){if(l===t){o=-1;break}else if(l>t){o=i-1;break}}}for(;i<e.length;){let l=e[i];if(typeof l=="number")break;if(l===a){r!==null&&(e[i+1]=r);return}i++,r!==null&&i++}o!==-1&&(e.splice(o,0,t),i=o+1),e.splice(i++,0,a),r!==null&&e.splice(i++,0,r)}function gb(e){return e!==yi}function Tl(e){return e&32767}function wU(e){return e>>16}function Rl(e,t){let a=wU(e),n=t;for(;a>0;)n=n[Hi],a--;return n}var dd=!0;function Nl(e){let t=dd;return dd=e,t}var xU=256,vb=xU-1,bb=5,EU=0,la={};function SU(e,t,a){let n;typeof a=="string"?n=a.charCodeAt(0)||0:a.hasOwnProperty(_o)&&(n=a[_o]),n==null&&(n=a[_o]=EU++);let r=n&vb,i=1<<r;t.data[e+(r>>bb)]|=i}function Ol(e,t){let a=yb(e,t);if(a!==-1)return a;let n=t[be];n.firstCreatePass&&(e.injectorIndex=t.length,nc(n.data,e),nc(t,null),nc(n.blueprint,null));let r=Qh(e,t),i=e.injectorIndex;if(gb(r)){let o=Tl(r),l=Rl(r,t),u=l[be].data;for(let c=0;c<8;c++)t[i+c]=l[o+c]|u[o+c]}return t[i+8]=r,i}function nc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function yb(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Qh(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let a=0,n=null,r=t;for(;r!==null;){if(n=Sb(r),n===null)return yi;if(a++,r=r[Hi],n.injectorIndex!==-1)return n.injectorIndex|a<<16}return yi}function hd(e,t,a){SU(e,t,a)}function kU(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let a=e.attrs;if(a){let n=a.length,r=0;for(;r<n;){let i=a[r];if(fb(i))break;if(i===0)r=r+2;else if(typeof i=="number")for(r++;r<n&&typeof a[r]=="string";)r++;else{if(i===t)return a[r+1];r=r+2}}}return null}function _b(e,t,a){if(a&Te.Optional||e!==void 0)return e;Dh()}function wb(e,t,a,n){if(a&Te.Optional&&n===void 0&&(n=null),(a&(Te.Self|Te.Host))===0){let r=e[Ii],i=hn(void 0);try{return r?r.get(t,n,a&Te.Optional):A0(t,n,a&Te.Optional)}finally{hn(i)}}return _b(n,t,a)}function xb(e,t,a,n=Te.Default,r){if(e!==null){if(t[me]&2048&&!(n&Te.Self)){let o=TU(e,t,a,n,la);if(o!==la)return o}let i=Eb(e,t,a,n,la);if(i!==la)return i}return wb(t,a,n,r)}function Eb(e,t,a,n,r){let i=DU(a);if(typeof i=="function"){if(!sb(t,e,n))return n&Te.Host?_b(r,a,n):wb(t,a,n,r);try{let o;if(o=i(n),o==null&&!(n&Te.Optional))Dh(a);else return o}finally{db()}}else if(typeof i=="number"){let o=null,l=yb(e,t),u=yi,c=n&Te.Host?t[Ln][_n]:null;for((l===-1||n&Te.SkipSelf)&&(u=l===-1?Qh(e,t):t[l+8],u===yi||!Jm(n,!1)?l=-1:(o=t[be],l=Tl(u),t=Rl(u,t)));l!==-1;){let d=t[be];if(Xm(i,l,d.data)){let m=CU(l,t,a,o,n,c);if(m!==la)return m}u=t[l+8],u!==yi&&Jm(n,t[be].data[l+8]===c)&&Xm(i,l,t)?(o=d,l=Tl(u),t=Rl(u,t)):l=-1}}return r}function CU(e,t,a,n,r,i){let o=t[be],l=o.data[e+8],u=n==null?qi(l)&&dd:n!=o&&(l.type&3)!==0,c=r&Te.Host&&i===l,d=sl(l,o,a,u,c);return d!==null?Mo(t,o,d,l,r):la}function sl(e,t,a,n,r){let i=e.providerIndexes,o=t.data,l=i&1048575,u=e.directiveStart,c=e.directiveEnd,d=i>>20,m=n?l:l+d,v=r?l+d:c;for(let g=m;g<v;g++){let w=o[g];if(g<u&&a===w||g>=u&&w.type===a)return g}if(r){let g=o[u];if(g&&da(g)&&g.type===a)return u}return null}function Mo(e,t,a,n,r){let i=e[a],o=t.data;if(i instanceof ss){let l=i;l.resolving&&O0(g6(o[a]));let u=Nl(l.canSeeViewProviders);l.resolving=!0;let c=l.injectImpl?hn(l.injectImpl):null;sb(e,n,Te.Default);try{i=e[a]=l.factory(void 0,r,o,e,n),t.firstCreatePass&&a>=n.directiveStart&&fU(a,o[a],t)}finally{c!==null&&hn(c),Nl(u),l.resolving=!1,db()}}return i}function DU(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(_o)?e[_o]:void 0;return typeof t=="number"?t>=0?t&vb:IU:t}function Xm(e,t,a){let n=1<<e;return!!(a[t+(e>>bb)]&n)}function Jm(e,t){return!(e&Te.Self)&&!(e&Te.Host&&t)}var wo=class{constructor(e,t){s(this,"_tNode");s(this,"_lView");this._tNode=e,this._lView=t}get(e,t,a){return xb(this._tNode,this._lView,e,hu(a),t)}};function IU(){return new wo(an(),ce())}function tt(e){return rs(()=>{let t=e.prototype.constructor,a=t[xl]||pd(t),n=Object.prototype,r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==n;){let i=r[xl]||pd(r);if(i&&i!==a)return i;r=Object.getPrototypeOf(r)}return i=>new i})}function pd(e){return I0(e)?()=>{let t=pd(Wt(e));return t&&t()}:Fr(e)}function TU(e,t,a,n,r){let i=e,o=t;for(;i!==null&&o!==null&&o[me]&2048&&!Dl(o);){let l=Eb(i,o,a,n|Te.Self,la);if(l!==la)return l;let u=i.parent;if(!u){let c=o[W0];if(c){let d=c.get(a,la,n);if(d!==la)return d}u=Sb(o),o=o[Hi]}i=u}return r}function Sb(e){let t=e[be],a=t.type;return a===2?t.declTNode:a===1?e[_n]:null}function RU(e){return kU(an(),e)}function ef(e,t=null,a=null,n){let r=NU(e,t,a,n);return r.resolveInjectorInitializers(),r}function NU(e,t=null,a=null,n,r=new Set){let i=[a||mn,N6(e)];return n=n||(typeof e=="object"?void 0:An(e)),new Ph(i,t||pu(),n||null,r)}var aa,ht=(aa=class{static create(t,a){if(Array.isArray(t))return ef({name:""},a,t,"");{let n=t.name??"";return ef({name:n},t.parent,t.providers,n)}}},s(aa,"THROW_IF_NOT_FOUND",Pr),s(aa,"NULL",new z0),s(aa,"ɵprov",z({token:aa,providedIn:"any",factory:()=>oe(j0)})),s(aa,"__NG_ELEMENT_ID__",-1),aa),Xh=class{constructor(e){s(this,"attributeName");s(this,"__NG_ELEMENT_ID__",()=>RU(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},OU=new K("");OU.__NG_ELEMENT_ID__=e=>{let t=an();if(t===null)throw new U(204,!1);if(t.type&2)return t.value;if(e&Te.Optional)return null;throw new U(204,!1)};var kb=!1,pr=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",MU),s(e,"__NG_ENV_ID__",a=>a),e})(),Cb=class extends pr{constructor(t){super();s(this,"_lView");this._lView=t}onDestroy(t){let a=this._lView;return $i(a)?(t(),()=>{}):(nb(a,t),()=>K6(a,t))}};function MU(){return new Cb(ce())}var Gi=class{},Db=new K("",{providedIn:"root",factory:()=>!1}),Ib=new K(""),Tb=new K(""),ls=(()=>{const t=class t{constructor(){s(this,"taskId",0);s(this,"pendingTasks",new Set);s(this,"hasPendingTasks",new Ar(!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",z({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),AU=class extends ge{constructor(t=!1){super();s(this,"__isAsync");s(this,"destroyRef");s(this,"pendingTasks");this.__isAsync=t,G0()&&(this.destroyRef=S(pr,{optional:!0})??void 0,this.pendingTasks=S(ls,{optional:!0})??void 0)}emit(t){let a=De(null);try{super.next(t)}finally{De(a)}}subscribe(t,a,n){var u,c,d;let r=t,i=a||(()=>null),o=n;if(t&&typeof t=="object"){let m=t;r=(u=m.next)==null?void 0:u.bind(m),i=(c=m.error)==null?void 0:c.bind(m),o=(d=m.complete)==null?void 0:d.bind(m)}this.__isAsync&&(i=this.wrapInTimeout(i),r&&(r=this.wrapInTimeout(r)),o&&(o=this.wrapInTimeout(o)));let l=super.subscribe({next:r,error:i,complete:o});return t instanceof Zt&&t.add(l),l}wrapInTimeout(t){return a=>{var r;let n=(r=this.pendingTasks)==null?void 0:r.add();setTimeout(()=>{var i;try{t(a)}finally{n!==void 0&&((i=this.pendingTasks)==null||i.remove(n))}})}}},it=AU;function Ao(...e){}function Rb(e){let t,a;function n(){e=Ao;try{a!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(a),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),n()}),typeof requestAnimationFrame=="function"&&(a=requestAnimationFrame(()=>{e(),n()})),()=>n()}function tf(e){return queueMicrotask(()=>e()),()=>{e=Ao}}var Jh="isAngularZone",Ml=Jh+"_ID",PU=0,ze=class md{constructor(t){s(this,"hasPendingMacrotasks",!1);s(this,"hasPendingMicrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new it(!1));s(this,"onMicrotaskEmpty",new it(!1));s(this,"onStable",new it(!1));s(this,"onError",new it(!1));let{enableLongStackTrace:a=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:i=kb}=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)),a&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,o.scheduleInRootZone=i,jU(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Jh)===!0}static assertInAngularZone(){if(!md.isInAngularZone())throw new U(909,!1)}static assertNotInAngularZone(){if(md.isInAngularZone())throw new U(909,!1)}run(t,a,n){return this._inner.run(t,a,n)}runTask(t,a,n,r){let i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,t,LU,Ao,Ao);try{return i.runTask(o,a,n)}finally{i.cancelTask(o)}}runGuarded(t,a,n){return this._inner.runGuarded(t,a,n)}runOutsideAngular(t){return this._outer.run(t)}},LU={};function ep(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 FU(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Rb(()=>{e.callbackScheduled=!1,fd(e),e.isCheckStableRunning=!0,ep(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),fd(e)}function jU(e){let t=()=>{FU(e)},a=PU++;e._inner=e._inner.fork({name:"angular",properties:{[Jh]:!0,[Ml]:a,[Ml+a]:!0},onInvokeTask:(n,r,i,o,l,u)=>{if(zU(u))return n.invokeTask(i,o,l,u);try{return nf(e),n.invokeTask(i,o,l,u)}finally{(e.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),af(e)}},onInvoke:(n,r,i,o,l,u,c)=>{try{return nf(e),n.invoke(i,o,l,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!BU(u)&&t(),af(e)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&(o.change=="microTask"?(e._hasPendingMicrotasks=o.microTask,fd(e),ep(e)):o.change=="macroTask"&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}function fd(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function nf(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function af(e){e._nesting--,ep(e)}var VU=class{constructor(){s(this,"hasPendingMicrotasks",!1);s(this,"hasPendingMacrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new it);s(this,"onMicrotaskEmpty",new it);s(this,"onStable",new it);s(this,"onError",new it)}run(e,t,a){return e.apply(t,a)}runGuarded(e,t,a){return e.apply(t,a)}runOutsideAngular(e){return e()}runTask(e,t,a,n){return e.apply(t,a)}};function zU(e){return Nb(e,"__ignore_ng_zone__")}function BU(e){return Nb(e,"__scheduler_tick__")}function Nb(e,t){var a,n;return!Array.isArray(e)||e.length!==1?!1:((n=(a=e[0])==null?void 0:a.data)==null?void 0:n[t])===!0}var Zn=class{constructor(){s(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}},HU=new K("",{providedIn:"root",factory:()=>{let e=S(ze),t=S(Zn);return a=>e.runOutsideAngular(()=>t.handleError(a))}}),Ob=class{constructor(){s(this,"destroyed",!1);s(this,"listeners",null);s(this,"errorHandler",S(Zn,{optional:!0}));s(this,"destroyRef",S(pr));this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new U(953,!1);return(this.listeners??(this.listeners=[])).push(e),{unsubscribe:()=>{var a,n;let t=(a=this.listeners)==null?void 0:a.indexOf(e);t!==void 0&&t!==-1&&((n=this.listeners)==null||n.splice(t,1))}}}emit(e){var a;if(this.destroyed){console.warn(E0(953,!1));return}if(this.listeners===null)return;let t=De(null);try{for(let n of this.listeners)try{n(e)}catch(r){(a=this.errorHandler)==null||a.handleError(r)}}finally{De(t)}}};function Al(e){return new Ob}function rf(e,t){return k0(e,t)}function qU(e){return k0(du,e)}var qe=(rf.required=qU,rf);function $U(){return Wi(an(),ce())}function Wi(e,t){return new Qe(fa(e,t))}var Qe=(()=>{class e{constructor(a){s(this,"nativeElement");this.nativeElement=a}}return s(e,"__NG_ELEMENT_ID__",$U),e})();function UU(e){return e instanceof Qe?e.nativeElement:e}function GU(e){return typeof e=="function"&&e[fn]!==void 0}function tp(e,t){let a=r$(e),n=a[fn];return a.set=r=>ns(n,r),a.update=r=>Hv(n,r),a.asReadonly=np.bind(a),a}function np(){let e=this[fn];if(e.readonlyFn===void 0){let t=()=>this();t[fn]=e,e.readonlyFn=t}return e.readonlyFn}function Mb(e){return GU(e)&&typeof e.set=="function"}function WU(){return this._results[Symbol.iterator]()}var Ev,ZU=(Ev=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,Ev,WU);this._emitDistinctChangesOnly=e}get changes(){return this._changes??(this._changes=new ge)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){this.dirty=!1;let a=C6(e);(this._changesDetected=!k6(this._results,a,t))&&(this._results=a,this.length=a.length,this.last=a[this.length-1],this.first=a[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(e){this._onDirty=e}setDirty(){var e;this.dirty=!0,(e=this._onDirty)==null||e.call(this)}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}});function Ab(e){return(e.flags&128)===128}var Pb=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Pb||{}),Lb=new Map,YU=0;function KU(){return YU++}function QU(e){Lb.set(e[fu],e)}function gd(e){Lb.delete(e[fu])}var of="__ngContext__";function Zi(e,t){ur(t)?(e[of]=t[fu],QU(t)):e[of]=t}function Fb(e){return Vb(e[Oo])}function jb(e){return Vb(e[Gn])}function Vb(e){for(;e!==null&&!Ha(e);)e=e[Gn];return e}var vd;function XU(e){vd=e}function JU(){if(vd!==void 0)return vd;if(typeof document<"u")return document;throw new U(210,!1)}var wu=new K("",{providedIn:"root",factory:()=>e8}),e8="ng",zb=new K(""),xu=new K("",{providedIn:"platform",factory:()=>"unknown"}),mr=new K(""),ap=new K("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=JU().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),Bb=!1,t8=new K("",{providedIn:"root",factory:()=>Bb}),rp=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(rp||{}),us=new K(""),sf=new Set;function Yr(e){var t;sf.has(e)||(sf.add(e),(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}}))}var ip=(()=>{class e{constructor(a,n){s(this,"view");s(this,"node");this.view=a,this.node=n}}return s(e,"__NG_ELEMENT_ID__",n8),e})();function n8(){return new ip(ce(),an())}var pi=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(pi||{}),Hb=(()=>{const t=class t{constructor(){s(this,"impl",null)}execute(){var n;(n=this.impl)==null||n.execute()}};s(t,"ɵprov",z({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),a8=[pi.EarlyRead,pi.Write,pi.MixedReadWrite,pi.Read],r8=(()=>{const t=class t{constructor(){s(this,"ngZone",S(ze));s(this,"scheduler",S(Gi));s(this,"errorHandler",S(Zn,{optional:!0}));s(this,"sequences",new Set);s(this,"deferredRegistrations",new Set);s(this,"executing",!1);S(us,{optional:!0})}execute(){var n;this.sequences.size>0,this.executing=!0;for(let r of a8)for(let i of this.sequences)if(!(i.erroredOrDestroyed||!i.hooks[r]))try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=i.hooks[r];return o(i.pipelinedValue)},i.snapshot))}catch(o){i.erroredOrDestroyed=!0,(n=this.errorHandler)==null||n.handleError(o)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){let{view:r}=n;r!==void 0?((r[lr]??(r[lr]=[])).push(n),Ui(r),r[me]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(rp.AFTER_NEXT_RENDER,n):n()}};s(t,"ɵprov",z({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),i8=class{constructor(e,t,a,n,r,i=null){s(this,"impl");s(this,"hooks");s(this,"view");s(this,"once");s(this,"snapshot");s(this,"erroredOrDestroyed",!1);s(this,"pipelinedValue");s(this,"unregisterOnDestroy");this.impl=e,this.hooks=t,this.view=a,this.once=n,this.snapshot=i,this.unregisterOnDestroy=r==null?void 0:r.onDestroy(()=>this.destroy())}afterRun(){var e;this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,(e=this.snapshot)==null||e.dispose(),this.snapshot=null}destroy(){var t,a;this.impl.unregister(this),(t=this.unregisterOnDestroy)==null||t.call(this);let e=(a=this.view)==null?void 0:a[lr];e&&(this.view[lr]=e.filter(n=>n!==this))}};function qb(e,t){!(t!=null&&t.injector)&&mu();let a=(t==null?void 0:t.injector)??S(ht);return Yr("NgAfterRender"),$b(e,a,t,!1)}function Eu(e,t){!(t!=null&&t.injector)&&mu();let a=(t==null?void 0:t.injector)??S(ht);return Yr("NgAfterNextRender"),$b(e,a,t,!0)}function o8(e,t){if(e instanceof Function){let a=[void 0,void 0,void 0,void 0];return a[t]=e,a}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function $b(e,t,a,n){let r=t.get(Hb);r.impl??(r.impl=t.get(r8));let i=t.get(us,null,{optional:!0}),o=(a==null?void 0:a.phase)??pi.MixedReadWrite,l=(a==null?void 0:a.manualCleanup)!==!0?t.get(pr):null,u=t.get(ip,null,{optional:!0}),c=new i8(r.impl,o8(e,o),u==null?void 0:u.view,n,l,i==null?void 0:i.snapshot(null));return r.impl.register(c),c}var s8=()=>null;function Ub(e,t,a=!1){return s8()}function Gb(e,t){let a=e.contentQueries;if(a!==null){let n=De(null);try{for(let r=0;r<a.length;r+=2){let i=a[r],o=a[r+1];if(o!==-1){let l=e.data[o];Wh(i),l.contentQueries(2,t[o],o)}}}finally{De(n)}}}function bd(e,t,a){Wh(0);let n=De(null);try{t(e,a)}finally{De(n)}}function op(e,t,a){if(Fh(t)){let n=De(null);try{let r=t.directiveStart,i=t.directiveEnd;for(let o=r;o<i;o++){let l=e.data[o];if(l.contentQueries){let u=a[o];l.contentQueries(1,u,o)}}}finally{De(n)}}}var Pa=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Pa||{}),Ns;function l8(){if(Ns===void 0&&(Ns=null,ci.trustedTypes))try{Ns=ci.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ns}function Su(e){var t;return((t=l8())==null?void 0:t.createHTML(e))||e}var Kr=class{constructor(e){s(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${x0})`}},u8=class extends Kr{getTypeName(){return"HTML"}},c8=class extends Kr{getTypeName(){return"Style"}},d8=class extends Kr{getTypeName(){return"Script"}},h8=class extends Kr{getTypeName(){return"URL"}},p8=class extends Kr{getTypeName(){return"ResourceURL"}};function Qa(e){return e instanceof Kr?e.changingThisBreaksApplicationSecurity:e}function oi(e,t){let a=m8(e);if(a!=null&&a!==t){if(a==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${a} (see ${x0})`)}return a===t}function m8(e){return e instanceof Kr&&e.getTypeName()||null}function f8(e){return new u8(e)}function g8(e){return new c8(e)}function v8(e){return new d8(e)}function b8(e){return new h8(e)}function y8(e){return new p8(e)}function _8(e){let t=new x8(e);return E8()?new w8(t):t}var w8=class{constructor(e){s(this,"inertDocumentHelper");this.inertDocumentHelper=e}getInertBodyElement(e){var t;e="<body><remove></remove>"+e;try{let a=new window.DOMParser().parseFromString(Su(e),"text/html").body;return a===null?this.inertDocumentHelper.getInertBodyElement(e):((t=a.firstChild)==null||t.remove(),a)}catch{return null}}},x8=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=Su(e),t}};function E8(){try{return!!new window.DOMParser().parseFromString(Su(""),"text/html")}catch{return!1}}var S8=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function sp(e){return e=String(e),e.match(S8)?e:"unsafe:"+e}function qa(e){let t={};for(let a of e.split(","))t[a]=!0;return t}function cs(...e){let t={};for(let a of e)for(let n in a)a.hasOwnProperty(n)&&(t[n]=!0);return t}var Wb=qa("area,br,col,hr,img,wbr"),Zb=qa("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Yb=qa("rp,rt"),k8=cs(Yb,Zb),C8=cs(Zb,qa("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")),D8=cs(Yb,qa("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")),lf=cs(Wb,C8,D8,k8),Kb=qa("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),I8=qa("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"),T8=qa("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"),R8=cs(Kb,I8,T8),N8=qa("script,style,template"),O8=class{constructor(){s(this,"sanitizedSomething",!1);s(this,"buf",[])}sanitizeChildren(e){let t=e.firstChild,a=!0,n=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?a=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,a&&t.firstChild){n.push(t),t=P8(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let r=A8(t);if(r){t=r;break}t=n.pop()}}return this.buf.join("")}startElement(e){let t=uf(e).toLowerCase();if(!lf.hasOwnProperty(t))return this.sanitizedSomething=!0,!N8.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let a=e.attributes;for(let n=0;n<a.length;n++){let r=a.item(n),i=r.name,o=i.toLowerCase();if(!R8.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let l=r.value;Kb[o]&&(l=sp(l)),this.buf.push(" ",i,'="',cf(l),'"')}return this.buf.push(">"),!0}endElement(e){let t=uf(e).toLowerCase();lf.hasOwnProperty(t)&&!Wb.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(cf(e))}};function M8(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function A8(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Qb(t);return t}function P8(e){let t=e.firstChild;if(t&&M8(e,t))throw Qb(t);return t}function uf(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Qb(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var L8=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,F8=/([^\#-~ |!])/g;function cf(e){return e.replace(/&/g,"&amp;").replace(L8,function(t){let a=t.charCodeAt(0),n=t.charCodeAt(1);return"&#"+((a-55296)*1024+(n-56320)+65536)+";"}).replace(F8,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Os;function j8(e,t){let a=null;try{Os=Os||_8(e);let n=t?String(t):"";a=Os.getInertBodyElement(n);let r=5,i=n;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,n=i,i=a.innerHTML,a=Os.getInertBodyElement(n)}while(n!==i);let o=new O8().sanitizeChildren(df(a)||a);return Su(o)}finally{if(a){let n=df(a)||a;for(;n.firstChild;)n.firstChild.remove()}}}function df(e){return"content"in e&&V8(e)?e.content:null}function V8(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var En=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}(En||{});function z8(e){let t=B8();return t?t.sanitize(En.URL,e)||"":oi(e,"URL")?Qa(e):sp(Si(e))}function B8(){let e=ce();return e&&e[za].sanitizer}var H8=/^>|^->|<!--|-->|--!>|<!-$/g,q8=/(<|>)/g,$8="​$1​";function U8(e){return e.replace(H8,t=>t.replace(q8,$8))}function G8(e,t,a){let n=e.length;for(;;){let r=e.indexOf(t,a);if(r===-1)return r;if(r===0||e.charCodeAt(r-1)<=32){let i=t.length;if(r+i===n||e.charCodeAt(r+i)<=32)return r}a=r+1}}var Xb="ng-template";function W8(e,t,a,n){let r=0;if(n){for(;r<t.length&&typeof t[r]=="string";r+=2)if(t[r]==="class"&&G8(t[r+1].toLowerCase(),a,0)!==-1)return!0}else if(lp(e))return!1;if(r=t.indexOf(1,r),r>-1){let i;for(;++r<t.length&&typeof(i=t[r])=="string";)if(i.toLowerCase()===a)return!0}return!1}function lp(e){return e.type===4&&e.value!==Xb}function Z8(e,t,a){let n=e.type===4&&!a?Xb:e.value;return t===n}function Y8(e,t,a){let n=4,r=e.attrs,i=r!==null?X8(r):0,o=!1;for(let l=0;l<t.length;l++){let u=t[l];if(typeof u=="number"){if(!o&&!Hn(n)&&!Hn(u))return!1;if(o&&Hn(u))continue;o=!1,n=u|n&1;continue}if(!o)if(n&4){if(n=2|n&1,u!==""&&!Z8(e,u,a)||u===""&&t.length===1){if(Hn(n))return!1;o=!0}}else if(n&8){if(r===null||!W8(e,r,u,a)){if(Hn(n))return!1;o=!0}}else{let c=t[++l],d=K8(u,r,lp(e),a);if(d===-1){if(Hn(n))return!1;o=!0;continue}if(c!==""){let m;if(d>i?m="":m=r[d+1].toLowerCase(),n&2&&c!==m){if(Hn(n))return!1;o=!0}}}}return Hn(n)||o}function Hn(e){return(e&1)===0}function K8(e,t,a,n){if(t===null)return-1;let r=0;if(n||!a){let i=!1;for(;r<t.length;){let o=t[r];if(o===e)return r;if(o===3||o===6)i=!0;else if(o===1||o===2){let l=t[++r];for(;typeof l=="string";)l=t[++r];continue}else{if(o===4)break;if(o===0){r+=4;continue}}r+=i?1:2}return-1}else return J8(t,e)}function Jb(e,t,a=!1){for(let n=0;n<t.length;n++)if(Y8(e,t[n],a))return!0;return!1}function Q8(e){let t=e.attrs;if(t!=null){let a=t.indexOf(5);if(!(a&1))return t[a+1]}return null}function X8(e){for(let t=0;t<e.length;t++){let a=e[t];if(fb(a))return t}return e.length}function J8(e,t){let a=e.indexOf(4);if(a>-1)for(a++;a<e.length;){let n=e[a];if(typeof n=="number")return-1;if(n===t)return a;a++}return-1}function eG(e,t){e:for(let a=0;a<t.length;a++){let n=t[a];if(e.length===n.length){for(let r=0;r<e.length;r++)if(e[r]!==n[r])continue e;return!0}}return!1}function hf(e,t){return e?":not("+t.trim()+")":t}function tG(e){let t=e[0],a=1,n=2,r="",i=!1;for(;a<e.length;){let o=e[a];if(typeof o=="string")if(n&2){let l=e[++a];r+="["+o+(l.length>0?'="'+l+'"':"")+"]"}else n&8?r+="."+o:n&4&&(r+=" "+o);else r!==""&&!Hn(o)&&(t+=hf(i,r),r=""),n=o,i=i||!Hn(n);a++}return r!==""&&(t+=hf(i,r)),t}function nG(e){return e.map(tG).join(",")}function aG(e){let t=[],a=[],n=1,r=2;for(;n<e.length;){let i=e[n];if(typeof i=="string")r===2?i!==""&&t.push(i,e[++n]):r===8&&a.push(i);else{if(!Hn(r))break;r=i}n++}return a.length&&t.push(1,...a),t}var In={};function rG(e,t){return e.createText(t)}function iG(e,t,a){e.setValue(t,a)}function oG(e,t){return e.createComment(U8(t))}function ey(e,t,a){return e.createElement(t,a)}function Pl(e,t,a,n,r){e.insertBefore(t,a,n,r)}function ty(e,t,a){e.appendChild(t,a)}function pf(e,t,a,n,r){n!==null?Pl(e,t,a,n,r):ty(e,t,a)}function sG(e,t,a){e.removeChild(null,t,a)}function lG(e,t,a){e.setAttribute(t,"style",a)}function uG(e,t,a){a===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",a)}function ny(e,t,a){let{mergedAttrs:n,classes:r,styles:i}=a;n!==null&&yU(e,t,n),r!==null&&uG(e,t,r),i!==null&&lG(e,t,i)}function up(e,t,a,n,r,i,o,l,u,c,d){let m=kt+n,v=m+r,g=cG(m,v),w=typeof c=="function"?c():c;return g[be]={type:e,blueprint:g,template:a,queries:null,viewQuery:l,declTNode:t,data:g.slice().fill(null,m),bindingStartIndex:m,expandoStartIndex:v,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof o=="function"?o():o,firstChild:null,schemas:u,consts:w,incompleteFirstPass:!1,ssrId:d}}function cG(e,t){let a=[];for(let n=0;n<t;n++)a.push(n<e?null:In);return a}function dG(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=up(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function cp(e,t,a,n,r,i,o,l,u,c,d){let m=t.blueprint.slice();return m[Ba]=r,m[me]=n|4|128|8|64|1024,(c!==null||e&&e[me]&2048)&&(m[me]|=2048),tb(m),m[tn]=m[Hi]=e,m[qt]=a,m[za]=o||e&&e[za],m[vt]=l||e&&e[vt],m[Ii]=u||e&&e[Ii]||null,m[_n]=i,m[fu]=KU(),m[Di]=d,m[W0]=c,m[Ln]=t.type==2?e[Ln]:m,m}function hG(e,t,a){let n=fa(t,e),r=dG(a),i=e[za].rendererFactory,o=dp(e,cp(e,r,null,ay(a),n,t,null,i.createRenderer(n,a),null,null,null));return e[t.index]=o}function ay(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function ry(e,t,a,n){if(a===0)return-1;let r=t.length;for(let i=0;i<a;i++)t.push(n),e.blueprint.push(n),e.data.push(null);return r}function dp(e,t){return e[Oo]?e[Ym][Gn]=t:e[Oo]=t,e[Ym]=t,t}function P(e=1){iy(ut(),ce(),ga()+e)}function iy(e,t,a,n){if((t[me]&3)===3){let r=e.preOrderCheckHooks;r!==null&&il(t,r,a)}else{let r=e.preOrderHooks;r!==null&&ol(t,r,0,a)}qr(a)}var ku=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(ku||{});function yd(e,t,a,n){let r=De(null);try{let[i,o,l]=e.inputs[a],u=null;o&ku.SignalBased&&(u=t[i][fn]),u!==null&&u.transformFn!==void 0?n=u.transformFn(n):l!==null&&(n=l.call(t,n)),e.setInput!==null?e.setInput(t,u,n,a,i):Y0(t,u,i,n)}finally{De(r)}}function oy(e,t,a,n,r){let i=ga(),o=n&2;try{qr(-1),o&&t.length>kt&&iy(e,t,kt,!1),zr(o?2:0,r),a(n,r)}finally{qr(i)}}function Cu(e,t,a){gG(e,t,a),(a.flags&64)===64&&vG(e,t,a)}function hp(e,t,a=fa){let n=t.localNames;if(n!==null){let r=t.index+1;for(let i=0;i<n.length;i+=2){let o=n[i+1],l=o===-1?a(t,e):e[o];e[r++]=l}}}function pG(e,t,a,n){let r=n.get(t8,Bb)||a===Pa.ShadowDom;return e.selectRootElement(t,r)}function mG(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function pp(e,t,a,n,r,i,o,l){if(!l&&fp(t,e,a,n,r)){qi(t)&&fG(a,t.index);return}if(t.type&3){let u=fa(t,a);n=mG(n),r=o!=null?o(r,t.value||"",n):r,i.setProperty(u,n,r)}else t.type&12}function fG(e,t){let a=pa(t,e);a[me]&16||(a[me]|=64)}function gG(e,t,a){let n=a.directiveStart,r=a.directiveEnd;qi(a)&&hG(t,a,e.data[n+a.componentOffset]),e.firstCreatePass||Ol(a,t);let i=a.initialInputs;for(let o=n;o<r;o++){let l=e.data[o],u=Mo(t,e,o,a);if(Zi(u,t),i!==null&&wG(t,o-n,u,l,a,i),da(l)){let c=pa(a.index,t);c[qt]=Mo(t,e,o,a)}}}function vG(e,t,a){let n=a.directiveStart,r=a.directiveEnd,i=a.index,o=cU();try{qr(i);for(let l=n;l<r;l++){let u=e.data[l],c=t[l];cd(l),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&bG(u,c)}}finally{qr(-1),cd(o)}}function bG(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function mp(e,t){let a=e.directiveRegistry,n=null;if(a)for(let r=0;r<a.length;r++){let i=a[r];Jb(t,i.selectors,!1)&&(n??(n=[]),da(i)?n.unshift(i):n.push(i))}return n}function yG(e,t,a,n,r,i){let o=fa(e,t);_G(t[vt],o,i,e.value,a,n,r)}function _G(e,t,a,n,r,i,o){if(i==null)e.removeAttribute(t,r,a);else{let l=o==null?Si(i):o(i,n||"",r);e.setAttribute(t,r,l,a)}}function wG(e,t,a,n,r,i){let o=i[t];if(o!==null)for(let l=0;l<o.length;l+=2){let u=o[l],c=o[l+1];yd(n,a,u,c)}}function xG(e,t){let a=e[Ii],n=a?a.get(Zn,null):null;n&&n.handleError(t)}function fp(e,t,a,n,r){var u,c;let i=(u=e.inputs)==null?void 0:u[n],o=(c=e.hostDirectiveInputs)==null?void 0:c[n],l=!1;if(o)for(let d=0;d<o.length;d+=2){let m=o[d],v=o[d+1],g=t.data[m];yd(g,a[m],v,r),l=!0}if(i)for(let d of i){let m=a[d],v=t.data[d];yd(v,m,n,r),l=!0}return l}function EG(e,t){let a=pa(t,e),n=a[be];SG(n,a);let r=a[Ba];r!==null&&a[Di]===null&&(a[Di]=Ub(r,a[Ii])),gp(n,a,a[qt]),zr(19,a[qt])}function SG(e,t){for(let a=t.length;a<e.blueprint.length;a++)t.push(e.blueprint[a])}function gp(e,t,a){var n;Zh(t);try{let r=e.viewQuery;r!==null&&bd(1,r,a);let i=e.template;i!==null&&oy(e,t,i,1,a),e.firstCreatePass&&(e.firstCreatePass=!1),(n=t[Wn])==null||n.finishViewCreation(e),e.staticContentQueries&&Gb(e,t),e.staticViewQueries&&bd(2,e.viewQuery,a);let o=e.components;o!==null&&kG(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[me]&=-5,Yh()}}function kG(e,t){for(let a=0;a<t.length;a++)EG(e,t[a])}function ds(e,t,a,n){let r=De(null);try{let i=t.tView,o=e[me]&4096?4096:16,l=cp(e,i,a,o,null,t,null,null,(n==null?void 0:n.injector)??null,(n==null?void 0:n.embeddedViewInjector)??null,(n==null?void 0:n.dehydratedView)??null),u=e[t.index];l[jr]=u;let c=e[Wn];return c!==null&&(l[Wn]=c.createEmbeddedView(i)),gp(i,l,a),l}finally{De(r)}}function Ni(e,t){return!t||t.firstChild===null||Ab(e)}var CG;function vp(e,t){return CG(e,t)}var tr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(tr||{});function bp(e){return(e.flags&32)===32}function mi(e,t,a,n,r){if(n!=null){let i,o=!1;Ha(n)?i=n:ur(n)&&(o=!0,n=n[Ba]);let l=ha(n);e===0&&a!==null?r==null?ty(t,a,l):Pl(t,a,l,r||null,!0):e===1&&a!==null?Pl(t,a,l,r||null,!0):e===2?sG(t,l,o):e===3&&t.destroyNode(l),i!=null&&LG(t,e,i,a,r)}}function DG(e,t){sy(e,t),t[Ba]=null,t[_n]=null}function IG(e,t,a,n,r,i){n[Ba]=r,n[_n]=t,Tu(e,n,a,1,r,i)}function sy(e,t){var a;(a=t[za].changeDetectionScheduler)==null||a.notify(9),Tu(e,t,t[vt],2,null,null)}function TG(e){let t=e[Oo];if(!t)return ac(e[be],e);for(;t;){let a=null;if(ur(t))a=t[Oo];else{let n=t[Jt];n&&(a=n)}if(!a){for(;t&&!t[Gn]&&t!==e;)ur(t)&&ac(t[be],t),t=t[tn];t===null&&(t=e),ur(t)&&ac(t[be],t),a=t&&t[Gn]}t=a}}function yp(e,t){let a=e[Ti],n=a.indexOf(t);a.splice(n,1)}function Du(e,t){if($i(t))return;let a=t[vt];a.destroyNode&&Tu(e,t,a,3,null,null),TG(t)}function ac(e,t){if($i(t))return;let a=De(null);try{t[me]&=-129,t[me]|=256,t[Pn]&&su(t[Pn]),NG(e,t),RG(e,t),t[be].type===1&&t[vt].destroy();let n=t[jr];if(n!==null&&Ha(t[tn])){n!==t[tn]&&yp(n,t);let r=t[Wn];r!==null&&r.detachView(e)}gd(t)}finally{De(a)}}function RG(e,t){let a=e.cleanup,n=t[bi];if(a!==null)for(let o=0;o<a.length-1;o+=2)if(typeof a[o]=="string"){let l=a[o+3];l>=0?n[l]():n[-l].unsubscribe(),o+=2}else{let l=n[a[o+1]];a[o].call(l)}n!==null&&(t[bi]=null);let r=t[sr];if(r!==null){t[sr]=null;for(let o=0;o<r.length;o++){let l=r[o];l()}}let i=t[Aa];if(i!==null){t[Aa]=null;for(let o of i)o.destroy()}}function NG(e,t){let a;if(e!=null&&(a=e.destroyHooks)!=null)for(let n=0;n<a.length;n+=2){let r=t[a[n]];if(!(r instanceof ss)){let i=a[n+1];if(Array.isArray(i))for(let o=0;o<i.length;o+=2){let l=r[i[o]],u=i[o+1];try{u.call(l)}finally{}}else try{i.call(r)}finally{}}}}function ly(e,t,a){return OG(e,t.parent,a)}function OG(e,t,a){let n=t;for(;n!==null&&n.type&168;)t=n,n=t.parent;if(n===null)return a[Ba];if(qi(n)){let{encapsulation:r}=e.data[n.directiveStart+n.componentOffset];if(r===Pa.None||r===Pa.Emulated)return null}return fa(n,a)}function uy(e,t,a){return AG(e,t,a)}function MG(e,t,a){return e.type&40?fa(e,a):null}var AG=MG;function Iu(e,t,a,n){let r=ly(e,n,t),i=t[vt],o=n.parent||t[_n],l=uy(o,n,t);if(r!=null)if(Array.isArray(a))for(let u=0;u<a.length;u++)pf(i,r,a[u],l,!1);else pf(i,r,a,l,!1)}function go(e,t){if(t!==null){let a=t.type;if(a&3)return fa(t,e);if(a&4)return _d(-1,e[t.index]);if(a&8){let n=t.child;if(n!==null)return go(e,n);{let r=e[t.index];return Ha(r)?_d(-1,r):ha(r)}}else{if(a&128)return go(e,t.next);if(a&32)return vp(t,e)()||ha(e[t.index]);{let n=cy(e,t);if(n!==null){if(Array.isArray(n))return n[0];let r=Hr(e[Ln]);return go(r,n)}else return go(e,t.next)}}}return null}function cy(e,t){if(t!==null){let a=e[Ln][_n],n=t.projection;return a.projection[n]}return null}function _d(e,t){let a=Jt+e+1;if(a<t.length){let n=t[a],r=n[be].firstChild;if(r!==null)return go(n,r)}return t[Vr]}function _p(e,t,a,n,r,i,o){for(;a!=null;){if(a.type===128){a=a.next;continue}let l=n[a.index],u=a.type;if(o&&t===0&&(l&&Zi(ha(l),n),a.flags|=2),!bp(a))if(u&8)_p(e,t,a.child,n,r,i,!1),mi(t,e,r,l,i);else if(u&32){let c=vp(a,n),d;for(;d=c();)mi(t,e,r,d,i);mi(t,e,r,l,i)}else u&16?dy(e,t,n,a,r,i):mi(t,e,r,l,i);a=o?a.projectionNext:a.next}}function Tu(e,t,a,n,r,i){_p(a,n,e.firstChild,t,r,i,!1)}function PG(e,t,a){let n=t[vt],r=ly(e,a,t),i=a.parent||t[_n],o=uy(i,a,t);dy(n,0,t,a,r,o)}function dy(e,t,a,n,r,i){let o=a[Ln],l=o[_n].projection[n.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++){let c=l[u];mi(t,e,r,c,i)}else{let u=l,c=o[tn];Ab(n)&&(u.flags|=128),_p(e,t,u,c,r,i,!0)}}function LG(e,t,a,n,r){let i=a[Vr],o=ha(a);i!==o&&mi(t,e,n,i,r);for(let l=Jt;l<a.length;l++){let u=a[l];Tu(u[be],u,e,t,n,i)}}function FG(e,t,a,n,r){if(t)r?e.addClass(a,n):e.removeClass(a,n);else{let i=n.indexOf("-")===-1?void 0:tr.DashCase;r==null?e.removeStyle(a,n,i):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),i|=tr.Important),e.setStyle(a,n,r,i))}}function Ll(e,t,a,n,r=!1){for(;a!==null;){if(a.type===128){a=r?a.projectionNext:a.next;continue}let i=t[a.index];i!==null&&n.push(ha(i)),Ha(i)&&jG(i,n);let o=a.type;if(o&8)Ll(e,t,a.child,n);else if(o&32){let l=vp(a,t),u;for(;u=l();)n.push(u)}else if(o&16){let l=cy(t,a);if(Array.isArray(l))n.push(...l);else{let u=Hr(t[Ln]);Ll(u[be],u,l,n,!0)}}a=r?a.projectionNext:a.next}return n}function jG(e,t){for(let a=Jt;a<e.length;a++){let n=e[a],r=n[be].firstChild;r!==null&&Ll(n[be],n,r,t)}e[Vr]!==e[Ba]&&t.push(e[Vr])}function hy(e){if(e[lr]!==null){for(let t of e[lr])t.impl.addSequence(t);e[lr].length=0}}var py=[];function VG(e){return e[Pn]??zG(e)}function zG(e){let t=py.pop()??Object.create(HG);return t.lView=e,t}function BG(e){e.lView[Pn]!==e&&(e.lView=null,py.push(e))}var HG=Yt(ue({},zi),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Ui(e.lView)},consumerOnSignalRead(){this.lView[Pn]=this}});function qG(e){let t=e[Pn]??Object.create($G);return t.lView=e,t}var $G=Yt(ue({},zi),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Hr(e.lView);for(;t&&!my(t[be]);)t=Hr(t);t&&Bh(t)},consumerOnSignalRead(){this.lView[Pn]=this}});function my(e){return e.type!==2}function fy(e){if(e[Aa]===null)return;let t=!0;for(;t;){let a=!1;for(let n of e[Aa])n.dirty&&(a=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));t=a&&!!(e[me]&8192)}}var UG=100;function gy(e,t=!0,a=0){var r,i;let n=e[za].rendererFactory;(r=n.begin)==null||r.call(n);try{GG(e,a)}catch(o){throw t&&xG(e,o),o}finally{(i=n.end)==null||i.call(n)}}function GG(e,t){let a=ib();try{Il(!0),wd(e,t);let n=0;for(;os(e);){if(n===UG)throw new U(103,!1);n++,wd(e,1)}}finally{Il(a)}}function WG(e,t,a,n){if($i(t))return;let r=t[me],i=!1,o=!1;Zh(t);let l=!0,u=null,c=null;my(e)?(c=VG(t),u=Do(c)):Qq()===null?(l=!1,c=qG(t),u=Do(c)):t[Pn]&&(su(t[Pn]),t[Pn]=null);try{tb(t),sU(e.bindingStartIndex),a!==null&&oy(e,t,a,2,n);let d=(r&3)===3;if(!i)if(d){let g=e.preOrderCheckHooks;g!==null&&il(t,g,null)}else{let g=e.preOrderHooks;g!==null&&ol(t,g,0,null),tc(t,0)}if(o||ZG(t),fy(t),vy(t,0),e.contentQueries!==null&&Gb(e,t),!i)if(d){let g=e.contentCheckHooks;g!==null&&il(t,g)}else{let g=e.contentHooks;g!==null&&ol(t,g,1),tc(t,1)}KG(e,t);let m=e.components;m!==null&&yy(t,m,0);let v=e.viewQuery;if(v!==null&&bd(2,v,n),!i)if(d){let g=e.viewCheckHooks;g!==null&&il(t,g)}else{let g=e.viewHooks;g!==null&&ol(t,g,2),tc(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[ec]){for(let g of t[ec])g();t[ec]=null}i||(hy(t),t[me]&=-73)}catch(d){throw Ui(t),d}finally{c!==null&&(ou(c,u),l&&BG(c)),Yh()}}function vy(e,t){for(let a=Fb(e);a!==null;a=jb(a))for(let n=Jt;n<a.length;n++){let r=a[n];by(r,t)}}function ZG(e){for(let t=Fb(e);t!==null;t=jb(t)){if(!(t[me]&2))continue;let a=t[Ti];for(let n=0;n<a.length;n++){let r=a[n];Bh(r)}}}function YG(e,t,a){let n=pa(t,e);by(n,a),zr(19,n[qt])}function by(e,t){zh(e)&&wd(e,t)}function wd(e,t){let a=e[be],n=e[me],r=e[Pn],i=!!(t===0&&n&16);if(i||(i=!!(n&64&&t===0)),i||(i=!!(n&1024)),i||(i=!!(r!=null&&r.dirty&&gh(r))),i||(i=!1),r&&(r.dirty=!1),e[me]&=-9217,i)WG(a,e,a.template,e[qt]);else if(n&8192){fy(e),vy(e,1);let o=a.components;o!==null&&yy(e,o,1),hy(e)}}function yy(e,t,a){for(let n=0;n<t.length;n++)YG(e,t[n],a)}function KG(e,t){let a=e.hostBindingOpCodes;if(a!==null)try{for(let n=0;n<a.length;n++){let r=a[n];if(r<0)qr(~r);else{let i=r,o=a[++n],l=a[++n];uU(o,i);let u=t[i];zr(24,u),l(2,u),zr(25,u)}}}finally{qr(-1)}}function wp(e,t){var n;let a=ib()?64:1088;for((n=e[za].changeDetectionScheduler)==null?void 0:n.notify(t);e;){e[me]|=a;let r=Hr(e);if(Dl(e)&&!r)return e;e=r}return null}function _y(e,t,a,n){return[e,!0,0,t,null,n,null,a,null,null]}function wy(e,t){let a=Jt+t;if(a<e.length)return e[a]}function hs(e,t,a,n=!0){let r=t[be];if(QG(r,t,e,a),n){let o=_d(a,e),l=t[vt],u=l.parentNode(e[Vr]);u!==null&&IG(r,e[_n],l,t,u,o)}let i=t[Di];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function xy(e,t){let a=Po(e,t);return a!==void 0&&Du(a[be],a),a}function Po(e,t){if(e.length<=Jt)return;let a=Jt+t,n=e[a];if(n){let r=n[jr];r!==null&&r!==e&&yp(r,n),t>0&&(e[a-1][Gn]=n[Gn]);let i=Sl(e,Jt+t);DG(n[be],n);let o=i[Wn];o!==null&&o.detachView(i[be]),n[tn]=null,n[Gn]=null,n[me]&=-129}return n}function QG(e,t,a,n){let r=Jt+n,i=a.length;n>0&&(a[r-1][Gn]=t),n<i-Jt?(t[Gn]=a[r],F0(a,Jt+n,t)):(a.push(t),t[Gn]=null),t[tn]=a;let o=t[jr];o!==null&&a!==o&&Ey(o,t);let l=t[Wn];l!==null&&l.insertView(e),ld(t),t[me]|=128}function Ey(e,t){let a=e[Ti],n=t[tn];if(ur(n))e[me]|=2;else{let r=n[tn][Ln];t[Ln]!==r&&(e[me]|=2)}a===null?e[Ti]=[t]:a.push(t)}var Lo=class{constructor(e,t,a=!0){s(this,"_lView");s(this,"_cdRefInjectingView");s(this,"notifyErrorHandler");s(this,"_appRef",null);s(this,"_attachedToViewContainer",!1);this._lView=e,this._cdRefInjectingView=t,this.notifyErrorHandler=a}get rootNodes(){let e=this._lView,t=e[be];return Ll(t,e,t.firstChild,[])}get context(){return this._lView[qt]}set context(e){this._lView[qt]=e}get destroyed(){return $i(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[tn];if(Ha(e)){let t=e[Cl],a=t?t.indexOf(this):-1;a>-1&&(Po(e,a),Sl(t,a))}this._attachedToViewContainer=!1}Du(this._lView[be],this._lView)}onDestroy(e){nb(this._lView,e)}markForCheck(){wp(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[me]&=-129}reattach(){ld(this._lView),this._lView[me]|=128}detectChanges(){this._lView[me]|=1024,gy(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new U(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Dl(this._lView),t=this._lView[jr];t!==null&&!e&&yp(t,this._lView),sy(this._lView[be],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new U(902,!1);this._appRef=e;let t=Dl(this._lView),a=this._lView[jr];a!==null&&!t&&Ey(a,this._lView),ld(this._lView)}};function XG(e){return os(e._lView)||!!(e._lView[me]&64)}function JG(e){Bh(e._cdRefInjectingView||e._lView)}var nn=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",nW),e})(),eW=nn,tW=class extends eW{constructor(t,a,n){super();s(this,"_declarationLView");s(this,"_declarationTContainer");s(this,"elementRef");this._declarationLView=t,this._declarationTContainer=a,this.elementRef=n}get ssrId(){var t;return((t=this._declarationTContainer.tView)==null?void 0:t.ssrId)||null}createEmbeddedView(t,a){return this.createEmbeddedViewImpl(t,a)}createEmbeddedViewImpl(t,a,n){let r=ds(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:a,dehydratedView:n});return new Lo(r)}};function nW(){return xp(an(),ce())}function xp(e,t){return e.type&4?new tW(t,e,Wi(e,t)):null}function Yi(e,t,a,n,r){let i=e.data[t];if(i===null)i=aW(e,t,a,n,r),lU()&&(i.flags|=32);else if(i.type&64){i.type=a,i.value=n,i.attrs=r;let o=rU();i.injectorIndex=o===null?-1:o.injectorIndex}return hr(i,!0),i}function aW(e,t,a,n,r){let i=rb(),o=$h(),l=o?i:i&&i.parent,u=e.data[t]=iW(e,l,a,t,n,r);return rW(e,u,i,o),u}function rW(e,t,a,n){e.firstChild===null&&(e.firstChild=t),a!==null&&(n?a.child==null&&t.parent!==null&&(a.child=t):a.next===null&&(a.next=t,t.prev=a))}function iW(e,t,a,n,r,i){let o=t?t.injectorIndex:-1,l=0;return ab()&&(l|=128),{type:a,index:n,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:r,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var oW=()=>null;function Oi(e,t){return oW()}var sW=class{},Sy=class{},lW=class{resolveComponentFactory(e){throw Error(`No component factory found for ${An(e)}.`)}},Zc,ps=(Zc=class{},s(Zc,"NULL",new lW),Zc),Yn=class{},Qr=(()=>{class e{constructor(){s(this,"destroyNode",null)}}return s(e,"__NG_ELEMENT_ID__",()=>uW()),e})();function uW(){let e=ce(),t=an(),a=pa(t.index,e);return(ur(a)?a:e)[vt]}var cW=(()=>{const t=class t{};s(t,"ɵprov",z({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),rc={},dW=class{constructor(e,t){s(this,"injector");s(this,"parentInjector");this.injector=e,this.parentInjector=t}get(e,t,a){a=hu(a);let n=this.injector.get(e,rc,a);return n!==rc||t===rc?n:this.parentInjector.get(e,t,a)}};function xd(e,t,a){let n=a?e.styles:null,r=a?e.classes:null,i=0;if(t!==null)for(let o=0;o<t.length;o++){let l=t[o];if(typeof l=="number")i=l;else if(i==1)r=td(r,l);else if(i==2){let u=l,c=t[++o];n=td(n,u+": "+c+";")}}a?e.styles=n:e.stylesWithoutHost=n,a?e.classes=r:e.classesWithoutHost=r}function en(e,t=Te.Default){let a=ce();if(a===null)return oe(e,t);let n=an();return xb(n,a,Wt(e),t)}function Ep(e,t,a,n,r){let i=n===null?null:{"":-1},o=r(e,a);if(o!==null){let l,u=null,c=null,d=pW(o);d===null?l=o:[l,u,c]=d,gW(e,t,a,l,i,u,c)}i!==null&&n!==null&&hW(a,n,i)}function hW(e,t,a){let n=e.localNames=[];for(let r=0;r<t.length;r+=2){let i=a[t[r+1]];if(i==null)throw new U(-301,!1);n.push(t[r],i)}}function pW(e){let t=null,a=!1;for(let o=0;o<e.length;o++){let l=e[o];if(o===0&&da(l)&&(t=l),l.findHostDirectiveDefs!==null){a=!0;break}}if(!a)return null;let n=null,r=null,i=null;for(let o of e)o.findHostDirectiveDefs!==null&&(n??(n=[]),r??(r=new Map),i??(i=new Map),mW(o,n,i,r)),o===t&&(n??(n=[]),n.push(o));return n!==null?(n.push(...t===null?e:e.slice(1)),[n,r,i]):null}function mW(e,t,a,n){let r=t.length;e.findHostDirectiveDefs(e,t,n),a.set(e,[r,t.length-1])}function fW(e,t,a){t.componentOffset=a,(e.components??(e.components=[])).push(t.index)}function gW(e,t,a,n,r,i,o){let l=n.length,u=!1;for(let v=0;v<l;v++){let g=n[v];!u&&da(g)&&(u=!0,fW(e,a,v)),hd(Ol(a,t),e,g.type)}xW(a,e.data.length,l);for(let v=0;v<l;v++){let g=n[v];g.providersResolver&&g.providersResolver(g)}let c=!1,d=!1,m=ry(e,t,l,null);l>0&&(a.directiveToIndex=new Map);for(let v=0;v<l;v++){let g=n[v];if(a.mergedAttrs=Ri(a.mergedAttrs,g.hostAttrs),bW(e,a,t,m,g),wW(m,g,r),o!==null&&o.has(g)){let[x,k]=o.get(g);a.directiveToIndex.set(g.type,[m,x+a.directiveStart,k+a.directiveStart])}else(i===null||!i.has(g))&&a.directiveToIndex.set(g.type,m);g.contentQueries!==null&&(a.flags|=4),(g.hostBindings!==null||g.hostAttrs!==null||g.hostVars!==0)&&(a.flags|=64);let w=g.type.prototype;!c&&(w.ngOnChanges||w.ngOnInit||w.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(a.index),c=!0),!d&&(w.ngOnChanges||w.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(a.index),d=!0),m++}vW(e,a,i)}function vW(e,t,a){for(let n=t.directiveStart;n<t.directiveEnd;n++){let r=e.data[n];if(a===null||!a.has(r))mf(0,t,r,n),mf(1,t,r,n),gf(t,n,!1);else{let i=a.get(r);ff(0,t,i,n),ff(1,t,i,n),gf(t,n,!0)}}}function mf(e,t,a,n){let r=e===0?a.inputs:a.outputs;for(let i in r)if(r.hasOwnProperty(i)){let o;e===0?o=t.inputs??(t.inputs={}):o=t.outputs??(t.outputs={}),o[i]??(o[i]=[]),o[i].push(n),ky(t,i)}}function ff(e,t,a,n){let r=e===0?a.inputs:a.outputs;for(let i in r)if(r.hasOwnProperty(i)){let o=r[i],l;e===0?l=t.hostDirectiveInputs??(t.hostDirectiveInputs={}):l=t.hostDirectiveOutputs??(t.hostDirectiveOutputs={}),l[o]??(l[o]=[]),l[o].push(n,i),ky(t,o)}}function ky(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function gf(e,t,a){let{attrs:n,inputs:r,hostDirectiveInputs:i}=e;if(n===null||!a&&r===null||a&&i===null||lp(e)){e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(null);return}let o=null,l=0;for(;l<n.length;){let u=n[l];if(u===0){l+=4;continue}else if(u===5){l+=2;continue}else if(typeof u=="number")break;if(!a&&r.hasOwnProperty(u)){let c=r[u];for(let d of c)if(d===t){o??(o=[]),o.push(u,n[l+1]);break}}else if(a&&i.hasOwnProperty(u)){let c=i[u];for(let d=0;d<c.length;d+=2)if(c[d]===t){o??(o=[]),o.push(c[d+1],n[l+1]);break}}l+=2}e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(o)}function bW(e,t,a,n,r){e.data[n]=r;let i=r.factory||(r.factory=Fr(r.type)),o=new ss(i,da(r),en);e.blueprint[n]=o,a[n]=o,yW(e,t,n,ry(e,a,r.hostVars,In),r)}function yW(e,t,a,n,r){let i=r.hostBindings;if(i){let o=e.hostBindingOpCodes;o===null&&(o=e.hostBindingOpCodes=[]);let l=~t.index;_W(o)!=l&&o.push(l),o.push(a,n,i)}}function _W(e){let t=e.length;for(;t>0;){let a=e[--t];if(typeof a=="number"&&a<0)return a}return 0}function wW(e,t,a){if(a){if(t.exportAs)for(let n=0;n<t.exportAs.length;n++)a[t.exportAs[n]]=e;da(t)&&(a[""]=e)}}function xW(e,t,a){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+a,e.providerIndexes=t}function Cy(e,t,a,n,r,i,o,l){let u=t.consts,c=Br(u,o),d=Yi(t,e,2,n,c);return Ep(t,a,d,Br(u,l),r),d.mergedAttrs=Ri(d.mergedAttrs,d.attrs),d.attrs!==null&&xd(d,d.attrs,!1),d.mergedAttrs!==null&&xd(d,d.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,d),d}function Dy(e,t){Kh(e,t),Fh(t)&&e.queries.elementEnd(t)}var EW=class extends ps{constructor(t){super();s(this,"ngModule");this.ngModule=t}resolveComponentFactory(t){let a=ki(t);return new Sp(a,this.ngModule)}};function SW(e){return Object.keys(e).map(t=>{let[a,n,r]=e[t],i={propName:a,templateName:t,isSignal:(n&ku.SignalBased)!==0};return r&&(i.transform=r),i})}function kW(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function CW(e,t,a){let n=t instanceof ca?t:t==null?void 0:t.injector;return n&&e.getStandaloneInjector!==null&&(n=e.getStandaloneInjector(n)||n),n?new dW(a,n):a}function DW(e){let t=e.get(Yn,null);if(t===null)throw new U(407,!1);let a=e.get(cW,null),n=e.get(Gi,null);return{rendererFactory:t,sanitizer:a,changeDetectionScheduler:n}}function IW(e,t){let a=(e.selectors[0][0]||"div").toLowerCase();return ey(t,a,a==="svg"?J0:a==="math"?G6:null)}var Sp=class extends Sy{constructor(t,a){super();s(this,"componentDef");s(this,"ngModule");s(this,"selector");s(this,"componentType");s(this,"ngContentSelectors");s(this,"isBoundToModule");s(this,"cachedInputs",null);s(this,"cachedOutputs",null);this.componentDef=t,this.ngModule=a,this.componentType=t.type,this.selector=nG(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!a}get inputs(){return this.cachedInputs??(this.cachedInputs=SW(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=kW(this.componentDef.outputs)),this.cachedOutputs}create(t,a,n,r){let i=De(null);try{let o=this.componentDef,l=n?["ng-version","19.2.15"]:aG(this.componentDef.selectors[0]),u=up(0,null,null,1,0,null,null,null,null,[l],null),c=CW(o,r||this.ngModule,t),d=DW(c),m=d.rendererFactory.createRenderer(null,o),v=n?pG(m,n,o.encapsulation,c):IW(o,m),g=cp(null,u,null,512|ay(o),null,null,d,m,c,null,Ub(v,c,!0));g[kt]=v,Zh(g);let w=null;try{let x=Cy(kt,u,g,"#host",()=>[this.componentDef],!0,0);v&&(ny(m,v,x),Zi(v,g)),Cu(u,g,x),op(u,x,g),Dy(u,x),a!==void 0&&RW(x,this.ngContentSelectors,a),w=pa(x.index,g),g[qt]=w[qt],gp(u,g,null)}catch(x){throw w!==null&&gd(w),gd(g),x}finally{zr(23),Yh()}return new TW(this.componentType,g)}finally{De(i)}}},TW=class extends sW{constructor(t,a){super();s(this,"_rootLView");s(this,"instance");s(this,"hostView");s(this,"changeDetectorRef");s(this,"componentType");s(this,"location");s(this,"previousInputValues",null);s(this,"_tNode");this._rootLView=a,this._tNode=jh(a[be],kt),this.location=Wi(this._tNode,a),this.instance=pa(this._tNode.index,a)[qt],this.hostView=this.changeDetectorRef=new Lo(a,void 0,!1),this.componentType=t}setInput(t,a){let n=this._tNode;if(this.previousInputValues??(this.previousInputValues=new Map),this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),a))return;let r=this._rootLView;fp(n,r[be],r,t,a),this.previousInputValues.set(t,a);let i=pa(n.index,r);wp(i,1)}get injector(){return new wo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function RW(e,t,a){let n=e.projection=[];for(let r=0;r<t.length;r++){let i=a[r];n.push(i!=null&&i.length?Array.from(i):null)}}var Kn=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",NW),e})();function NW(){let e=an();return Ty(e,ce())}var OW=Kn,Iy=class extends OW{constructor(t,a,n){super();s(this,"_lContainer");s(this,"_hostTNode");s(this,"_hostLView");this._lContainer=t,this._hostTNode=a,this._hostLView=n}get element(){return Wi(this._hostTNode,this._hostLView)}get injector(){return new wo(this._hostTNode,this._hostLView)}get parentInjector(){let t=Qh(this._hostTNode,this._hostLView);if(gb(t)){let a=Rl(t,this._hostLView),n=Tl(t),r=a[be].data[n+8];return new wo(r,a)}else return new wo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let a=vf(this._lContainer);return a!==null&&a[t]||null}get length(){return this._lContainer.length-Jt}createEmbeddedView(t,a,n){let r,i;typeof n=="number"?r=n:n!=null&&(r=n.index,i=n.injector);let o=Oi(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(a||{},i,o);return this.insertImpl(l,r,Ni(this._hostTNode,o)),l}createComponent(t,a,n,r,i){let o=t&&!B6(t),l;if(o)l=a;else{let w=a||{};l=w.index,n=w.injector,r=w.projectableNodes,i=w.environmentInjector||w.ngModuleRef}let u=o?t:new Sp(ki(t)),c=n||this.parentInjector;if(!i&&u.ngModule==null){let w=(o?c:this.parentInjector).get(ca,null);w&&(i=w)}let d=ki(u.componentType??{}),m=Oi(this._lContainer,(d==null?void 0:d.id)??null),v=null,g=u.create(c,r,v,i);return this.insertImpl(g.hostView,l,Ni(this._hostTNode,m)),g}insert(t,a){return this.insertImpl(t,a,!0)}insertImpl(t,a,n){let r=t._lView;if(Z6(r)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let u=r[tn],c=new Iy(u,u[_n],u[tn]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(a),o=this._lContainer;return hs(o,r,i,n),t.attachToViewContainerRef(),F0(ic(o),i,t),t}move(t,a){return this.insert(t,a)}indexOf(t){let a=vf(this._lContainer);return a!==null?a.indexOf(t):-1}remove(t){let a=this._adjustIndex(t,-1),n=Po(this._lContainer,a);n&&(Sl(ic(this._lContainer),a),Du(n[be],n))}detach(t){let a=this._adjustIndex(t,-1),n=Po(this._lContainer,a);return n&&Sl(ic(this._lContainer),a)!=null?new Lo(n):null}_adjustIndex(t,a=0){return t??this.length+a}};function vf(e){return e[Cl]}function ic(e){return e[Cl]||(e[Cl]=[])}function Ty(e,t){let a,n=t[e.index];return Ha(n)?a=n:(a=_y(n,t,null,e),t[e.index]=a,dp(t,a)),AW(a,t,e,n),new Iy(a,e,t)}function MW(e,t){let a=e[vt],n=a.createComment(""),r=fa(t,e),i=a.parentNode(r);return Pl(a,i,n,a.nextSibling(r),!1),n}var AW=PW;function PW(e,t,a,n){if(e[Vr])return;let r;a.type&8?r=ha(n):r=MW(t,a),e[Vr]=r}var LW=class Ry{constructor(t){s(this,"queryList");s(this,"matches",null);this.queryList=t}clone(){return new Ry(this.queryList)}setDirty(){this.queryList.setDirty()}},FW=class Ny{constructor(t=[]){s(this,"queries");this.queries=t}createEmbeddedView(t){let a=t.queries;if(a!==null){let n=t.contentQueries!==null?t.contentQueries[0]:a.length,r=[];for(let i=0;i<n;i++){let o=a.getByIndex(i),l=this.queries[o.indexInDeclarationView];r.push(l.clone())}return new Ny(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let a=0;a<this.queries.length;a++)kp(t,a).matches!==null&&this.queries[a].setDirty()}},Oy=class{constructor(e,t,a=null){s(this,"flags");s(this,"read");s(this,"predicate");this.flags=t,this.read=a,typeof e=="string"?this.predicate=WW(e):this.predicate=e}},jW=class My{constructor(t=[]){s(this,"queries");this.queries=t}elementStart(t,a){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,a)}elementEnd(t){for(let a=0;a<this.queries.length;a++)this.queries[a].elementEnd(t)}embeddedTView(t){let a=null;for(let n=0;n<this.length;n++){let r=a!==null?a.length:0,i=this.getByIndex(n).embeddedTView(t,r);i&&(i.indexInDeclarationView=n,a!==null?a.push(i):a=[i])}return a!==null?new My(a):null}template(t,a){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,a)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},VW=class Ay{constructor(t,a=-1){s(this,"metadata");s(this,"matches",null);s(this,"indexInDeclarationView",-1);s(this,"crossesNgTemplate",!1);s(this,"_declarationNodeIndex");s(this,"_appliesToNextNode",!0);this.metadata=t,this._declarationNodeIndex=a}elementStart(t,a){this.isApplyingToNode(a)&&this.matchTNode(t,a)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,a){this.elementStart(t,a)}embeddedTView(t,a){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,a),new Ay(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let a=this._declarationNodeIndex,n=t.parent;for(;n!==null&&n.type&8&&n.index!==a;)n=n.parent;return a===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(t,a){let n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){let i=n[r];this.matchTNodeWithReadOption(t,a,zW(a,i)),this.matchTNodeWithReadOption(t,a,sl(a,t,i,!1,!1))}else n===nn?a.type&4&&this.matchTNodeWithReadOption(t,a,-1):this.matchTNodeWithReadOption(t,a,sl(a,t,n,!1,!1))}matchTNodeWithReadOption(t,a,n){if(n!==null){let r=this.metadata.read;if(r!==null)if(r===Qe||r===Kn||r===nn&&a.type&4)this.addMatch(a.index,-2);else{let i=sl(a,t,r,!1,!1);i!==null&&this.addMatch(a.index,i)}else this.addMatch(a.index,n)}}addMatch(t,a){this.matches===null?this.matches=[t,a]:this.matches.push(t,a)}};function zW(e,t){let a=e.localNames;if(a!==null){for(let n=0;n<a.length;n+=2)if(a[n]===t)return a[n+1]}return null}function BW(e,t){return e.type&11?Wi(e,t):e.type&4?xp(e,t):null}function HW(e,t,a,n){return a===-1?BW(t,e):a===-2?qW(e,t,n):Mo(e,e[be],a,t)}function qW(e,t,a){if(a===Qe)return Wi(t,e);if(a===nn)return xp(t,e);if(a===Kn)return Ty(t,e)}function Py(e,t,a,n){let r=t[Wn].queries[n];if(r.matches===null){let i=e.data,o=a.matches,l=[];for(let u=0;o!==null&&u<o.length;u+=2){let c=o[u];if(c<0)l.push(null);else{let d=i[c];l.push(HW(t,d,o[u+1],a.metadata.read))}}r.matches=l}return r.matches}function Ed(e,t,a,n){let r=e.queries.getByIndex(a),i=r.matches;if(i!==null){let o=Py(e,t,r,a);for(let l=0;l<i.length;l+=2){let u=i[l];if(u>0)n.push(o[l/2]);else{let c=i[l+1],d=t[-u];for(let m=Jt;m<d.length;m++){let v=d[m];v[jr]===v[tn]&&Ed(v[be],v,c,n)}if(d[Ti]!==null){let m=d[Ti];for(let v=0;v<m.length;v++){let g=m[v];Ed(g[be],g,c,n)}}}}}return n}function $W(e,t){return e[Wn].queries[t].queryList}function Ly(e,t,a){let n=new ZU((a&4)===4);return Q6(e,t,n,n.destroy),(t[Wn]??(t[Wn]=new FW)).queries.push(new LW(n))-1}function UW(e,t,a){let n=ut();return n.firstCreatePass&&(Fy(n,new Oy(e,t,a),-1),(t&2)===2&&(n.staticViewQueries=!0)),Ly(n,ce(),t)}function GW(e,t,a,n){let r=ut();if(r.firstCreatePass){let i=an();Fy(r,new Oy(t,a,n),i.index),ZW(r,e)}return Ly(r,ce(),a)}function WW(e){return e.split(",").map(t=>t.trim())}function Fy(e,t,a){e.queries===null&&(e.queries=new jW),e.queries.track(new VW(t,a))}function ZW(e,t){let a=e.contentQueries||(e.contentQueries=[]),n=a.length?a[a.length-1]:-1;t!==n&&a.push(e.queries.length-1,t)}function kp(e,t){return e.queries.getByIndex(t)}function YW(e,t){let a=e[be],n=kp(a,t);return n.crossesNgTemplate?Ed(a,e,t,[]):Py(a,e,n,t)}function jy(e,t){let a=Object.create(S0),n=new Ob;a.value=e;function r(){return es(a),bf(a.value),a.value}return r[fn]=a,r.asReadonly=np.bind(r),r.set=i=>{a.equal(a.value,i)||(ns(a,i),n.emit(i))},r.update=i=>{bf(a.value),r.set(i(a.value))},r.subscribe=n.subscribe.bind(n),r.destroyRef=n.destroyRef,r}function bf(e){if(e===du)throw new U(952,!1)}function yf(e,t){return jy(e)}function KW(e){return jy(du)}var QW=(yf.required=KW,yf),Fo=class{},Vy=class extends Fo{constructor(t){super();s(this,"injector");s(this,"componentFactoryResolver",new EW(this));s(this,"instance",null);let a=new Ph([...t.providers,{provide:Fo,useValue:this},{provide:ps,useValue:this.componentFactoryResolver}],t.parent||pu(),t.debugName,new Set(["environment"]));this.injector=a,t.runEnvironmentInitializers&&a.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function XW(e,t,a=null){return new Vy({providers:e,parent:t,debugName:a,runEnvironmentInitializers:!0}).injector}var JW=(()=>{const t=class t{constructor(n){s(this,"_injector");s(this,"cachedInjectors",new Map);this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=H0(!1,n.type),i=r.length>0?XW([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};s(t,"ɵprov",z({token:t,providedIn:"environment",factory:()=>new t(oe(ca))}));let e=t;return e})();function Oe(e){return rs(()=>{let t=zy(e),a=Yt(ue({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Pb.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?r=>r.get(JW).getOrCreateStandaloneInjector(a):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Pa.Emulated,styles:e.styles||mn,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Yr("NgStandalone"),By(a);let n=e.dependencies;return a.directiveDefs=_f(n,!1),a.pipeDefs=_f(n,!0),a.id=rZ(a),a})}function eZ(e){return ki(e)||B0(e)}function tZ(e){return e!==null}function Bt(e){return rs(()=>({type:e.type,bootstrap:e.bootstrap||mn,declarations:e.declarations||mn,imports:e.imports||mn,exports:e.exports||mn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function nZ(e,t){if(e==null)return ua;let a={};for(let n in e)if(e.hasOwnProperty(n)){let r=e[n],i,o,l,u;Array.isArray(r)?(l=r[0],i=r[1],o=r[2]??i,u=r[3]||null):(i=r,o=r,l=ku.None,u=null),a[i]=[n,l,u],t[i]=o}return a}function aZ(e){if(e==null)return ua;let t={};for(let a in e)e.hasOwnProperty(a)&&(t[e[a]]=a);return t}function ye(e){return rs(()=>{let t=zy(e);return By(t),t})}function va(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 zy(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||ua,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||mn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:nZ(e.inputs,t),outputs:aZ(e.outputs),debugInfo:null}}function By(e){var t;(t=e.features)==null||t.forEach(a=>a(e))}function _f(e,t){if(!e)return null;let a=t?R6:eZ;return()=>(typeof e=="function"?e():e).map(n=>a(n)).filter(tZ)}function rZ(e){let t=0,a=typeof e.consts=="function"?"":e.consts,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,a,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let r of n.join("|"))t=Math.imul(31,t)+r.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function iZ(e){return Object.getPrototypeOf(e.prototype).constructor}function Ye(e){let t=iZ(e.type),a=!0,n=[e];for(;t;){let r;if(da(e))r=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new U(903,!1);r=t.ɵdir}if(r){if(a){n.push(r);let o=e;o.inputs=oc(e.inputs),o.declaredInputs=oc(e.declaredInputs),o.outputs=oc(e.outputs);let l=r.hostBindings;l&&cZ(e,l);let u=r.viewQuery,c=r.contentQueries;if(u&&lZ(e,u),c&&uZ(e,c),oZ(e,r),u6(e.outputs,r.outputs),da(r)&&r.data.animation){let d=e.data;d.animation=(d.animation||[]).concat(r.data.animation)}}let i=r.features;if(i)for(let o=0;o<i.length;o++){let l=i[o];l&&l.ngInherit&&l(e),l===Ye&&(a=!1)}}t=Object.getPrototypeOf(t)}sZ(n)}function oZ(e,t){for(let a in t.inputs){if(!t.inputs.hasOwnProperty(a)||e.inputs.hasOwnProperty(a))continue;let n=t.inputs[a];n!==void 0&&(e.inputs[a]=n,e.declaredInputs[a]=t.declaredInputs[a])}}function sZ(e){let t=0,a=null;for(let n=e.length-1;n>=0;n--){let r=e[n];r.hostVars=t+=r.hostVars,r.hostAttrs=Ri(r.hostAttrs,a=Ri(a,r.hostAttrs))}}function oc(e){return e===ua?{}:e===mn?[]:e}function lZ(e,t){let a=e.viewQuery;a?e.viewQuery=(n,r)=>{t(n,r),a(n,r)}:e.viewQuery=t}function uZ(e,t){let a=e.contentQueries;a?e.contentQueries=(n,r,i)=>{t(n,r,i),a(n,r,i)}:e.contentQueries=t}function cZ(e,t){let a=e.hostBindings;a?e.hostBindings=(n,r)=>{t(n,r),a(n,r)}:e.hostBindings=t}function dZ(e){let t=a=>{let n=Array.isArray(e);a.hostDirectives===null?(a.findHostDirectiveDefs=Hy,a.hostDirectives=n?e.map(Sd):[e]):n?a.hostDirectives.unshift(...e.map(Sd)):a.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Hy(e,t,a){if(e.hostDirectives!==null)for(let n of e.hostDirectives)if(typeof n=="function"){let r=n();for(let i of r)wf(Sd(i),t,a)}else wf(n,t,a)}function wf(e,t,a){let n=B0(e.directive);hZ(n.declaredInputs,e.inputs),Hy(n,t,a),a.set(n,e),t.push(n)}function Sd(e){return typeof e=="function"?{directive:Wt(e),inputs:ua,outputs:ua}:{directive:Wt(e.directive),inputs:xf(e.inputs),outputs:xf(e.outputs)}}function xf(e){if(e===void 0||e.length===0)return ua;let t={};for(let a=0;a<e.length;a+=2)t[e[a]]=e[a+1];return t}function hZ(e,t){for(let a in t)if(t.hasOwnProperty(a)){let n=t[a],r=e[a];e[n]=r}}function qy(e){return Cp(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function pZ(e,t){if(Array.isArray(e))for(let a=0;a<e.length;a++)t(e[a]);else{let a=e[Symbol.iterator](),n;for(;!(n=a.next()).done;)t(n.value)}}function Cp(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function ms(e,t,a){return e[t]=a}function $y(e,t){return e[t]}function bn(e,t,a){let n=e[t];return Object.is(n,a)?!1:(e[t]=a,!0)}function jo(e,t,a,n){let r=bn(e,t,a);return bn(e,t+1,n)||r}function mZ(e,t,a,n,r){let i=jo(e,t,a,n);return bn(e,t+2,r)||i}function fZ(e,t,a,n,r,i){let o=jo(e,t,a,n);return jo(e,t+2,r,i)||o}function gZ(e,t,a,n,r,i,o,l,u){let c=t.consts,d=Yi(t,e,4,o||null,l||null);Ep(t,a,d,Br(c,u),mp),d.mergedAttrs=Ri(d.mergedAttrs,d.attrs),Kh(t,d);let m=d.tView=up(2,d,n,r,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,d),m.queries=t.queries.embeddedTView(d)),d}function Uy(e,t,a,n,r,i,o,l,u,c){let d=a+kt,m=t.firstCreatePass?gZ(d,t,e,n,r,i,o,l,u):t.data[d];hr(m,!1);let v=vZ(t,e);yu()&&Iu(t,e,v,m),Zi(v,e);let g=_y(v,e,v,m);return e[d]=g,dp(e,g),gu(m)&&Cu(t,e,m),u!=null&&hp(e,m,c),m}function Ee(e,t,a,n,r,i,o,l){let u=ce(),c=ut(),d=Br(c.consts,i);return Uy(u,c,e,t,a,n,r,d,o,l),Ee}var vZ=bZ;function bZ(e,t,a,n){return _u(!0),t[vt].createComment("")}var yZ=new K(""),Gy=(()=>{const t=class t{};s(t,"ɵprov",z({token:t,providedIn:"root",factory:()=>new _Z}));let e=t;return e})(),_Z=class{constructor(){s(this,"queuedEffectCount",0);s(this,"queues",new Map)}schedule(e){this.enqueue(e)}remove(e){let t=e.zone,a=this.queues.get(t);a.has(e)&&(a.delete(e),this.queuedEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let a=this.queues.get(t);a.has(e)||(this.queuedEffectCount++,a.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,t]of this.queues)e===null?this.flushQueue(t):e.run(()=>this.flushQueue(t))}flushQueue(e){for(let t of e)e.delete(t),this.queuedEffectCount--,t.run()}};function Dp(e){return!!e&&typeof e.then=="function"}function Wy(e){return!!e&&typeof e.subscribe=="function"}var wZ=new K(""),Zy=(()=>{const t=class t{constructor(){s(this,"resolve");s(this,"reject");s(this,"initialized",!1);s(this,"done",!1);s(this,"donePromise",new Promise((n,r)=>{this.resolve=n,this.reject=r}));s(this,"appInits",S(wZ,{optional:!0})??[]);s(this,"injector",S(ht))}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=Lh(this.injector,i);if(Dp(o))n.push(o);else if(Wy(o)){let l=new Promise((u,c)=>{o.subscribe({complete:u,error:c})});n.push(l)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),n.length===0&&r(),this.initialized=!0}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),xZ=new K("");function EZ(){a$(()=>{throw new U(600,!1)})}function SZ(e){return e.isBoundToModule}var kZ=10,cr=(()=>{const t=class t{constructor(){s(this,"_runningTick",!1);s(this,"_destroyed",!1);s(this,"_destroyListeners",[]);s(this,"_views",[]);s(this,"internalErrorHandler",S(HU));s(this,"afterRenderManager",S(Hb));s(this,"zonelessEnabled",S(Db));s(this,"rootEffectScheduler",S(Gy));s(this,"dirtyFlags",0);s(this,"tracingSnapshot",null);s(this,"externalTestViews",new Set);s(this,"afterTick",new ge);s(this,"componentTypes",[]);s(this,"components",[]);s(this,"isStable",S(ls).hasPendingTasks.pipe(Pt(n=>!n)));s(this,"_injector",S(ca));s(this,"_rendererFactory",null);s(this,"tickImpl",()=>{var r;if(this._runningTick)throw new U(101,!1);let n=De(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,(r=this.tracingSnapshot)==null||r.dispose(),this.tracingSnapshot=null,De(n),this.afterTick.next()}});S(us,{optional:!0})}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,i=ht.NULL){let o=n instanceof Sy;if(!this._injector.get(Zy).done){let g="";throw new U(405,g)}let l;o?l=n:l=this._injector.get(ps).resolveComponentFactory(n),this.componentTypes.push(l.componentType);let u=SZ(l)?void 0:this._injector.get(Fo),c=r||l.selector,d=l.create(i,[],c,u),m=d.location.nativeElement,v=d.injector.get(yZ,null);return v==null||v.registerApplication(m),d.onDestroy(()=>{this.detachView(d.hostView),ll(this.components,d),v==null||v.unregisterApplication(m)}),this._loadComponent(d),d}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){this.tracingSnapshot!==null?this.tracingSnapshot.run(rp.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Yn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<kZ;)this.synchronizeOnce()}synchronizeOnce(){var n,r,i,o;if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let l=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:u,notifyErrorHandler:c}of this.allViews)CZ(u,c,l,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else(r=(n=this._rendererFactory)==null?void 0:n.begin)==null||r.call(n),(o=(i=this._rendererFactory)==null?void 0:i.end)==null||o.call(i);this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>os(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;ll(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(xZ,[]).forEach(r=>r(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ll(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",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function ll(e,t){let a=e.indexOf(t);a>-1&&e.splice(a,1)}function CZ(e,t,a,n){!a&&!os(e)||gy(e,t,a&&!n?0:1)}function $t(e,t,a,n){let r=ce(),i=Zr();if(bn(r,i,t)){ut();let o=bu();yG(o,r,e,t,a,n)}return $t}function DZ(e,t,a,n){return bn(e,Zr(),a)?t+Si(a)+n:In}function IZ(e,t,a,n,r,i){let o=oU(),l=jo(e,o,a,r);return Gh(2),l?t+Si(a)+n+Si(r)+i:In}function Ms(e,t){return e<<17|t<<2}function $r(e){return e>>17&32767}function TZ(e){return(e&2)==2}function RZ(e,t){return e&131071|t<<17}function kd(e){return e|2}function Mi(e){return(e&131068)>>2}function sc(e,t){return e&-131069|t<<2}function NZ(e){return(e&1)===1}function Cd(e){return e|1}function OZ(e,t,a,n,r,i){let o=i?t.classBindings:t.styleBindings,l=$r(o),u=Mi(o);e[n]=a;let c=!1,d;if(Array.isArray(a)){let m=a;d=m[1],(d===null||is(m,d)>0)&&(c=!0)}else d=a;if(r)if(u!==0){let m=$r(e[l+1]);e[n+1]=Ms(m,l),m!==0&&(e[m+1]=sc(e[m+1],n)),e[l+1]=RZ(e[l+1],n)}else e[n+1]=Ms(l,0),l!==0&&(e[l+1]=sc(e[l+1],n)),l=n;else e[n+1]=Ms(u,0),l===0?l=n:e[u+1]=sc(e[u+1],n),u=n;c&&(e[n+1]=kd(e[n+1])),Ef(e,d,n,!0),Ef(e,d,n,!1),MZ(t,d,e,n,i),o=Ms(l,u),i?t.classBindings=o:t.styleBindings=o}function MZ(e,t,a,n,r){let i=r?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&is(i,t)>=0&&(a[n+1]=Cd(a[n+1]))}function Ef(e,t,a,n){let r=e[a+1],i=t===null,o=n?$r(r):Mi(r),l=!1;for(;o!==0&&(l===!1||i);){let u=e[o],c=e[o+1];AZ(u,t)&&(l=!0,e[o+1]=n?Cd(c):kd(c)),o=n?$r(c):Mi(c)}l&&(e[a+1]=n?kd(r):Cd(r))}function AZ(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?is(e,t)>=0:!1}var Un={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function PZ(e){return e.substring(Un.key,Un.keyEnd)}function LZ(e){return FZ(e),Yy(e,Ky(e,0,Un.textEnd))}function Yy(e,t){let a=Un.textEnd;return a===t?-1:(t=Un.keyEnd=jZ(e,Un.key=t,a),Ky(e,t,a))}function FZ(e){Un.key=0,Un.keyEnd=0,Un.value=0,Un.valueEnd=0,Un.textEnd=e.length}function Ky(e,t,a){for(;t<a&&e.charCodeAt(t)<=32;)t++;return t}function jZ(e,t,a){for(;t<a&&e.charCodeAt(t)>32;)t++;return t}function je(e,t,a){let n=ce(),r=Zr();if(bn(n,r,t)){let i=ut(),o=bu();pp(i,o,n,e,t,n[vt],a,!1)}return je}function Dd(e,t,a,n,r){fp(t,e,a,r?"class":"style",n)}function Qy(e,t,a){return Xy(e,t,a,!1),Qy}function jt(e,t){return Xy(e,t,null,!0),jt}function Ru(e){zZ(GZ,VZ,e,!0)}function VZ(e,t){for(let a=LZ(t);a>=0;a=Yy(t,a))Nh(e,PZ(t),!0)}function Xy(e,t,a,n){let r=ce(),i=ut(),o=Gh(2);if(i.firstUpdatePass&&e_(i,e,o,n),t!==In&&bn(r,o,t)){let l=i.data[ga()];t_(i,l,r,r[vt],e,r[o+1]=ZZ(t,a),n,o)}}function zZ(e,t,a,n){let r=ut(),i=Gh(2);r.firstUpdatePass&&e_(r,null,i,n);let o=ce();if(a!==In&&bn(o,i,a)){let l=r.data[ga()];if(n_(l,n)&&!Jy(r,i)){let u=l.classesWithoutHost;u!==null&&(a=td(u,a||"")),Dd(r,l,o,a,n)}else WZ(r,l,o,o[vt],o[i+1],o[i+1]=UZ(e,t,a),n,i)}}function Jy(e,t){return t>=e.expandoStartIndex}function e_(e,t,a,n){let r=e.data;if(r[a+1]===null){let i=r[ga()],o=Jy(e,a);n_(i,n)&&t===null&&!o&&(t=!1),t=BZ(r,i,t,n),OZ(r,i,t,a,o,n)}}function BZ(e,t,a,n){let r=dU(e),i=n?t.residualClasses:t.residualStyles;if(r===null)(n?t.classBindings:t.styleBindings)===0&&(a=lc(null,e,t,a,n),a=Vo(a,t.attrs,n),i=null);else{let o=t.directiveStylingLast;if(o===-1||e[o]!==r)if(a=lc(r,e,t,a,n),i===null){let l=HZ(e,t,n);l!==void 0&&Array.isArray(l)&&(l=lc(null,e,t,l[1],n),l=Vo(l,t.attrs,n),qZ(e,t,n,l))}else i=$Z(e,t,n)}return i!==void 0&&(n?t.residualClasses=i:t.residualStyles=i),a}function HZ(e,t,a){let n=a?t.classBindings:t.styleBindings;if(Mi(n)!==0)return e[$r(n)]}function qZ(e,t,a,n){let r=a?t.classBindings:t.styleBindings;e[$r(r)]=n}function $Z(e,t,a){let n,r=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<r;i++){let o=e[i].hostAttrs;n=Vo(n,o,a)}return Vo(n,t.attrs,a)}function lc(e,t,a,n,r){let i=null,o=a.directiveEnd,l=a.directiveStylingLast;for(l===-1?l=a.directiveStart:l++;l<o&&(i=t[l],n=Vo(n,i.hostAttrs,r),i!==e);)l++;return e!==null&&(a.directiveStylingLast=l),n}function Vo(e,t,a){let n=a?1:2,r=-1;if(t!==null)for(let i=0;i<t.length;i++){let o=t[i];typeof o=="number"?r=o:r===n&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Nh(e,o,a?!0:t[++i]))}return e===void 0?null:e}function UZ(e,t,a){if(a==null||a==="")return mn;let n=[],r=Qa(a);if(Array.isArray(r))for(let i=0;i<r.length;i++)e(n,r[i],!0);else if(typeof r=="object")for(let i in r)r.hasOwnProperty(i)&&e(n,i,r[i]);else typeof r=="string"&&t(n,r);return n}function GZ(e,t,a){let n=String(t);n!==""&&!n.includes(" ")&&Nh(e,n,a)}function WZ(e,t,a,n,r,i,o,l){r===In&&(r=mn);let u=0,c=0,d=0<r.length?r[0]:null,m=0<i.length?i[0]:null;for(;d!==null||m!==null;){let v=u<r.length?r[u+1]:void 0,g=c<i.length?i[c+1]:void 0,w=null,x;d===m?(u+=2,c+=2,v!==g&&(w=m,x=g)):m===null||d!==null&&d<m?(u+=2,w=d):(c+=2,w=m,x=g),w!==null&&t_(e,t,a,n,w,x,o,l),d=u<r.length?r[u]:null,m=c<i.length?i[c]:null}}function t_(e,t,a,n,r,i,o,l){if(!(t.type&3))return;let u=e.data,c=u[l+1],d=NZ(c)?Sf(u,t,a,r,Mi(c),o):void 0;if(!Fl(d)){Fl(i)||TZ(c)&&(i=Sf(u,null,a,r,l,o));let m=eb(ga(),a);FG(n,o,m,r,i)}}function Sf(e,t,a,n,r,i){let o=t===null,l;for(;r>0;){let u=e[r],c=Array.isArray(u),d=c?u[1]:u,m=d===null,v=a[r+1];v===In&&(v=m?mn:void 0);let g=m?Xu(v,n):d===n?v:void 0;if(c&&!Fl(g)&&(g=Xu(u,n)),Fl(g)&&(l=g,o))return l;let w=e[r+1];r=o?$r(w):Mi(w)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(l=Xu(u,n))}return l}function Fl(e){return e!==void 0}function ZZ(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=An(Qa(e)))),e}function n_(e,t){return(e.flags&(t?8:16))!==0}var YZ=class{destroy(e){}updateValue(e,t){}swap(e,t){let a=Math.min(e,t),n=Math.max(e,t),r=this.detach(n);if(n-a>1){let i=this.detach(a);this.attach(a,r),this.attach(n,i)}else this.attach(a,r)}move(e,t){this.attach(t,this.detach(e))}};function uc(e,t,a,n,r){return e===a&&Object.is(t,n)?1:Object.is(r(e,t),r(a,n))?-1:0}function KZ(e,t,a){let n,r,i=0,o=e.length-1;if(Array.isArray(t)){let l=t.length-1;for(;i<=o&&i<=l;){let u=e.at(i),c=t[i],d=uc(i,u,i,c,a);if(d!==0){d<0&&e.updateValue(i,c),i++;continue}let m=e.at(o),v=t[l],g=uc(o,m,l,v,a);if(g!==0){g<0&&e.updateValue(o,v),o--,l--;continue}let w=a(i,u),x=a(o,m),k=a(i,c);if(Object.is(k,x)){let D=a(l,v);Object.is(D,w)?(e.swap(i,o),e.updateValue(o,v),l--,o--):e.move(o,i),e.updateValue(i,c),i++;continue}if(n??(n=new Df),r??(r=Cf(e,i,o,a)),Id(e,n,i,k))e.updateValue(i,c),i++,o++;else if(r.has(k))n.set(w,e.detach(i)),o--;else{let D=e.create(i,t[i]);e.attach(i,D),i++,o++}}for(;i<=l;)kf(e,n,a,i,t[i]),i++}else if(t!=null){let l=t[Symbol.iterator](),u=l.next();for(;!u.done&&i<=o;){let c=e.at(i),d=u.value,m=uc(i,c,i,d,a);if(m!==0)m<0&&e.updateValue(i,d),i++,u=l.next();else{n??(n=new Df),r??(r=Cf(e,i,o,a));let v=a(i,d);if(Id(e,n,i,v))e.updateValue(i,d),i++,o++,u=l.next();else if(!r.has(v))e.attach(i,e.create(i,d)),i++,o++,u=l.next();else{let g=a(i,c);n.set(g,e.detach(i)),o--}}}for(;!u.done;)kf(e,n,a,e.length,u.value),u=l.next()}for(;i<=o;)e.destroy(e.detach(o--));n==null||n.forEach(l=>{e.destroy(l)})}function Id(e,t,a,n){return t!==void 0&&t.has(n)?(e.attach(a,t.get(n)),t.delete(n),!0):!1}function kf(e,t,a,n,r){if(Id(e,t,n,a(n,r)))e.updateValue(n,r);else{let i=e.create(n,r);e.attach(n,i)}}function Cf(e,t,a,n){let r=new Set;for(let i=t;i<=a;i++)r.add(n(i,e.at(i)));return r}var Df=class{constructor(){s(this,"kvMap",new Map);s(this,"_vMap")}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let t=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let a=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let n=this._vMap;for(;n.has(a);)a=n.get(a);n.set(a,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,a]of this.kvMap)if(e(a,t),this._vMap!==void 0){let n=this._vMap;for(;n.has(a);)a=n.get(a),e(a,t)}}};function $e(e,t){Yr("NgControlFlow");let a=ce(),n=Zr(),r=a[n]!==In?a[n]:-1,i=r!==-1?jl(a,kt+r):void 0,o=0;if(bn(a,n,e)){let l=De(null);try{if(i!==void 0&&xy(i,o),e!==-1){let u=kt+e,c=jl(a,u),d=Td(a[be],u),m=Oi(c,d.tView.ssrId),v=ds(a,d,t,{dehydratedView:m});hs(c,v,o,Ni(d,m))}}finally{De(l)}}else if(i!==void 0){let l=wy(i,o);l!==void 0&&(l[qt]=t)}}var QZ=class{constructor(e,t,a){s(this,"lContainer");s(this,"$implicit");s(this,"$index");this.lContainer=e,this.$implicit=t,this.$index=a}get $count(){return this.lContainer.length-Jt}};function Ip(e){return e}function Tp(e,t){return t}var XZ=class{constructor(e,t,a){s(this,"hasEmptyBlock");s(this,"trackByFn");s(this,"liveCollection");this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=a}};function Ki(e,t,a,n,r,i,o,l,u,c,d,m,v){Yr("NgControlFlow");let g=ce(),w=ut(),x=u!==void 0,k=ce(),D=o,N=new XZ(x,D);k[kt+e]=N,Uy(g,w,e+1,t,a,n,r,Br(w.consts,i))}var JZ=class extends YZ{constructor(t,a,n){super();s(this,"lContainer");s(this,"hostLView");s(this,"templateTNode");s(this,"operationsCounter");s(this,"needsIndexUpdate",!1);this.lContainer=t,this.hostLView=a,this.templateTNode=n}get length(){return this.lContainer.length-Jt}at(t){return this.getLView(t)[qt].$implicit}attach(t,a){let n=a[Di];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),hs(this.lContainer,a,t,Ni(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),eY(this.lContainer,t)}create(t,a){var i;let n=Oi(this.lContainer,this.templateTNode.tView.ssrId),r=ds(this.hostLView,this.templateTNode,new QZ(this.lContainer,a,t),{dehydratedView:n});return(i=this.operationsCounter)==null||i.recordCreate(),r}destroy(t){var a;Du(t[be],t),(a=this.operationsCounter)==null||a.recordDestroy()}updateValue(t,a){this.getLView(t)[qt].$implicit=a}reset(){var t;this.needsIndexUpdate=!1,(t=this.operationsCounter)==null||t.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[qt].$index=t}getLView(t){return tY(this.lContainer,t)}};function Qi(e){let t=De(null),a=ga();try{let n=ce(),r=n[be],i=n[a],o=a+1,l=jl(n,o);if(i.liveCollection===void 0){let c=Td(r,o);i.liveCollection=new JZ(l,n,c)}else i.liveCollection.reset();let u=i.liveCollection;if(KZ(u,e,i.trackByFn),u.updateIndexes(),i.hasEmptyBlock){let c=Zr(),d=u.length===0;if(bn(n,c,d)){let m=a+2,v=jl(n,m);if(d){let g=Td(r,m),w=Oi(v,g.tView.ssrId),x=ds(n,g,void 0,{dehydratedView:w});hs(v,x,0,Ni(g,w))}else xy(v,0)}}}finally{De(t)}}function jl(e,t){return e[t]}function eY(e,t){return Po(e,t)}function tY(e,t){return wy(e,t)}function Td(e,t){return jh(e,t)}function j(e,t,a,n){let r=ce(),i=ut(),o=kt+e,l=r[vt],u=i.firstCreatePass?Cy(o,i,r,t,mp,tU(),a,n):i.data[o],c=nY(i,r,u,l,t);r[o]=c;let d=gu(u);return hr(u,!0),ny(l,c,u),!bp(u)&&yu()&&Iu(i,r,c,u),(X6()===0||d)&&Zi(c,r),J6(),d&&(Cu(i,r,u),op(i,u,r)),n!==null&&hp(r,u),j}function V(){let e=an();$h()?Uh():(e=e.parent,hr(e,!1));let t=e;nU(t)&&aU(),eU();let a=ut();return a.firstCreatePass&&Dy(a,t),t.classesWithoutHost!=null&&vU(t)&&Dd(a,t,ce(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&bU(t)&&Dd(a,t,ce(),t.stylesWithoutHost,!1),V}function lt(e,t,a,n){return j(e,t,a,n),V(),lt}var nY=(e,t,a,n,r,i)=>(_u(!0),ey(n,r,mU()));function aY(e,t,a,n,r){let i=t.consts,o=Br(i,n),l=Yi(t,e,8,"ng-container",o);o!==null&&xd(l,o,!0);let u=Br(i,r);return Ep(t,a,l,u,mp),l.mergedAttrs=Ri(l.mergedAttrs,l.attrs),t.queries!==null&&t.queries.elementStart(t,l),l}function Ya(e,t,a){let n=ce(),r=ut(),i=e+kt,o=r.firstCreatePass?aY(i,r,n,t,a):r.data[i];hr(o,!0);let l=rY(r,n);return n[i]=l,yu()&&Iu(r,n,l,o),Zi(l,n),gu(o)&&(Cu(r,n,o),op(r,o,n)),a!=null&&hp(n,o),Ya}function Ka(){let e=an(),t=ut();return $h()?Uh():(e=e.parent,hr(e,!1)),t.firstCreatePass&&(Kh(t,e),Fh(e)&&t.queries.elementEnd(e)),Ka}function Cn(e,t,a){return Ya(e,t,a),Ka(),Cn}var rY=(e,t,a,n)=>(_u(!0),oG(t[vt],""));function ba(){return ce()}function Rp(e,t,a){let n=ce(),r=Zr();if(bn(n,r,t)){let i=ut(),o=bu();pp(i,o,n,e,t,n[vt],a,!0)}return Rp}var _r=void 0;function iY(e){let t=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&a===0?1:5}var oY=["en",[["a","p"],["AM","PM"],_r],[["AM","PM"],_r,_r],[["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"]],_r,[["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"]],_r,[["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}",_r,"{1} 'at' {0}",_r],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",iY],xo={};function sY(e,t,a){typeof t!="string"&&(a=t,t=e[Rt.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),xo[t]=e,a&&(xo[t][Rt.ExtraData]=a)}function Qn(e){let t=lY(e),a=If(t);if(a)return a;let n=t.split("-")[0];if(a=If(n),a)return a;if(n==="en")return oY;throw new U(701,!1)}function If(e){return e in xo||(xo[e]=ci.ng&&ci.ng.common&&ci.ng.common.locales&&ci.ng.common.locales[e]),xo[e]}var Rt=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}(Rt||{});function lY(e){return e.toLowerCase().replace(/_/g,"-")}var Rd="en-US";function uY(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function Tf(e,t,a){return function n(r){if(r===Function)return a;let i=qi(e)?pa(e.index,t):t;wp(i,5);let o=t[qt],l=Rf(t,o,a,r),u=n.__ngNextListenerFn__;for(;u;)l=Rf(t,o,u,r)&&l,u=u.__ngNextListenerFn__;return l}}function Rf(e,t,a,n){let r=De(null);try{return zr(6,t,a),a(n)!==!1}catch(i){return cY(e,i),!1}finally{De(r)}}function cY(e,t){let a=e[Ii],n=a?a.get(Zn,null):null;n&&n.handleError(t)}function Nf(e,t,a,n,r,i){let o=t[a],l=t[be],u=l.data[a].outputs[n],c=o[u],d=l.firstCreatePass?qh(l):null,m=Hh(t),v=c.subscribe(i),g=m.length;m.push(i,v),d&&d.push(r,e.index,g,-(g+1))}function rn(e,t,a,n){let r=ce(),i=ut(),o=an();return a_(i,r,r[vt],o,e,t,n),rn}function dY(e,t,a,n){let r=e.cleanup;if(r!=null)for(let i=0;i<r.length-1;i+=2){let o=r[i];if(o===a&&r[i+1]===n){let l=t[bi],u=r[i+2];return l.length>u?l[u]:null}typeof o=="string"&&(i+=2)}return null}function a_(e,t,a,n,r,i,o){var m,v;let l=gu(n),u=e.firstCreatePass?qh(e):null,c=Hh(t),d=!0;if(n.type&3||o){let g=fa(n,t),w=o?o(g):g,x=c.length,k=o?N=>o(ha(N[n.index])):n.index,D=null;if(!o&&l&&(D=dY(e,t,r,n.index)),D!==null){let N=D.__ngLastListenerFn__||D;N.__ngNextListenerFn__=i,D.__ngLastListenerFn__=i,d=!1}else{i=Tf(n,t,i);let N=a.listen(w,r,i);c.push(i,N),u&&u.push(r,k,x,x+1)}}else i=Tf(n,t,i);if(d){let g=(m=n.outputs)==null?void 0:m[r],w=(v=n.hostDirectiveOutputs)==null?void 0:v[r];if(w&&w.length)for(let x=0;x<w.length;x+=2){let k=w[x],D=w[x+1];Nf(n,t,k,D,r,i)}if(g&&g.length)for(let x of g)Nf(n,t,x,r,r,i)}}function pe(e=1){return pU(e)}function hY(e,t){let a=null,n=Q8(e);for(let r=0;r<t.length;r++){let i=t[r];if(i==="*"){a=r;continue}if(n===null?Jb(e,i,!0):eG(n,i))return r}return a}function jn(e){let t=ce()[Ln][_n];if(!t.projection){let a=e?e.length:1,n=t.projection=D6(a,null),r=n.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let o=e?hY(i,e):0;o!==null&&(r[o]?r[o].projectionNext=i:n[o]=i,r[o]=i)}i=i.next}}}function pt(e,t=0,a,n,r,i){let o=ce(),l=ut(),u=null,c=Yi(l,kt+e,16,null,null);c.projection===null&&(c.projection=t),Uh();let d=!o[Di]||ab();o[Ln][_n].projection[c.projection]===null&&u!==null?pY(o,l,u):d&&!bp(c)&&PG(l,o,c)}function pY(e,t,a){let n=kt+a,r=t.data[n],i=e[n],o=Oi(i,r.tView.ssrId),l=ds(e,r,void 0,{dehydratedView:o});hs(i,l,0,Ni(r,o))}function Ma(e,t,a,n){GW(e,t,a,n)}function Ai(e,t,a){UW(e,t,a)}function ln(e){let t=ce(),a=ut(),n=ob();Wh(n+1);let r=kp(a,n);if(e.dirty&&W6(t)===((r.metadata.flags&2)===2)){if(r.matches===null)e.reset([]);else{let i=YW(t,n);e.reset(i,UU),e.notifyOnChanges()}return!0}return!1}function un(){return $W(ce(),ob())}function ee(e,t=""){let a=ce(),n=ut(),r=e+kt,i=n.firstCreatePass?Yi(n,r,1,t,null):n.data[r],o=mY(n,a,i,t);a[r]=o,yu()&&Iu(n,a,o,i),hr(i,!1)}var mY=(e,t,a,n,r)=>(_u(!0),rG(t[vt],n));function Pe(e){return Ue("",e,""),Pe}function Ue(e,t,a){let n=ce(),r=DZ(n,e,t,a);return r!==In&&r_(n,ga(),r),Ue}function Np(e,t,a,n,r){let i=ce(),o=IZ(i,e,t,a,n,r);return o!==In&&r_(i,ga(),o),Np}function r_(e,t,a){let n=eb(t,e);iG(e[vt],n,a)}function i_(e,t,a){Mb(t)&&(t=t());let n=ce(),r=Zr();if(bn(n,r,t)){let i=ut(),o=bu();pp(i,o,n,e,t,n[vt],a,!1)}return i_}function fY(e,t){let a=Mb(e);return a&&e.set(t),a}function o_(e,t){let a=ce(),n=ut(),r=an();return a_(n,a,a[vt],r,e,t),o_}var s_={};function l_(e){let t=ut(),a=ce(),n=e+kt,r=Yi(t,n,128,null,null);return hr(r,!1),Vh(t,a,n,s_),l_}function Of(e){Yr("NgLet");let t=ut(),a=ce(),n=ga();return Vh(t,a,n,e),e}function Mf(e){let t=iU(),a=vu(t,kt+e);if(a===s_)throw new U(314,!1);return a}function gY(e,t,a){let n=ut();if(n.firstCreatePass){let r=da(e);Nd(a,n.data,n.blueprint,r,!0),Nd(t,n.data,n.blueprint,r,!1)}}function Nd(e,t,a,n,r){if(e=Wt(e),Array.isArray(e))for(let i=0;i<e.length;i++)Nd(e[i],t,a,n,r);else{let i=ut(),o=ce(),l=an(),u=Ci(e)?e:Wt(e.provide),c=U0(e),d=l.providerIndexes&1048575,m=l.directiveStart,v=l.providerIndexes>>20;if(Ci(e)||!e.multi){let g=new ss(c,r,en),w=dc(u,t,r?d:d+v,m);w===-1?(hd(Ol(l,o),i,u),cc(i,e,t.length),t.push(u),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),a.push(g),o.push(g)):(a[w]=g,o[w]=g)}else{let g=dc(u,t,d+v,m),w=dc(u,t,d,d+v),x=g>=0&&a[g],k=w>=0&&a[w];if(r&&!k||!r&&!x){hd(Ol(l,o),i,u);let D=yY(r?bY:vY,a.length,r,n,c);!r&&k&&(a[w].providerFactory=D),cc(i,e,t.length,0),t.push(u),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),a.push(D),o.push(D)}else{let D=u_(a[r?w:g],c,!r&&n);cc(i,e,g>-1?g:w,D)}!r&&n&&k&&a[w].componentProviders++}}}function cc(e,t,a,n){let r=Ci(t),i=P6(t);if(r||i){let o=(i?Wt(t.useClass):t).prototype.ngOnDestroy;if(o){let l=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){let u=l.indexOf(a);u===-1?l.push(a,[n,o]):l[u+1].push(n,o)}else l.push(a,o)}}}function u_(e,t,a){return a&&e.componentProviders++,e.multi.push(t)-1}function dc(e,t,a,n){for(let r=a;r<n;r++)if(t[r]===e)return r;return-1}function vY(e,t,a,n,r){return Od(this.multi,[])}function bY(e,t,a,n,r){let i=this.multi,o;if(this.providerFactory){let l=this.providerFactory.componentProviders,u=Mo(n,n[be],this.providerFactory.index,r);o=u.slice(0,l),Od(i,o);for(let c=l;c<u.length;c++)o.push(u[c])}else o=[],Od(i,o);return o}function Od(e,t){for(let a=0;a<e.length;a++){let n=e[a];t.push(n())}return t}function yY(e,t,a,n,r){let i=new ss(e,a,en);return i.multi=[],i.index=t,i.componentProviders=0,u_(i,r,n&&!a),i}function Tn(e,t=[]){return a=>{a.providersResolver=(n,r)=>gY(n,r?r(e):e,t)}}function zo(e,t,a){let n=Wr()+e,r=ce();return r[n]===In?ms(r,n,t()):$y(r,n)}function c_(e,t,a,n){return d_(ce(),Wr(),e,t,a,n)}function _Y(e,t,a,n,r){return h_(ce(),Wr(),e,t,a,n,r)}function wY(e,t,a,n,r,i,o,l){let u=Wr()+e,c=ce(),d=fZ(c,u,a,n,r,i);return bn(c,u+4,o)||d?ms(c,u+5,t(a,n,r,i,o)):$y(c,u+5)}function Op(e,t){let a=e[t];return a===In?void 0:a}function d_(e,t,a,n,r,i){let o=t+a;return bn(e,o,r)?ms(e,o+1,i?n.call(i,r):n(r)):Op(e,o+1)}function h_(e,t,a,n,r,i,o){let l=t+a;return jo(e,l,r,i)?ms(e,l+2,o?n.call(o,r,i):n(r,i)):Op(e,l+2)}function xY(e,t,a,n,r,i,o,l){let u=t+a;return mZ(e,u,r,i,o)?ms(e,u+3,l?n.call(l,r,i,o):n(r,i,o)):Op(e,u+3)}function te(e,t){let a=ut(),n,r=e+kt;a.firstCreatePass?(n=EY(t,a.pipeRegistry),a.data[r]=n,n.onDestroy&&(a.destroyHooks??(a.destroyHooks=[])).push(r,n.onDestroy)):n=a.data[r];let i=n.factory||(n.factory=Fr(n.type)),o=hn(en);try{let l=Nl(!1),u=i();return Nl(l),Vh(a,ce(),r,u),u}finally{hn(o)}}function EY(e,t){if(t)for(let a=t.length-1;a>=0;a--){let n=t[a];if(e===n.name)return n}}function ae(e,t,a){let n=e+kt,r=ce(),i=vu(r,n);return Mp(r,n)?d_(r,Wr(),t,i.transform,a,i):i.transform(a)}function fs(e,t,a,n){let r=e+kt,i=ce(),o=vu(i,r);return Mp(i,r)?h_(i,Wr(),t,o.transform,a,n,o):o.transform(a,n)}function p_(e,t,a,n,r){let i=e+kt,o=ce(),l=vu(o,i);return Mp(o,i)?xY(o,Wr(),t,l.transform,a,n,r,l):l.transform(a,n,r)}function Mp(e,t){return e[be].data[t].pure}var SY=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(".")}},Af=new SY("19.2.15"),kY=(()=>{const t=class t{constructor(){s(this,"zone",S(ze));s(this,"changeDetectionScheduler",S(Gi));s(this,"applicationRef",S(cr));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",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function CY({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:a}){return e??(e=()=>new ze(Yt(ue({},DY()),{scheduleInRootZone:a}))),[{provide:ze,useFactory:e},{provide:kl,multi:!0,useFactory:()=>{let n=S(kY,{optional:!0});return()=>n.initialize()}},{provide:kl,multi:!0,useFactory:()=>{let n=S(IY);return()=>{n.initialize()}}},t===!0?{provide:Ib,useValue:!0}:[],{provide:Tb,useValue:a??kb}]}function DY(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var IY=(()=>{const t=class t{constructor(){s(this,"subscription",new Zt);s(this,"initialized",!1);s(this,"zone",S(ze));s(this,"pendingTasks",S(ls))}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(()=>{ze.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ze.assertInAngularZone(),n??(n=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),TY=(()=>{var t;const a=class a{constructor(){s(this,"appRef",S(cr));s(this,"taskService",S(ls));s(this,"ngZone",S(ze));s(this,"zonelessEnabled",S(Db));s(this,"tracing",S(us,{optional:!0}));s(this,"disableScheduling",S(Ib,{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(Ml):null);s(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&(S(Tb,{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 VU||!this.zoneIsDefined))}notify(r){var l;if(!this.zonelessEnabled&&r===5)return;let i=!1;switch(r){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,i=!0;break}case 12:{this.appRef.dirtyFlags|=16,i=!0;break}case 13:{this.appRef.dirtyFlags|=2,i=!0;break}case 11:{i=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=((l=this.tracing)==null?void 0:l.snapshot(this.appRef.tracingSnapshot))??null,!this.shouldScheduleTick(i))return;let o=this.useMicrotaskScheduler?tf:Rb;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(r){return!(this.disableScheduling&&!r||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ml+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let r=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(r),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,tf(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(r)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var r;if(this.runningTick=!1,(r=this.cancelScheduledCallback)==null||r.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let i=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(i)}}};s(a,"ɵfac",function(r){return new(r||a)}),s(a,"ɵprov",z({token:a,factory:a.ɵfac,providedIn:"root"}));let e=a;return e})();function RY(){return typeof $localize<"u"&&$localize.locale||Rd}var Nu=new K("",{providedIn:"root",factory:()=>S(Nu,Te.Optional|Te.SkipSelf)||RY()}),Md=new K(""),NY=new K("");function oo(e){return!e.moduleRef}function OY(e){let t=oo(e)?e.r3Injector:e.moduleRef.injector,a=t.get(ze);return a.run(()=>{oo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let n=t.get(Zn,null),r;if(a.runOutsideAngular(()=>{r=a.onError.subscribe({next:i=>{n.handleError(i)}})}),oo(e)){let i=()=>t.destroy(),o=e.platformInjector.get(Md);o.add(i),t.onDestroy(()=>{r.unsubscribe(),o.delete(i)})}else{let i=()=>e.moduleRef.destroy(),o=e.platformInjector.get(Md);o.add(i),e.moduleRef.onDestroy(()=>{ll(e.allPlatformModules,e.moduleRef),r.unsubscribe(),o.delete(i)})}return AY(n,a,()=>{let i=t.get(Zy);return i.runInitializers(),i.donePromise.then(()=>{let o=t.get(Nu,Rd);if(uY(o||Rd),!t.get(NY,!0))return oo(e)?t.get(cr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(oo(e)){let l=t.get(cr);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return MY(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function MY(e,t){let a=e.injector.get(cr);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(n=>a.bootstrap(n));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(a);else throw new U(-403,!1);t.push(e)}function AY(e,t,a){try{let n=a();return Dp(n)?n.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}var ul=null;function PY(e=[],t){return ht.create({name:t,providers:[{provide:Ah,useValue:"platform"},{provide:Md,useValue:new Set([()=>ul=null])},...e]})}function LY(e=[]){if(ul)return ul;let t=PY(e);return ul=t,EZ(),FY(t),t}function FY(e){let t=e.get(zb,null);Lh(e,()=>{t==null||t.forEach(a=>a())})}function jY(){return!1}var ya=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",VY),e})();function VY(e){return zY(an(),ce(),(e&16)===16)}function zY(e,t,a){if(qi(e)&&!a){let n=pa(e.index,t);return new Lo(n,n)}else if(e.type&175){let n=t[Ln];return new Lo(n,t)}return null}var BY=class{constructor(){}supports(e){return qy(e)}create(e){return new qY(e)}},HY=(e,t)=>t,qY=class{constructor(e){s(this,"length",0);s(this,"collection");s(this,"_linkedRecords",null);s(this,"_unlinkedRecords",null);s(this,"_previousItHead",null);s(this,"_itHead",null);s(this,"_itTail",null);s(this,"_additionsHead",null);s(this,"_additionsTail",null);s(this,"_movesHead",null);s(this,"_movesTail",null);s(this,"_removalsHead",null);s(this,"_removalsTail",null);s(this,"_identityChangesHead",null);s(this,"_identityChangesTail",null);s(this,"_trackByFn");this._trackByFn=e||HY}forEachItem(e){let t;for(t=this._itHead;t!==null;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,a=this._removalsHead,n=0,r=null;for(;t||a;){let i=!a||t&&t.currentIndex<Lf(a,n,r)?t:a,o=Lf(i,n,r),l=i.currentIndex;if(i===a)n--,a=a._nextRemoved;else if(t=t._next,i.previousIndex==null)n++;else{r||(r=[]);let u=o-n,c=l-n;if(u!=c){for(let m=0;m<u;m++){let v=m<r.length?r[m]:r[m]=0,g=v+m;c<=g&&g<u&&(r[m]=v+1)}let d=i.previousIndex;r[d]=c-u}}o!==l&&e(i,o,l)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;t!==null;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;t!==null;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;t!==null;t=t._nextIdentityChange)e(t)}diff(e){if(e==null&&(e=[]),!qy(e))throw new U(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._itHead,a=!1,n,r,i;if(Array.isArray(e)){this.length=e.length;for(let o=0;o<this.length;o++)r=e[o],i=this._trackByFn(o,r),t===null||!Object.is(t.trackById,i)?(t=this._mismatch(t,r,i,o),a=!0):(a&&(t=this._verifyReinsertion(t,r,i,o)),Object.is(t.item,r)||this._addIdentityChange(t,r)),t=t._next}else n=0,pZ(e,o=>{i=this._trackByFn(n,o),t===null||!Object.is(t.trackById,i)?(t=this._mismatch(t,o,i,n),a=!0):(a&&(t=this._verifyReinsertion(t,o,i,n)),Object.is(t.item,o)||this._addIdentityChange(t,o)),t=t._next,n++}),this.length=n;return this._truncate(t),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,a,n){let r;return e===null?r=this._itTail:(r=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(a,null),e!==null?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,r,n)):(e=this._linkedRecords===null?null:this._linkedRecords.get(a,n),e!==null?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,r,n)):e=this._addAfter(new $Y(t,a),r,n)),e}_verifyReinsertion(e,t,a,n){let r=this._unlinkedRecords===null?null:this._unlinkedRecords.get(a,null);return r!==null?e=this._reinsertAfter(r,e._prev,n):e.currentIndex!=n&&(e.currentIndex=n,this._addToMoves(e,n)),e}_truncate(e){for(;e!==null;){let t=e._next;this._addToRemovals(this._unlink(e)),e=t}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,a){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let n=e._prevRemoved,r=e._nextRemoved;return n===null?this._removalsHead=r:n._nextRemoved=r,r===null?this._removalsTail=n:r._prevRemoved=n,this._insertAfter(e,t,a),this._addToMoves(e,a),e}_moveAfter(e,t,a){return this._unlink(e),this._insertAfter(e,t,a),this._addToMoves(e,a),e}_addAfter(e,t,a){return this._insertAfter(e,t,a),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,t,a){let n=t===null?this._itHead:t._next;return e._next=n,e._prev=t,n===null?this._itTail=e:n._prev=e,t===null?this._itHead=e:t._next=e,this._linkedRecords===null&&(this._linkedRecords=new Pf),this._linkedRecords.put(e),e.currentIndex=a,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let t=e._prev,a=e._next;return t===null?this._itHead=a:t._next=a,a===null?this._itTail=t:a._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Pf),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},$Y=class{constructor(e,t){s(this,"item");s(this,"trackById");s(this,"currentIndex",null);s(this,"previousIndex",null);s(this,"_nextPrevious",null);s(this,"_prev",null);s(this,"_next",null);s(this,"_prevDup",null);s(this,"_nextDup",null);s(this,"_prevRemoved",null);s(this,"_nextRemoved",null);s(this,"_nextAdded",null);s(this,"_nextMoved",null);s(this,"_nextIdentityChange",null);this.item=e,this.trackById=t}},UY=class{constructor(){s(this,"_head",null);s(this,"_tail",null)}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let a;for(a=this._head;a!==null;a=a._nextDup)if((t===null||t<=a.currentIndex)&&Object.is(a.trackById,e))return a;return null}remove(e){let t=e._prevDup,a=e._nextDup;return t===null?this._head=a:t._nextDup=a,a===null?this._tail=t:a._prevDup=t,this._head===null}},Pf=class{constructor(){s(this,"map",new Map)}put(e){let t=e.trackById,a=this.map.get(t);a||(a=new UY,this.map.set(t,a)),a.add(e)}get(e,t){let a=e,n=this.map.get(a);return n?n.get(e,t):null}remove(e){let t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Lf(e,t,a){let n=e.previousIndex;if(n===null)return n;let r=0;return a&&n<a.length&&(r=a[n]),n+t+r}var GY=class{constructor(){}supports(e){return e instanceof Map||Cp(e)}create(){return new WY}},WY=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||Cp(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,(a,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,a),this._appendAfter=t,t=t._next;else{let r=this._getOrCreateRecordForKey(n,a);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let a=t;a!==null;a=a._nextRemoved)a===this._mapHead&&(this._mapHead=null),this._records.delete(a.key),a._nextRemoved=a._next,a.previousValue=a.currentValue,a.currentValue=null,a._prev=null,a._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){let a=e._prev;return t._next=e,t._prev=a,e._prev=t,a&&(a._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){let n=this._records.get(e);this._maybeAddToChanges(n,t);let r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}let a=new ZY(e);return this._records.set(e,a),a.currentValue=t,this._addToAdditions(a),a}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(a=>t(e[a],a))}},ZY=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 Ff(){return new Xi([new BY])}var Xi=(()=>{const t=class t{constructor(n){s(this,"factories");this.factories=n}static create(n,r){if(r!=null){let i=r.factories.slice();n=n.concat(i)}return new t(n)}static extend(n){return{provide:t,useFactory:r=>t.create(n,r||Ff()),deps:[[t,new Th,new Ih]]}}find(n){let r=this.factories.find(i=>i.supports(n));if(r!=null)return r;throw new U(901,!1)}};s(t,"ɵprov",z({token:t,providedIn:"root",factory:Ff}));let e=t;return e})();function jf(){return new m_([new GY])}var m_=(()=>{const t=class t{constructor(n){s(this,"factories");this.factories=n}static create(n,r){if(r){let i=r.factories.slice();n=n.concat(i)}return new t(n)}static extend(n){return{provide:t,useFactory:r=>t.create(n,r||jf()),deps:[[t,new Th,new Ih]]}}find(n){let r=this.factories.find(i=>i.supports(n));if(r)return r;throw new U(901,!1)}};s(t,"ɵprov",z({token:t,providedIn:"root",factory:jf}));let e=t;return e})();function YY(e){let{rootComponent:t,appProviders:a,platformProviders:n,platformRef:r}=e;try{let i=(r==null?void 0:r.injector)??LY(n),o=[CY({}),{provide:Gi,useExisting:TY},...a||[]],l=new Vy({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return OY({r3Injector:l.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{}}function Lt(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Ap(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Ad(e){return u$(e)}function Vl(e,t){return e$(e)}var Sv,KY=(Sv=fn,class{constructor(e){s(this,Sv);this[fn]=e}destroy(){this[fn].destroy()}});function QY(e,t){!(t!=null&&t.injector)&&mu();let a=(t==null?void 0:t.injector)??S(ht),n=(t==null?void 0:t.manualCleanup)!==!0?a.get(pr):null,r,i=a.get(ip,null,{optional:!0}),o=a.get(Gi);return i!==null&&!(t!=null&&t.forceRoot)?(r=eK(i.view,o,e),n instanceof Cb&&n._lView===i.view&&(n=null)):r=tK(e,a.get(Gy),o),r.injector=a,n!==null&&(r.onDestroyFn=n.onDestroy(()=>r.destroy())),new KY(r)}var f_=Yt(ue({},zi),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:Ao,run(){if(this.dirty=!1,this.hasRun&&!gh(this))return;this.hasRun=!0;let e=n=>(this.cleanupFns??(this.cleanupFns=[])).push(n),t=Do(this),a=Il(!1);try{this.maybeCleanup(),this.fn(e)}finally{Il(a),ou(this,t)}},maybeCleanup(){var e;if((e=this.cleanupFns)!=null&&e.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),XY=Yt(ue({},f_),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){su(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),JY=Yt(ue({},f_),{consumerMarkedDirty(){this.view[me]|=8192,Ui(this.view),this.notifier.notify(13)},destroy(){var e;su(this),this.onDestroyFn(),this.maybeCleanup(),(e=this.view[Aa])==null||e.delete(this)}});function eK(e,t,a){let n=Object.create(JY);return n.view=e,n.zone=typeof Zone<"u"?Zone.current:null,n.notifier=t,n.fn=a,e[Aa]??(e[Aa]=new Set),e[Aa].add(n),n.consumerMarkedDirty(n),n}function tK(e,t,a){let n=Object.create(XY);return n.fn=e,n.scheduler=t,n.notifier=a,n.zone=typeof Zone<"u"?Zone.current:null,n.scheduler.schedule(n),n.notifier.notify(12),n}var nK=e=>e;function aK(e,t){if(typeof e=="function"){let a=Lm(e,nK,t==null?void 0:t.equal);return Vf(a)}else{let a=Lm(e.source,e.computation,e.equal);return Vf(a)}}function Vf(e){let t=e[fn],a=e;return a.set=n=>o$(t,n),a.update=n=>s$(t,n),a.asReadonly=np.bind(e),a}function g_(e,t){let a=ki(e),n=t.elementInjector||pu();return new Sp(a).create(n,t.projectableNodes,t.hostElement,t.environmentInjector)}var rK={schedule(e,t){let a=setTimeout(e,t);return()=>clearTimeout(a)}};function iK(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function oK(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var hc;function sK(e,t){if(!hc){let a=Element.prototype;hc=a.matches||a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?hc.call(e,t):!1}function lK(e){let t={};return e.forEach(({propName:a,templateName:n,transform:r})=>{t[iK(n)]=[a,r]}),t}function uK(e,t){return t.get(ps).resolveComponentFactory(e).inputs}function cK(e,t){let a=e.childNodes,n=t.map(()=>[]),r=-1;t.some((i,o)=>i==="*"?(r=o,!0):!1);for(let i=0,o=a.length;i<o;++i){let l=a[i],u=dK(l,t,r);u!==-1&&n[u].push(l)}return n}function dK(e,t,a){let n=a;return oK(e)&&t.some((r,i)=>r!=="*"&&sK(e,r)?(n=i,!0):!1),n}var hK=10,pK=class{constructor(e,t){s(this,"componentFactory");s(this,"inputMap",new Map);this.componentFactory=t.get(ps).resolveComponentFactory(e);for(let a of this.componentFactory.inputs)this.inputMap.set(a.propName,a.templateName)}create(e){return new mK(this.componentFactory,e,this.inputMap)}},mK=class{constructor(e,t,a){s(this,"componentFactory");s(this,"injector");s(this,"inputMap");s(this,"eventEmitters",new wh(1));s(this,"events",this.eventEmitters.pipe(wl(e=>Lr(...e))));s(this,"componentRef",null);s(this,"scheduledDestroyFn",null);s(this,"initialInputValues",new Map);s(this,"ngZone");s(this,"elementZone");s(this,"appRef");s(this,"cdScheduler");this.componentFactory=e,this.injector=t,this.inputMap=a,this.ngZone=this.injector.get(ze),this.appRef=this.injector.get(cr),this.cdScheduler=t.get(Gi),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=rK.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},hK))})}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),XG(this.componentRef.hostView)&&(JG(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=ht.create({providers:[],parent:this.injector}),a=cK(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,a,e),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[e,t]of this.initialInputValues)this.setInputValue(e,t);this.initialInputValues.clear()}initializeOutputs(e){let t=this.componentFactory.outputs.map(({propName:a,templateName:n})=>{let r=e.instance[a];return new mt(i=>{let o=r.subscribe(l=>i.next({name:n,value:l}));return()=>o.unsubscribe()})});this.eventEmitters.next(t)}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},fK=class extends HTMLElement{constructor(){super(...arguments);s(this,"ngElementEventsSubscription",null)}};function gK(e,t){let a=uK(e,t.injector),n=t.strategyFactory||new pK(e,t.injector),r=lK(a);class i extends fK{constructor(u){super();s(this,"injector");s(this,"_ngElementStrategy");this.injector=u}get ngElementStrategy(){if(!this._ngElementStrategy){let u=this._ngElementStrategy=n.create(this.injector||t.injector);a.forEach(({propName:c,transform:d})=>{if(!this.hasOwnProperty(c))return;let m=this[c];delete this[c],u.setInputValue(c,m,d)})}return this._ngElementStrategy}attributeChangedCallback(u,c,d,m){let[v,g]=r[u];this.ngElementStrategy.setInputValue(v,d,g)}connectedCallback(){let u=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),u=!0),this.ngElementStrategy.connect(this),u||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(u=>{let c=new CustomEvent(u.name,{detail:u.value});this.dispatchEvent(c)})}}return s(i,"observedAttributes",Object.keys(r)),a.forEach(({propName:o,transform:l})=>{Object.defineProperty(i.prototype,o,{get(){return this.ngElementStrategy.getInputValue(o)},set(u){this.ngElementStrategy.setInputValue(o,u,l)},configurable:!0,enumerable:!0})}),i}var Fe=new K(""),v_=null;function Eo(){return v_}function vK(e){v_??(v_=e)}var bK=class{},b_=(()=>{const t=class t{historyGo(n){throw new Error("")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:()=>S(yK),providedIn:"platform"}));let e=t;return e})(),yK=(()=>{const t=class t extends b_{constructor(){super();s(this,"_location");s(this,"_history");s(this,"_doc",S(Fe));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Eo().getBaseHref(this._doc)}onPopState(r){let i=Eo().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",r,!1),()=>i.removeEventListener("popstate",r)}onHashChange(r){let i=Eo().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",r,!1),()=>i.removeEventListener("hashchange",r)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(r){this._location.pathname=r}pushState(r,i,o){this._history.pushState(r,i,o)}replaceState(r,i,o){this._history.replaceState(r,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};s(t,"ɵfac",function(r){return new(r||t)}),s(t,"ɵprov",z({token:t,factory:()=>new t,providedIn:"platform"}));let e=t;return e})();function y_(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function zf(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Nr(e){return e&&e[0]!=="?"?`?${e}`:e}var Pp=(()=>{const t=class t{historyGo(n){throw new Error("")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:()=>S(wK),providedIn:"root"}));let e=t;return e})(),_K=new K(""),wK=(()=>{const t=class t extends Pp{constructor(r,i){var o;super();s(this,"_platformLocation");s(this,"_baseHref");s(this,"_removeListenerFns",[]);this._platformLocation=r,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??((o=S(Fe).location)==null?void 0:o.origin)??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return y_(this._baseHref,r)}path(r=!1){let i=this._platformLocation.pathname+Nr(this._platformLocation.search),o=this._platformLocation.hash;return o&&r?`${i}${o}`:i}pushState(r,i,o,l){let u=this.prepareExternalUrl(o+Nr(l));this._platformLocation.pushState(r,i,u)}replaceState(r,i,o,l){let u=this.prepareExternalUrl(o+Nr(l));this._platformLocation.replaceState(r,i,u)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){var i,o;(o=(i=this._platformLocation).historyGo)==null||o.call(i,r)}};s(t,"ɵfac",function(r){return new(r||t)(oe(b_),oe(_K,8))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),__=(()=>{const t=class t{constructor(n){s(this,"_subject",new ge);s(this,"_basePath");s(this,"_locationStrategy");s(this,"_urlChangeListeners",[]);s(this,"_urlChangeSubscription",null);this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=SK(zf(Bf(r))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){var n;(n=this._urlChangeSubscription)==null||n.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Nr(r))}normalize(n){return t.stripTrailingSlash(EK(this._basePath,Bf(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._locationStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Nr(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Nr(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){var r,i;(i=(r=this._locationStrategy).historyGo)==null||i.call(r,n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{var i;let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&((i=this._urlChangeSubscription)==null||i.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r??void 0,complete:i??void 0})}};s(t,"normalizeQueryParams",Nr),s(t,"joinWithSlash",y_),s(t,"stripTrailingSlash",zf),s(t,"ɵfac",function(n){return new(n||t)(oe(Pp))}),s(t,"ɵprov",z({token:t,factory:()=>xK(),providedIn:"root"}));let e=t;return e})();function xK(){return new __(oe(Pp))}function EK(e,t){if(!e||!t.startsWith(e))return t;let a=t.substring(e.length);return a===""||["/",";","?","#"].includes(a[0])?a:t}function Bf(e){return e.replace(/\/index.html$/,"")}function SK(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var sn=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(sn||{}),Ke=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(Ke||{}),wn=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(wn||{}),Ou={MinusSign:5};function kK(e){return Qn(e)[Rt.LocaleId]}function CK(e,t,a){let n=Qn(e),r=[n[Rt.DayPeriodsFormat],n[Rt.DayPeriodsStandalone]],i=Fn(r,t);return Fn(i,a)}function DK(e,t,a){let n=Qn(e),r=[n[Rt.DaysFormat],n[Rt.DaysStandalone]],i=Fn(r,t);return Fn(i,a)}function IK(e,t,a){let n=Qn(e),r=[n[Rt.MonthsFormat],n[Rt.MonthsStandalone]],i=Fn(r,t);return Fn(i,a)}function TK(e,t){let a=Qn(e)[Rt.Eras];return Fn(a,t)}function As(e,t){let a=Qn(e);return Fn(a[Rt.DateFormat],t)}function Ps(e,t){let a=Qn(e);return Fn(a[Rt.TimeFormat],t)}function Ls(e,t){let a=Qn(e)[Rt.DateTimeFormat];return Fn(a,t)}function Mu(e,t){return Qn(e)[Rt.NumberSymbols][t]}function w_(e){if(!e[Rt.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Rt.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function RK(e){let t=Qn(e);return w_(t),(t[Rt.ExtraData][2]||[]).map(a=>typeof a=="string"?pc(a):[pc(a[0]),pc(a[1])])}function NK(e,t,a){let n=Qn(e);w_(n);let r=[n[Rt.ExtraData][0],n[Rt.ExtraData][1]],i=Fn(r,t)||[];return Fn(i,a)||[]}function Fn(e,t){for(let a=t;a>-1;a--)if(typeof e[a]<"u")return e[a];throw new Error("Locale data API: locale data undefined")}function pc(e){let[t,a]=e.split(":");return{hours:+t,minutes:+a}}var OK=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ai={},MK=/((?:[^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 AK(e,t,a,n){let r=qK(e);t=Na(a,t)||t;let i=[],o;for(;t;)if(o=MK.exec(t),o){i=i.concat(o.slice(1));let c=i.pop();if(!c)break;t=c}else{i.push(t);break}let l=r.getTimezoneOffset();n&&(l=E_(n,l),r=HK(r,n));let u="";return i.forEach(c=>{let d=zK(c);u+=d?d(r,a,l):c==="''"?"'":c.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function zl(e,t,a){let n=new Date(0);return n.setFullYear(e,t,a),n.setHours(0,0,0),n}function Na(e,t){let a=kK(e);if(ai[a]??(ai[a]={}),ai[a][t])return ai[a][t];let n="";switch(t){case"shortDate":n=As(e,wn.Short);break;case"mediumDate":n=As(e,wn.Medium);break;case"longDate":n=As(e,wn.Long);break;case"fullDate":n=As(e,wn.Full);break;case"shortTime":n=Ps(e,wn.Short);break;case"mediumTime":n=Ps(e,wn.Medium);break;case"longTime":n=Ps(e,wn.Long);break;case"fullTime":n=Ps(e,wn.Full);break;case"short":let r=Na(e,"shortTime"),i=Na(e,"shortDate");n=Fs(Ls(e,wn.Short),[r,i]);break;case"medium":let o=Na(e,"mediumTime"),l=Na(e,"mediumDate");n=Fs(Ls(e,wn.Medium),[o,l]);break;case"long":let u=Na(e,"longTime"),c=Na(e,"longDate");n=Fs(Ls(e,wn.Long),[u,c]);break;case"full":let d=Na(e,"fullTime"),m=Na(e,"fullDate");n=Fs(Ls(e,wn.Full),[d,m]);break}return n&&(ai[a][t]=n),n}function Fs(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(a,n){return t!=null&&n in t?t[n]:a})),e}function $n(e,t,a="-",n,r){let i="";(e<0||r&&e<=0)&&(r?e=-e+1:(e=-e,i=a));let o=String(e);for(;o.length<t;)o="0"+o;return n&&(o=o.slice(o.length-t)),i+o}function PK(e,t){return $n(e,3).substring(0,t)}function It(e,t,a=0,n=!1,r=!1){return function(i,o){let l=LK(e,i);if((a>0||l>-a)&&(l+=a),e===3)l===0&&a===-12&&(l=12);else if(e===6)return PK(l,t);let u=Mu(o,Ou.MinusSign);return $n(l,t,u,n,r)}}function LK(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 Je(e,t,a=sn.Format,n=!1){return function(r,i){return FK(r,i,e,t,a,n)}}function FK(e,t,a,n,r,i){switch(a){case 2:return IK(t,r,n)[e.getMonth()];case 1:return DK(t,r,n)[e.getDay()];case 0:let o=e.getHours(),l=e.getMinutes();if(i){let c=RK(t),d=NK(t,r,n),m=c.findIndex(v=>{if(Array.isArray(v)){let[g,w]=v,x=o>=g.hours&&l>=g.minutes,k=o<w.hours||o===w.hours&&l<w.minutes;if(g.hours<w.hours){if(x&&k)return!0}else if(x||k)return!0}else if(v.hours===o&&v.minutes===l)return!0;return!1});if(m!==-1)return d[m]}return CK(t,r,n)[o<12?0:1];case 3:return TK(t,n)[e.getFullYear()<=0?0:1];default:let u=a;throw new Error(`unexpected translation type ${u}`)}}function js(e){return function(t,a,n){let r=-1*n,i=Mu(a,Ou.MinusSign),o=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case 0:return(r>=0?"+":"")+$n(o,2,i)+$n(Math.abs(r%60),2,i);case 1:return"GMT"+(r>=0?"+":"")+$n(o,1,i);case 2:return"GMT"+(r>=0?"+":"")+$n(o,2,i)+":"+$n(Math.abs(r%60),2,i);case 3:return n===0?"Z":(r>=0?"+":"")+$n(o,2,i)+":"+$n(Math.abs(r%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var jK=0,cl=4;function VK(e){let t=zl(e,jK,1).getDay();return zl(e,0,1+(t<=cl?cl:cl+7)-t)}function x_(e){let t=e.getDay(),a=t===0?-3:cl-t;return zl(e.getFullYear(),e.getMonth(),e.getDate()+a)}function mc(e,t=!1){return function(a,n){let r;if(t){let i=new Date(a.getFullYear(),a.getMonth(),1).getDay()-1,o=a.getDate();r=1+Math.floor((o+i)/7)}else{let i=x_(a),o=VK(i.getFullYear()),l=i.getTime()-o.getTime();r=1+Math.round(l/6048e5)}return $n(r,e,Mu(n,Ou.MinusSign))}}function Vs(e,t=!1){return function(a,n){let r=x_(a).getFullYear();return $n(r,e,Mu(n,Ou.MinusSign),t)}}var fc={};function zK(e){if(fc[e])return fc[e];let t;switch(e){case"G":case"GG":case"GGG":t=Je(3,Ke.Abbreviated);break;case"GGGG":t=Je(3,Ke.Wide);break;case"GGGGG":t=Je(3,Ke.Narrow);break;case"y":t=It(0,1,0,!1,!0);break;case"yy":t=It(0,2,0,!0,!0);break;case"yyy":t=It(0,3,0,!1,!0);break;case"yyyy":t=It(0,4,0,!1,!0);break;case"Y":t=Vs(1);break;case"YY":t=Vs(2,!0);break;case"YYY":t=Vs(3);break;case"YYYY":t=Vs(4);break;case"M":case"L":t=It(1,1,1);break;case"MM":case"LL":t=It(1,2,1);break;case"MMM":t=Je(2,Ke.Abbreviated);break;case"MMMM":t=Je(2,Ke.Wide);break;case"MMMMM":t=Je(2,Ke.Narrow);break;case"LLL":t=Je(2,Ke.Abbreviated,sn.Standalone);break;case"LLLL":t=Je(2,Ke.Wide,sn.Standalone);break;case"LLLLL":t=Je(2,Ke.Narrow,sn.Standalone);break;case"w":t=mc(1);break;case"ww":t=mc(2);break;case"W":t=mc(1,!0);break;case"d":t=It(2,1);break;case"dd":t=It(2,2);break;case"c":case"cc":t=It(7,1);break;case"ccc":t=Je(1,Ke.Abbreviated,sn.Standalone);break;case"cccc":t=Je(1,Ke.Wide,sn.Standalone);break;case"ccccc":t=Je(1,Ke.Narrow,sn.Standalone);break;case"cccccc":t=Je(1,Ke.Short,sn.Standalone);break;case"E":case"EE":case"EEE":t=Je(1,Ke.Abbreviated);break;case"EEEE":t=Je(1,Ke.Wide);break;case"EEEEE":t=Je(1,Ke.Narrow);break;case"EEEEEE":t=Je(1,Ke.Short);break;case"a":case"aa":case"aaa":t=Je(0,Ke.Abbreviated);break;case"aaaa":t=Je(0,Ke.Wide);break;case"aaaaa":t=Je(0,Ke.Narrow);break;case"b":case"bb":case"bbb":t=Je(0,Ke.Abbreviated,sn.Standalone,!0);break;case"bbbb":t=Je(0,Ke.Wide,sn.Standalone,!0);break;case"bbbbb":t=Je(0,Ke.Narrow,sn.Standalone,!0);break;case"B":case"BB":case"BBB":t=Je(0,Ke.Abbreviated,sn.Format,!0);break;case"BBBB":t=Je(0,Ke.Wide,sn.Format,!0);break;case"BBBBB":t=Je(0,Ke.Narrow,sn.Format,!0);break;case"h":t=It(3,1,-12);break;case"hh":t=It(3,2,-12);break;case"H":t=It(3,1);break;case"HH":t=It(3,2);break;case"m":t=It(4,1);break;case"mm":t=It(4,2);break;case"s":t=It(5,1);break;case"ss":t=It(5,2);break;case"S":t=It(6,1);break;case"SS":t=It(6,2);break;case"SSS":t=It(6,3);break;case"Z":case"ZZ":case"ZZZ":t=js(0);break;case"ZZZZZ":t=js(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=js(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=js(2);break;default:return null}return fc[e]=t,t}function E_(e,t){e=e.replace(/:/g,"");let a=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(a)?t:a}function BK(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function HK(e,t,a){let n=e.getTimezoneOffset(),r=E_(t,n);return BK(e,-1*(r-n))}function qK(e){if(Hf(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[r,i=1,o=1]=e.split("-").map(l=>+l);return zl(r,i-1,o)}let a=parseFloat(e);if(!isNaN(e-a))return new Date(a);let n;if(n=e.match(OK))return $K(n)}let t=new Date(e);if(!Hf(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function $K(e){let t=new Date(0),a=0,n=0,r=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(a=Number(e[9]+e[10]),n=Number(e[9]+e[11])),r.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let o=Number(e[4]||0)-a,l=Number(e[5]||0)-n,u=Number(e[6]||0),c=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,o,l,u,c),t}function Hf(e){return e instanceof Date&&!isNaN(e.valueOf())}var gc=/\s+/,qf=[],Lp=(()=>{const t=class t{constructor(n,r){s(this,"_ngEl");s(this,"_renderer");s(this,"initialClasses",qf);s(this,"rawClass");s(this,"stateMap",new Map);this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(gc):qf}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(gc):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let i=this.stateMap.get(n);i!==void 0?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],i=n[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(gc).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};s(t,"ɵfac",function(n){return new(n||t)(en(Qe),en(Qr))}),s(t,"ɵdir",ye({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let e=t;return e})(),UK=(()=>{const t=class t{constructor(n,r,i){s(this,"_ngEl");s(this,"_differs");s(this,"_renderer");s(this,"_ngStyle",null);s(this,"_differ",null);this._ngEl=n,this._differs=r,this._renderer=i}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){let[i,o]=n.split("."),l=i.indexOf("-")===-1?void 0:tr.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,o?`${r}${o}`:r,l):this._renderer.removeStyle(this._ngEl.nativeElement,i,l)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}};s(t,"ɵfac",function(n){return new(n||t)(en(Qe),en(m_),en(Qr))}),s(t,"ɵdir",ye({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let e=t;return e})();function Fp(e,t){return new U(2100,!1)}var GK=class{createSubscription(e,t){return Ad(()=>e.subscribe({next:t,error:a=>{throw a}}))}dispose(e){Ad(()=>e.unsubscribe())}},WK=class{createSubscription(e,t){return e.then(a=>t==null?void 0:t(a),a=>{throw a}),{unsubscribe:()=>{t=null}}}dispose(e){e.unsubscribe()}},ZK=new WK,YK=new GK,KK=(()=>{const t=class t{constructor(n){s(this,"_ref");s(this,"_latestValue",null);s(this,"markForCheckOnValueUpdate",!0);s(this,"_subscription",null);s(this,"_obj",null);s(this,"_strategy",null);this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r))}_selectStrategy(n){if(Dp(n))return ZK;if(Wy(n))return YK;throw Fp()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){var i;n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&((i=this._ref)==null||i.markForCheck()))}};s(t,"ɵfac",function(n){return new(n||t)(en(ya,16))}),s(t,"ɵpipe",va({name:"async",type:t,pure:!1}));let e=t;return e})(),QK="mediumDate",XK=new K(""),JK=new K(""),jp=(()=>{const t=class t{constructor(n,r,i){s(this,"locale");s(this,"defaultTimezone");s(this,"defaultOptions");this.locale=n,this.defaultTimezone=r,this.defaultOptions=i}transform(n,r,i,o){var l,u;if(n==null||n===""||n!==n)return null;try{let c=r??((l=this.defaultOptions)==null?void 0:l.dateFormat)??QK,d=i??((u=this.defaultOptions)==null?void 0:u.timezone)??this.defaultTimezone??void 0;return AK(n,c,o||this.locale,d)}catch(c){throw Fp(t,c.message)}}};s(t,"ɵfac",function(n){return new(n||t)(en(Nu,16),en(XK,24),en(JK,24))}),s(t,"ɵpipe",va({name:"date",type:t,pure:!0}));let e=t;return e})(),S_=(()=>{const t=class t{transform(n,r,i){if(n==null)return null;if(!(typeof n=="string"||Array.isArray(n)))throw Fp();return n.slice(r,i)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵpipe",va({name:"slice",type:t,pure:!1}));let e=t;return e})(),k_=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({}));let e=t;return e})();function C_(e,t){t=encodeURIComponent(t);for(let a of e.split(";")){let n=a.indexOf("="),[r,i]=n==-1?[a,""]:[a.slice(0,n),a.slice(n+1)];if(r.trim()===t)return decodeURIComponent(i)}return null}var D_="browser",eQ="server";function tQ(e){return e===D_}function I_(e){return e===eQ}var T_=class{};function Au(e,t,a){return sY(e,t,a)}var Pd=new K(""),R_=(()=>{const t=class t{constructor(n,r){s(this,"_zone");s(this,"_plugins");s(this,"_eventNameToPlugin",new Map);this._zone=r,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,i,o){return this._findPluginFor(r).addEventListener(n,r,i,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new U(5101,!1);return this._eventNameToPlugin.set(n,r),r}};s(t,"ɵfac",function(n){return new(n||t)(oe(Pd),oe(ze))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),N_=class{constructor(e){s(this,"_doc");s(this,"manager");this._doc=e}},dl="ng-app-id";function $f(e){for(let t of e)t.remove()}function Uf(e,t){let a=t.createElement("style");return a.textContent=e,a}function nQ(e,t,a,n){var i;let r=(i=e.head)==null?void 0:i.querySelectorAll(`style[${dl}="${t}"],link[${dl}="${t}"]`);if(r)for(let o of r)o.removeAttribute(dl),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&a.set(o.textContent,{usage:0,elements:[o]})}function Ld(e,t){let a=t.createElement("link");return a.setAttribute("rel","stylesheet"),a.setAttribute("href",e),a}var O_=(()=>{const t=class t{constructor(n,r,i,o={}){s(this,"doc");s(this,"appId");s(this,"nonce");s(this,"inline",new Map);s(this,"external",new Map);s(this,"hosts",new Set);s(this,"isServer");this.doc=n,this.appId=r,this.nonce=i,this.isServer=I_(o),nQ(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let i of n)this.addUsage(i,this.inline,Uf);r==null||r.forEach(i=>this.addUsage(i,this.external,Ld))}removeStyles(n,r){for(let i of n)this.removeUsage(i,this.inline);r==null||r.forEach(i=>this.removeUsage(i,this.external))}addUsage(n,r,i){let o=r.get(n);o?o.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(l=>this.addElement(l,i(n,this.doc)))})}removeUsage(n,r){let i=r.get(n);i&&(i.usage--,i.usage<=0&&($f(i.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])$f(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(n,Uf(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(n,Ld(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(dl,this.appId),n.appendChild(r)}};s(t,"ɵfac",function(n){return new(n||t)(oe(Fe),oe(wu),oe(ap,8),oe(xu))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),vc={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"},Vp=/%COMP%/g,M_="%COMP%",aQ=`_nghost-${M_}`,rQ=`_ngcontent-${M_}`,iQ=!0,oQ=new K("",{providedIn:"root",factory:()=>iQ});function sQ(e){return rQ.replace(Vp,e)}function lQ(e){return aQ.replace(Vp,e)}function A_(e,t){return t.map(a=>a.replace(Vp,e))}var Fd=(()=>{const t=class t{constructor(n,r,i,o,l,u,c,d=null,m=null){s(this,"eventManager");s(this,"sharedStylesHost");s(this,"appId");s(this,"removeStylesOnCompDestroy");s(this,"doc");s(this,"platformId");s(this,"ngZone");s(this,"nonce");s(this,"tracingService");s(this,"rendererByCompId",new Map);s(this,"defaultRenderer");s(this,"platformIsServer");this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=l,this.platformId=u,this.ngZone=c,this.nonce=d,this.tracingService=m,this.platformIsServer=I_(u),this.defaultRenderer=new zp(n,l,c,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Pa.ShadowDom&&(r=Yt(ue({},r),{encapsulation:Pa.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof Wf?i.applyToHost(n):i instanceof jd&&i.applyStyles(),i}getOrCreateRenderer(n,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let l=this.doc,u=this.ngZone,c=this.eventManager,d=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,v=this.platformIsServer,g=this.tracingService;switch(r.encapsulation){case Pa.Emulated:o=new Wf(c,d,r,this.appId,m,l,u,v,g);break;case Pa.ShadowDom:return new uQ(c,d,n,r,l,u,this.nonce,v,g);default:o=new jd(c,d,r,m,l,u,v,g);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}};s(t,"ɵfac",function(n){return new(n||t)(oe(R_),oe(O_),oe(wu),oe(oQ),oe(Fe),oe(xu),oe(ze),oe(ap),oe(us,8))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),zp=class{constructor(e,t,a,n,r){s(this,"eventManager");s(this,"doc");s(this,"ngZone");s(this,"platformIsServer");s(this,"tracingService");s(this,"data",Object.create(null));s(this,"throwOnSyntheticProps",!0);s(this,"destroyNode",null);this.eventManager=e,this.doc=t,this.ngZone=a,this.platformIsServer=n,this.tracingService=r}destroy(){}createElement(e,t){return t?this.doc.createElementNS(vc[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(Gf(e)?e.content:e).appendChild(t)}insertBefore(e,t,a){e&&(Gf(e)?e.content:e).insertBefore(t,a)}removeChild(e,t){t.remove()}selectRootElement(e,t){let a=typeof e=="string"?this.doc.querySelector(e):e;if(!a)throw new U(-5104,!1);return t||(a.textContent=""),a}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,a,n){if(n){t=n+":"+t;let r=vc[n];r?e.setAttributeNS(r,t,a):e.setAttribute(t,a)}else e.setAttribute(t,a)}removeAttribute(e,t,a){if(a){let n=vc[a];n?e.removeAttributeNS(n,t):e.removeAttribute(`${a}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,a,n){n&(tr.DashCase|tr.Important)?e.style.setProperty(t,a,n&tr.Important?"important":""):e.style[t]=a}removeStyle(e,t,a){a&tr.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,a){e!=null&&(e[t]=a)}setValue(e,t){e.nodeValue=t}listen(e,t,a,n){var i;if(typeof e=="string"&&(e=Eo().getGlobalEventTarget(this.doc,e),!e))throw new U(5102,!1);let r=this.decoratePreventDefault(a);return(i=this.tracingService)!=null&&i.wrapEventListener&&(r=this.tracingService.wrapEventListener(e,t,r)),this.eventManager.addEventListener(e,t,r,n)}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(t)):e(t))===!1&&t.preventDefault()}}};function Gf(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var uQ=class extends zp{constructor(t,a,n,r,i,o,l,u,c){var v;super(t,i,o,u,c);s(this,"sharedStylesHost");s(this,"hostEl");s(this,"shadowRoot");this.sharedStylesHost=a,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=r.styles;d=A_(r.id,d);for(let g of d){let w=document.createElement("style");l&&w.setAttribute("nonce",l),w.textContent=g,this.shadowRoot.appendChild(w)}let m=(v=r.getExternalStyles)==null?void 0:v.call(r);if(m)for(let g of m){let w=Ld(g,i);l&&w.setAttribute("nonce",l),this.shadowRoot.appendChild(w)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,a){return super.appendChild(this.nodeOrShadowRoot(t),a)}insertBefore(t,a,n){return super.insertBefore(this.nodeOrShadowRoot(t),a,n)}removeChild(t,a){return super.removeChild(null,a)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},jd=class extends zp{constructor(t,a,n,r,i,o,l,u,c){var m;super(t,i,o,l,u);s(this,"sharedStylesHost");s(this,"removeStylesOnCompDestroy");s(this,"styles");s(this,"styleUrls");this.sharedStylesHost=a,this.removeStylesOnCompDestroy=r;let d=n.styles;this.styles=c?A_(c,d):d,this.styleUrls=(m=n.getExternalStyles)==null?void 0:m.call(n,c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Wf=class extends jd{constructor(t,a,n,r,i,o,l,u,c){let d=r+"-"+n.id;super(t,a,n,i,o,l,u,c,d);s(this,"contentAttr");s(this,"hostAttr");this.contentAttr=sQ(d),this.hostAttr=lQ(d)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,a){let n=super.createElement(t,a);return super.setAttribute(n,this.contentAttr,""),n}},cQ=class P_ extends bK{constructor(){super(...arguments);s(this,"supportsDOMEvents",!0)}static makeCurrent(){vK(new P_)}onAndCancel(a,n,r,i){return a.addEventListener(n,r,i),()=>{a.removeEventListener(n,r,i)}}dispatchEvent(a,n){a.dispatchEvent(n)}remove(a){a.remove()}createElement(a,n){return n=n||this.getDefaultDocument(),n.createElement(a)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(a){return a.nodeType===Node.ELEMENT_NODE}isShadowRoot(a){return a instanceof DocumentFragment}getGlobalEventTarget(a,n){return n==="window"?window:n==="document"?a:n==="body"?a.body:null}getBaseHref(a){let n=dQ();return n==null?null:hQ(n)}resetBaseElement(){vo=null}getUserAgent(){return window.navigator.userAgent}getCookie(a){return C_(document.cookie,a)}},vo=null;function dQ(){return vo=vo||document.head.querySelector("base"),vo?vo.getAttribute("href"):null}function hQ(e){return new URL(e,document.baseURI).pathname}var pQ=(()=>{const t=class t{build(){return new XMLHttpRequest}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),mQ=(()=>{const t=class t extends N_{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i,o){return n.addEventListener(r,i,o),()=>this.removeEventListener(n,r,i,o)}removeEventListener(n,r,i,o){return n.removeEventListener(r,i,o)}};s(t,"ɵfac",function(n){return new(n||t)(oe(Fe))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),Zf=["alt","control","meta","shift"],fQ={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},gQ={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},vQ=(()=>{const t=class t extends N_{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,r,i,o){let l=t.parseEventName(r),u=t.eventCallback(l.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Eo().onAndCancel(n,l.domEventName,u,o))}static parseEventName(n){let r=n.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(r.pop()),l="",u=r.indexOf("code");if(u>-1&&(r.splice(u,1),l="code."),Zf.forEach(d=>{let m=r.indexOf(d);m>-1&&(r.splice(m,1),l+=d+".")}),l+=o,r.length!=0||o.length===0)return null;let c={};return c.domEventName=i,c.fullKey=l,c}static matchEventFullKeyCode(n,r){let i=fQ[n.key]||n.key,o="";return r.indexOf("code.")>-1&&(i=n.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Zf.forEach(l=>{if(l!==i){let u=gQ[l];u(n)&&(o+=l+".")}}),o+=i,o===r)}static eventCallback(n,r,i){return o=>{t.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}};s(t,"ɵfac",function(n){return new(n||t)(oe(Fe))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function bQ(e){return YY(yQ(e))}function yQ(e){return{appProviders:[...SQ,...(e==null?void 0:e.providers)??[]],platformProviders:EQ}}function _Q(){cQ.makeCurrent()}function wQ(){return new Zn}function xQ(){return XU(document),document}var EQ=[{provide:xu,useValue:D_},{provide:zb,useValue:_Q,multi:!0},{provide:Fe,useFactory:xQ}],SQ=[{provide:Ah,useValue:"root"},{provide:Zn,useFactory:wQ},{provide:Pd,useClass:mQ,multi:!0,deps:[Fe]},{provide:Pd,useClass:vQ,multi:!0,deps:[Fe]},Fd,O_,R_,{provide:Yn,useExisting:Fd},{provide:T_,useClass:pQ},[]],Bp=class{},L_=class{},Pi=class hl{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(`
18
+ `)}`}var Ih=L0(C0("Optional"),8),Th=L0(C0("SkipSelf"),4);function Fr(e,t){return e.hasOwnProperty(xl)?e[xl]:null}function k6(e,t,a){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let r=e[n],i=t[n];if(a&&(r=a(r),i=a(i)),i!==r)return!1}return!0}function C6(e){return e.flat(Number.POSITIVE_INFINITY)}function Rh(e,t){e.forEach(a=>Array.isArray(a)?Rh(a,t):t(a))}function F0(e,t,a){t>=e.length?e.push(a):e.splice(t,0,a)}function Sl(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function D6(e,t){let a=[];for(let n=0;n<e;n++)a.push(t);return a}function I6(e,t,a,n){let r=e.length;if(r==t)e.push(a,n);else if(r===1)e.push(n,e[0]),e[0]=a;else{for(r--,e.push(e[r-1],e[r]);r>t;){let i=r-2;e[r]=e[i],r--}e[t]=a,e[t+1]=n}}function Nh(e,t,a){let n=is(e,t);return n>=0?e[n|1]=a:(n=~n,I6(e,n,t,a)),n}function Xu(e,t){let a=is(e,t);if(a>=0)return e[a|1]}function is(e,t){return T6(e,t,1)}function T6(e,t,a){let n=0,r=e.length>>a;for(;r!==n;){let i=n+(r-n>>1),o=e[i<<a];if(t===o)return i<<a;o>t?r=i:n=i+1}return~(r<<a)}var ua={},mn=[],kl=new K(""),j0=new K("",-1),V0=new K(""),z0=class{get(e,t=Pr){if(t===Pr){let a=new Error(`NullInjectorError: No provider for ${An(e)}!`);throw a.name="NullInjectorError",a}return t}};function ki(e){return e[p6]||null}function B0(e){return e[m6]||null}function R6(e){return e[f6]||null}function Oh(e){return{ɵproviders:e}}function N6(...e){return{ɵproviders:H0(!0,e),ɵfromNgModule:!0}}function H0(e,...t){let a=[],n=new Set,r,i=o=>{a.push(o)};return Rh(t,o=>{let l=o;id(l,i,[],n)&&(r||(r=[]),r.push(l))}),r!==void 0&&q0(r,i),a}function q0(e,t){for(let a=0;a<e.length;a++){let{ngModule:n,providers:r}=e[a];Mh(r,i=>{t(i,n)})}}function id(e,t,a,n){if(e=Wt(e),!e)return!1;let r=null,i=$m(e),o=!i&&ki(e);if(!i&&!o){let u=e.ngModule;if(i=$m(u),i)r=u;else return!1}else{if(o&&!o.standalone)return!1;r=e}let l=n.has(r);if(o){if(l)return!1;if(n.add(r),o.dependencies){let u=typeof o.dependencies=="function"?o.dependencies():o.dependencies;for(let c of u)id(c,t,a,n)}}else if(i){if(i.imports!=null&&!l){n.add(r);let c;try{Rh(i.imports,d=>{id(d,t,a,n)&&(c||(c=[]),c.push(d))})}finally{}c!==void 0&&q0(c,t)}if(!l){let c=Fr(r)||(()=>new r);t({provide:r,useFactory:c,deps:mn},r),t({provide:V0,useValue:r,multi:!0},r),t({provide:kl,useValue:()=>oe(r),multi:!0},r)}let u=i.providers;if(u!=null&&!l){let c=e;Mh(u,d=>{t(d,c)})}}else return!1;return r!==e&&e.providers!==void 0}function Mh(e,t){for(let a of e)N0(a)&&(a=a.ɵproviders),Array.isArray(a)?Mh(a,t):t(a)}var O6=st({provide:String,useValue:st});function $0(e){return e!==null&&typeof e=="object"&&O6 in e}function M6(e){return!!(e&&e.useExisting)}function A6(e){return!!(e&&e.useFactory)}function Ci(e){return typeof e=="function"}function P6(e){return!!e.useClass}var Ah=new K(""),rl={},Zm={},Ju;function pu(){return Ju===void 0&&(Ju=new z0),Ju}var ca=class{},Ph=class extends ca{constructor(t,a,n,r){super();s(this,"parent");s(this,"source");s(this,"scopes");s(this,"records",new Map);s(this,"_ngOnDestroyHooks",new Set);s(this,"_onDestroyHooks",[]);s(this,"_destroyed",!1);s(this,"injectorDefTypes");this.parent=a,this.source=n,this.scopes=r,sd(t,o=>this.processProvider(o)),this.records.set(j0,di(void 0,this)),r.has("environment")&&this.records.set(ca,di(void 0,this));let i=this.records.get(Ah);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(V0,mn,Te.Self))}get destroyed(){return this._destroyed}retrieve(t,a){let n=a;return this.get(t,n.optional?$v:Pr,n)}destroy(){fo(this),this._destroyed=!0;let t=De(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let a=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of a)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),De(t)}}onDestroy(t){return fo(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){fo(this);let a=Za(this),n=hn(void 0);try{return t()}finally{Za(a),hn(n)}}get(t,a=Pr,n=Te.Default){if(fo(this),t.hasOwnProperty(Gm))return t[Gm](this);n=hu(n);let r=Za(this),i=hn(void 0);try{if(!(n&Te.SkipSelf)){let l=this.records.get(t);if(l===void 0){let u=z6(t)&&Ch(t);u&&this.injectableDefInScope(u)?l=di(od(t),rl):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,n)}let o=n&Te.Self?pu():this.parent;return a=n&Te.Optional&&a===Pr?null:a,o.get(t,a)}catch(o){if(o.name==="NullInjectorError"){if((o[El]=o[El]||[]).unshift(An(t)),r)throw o;return E6(o,t,"R3InjectorError",this.source)}else throw o}finally{hn(i),Za(r)}}resolveInjectorInitializers(){let t=De(null),a=Za(this),n=hn(void 0);try{let r=this.get(kl,mn,Te.Self);for(let i of r)i()}finally{Za(a),hn(n),De(t)}}toString(){let t=[],a=this.records;for(let n of a.keys())t.push(An(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Wt(t);let a=Ci(t)?t:Wt(t&&t.provide),n=F6(t);if(!Ci(t)&&t.multi===!0){let r=this.records.get(a);r||(r=di(void 0,rl,!0),r.factory=()=>rd(r.multi),this.records.set(a,r)),a=t,r.multi.push(t)}this.records.set(a,n)}hydrate(t,a,n){let r=De(null);try{return a.value===Zm?O0(An(t)):a.value===rl&&(a.value=Zm,a.value=a.factory(void 0,n)),typeof a.value=="object"&&a.value&&V6(a.value)&&this._ngOnDestroyHooks.add(a.value),a.value}finally{De(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let a=Wt(t.providedIn);return typeof a=="string"?a==="any"||this.scopes.has(a):this.injectorDefTypes.has(a)}removeOnDestroy(t){let a=this._onDestroyHooks.indexOf(t);a!==-1&&this._onDestroyHooks.splice(a,1)}};function od(e){let t=Ch(e),a=t!==null?t.factory:Fr(e);if(a!==null)return a;if(e instanceof K)throw new U(204,!1);if(e instanceof Function)return L6(e);throw new U(204,!1)}function L6(e){if(e.length>0)throw new U(204,!1);let t=d6(e);return t!==null?()=>t.factory(e):()=>new e}function F6(e){if($0(e))return di(void 0,e.useValue);{let t=U0(e);return di(t,rl)}}function U0(e,t,a){let n;if(Ci(e)){let r=Wt(e);return Fr(r)||od(r)}else if($0(e))n=()=>Wt(e.useValue);else if(A6(e))n=()=>e.useFactory(...rd(e.deps||[]));else if(M6(e))n=(r,i)=>oe(Wt(e.useExisting),i!==void 0&&i&Te.Optional?Te.Optional:void 0);else{let r=Wt(e&&(e.useClass||e.provide));if(j6(e))n=()=>new r(...rd(e.deps));else return Fr(r)||od(r)}return n}function fo(e){if(e.destroyed)throw new U(205,!1)}function di(e,t,a=!1){return{factory:e,value:t,multi:a?[]:void 0}}function j6(e){return!!e.deps}function V6(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function z6(e){return typeof e=="function"||typeof e=="object"&&e instanceof K}function sd(e,t){for(let a of e)Array.isArray(a)?sd(a,t):a&&N0(a)?sd(a.ɵproviders,t):t(a)}function Lh(e,t){let a;e instanceof Ph?(fo(e),a=e):a=new P0(e);let n=Za(a),r=hn(void 0);try{return t()}finally{Za(n),hn(r)}}function G0(){return M0()!==void 0||tl()!=null}function mu(e){if(!G0())throw new U(-203,!1)}function B6(e){return typeof e=="function"}var Ba=0,be=1,me=2,tn=3,Gn=4,_n=5,Di=6,bi=7,qt=8,Ii=9,za=10,vt=11,Oo=12,Ym=13,Hi=14,Ln=15,jr=16,hi=17,Wn=18,fu=19,W0=20,sr=21,ec=22,Aa=23,Pn=24,lr=25,kt=26,Z0=1,Vr=7,Cl=8,Ti=9,Jt=10;function ur(e){return Array.isArray(e)&&typeof e[Z0]=="object"}function Ha(e){return Array.isArray(e)&&e[Z0]===!0}function Fh(e){return(e.flags&4)!==0}function qi(e){return e.componentOffset>-1}function gu(e){return(e.flags&1)===1}function da(e){return!!e.template}function Dl(e){return(e[me]&512)!==0}function $i(e){return(e[me]&256)===256}var H6=class{constructor(e,t,a){s(this,"previousValue");s(this,"currentValue");s(this,"firstChange");this.previousValue=e,this.currentValue=t,this.firstChange=a}isFirstChange(){return this.firstChange}};function Y0(e,t,a,n){t!==null?t.applyValueToInputSignal(t,n):e[a]=n}var Gr=(()=>{let e=()=>K0;return e.ngInherit=!0,e})();function K0(e){return e.type.prototype.ngOnChanges&&(e.setInput=$6),q6}function q6(){let e=X0(this),t=e==null?void 0:e.current;if(t){let a=e.previous;if(a===ua)e.previous=t;else for(let n in t)a[n]=t[n];e.current=null,this.ngOnChanges(t)}}function $6(e,t,a,n,r){let i=this.declaredInputs[n],o=X0(e)||U6(e,{previous:ua,current:null}),l=o.current||(o.current={}),u=o.previous,c=u[i];l[i]=new H6(c&&c.currentValue,a,u===ua),Y0(e,t,r,a)}var Q0="__ngSimpleChanges__";function X0(e){return e[Q0]||null}function U6(e,t){return e[Q0]=t}var zr=function(e,t=null,a){},J0="svg",G6="math";function ha(e){for(;Array.isArray(e);)e=e[Ba];return e}function eb(e,t){return ha(t[e])}function fa(e,t){return ha(t[e.index])}function jh(e,t){return e.data[t]}function vu(e,t){return e[t]}function Vh(e,t,a,n){a>=e.data.length&&(e.data[a]=null,e.blueprint[a]=null),t[a]=n}function pa(e,t){let a=t[e];return ur(a)?a:a[Ba]}function W6(e){return(e[me]&4)===4}function zh(e){return(e[me]&128)===128}function Z6(e){return Ha(e[tn])}function Br(e,t){return t==null?null:e[t]}function tb(e){e[hi]=0}function Bh(e){e[me]&1024||(e[me]|=1024,zh(e)&&Ui(e))}function Y6(e,t){for(;e>0;)t=t[Hi],e--;return t}function os(e){var t;return!!(e[me]&9216||(t=e[Pn])!=null&&t.dirty)}function ld(e){var t;(t=e[za].changeDetectionScheduler)==null||t.notify(8),e[me]&64&&(e[me]|=1024),os(e)&&Ui(e)}function Ui(e){var a;(a=e[za].changeDetectionScheduler)==null||a.notify(0);let t=Hr(e);for(;t!==null&&!(t[me]&8192||(t[me]|=8192,!zh(t)));)t=Hr(t)}function nb(e,t){if($i(e))throw new U(911,!1);e[sr]===null&&(e[sr]=[]),e[sr].push(t)}function K6(e,t){if(e[sr]===null)return;let a=e[sr].indexOf(t);a!==-1&&e[sr].splice(a,1)}function Hr(e){let t=e[tn];return Ha(t)?t[tn]:t}function Hh(e){return e[bi]??(e[bi]=[])}function qh(e){return e.cleanup??(e.cleanup=[])}function Q6(e,t,a,n){let r=Hh(t);r.push(a),e.firstCreatePass&&qh(e).push(n,r.length-1)}var Se={lFrame:ub(null),bindingsEnabled:!0,skipHydrationRootTNode:null},ud=!1;function X6(){return Se.lFrame.elementDepthCount}function J6(){Se.lFrame.elementDepthCount++}function eU(){Se.lFrame.elementDepthCount--}function tU(){return Se.bindingsEnabled}function ab(){return Se.skipHydrationRootTNode!==null}function nU(e){return Se.skipHydrationRootTNode===e}function aU(){Se.skipHydrationRootTNode=null}function ce(){return Se.lFrame.lView}function ut(){return Se.lFrame.tView}function gn(e){return Se.lFrame.contextLView=e,e[qt]}function vn(e){return Se.lFrame.contextLView=null,e}function an(){let e=rb();for(;e!==null&&e.type===64;)e=e.parent;return e}function rb(){return Se.lFrame.currentTNode}function rU(){let e=Se.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function hr(e,t){let a=Se.lFrame;a.currentTNode=e,a.isParent=t}function $h(){return Se.lFrame.isParent}function Uh(){Se.lFrame.isParent=!1}function iU(){return Se.lFrame.contextLView}function ib(){return ud}function Il(e){let t=ud;return ud=e,t}function Wr(){let e=Se.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function oU(){return Se.lFrame.bindingIndex}function sU(e){return Se.lFrame.bindingIndex=e}function Zr(){return Se.lFrame.bindingIndex++}function Gh(e){let t=Se.lFrame,a=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,a}function lU(){return Se.lFrame.inI18n}function uU(e,t){let a=Se.lFrame;a.bindingIndex=a.bindingRootIndex=e,cd(t)}function cU(){return Se.lFrame.currentDirectiveIndex}function cd(e){Se.lFrame.currentDirectiveIndex=e}function dU(e){let t=Se.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ob(){return Se.lFrame.currentQueryIndex}function Wh(e){Se.lFrame.currentQueryIndex=e}function hU(e){let t=e[be];return t.type===2?t.declTNode:t.type===1?e[_n]:null}function sb(e,t,a){if(a&Te.SkipSelf){let r=t,i=e;for(;(r=r.parent,r===null&&!(a&Te.Host))&&(r=hU(i),!(r===null||(i=i[Hi],r.type&10))););if(r===null)return!1;t=r,e=i}let n=Se.lFrame=lb();return n.currentTNode=t,n.lView=e,!0}function Zh(e){let t=lb(),a=e[be];Se.lFrame=t,t.currentTNode=a.firstChild,t.lView=e,t.tView=a,t.contextLView=e,t.bindingIndex=a.bindingStartIndex,t.inI18n=!1}function lb(){let e=Se.lFrame,t=e===null?null:e.child;return t===null?ub(e):t}function ub(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 cb(){let e=Se.lFrame;return Se.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var db=cb;function Yh(){let e=cb();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 pU(e){return(Se.lFrame.contextLView=Y6(e,Se.lFrame.contextLView))[qt]}function ga(){return Se.lFrame.selectedIndex}function qr(e){Se.lFrame.selectedIndex=e}function bu(){let e=Se.lFrame;return jh(e.tView,e.selectedIndex)}function hb(){Se.lFrame.currentNamespace=J0}function mU(){return Se.lFrame.currentNamespace}var pb=!0;function yu(){return pb}function _u(e){pb=e}function fU(e,t,a){let{ngOnChanges:n,ngOnInit:r,ngDoCheck:i}=t.type.prototype;if(n){let o=K0(t);(a.preOrderHooks??(a.preOrderHooks=[])).push(e,o),(a.preOrderCheckHooks??(a.preOrderCheckHooks=[])).push(e,o)}r&&(a.preOrderHooks??(a.preOrderHooks=[])).push(0-e,r),i&&((a.preOrderHooks??(a.preOrderHooks=[])).push(e,i),(a.preOrderCheckHooks??(a.preOrderCheckHooks=[])).push(e,i))}function Kh(e,t){for(let a=t.directiveStart,n=t.directiveEnd;a<n;a++){let r=e.data[a].type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:o,ngAfterViewInit:l,ngAfterViewChecked:u,ngOnDestroy:c}=r;i&&(e.contentHooks??(e.contentHooks=[])).push(-a,i),o&&((e.contentHooks??(e.contentHooks=[])).push(a,o),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(a,o)),l&&(e.viewHooks??(e.viewHooks=[])).push(-a,l),u&&((e.viewHooks??(e.viewHooks=[])).push(a,u),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(a,u)),c!=null&&(e.destroyHooks??(e.destroyHooks=[])).push(a,c)}}function il(e,t,a){mb(e,t,3,a)}function ol(e,t,a,n){(e[me]&3)===a&&mb(e,t,a,n)}function tc(e,t){let a=e[me];(a&3)===t&&(a&=16383,a+=1,e[me]=a)}function mb(e,t,a,n){let r=n!==void 0?e[hi]&65535:0,i=n??-1,o=t.length-1,l=0;for(let u=r;u<o;u++)if(typeof t[u+1]=="number"){if(l=t[u],n!=null&&l>=n)break}else t[u]<0&&(e[hi]+=65536),(l<i||i==-1)&&(gU(e,a,t,u),e[hi]=(e[hi]&4294901760)+u+2),u++}function Km(e,t){let a=De(null);try{t.call(e)}finally{De(a)}}function gU(e,t,a,n){let r=a[n]<0,i=a[n+1],o=r?-a[n]:a[n],l=e[o];r?e[me]>>14<e[hi]>>16&&(e[me]&3)===t&&(e[me]+=16384,Km(l,i)):Km(l,i)}var yi=-1,ss=class{constructor(e,t,a){s(this,"factory");s(this,"injectImpl");s(this,"resolving",!1);s(this,"canSeeViewProviders");s(this,"multi");s(this,"componentProviders");s(this,"index");s(this,"providerFactory");this.factory=e,this.canSeeViewProviders=t,this.injectImpl=a}};function vU(e){return(e.flags&8)!==0}function bU(e){return(e.flags&16)!==0}function yU(e,t,a){let n=0;for(;n<a.length;){let r=a[n];if(typeof r=="number"){if(r!==0)break;n++;let i=a[n++],o=a[n++],l=a[n++];e.setAttribute(t,o,l,i)}else{let i=r,o=a[++n];_U(i)?e.setProperty(t,i,o):e.setAttribute(t,i,o),n++}}return n}function fb(e){return e===3||e===4||e===6}function _U(e){return e.charCodeAt(0)===64}function Ri(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let a=-1;for(let n=0;n<t.length;n++){let r=t[n];typeof r=="number"?a=r:a===0||(a===-1||a===2?Qm(e,a,r,null,t[++n]):Qm(e,a,r,null,null))}}return e}function Qm(e,t,a,n,r){let i=0,o=e.length;if(t===-1)o=-1;else for(;i<e.length;){let l=e[i++];if(typeof l=="number"){if(l===t){o=-1;break}else if(l>t){o=i-1;break}}}for(;i<e.length;){let l=e[i];if(typeof l=="number")break;if(l===a){r!==null&&(e[i+1]=r);return}i++,r!==null&&i++}o!==-1&&(e.splice(o,0,t),i=o+1),e.splice(i++,0,a),r!==null&&e.splice(i++,0,r)}function gb(e){return e!==yi}function Tl(e){return e&32767}function wU(e){return e>>16}function Rl(e,t){let a=wU(e),n=t;for(;a>0;)n=n[Hi],a--;return n}var dd=!0;function Nl(e){let t=dd;return dd=e,t}var xU=256,vb=xU-1,bb=5,EU=0,la={};function SU(e,t,a){let n;typeof a=="string"?n=a.charCodeAt(0)||0:a.hasOwnProperty(_o)&&(n=a[_o]),n==null&&(n=a[_o]=EU++);let r=n&vb,i=1<<r;t.data[e+(r>>bb)]|=i}function Ol(e,t){let a=yb(e,t);if(a!==-1)return a;let n=t[be];n.firstCreatePass&&(e.injectorIndex=t.length,nc(n.data,e),nc(t,null),nc(n.blueprint,null));let r=Qh(e,t),i=e.injectorIndex;if(gb(r)){let o=Tl(r),l=Rl(r,t),u=l[be].data;for(let c=0;c<8;c++)t[i+c]=l[o+c]|u[o+c]}return t[i+8]=r,i}function nc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function yb(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Qh(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let a=0,n=null,r=t;for(;r!==null;){if(n=Sb(r),n===null)return yi;if(a++,r=r[Hi],n.injectorIndex!==-1)return n.injectorIndex|a<<16}return yi}function hd(e,t,a){SU(e,t,a)}function kU(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let a=e.attrs;if(a){let n=a.length,r=0;for(;r<n;){let i=a[r];if(fb(i))break;if(i===0)r=r+2;else if(typeof i=="number")for(r++;r<n&&typeof a[r]=="string";)r++;else{if(i===t)return a[r+1];r=r+2}}}return null}function _b(e,t,a){if(a&Te.Optional||e!==void 0)return e;Dh()}function wb(e,t,a,n){if(a&Te.Optional&&n===void 0&&(n=null),(a&(Te.Self|Te.Host))===0){let r=e[Ii],i=hn(void 0);try{return r?r.get(t,n,a&Te.Optional):A0(t,n,a&Te.Optional)}finally{hn(i)}}return _b(n,t,a)}function xb(e,t,a,n=Te.Default,r){if(e!==null){if(t[me]&2048&&!(n&Te.Self)){let o=TU(e,t,a,n,la);if(o!==la)return o}let i=Eb(e,t,a,n,la);if(i!==la)return i}return wb(t,a,n,r)}function Eb(e,t,a,n,r){let i=DU(a);if(typeof i=="function"){if(!sb(t,e,n))return n&Te.Host?_b(r,a,n):wb(t,a,n,r);try{let o;if(o=i(n),o==null&&!(n&Te.Optional))Dh(a);else return o}finally{db()}}else if(typeof i=="number"){let o=null,l=yb(e,t),u=yi,c=n&Te.Host?t[Ln][_n]:null;for((l===-1||n&Te.SkipSelf)&&(u=l===-1?Qh(e,t):t[l+8],u===yi||!Jm(n,!1)?l=-1:(o=t[be],l=Tl(u),t=Rl(u,t)));l!==-1;){let d=t[be];if(Xm(i,l,d.data)){let m=CU(l,t,a,o,n,c);if(m!==la)return m}u=t[l+8],u!==yi&&Jm(n,t[be].data[l+8]===c)&&Xm(i,l,t)?(o=d,l=Tl(u),t=Rl(u,t)):l=-1}}return r}function CU(e,t,a,n,r,i){let o=t[be],l=o.data[e+8],u=n==null?qi(l)&&dd:n!=o&&(l.type&3)!==0,c=r&Te.Host&&i===l,d=sl(l,o,a,u,c);return d!==null?Mo(t,o,d,l,r):la}function sl(e,t,a,n,r){let i=e.providerIndexes,o=t.data,l=i&1048575,u=e.directiveStart,c=e.directiveEnd,d=i>>20,m=n?l:l+d,v=r?l+d:c;for(let g=m;g<v;g++){let w=o[g];if(g<u&&a===w||g>=u&&w.type===a)return g}if(r){let g=o[u];if(g&&da(g)&&g.type===a)return u}return null}function Mo(e,t,a,n,r){let i=e[a],o=t.data;if(i instanceof ss){let l=i;l.resolving&&O0(g6(o[a]));let u=Nl(l.canSeeViewProviders);l.resolving=!0;let c=l.injectImpl?hn(l.injectImpl):null;sb(e,n,Te.Default);try{i=e[a]=l.factory(void 0,r,o,e,n),t.firstCreatePass&&a>=n.directiveStart&&fU(a,o[a],t)}finally{c!==null&&hn(c),Nl(u),l.resolving=!1,db()}}return i}function DU(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(_o)?e[_o]:void 0;return typeof t=="number"?t>=0?t&vb:IU:t}function Xm(e,t,a){let n=1<<e;return!!(a[t+(e>>bb)]&n)}function Jm(e,t){return!(e&Te.Self)&&!(e&Te.Host&&t)}var wo=class{constructor(e,t){s(this,"_tNode");s(this,"_lView");this._tNode=e,this._lView=t}get(e,t,a){return xb(this._tNode,this._lView,e,hu(a),t)}};function IU(){return new wo(an(),ce())}function tt(e){return rs(()=>{let t=e.prototype.constructor,a=t[xl]||pd(t),n=Object.prototype,r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==n;){let i=r[xl]||pd(r);if(i&&i!==a)return i;r=Object.getPrototypeOf(r)}return i=>new i})}function pd(e){return I0(e)?()=>{let t=pd(Wt(e));return t&&t()}:Fr(e)}function TU(e,t,a,n,r){let i=e,o=t;for(;i!==null&&o!==null&&o[me]&2048&&!Dl(o);){let l=Eb(i,o,a,n|Te.Self,la);if(l!==la)return l;let u=i.parent;if(!u){let c=o[W0];if(c){let d=c.get(a,la,n);if(d!==la)return d}u=Sb(o),o=o[Hi]}i=u}return r}function Sb(e){let t=e[be],a=t.type;return a===2?t.declTNode:a===1?e[_n]:null}function RU(e){return kU(an(),e)}function ef(e,t=null,a=null,n){let r=NU(e,t,a,n);return r.resolveInjectorInitializers(),r}function NU(e,t=null,a=null,n,r=new Set){let i=[a||mn,N6(e)];return n=n||(typeof e=="object"?void 0:An(e)),new Ph(i,t||pu(),n||null,r)}var aa,ht=(aa=class{static create(t,a){if(Array.isArray(t))return ef({name:""},a,t,"");{let n=t.name??"";return ef({name:n},t.parent,t.providers,n)}}},s(aa,"THROW_IF_NOT_FOUND",Pr),s(aa,"NULL",new z0),s(aa,"ɵprov",z({token:aa,providedIn:"any",factory:()=>oe(j0)})),s(aa,"__NG_ELEMENT_ID__",-1),aa),Xh=class{constructor(e){s(this,"attributeName");s(this,"__NG_ELEMENT_ID__",()=>RU(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},OU=new K("");OU.__NG_ELEMENT_ID__=e=>{let t=an();if(t===null)throw new U(204,!1);if(t.type&2)return t.value;if(e&Te.Optional)return null;throw new U(204,!1)};var kb=!1,pr=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",MU),s(e,"__NG_ENV_ID__",a=>a),e})(),Cb=class extends pr{constructor(t){super();s(this,"_lView");this._lView=t}onDestroy(t){let a=this._lView;return $i(a)?(t(),()=>{}):(nb(a,t),()=>K6(a,t))}};function MU(){return new Cb(ce())}var Gi=class{},Db=new K("",{providedIn:"root",factory:()=>!1}),Ib=new K(""),Tb=new K(""),ls=(()=>{const t=class t{constructor(){s(this,"taskId",0);s(this,"pendingTasks",new Set);s(this,"hasPendingTasks",new Ar(!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",z({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),AU=class extends ge{constructor(t=!1){super();s(this,"__isAsync");s(this,"destroyRef");s(this,"pendingTasks");this.__isAsync=t,G0()&&(this.destroyRef=S(pr,{optional:!0})??void 0,this.pendingTasks=S(ls,{optional:!0})??void 0)}emit(t){let a=De(null);try{super.next(t)}finally{De(a)}}subscribe(t,a,n){var u,c,d;let r=t,i=a||(()=>null),o=n;if(t&&typeof t=="object"){let m=t;r=(u=m.next)==null?void 0:u.bind(m),i=(c=m.error)==null?void 0:c.bind(m),o=(d=m.complete)==null?void 0:d.bind(m)}this.__isAsync&&(i=this.wrapInTimeout(i),r&&(r=this.wrapInTimeout(r)),o&&(o=this.wrapInTimeout(o)));let l=super.subscribe({next:r,error:i,complete:o});return t instanceof Zt&&t.add(l),l}wrapInTimeout(t){return a=>{var r;let n=(r=this.pendingTasks)==null?void 0:r.add();setTimeout(()=>{var i;try{t(a)}finally{n!==void 0&&((i=this.pendingTasks)==null||i.remove(n))}})}}},it=AU;function Ao(...e){}function Rb(e){let t,a;function n(){e=Ao;try{a!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(a),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),n()}),typeof requestAnimationFrame=="function"&&(a=requestAnimationFrame(()=>{e(),n()})),()=>n()}function tf(e){return queueMicrotask(()=>e()),()=>{e=Ao}}var Jh="isAngularZone",Ml=Jh+"_ID",PU=0,ze=class md{constructor(t){s(this,"hasPendingMacrotasks",!1);s(this,"hasPendingMicrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new it(!1));s(this,"onMicrotaskEmpty",new it(!1));s(this,"onStable",new it(!1));s(this,"onError",new it(!1));let{enableLongStackTrace:a=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:i=kb}=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)),a&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,o.scheduleInRootZone=i,jU(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Jh)===!0}static assertInAngularZone(){if(!md.isInAngularZone())throw new U(909,!1)}static assertNotInAngularZone(){if(md.isInAngularZone())throw new U(909,!1)}run(t,a,n){return this._inner.run(t,a,n)}runTask(t,a,n,r){let i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,t,LU,Ao,Ao);try{return i.runTask(o,a,n)}finally{i.cancelTask(o)}}runGuarded(t,a,n){return this._inner.runGuarded(t,a,n)}runOutsideAngular(t){return this._outer.run(t)}},LU={};function ep(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 FU(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Rb(()=>{e.callbackScheduled=!1,fd(e),e.isCheckStableRunning=!0,ep(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),fd(e)}function jU(e){let t=()=>{FU(e)},a=PU++;e._inner=e._inner.fork({name:"angular",properties:{[Jh]:!0,[Ml]:a,[Ml+a]:!0},onInvokeTask:(n,r,i,o,l,u)=>{if(zU(u))return n.invokeTask(i,o,l,u);try{return nf(e),n.invokeTask(i,o,l,u)}finally{(e.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),af(e)}},onInvoke:(n,r,i,o,l,u,c)=>{try{return nf(e),n.invoke(i,o,l,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!BU(u)&&t(),af(e)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&(o.change=="microTask"?(e._hasPendingMicrotasks=o.microTask,fd(e),ep(e)):o.change=="macroTask"&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}function fd(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function nf(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function af(e){e._nesting--,ep(e)}var VU=class{constructor(){s(this,"hasPendingMicrotasks",!1);s(this,"hasPendingMacrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new it);s(this,"onMicrotaskEmpty",new it);s(this,"onStable",new it);s(this,"onError",new it)}run(e,t,a){return e.apply(t,a)}runGuarded(e,t,a){return e.apply(t,a)}runOutsideAngular(e){return e()}runTask(e,t,a,n){return e.apply(t,a)}};function zU(e){return Nb(e,"__ignore_ng_zone__")}function BU(e){return Nb(e,"__scheduler_tick__")}function Nb(e,t){var a,n;return!Array.isArray(e)||e.length!==1?!1:((n=(a=e[0])==null?void 0:a.data)==null?void 0:n[t])===!0}var Zn=class{constructor(){s(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}},HU=new K("",{providedIn:"root",factory:()=>{let e=S(ze),t=S(Zn);return a=>e.runOutsideAngular(()=>t.handleError(a))}}),Ob=class{constructor(){s(this,"destroyed",!1);s(this,"listeners",null);s(this,"errorHandler",S(Zn,{optional:!0}));s(this,"destroyRef",S(pr));this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new U(953,!1);return(this.listeners??(this.listeners=[])).push(e),{unsubscribe:()=>{var a,n;let t=(a=this.listeners)==null?void 0:a.indexOf(e);t!==void 0&&t!==-1&&((n=this.listeners)==null||n.splice(t,1))}}}emit(e){var a;if(this.destroyed){console.warn(E0(953,!1));return}if(this.listeners===null)return;let t=De(null);try{for(let n of this.listeners)try{n(e)}catch(r){(a=this.errorHandler)==null||a.handleError(r)}}finally{De(t)}}};function Al(e){return new Ob}function rf(e,t){return k0(e,t)}function qU(e){return k0(du,e)}var qe=(rf.required=qU,rf);function $U(){return Wi(an(),ce())}function Wi(e,t){return new Qe(fa(e,t))}var Qe=(()=>{class e{constructor(a){s(this,"nativeElement");this.nativeElement=a}}return s(e,"__NG_ELEMENT_ID__",$U),e})();function UU(e){return e instanceof Qe?e.nativeElement:e}function GU(e){return typeof e=="function"&&e[fn]!==void 0}function tp(e,t){let a=r$(e),n=a[fn];return a.set=r=>ns(n,r),a.update=r=>Hv(n,r),a.asReadonly=np.bind(a),a}function np(){let e=this[fn];if(e.readonlyFn===void 0){let t=()=>this();t[fn]=e,e.readonlyFn=t}return e.readonlyFn}function Mb(e){return GU(e)&&typeof e.set=="function"}function WU(){return this._results[Symbol.iterator]()}var Ev,ZU=(Ev=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,Ev,WU);this._emitDistinctChangesOnly=e}get changes(){return this._changes??(this._changes=new ge)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){this.dirty=!1;let a=C6(e);(this._changesDetected=!k6(this._results,a,t))&&(this._results=a,this.length=a.length,this.last=a[this.length-1],this.first=a[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(e){this._onDirty=e}setDirty(){var e;this.dirty=!0,(e=this._onDirty)==null||e.call(this)}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}});function Ab(e){return(e.flags&128)===128}var Pb=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Pb||{}),Lb=new Map,YU=0;function KU(){return YU++}function QU(e){Lb.set(e[fu],e)}function gd(e){Lb.delete(e[fu])}var of="__ngContext__";function Zi(e,t){ur(t)?(e[of]=t[fu],QU(t)):e[of]=t}function Fb(e){return Vb(e[Oo])}function jb(e){return Vb(e[Gn])}function Vb(e){for(;e!==null&&!Ha(e);)e=e[Gn];return e}var vd;function XU(e){vd=e}function JU(){if(vd!==void 0)return vd;if(typeof document<"u")return document;throw new U(210,!1)}var wu=new K("",{providedIn:"root",factory:()=>e8}),e8="ng",zb=new K(""),xu=new K("",{providedIn:"platform",factory:()=>"unknown"}),mr=new K(""),ap=new K("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=JU().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),Bb=!1,t8=new K("",{providedIn:"root",factory:()=>Bb}),rp=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(rp||{}),us=new K(""),sf=new Set;function Yr(e){var t;sf.has(e)||(sf.add(e),(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}}))}var ip=(()=>{class e{constructor(a,n){s(this,"view");s(this,"node");this.view=a,this.node=n}}return s(e,"__NG_ELEMENT_ID__",n8),e})();function n8(){return new ip(ce(),an())}var pi=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(pi||{}),Hb=(()=>{const t=class t{constructor(){s(this,"impl",null)}execute(){var n;(n=this.impl)==null||n.execute()}};s(t,"ɵprov",z({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),a8=[pi.EarlyRead,pi.Write,pi.MixedReadWrite,pi.Read],r8=(()=>{const t=class t{constructor(){s(this,"ngZone",S(ze));s(this,"scheduler",S(Gi));s(this,"errorHandler",S(Zn,{optional:!0}));s(this,"sequences",new Set);s(this,"deferredRegistrations",new Set);s(this,"executing",!1);S(us,{optional:!0})}execute(){var n;this.sequences.size>0,this.executing=!0;for(let r of a8)for(let i of this.sequences)if(!(i.erroredOrDestroyed||!i.hooks[r]))try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=i.hooks[r];return o(i.pipelinedValue)},i.snapshot))}catch(o){i.erroredOrDestroyed=!0,(n=this.errorHandler)==null||n.handleError(o)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){let{view:r}=n;r!==void 0?((r[lr]??(r[lr]=[])).push(n),Ui(r),r[me]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(rp.AFTER_NEXT_RENDER,n):n()}};s(t,"ɵprov",z({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),i8=class{constructor(e,t,a,n,r,i=null){s(this,"impl");s(this,"hooks");s(this,"view");s(this,"once");s(this,"snapshot");s(this,"erroredOrDestroyed",!1);s(this,"pipelinedValue");s(this,"unregisterOnDestroy");this.impl=e,this.hooks=t,this.view=a,this.once=n,this.snapshot=i,this.unregisterOnDestroy=r==null?void 0:r.onDestroy(()=>this.destroy())}afterRun(){var e;this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,(e=this.snapshot)==null||e.dispose(),this.snapshot=null}destroy(){var t,a;this.impl.unregister(this),(t=this.unregisterOnDestroy)==null||t.call(this);let e=(a=this.view)==null?void 0:a[lr];e&&(this.view[lr]=e.filter(n=>n!==this))}};function qb(e,t){!(t!=null&&t.injector)&&mu();let a=(t==null?void 0:t.injector)??S(ht);return Yr("NgAfterRender"),$b(e,a,t,!1)}function Eu(e,t){!(t!=null&&t.injector)&&mu();let a=(t==null?void 0:t.injector)??S(ht);return Yr("NgAfterNextRender"),$b(e,a,t,!0)}function o8(e,t){if(e instanceof Function){let a=[void 0,void 0,void 0,void 0];return a[t]=e,a}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function $b(e,t,a,n){let r=t.get(Hb);r.impl??(r.impl=t.get(r8));let i=t.get(us,null,{optional:!0}),o=(a==null?void 0:a.phase)??pi.MixedReadWrite,l=(a==null?void 0:a.manualCleanup)!==!0?t.get(pr):null,u=t.get(ip,null,{optional:!0}),c=new i8(r.impl,o8(e,o),u==null?void 0:u.view,n,l,i==null?void 0:i.snapshot(null));return r.impl.register(c),c}var s8=()=>null;function Ub(e,t,a=!1){return s8()}function Gb(e,t){let a=e.contentQueries;if(a!==null){let n=De(null);try{for(let r=0;r<a.length;r+=2){let i=a[r],o=a[r+1];if(o!==-1){let l=e.data[o];Wh(i),l.contentQueries(2,t[o],o)}}}finally{De(n)}}}function bd(e,t,a){Wh(0);let n=De(null);try{t(e,a)}finally{De(n)}}function op(e,t,a){if(Fh(t)){let n=De(null);try{let r=t.directiveStart,i=t.directiveEnd;for(let o=r;o<i;o++){let l=e.data[o];if(l.contentQueries){let u=a[o];l.contentQueries(1,u,o)}}}finally{De(n)}}}var Pa=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Pa||{}),Ns;function l8(){if(Ns===void 0&&(Ns=null,ci.trustedTypes))try{Ns=ci.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ns}function Su(e){var t;return((t=l8())==null?void 0:t.createHTML(e))||e}var Kr=class{constructor(e){s(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${x0})`}},u8=class extends Kr{getTypeName(){return"HTML"}},c8=class extends Kr{getTypeName(){return"Style"}},d8=class extends Kr{getTypeName(){return"Script"}},h8=class extends Kr{getTypeName(){return"URL"}},p8=class extends Kr{getTypeName(){return"ResourceURL"}};function Qa(e){return e instanceof Kr?e.changingThisBreaksApplicationSecurity:e}function oi(e,t){let a=m8(e);if(a!=null&&a!==t){if(a==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${a} (see ${x0})`)}return a===t}function m8(e){return e instanceof Kr&&e.getTypeName()||null}function f8(e){return new u8(e)}function g8(e){return new c8(e)}function v8(e){return new d8(e)}function b8(e){return new h8(e)}function y8(e){return new p8(e)}function _8(e){let t=new x8(e);return E8()?new w8(t):t}var w8=class{constructor(e){s(this,"inertDocumentHelper");this.inertDocumentHelper=e}getInertBodyElement(e){var t;e="<body><remove></remove>"+e;try{let a=new window.DOMParser().parseFromString(Su(e),"text/html").body;return a===null?this.inertDocumentHelper.getInertBodyElement(e):((t=a.firstChild)==null||t.remove(),a)}catch{return null}}},x8=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=Su(e),t}};function E8(){try{return!!new window.DOMParser().parseFromString(Su(""),"text/html")}catch{return!1}}var S8=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function sp(e){return e=String(e),e.match(S8)?e:"unsafe:"+e}function qa(e){let t={};for(let a of e.split(","))t[a]=!0;return t}function cs(...e){let t={};for(let a of e)for(let n in a)a.hasOwnProperty(n)&&(t[n]=!0);return t}var Wb=qa("area,br,col,hr,img,wbr"),Zb=qa("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Yb=qa("rp,rt"),k8=cs(Yb,Zb),C8=cs(Zb,qa("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")),D8=cs(Yb,qa("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")),lf=cs(Wb,C8,D8,k8),Kb=qa("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),I8=qa("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"),T8=qa("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"),R8=cs(Kb,I8,T8),N8=qa("script,style,template"),O8=class{constructor(){s(this,"sanitizedSomething",!1);s(this,"buf",[])}sanitizeChildren(e){let t=e.firstChild,a=!0,n=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?a=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,a&&t.firstChild){n.push(t),t=P8(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let r=A8(t);if(r){t=r;break}t=n.pop()}}return this.buf.join("")}startElement(e){let t=uf(e).toLowerCase();if(!lf.hasOwnProperty(t))return this.sanitizedSomething=!0,!N8.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let a=e.attributes;for(let n=0;n<a.length;n++){let r=a.item(n),i=r.name,o=i.toLowerCase();if(!R8.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let l=r.value;Kb[o]&&(l=sp(l)),this.buf.push(" ",i,'="',cf(l),'"')}return this.buf.push(">"),!0}endElement(e){let t=uf(e).toLowerCase();lf.hasOwnProperty(t)&&!Wb.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(cf(e))}};function M8(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function A8(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Qb(t);return t}function P8(e){let t=e.firstChild;if(t&&M8(e,t))throw Qb(t);return t}function uf(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Qb(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var L8=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,F8=/([^\#-~ |!])/g;function cf(e){return e.replace(/&/g,"&amp;").replace(L8,function(t){let a=t.charCodeAt(0),n=t.charCodeAt(1);return"&#"+((a-55296)*1024+(n-56320)+65536)+";"}).replace(F8,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Os;function j8(e,t){let a=null;try{Os=Os||_8(e);let n=t?String(t):"";a=Os.getInertBodyElement(n);let r=5,i=n;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,n=i,i=a.innerHTML,a=Os.getInertBodyElement(n)}while(n!==i);let o=new O8().sanitizeChildren(df(a)||a);return Su(o)}finally{if(a){let n=df(a)||a;for(;n.firstChild;)n.firstChild.remove()}}}function df(e){return"content"in e&&V8(e)?e.content:null}function V8(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var En=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}(En||{});function z8(e){let t=B8();return t?t.sanitize(En.URL,e)||"":oi(e,"URL")?Qa(e):sp(Si(e))}function B8(){let e=ce();return e&&e[za].sanitizer}var H8=/^>|^->|<!--|-->|--!>|<!-$/g,q8=/(<|>)/g,$8="​$1​";function U8(e){return e.replace(H8,t=>t.replace(q8,$8))}function G8(e,t,a){let n=e.length;for(;;){let r=e.indexOf(t,a);if(r===-1)return r;if(r===0||e.charCodeAt(r-1)<=32){let i=t.length;if(r+i===n||e.charCodeAt(r+i)<=32)return r}a=r+1}}var Xb="ng-template";function W8(e,t,a,n){let r=0;if(n){for(;r<t.length&&typeof t[r]=="string";r+=2)if(t[r]==="class"&&G8(t[r+1].toLowerCase(),a,0)!==-1)return!0}else if(lp(e))return!1;if(r=t.indexOf(1,r),r>-1){let i;for(;++r<t.length&&typeof(i=t[r])=="string";)if(i.toLowerCase()===a)return!0}return!1}function lp(e){return e.type===4&&e.value!==Xb}function Z8(e,t,a){let n=e.type===4&&!a?Xb:e.value;return t===n}function Y8(e,t,a){let n=4,r=e.attrs,i=r!==null?X8(r):0,o=!1;for(let l=0;l<t.length;l++){let u=t[l];if(typeof u=="number"){if(!o&&!Hn(n)&&!Hn(u))return!1;if(o&&Hn(u))continue;o=!1,n=u|n&1;continue}if(!o)if(n&4){if(n=2|n&1,u!==""&&!Z8(e,u,a)||u===""&&t.length===1){if(Hn(n))return!1;o=!0}}else if(n&8){if(r===null||!W8(e,r,u,a)){if(Hn(n))return!1;o=!0}}else{let c=t[++l],d=K8(u,r,lp(e),a);if(d===-1){if(Hn(n))return!1;o=!0;continue}if(c!==""){let m;if(d>i?m="":m=r[d+1].toLowerCase(),n&2&&c!==m){if(Hn(n))return!1;o=!0}}}}return Hn(n)||o}function Hn(e){return(e&1)===0}function K8(e,t,a,n){if(t===null)return-1;let r=0;if(n||!a){let i=!1;for(;r<t.length;){let o=t[r];if(o===e)return r;if(o===3||o===6)i=!0;else if(o===1||o===2){let l=t[++r];for(;typeof l=="string";)l=t[++r];continue}else{if(o===4)break;if(o===0){r+=4;continue}}r+=i?1:2}return-1}else return J8(t,e)}function Jb(e,t,a=!1){for(let n=0;n<t.length;n++)if(Y8(e,t[n],a))return!0;return!1}function Q8(e){let t=e.attrs;if(t!=null){let a=t.indexOf(5);if(!(a&1))return t[a+1]}return null}function X8(e){for(let t=0;t<e.length;t++){let a=e[t];if(fb(a))return t}return e.length}function J8(e,t){let a=e.indexOf(4);if(a>-1)for(a++;a<e.length;){let n=e[a];if(typeof n=="number")return-1;if(n===t)return a;a++}return-1}function eG(e,t){e:for(let a=0;a<t.length;a++){let n=t[a];if(e.length===n.length){for(let r=0;r<e.length;r++)if(e[r]!==n[r])continue e;return!0}}return!1}function hf(e,t){return e?":not("+t.trim()+")":t}function tG(e){let t=e[0],a=1,n=2,r="",i=!1;for(;a<e.length;){let o=e[a];if(typeof o=="string")if(n&2){let l=e[++a];r+="["+o+(l.length>0?'="'+l+'"':"")+"]"}else n&8?r+="."+o:n&4&&(r+=" "+o);else r!==""&&!Hn(o)&&(t+=hf(i,r),r=""),n=o,i=i||!Hn(n);a++}return r!==""&&(t+=hf(i,r)),t}function nG(e){return e.map(tG).join(",")}function aG(e){let t=[],a=[],n=1,r=2;for(;n<e.length;){let i=e[n];if(typeof i=="string")r===2?i!==""&&t.push(i,e[++n]):r===8&&a.push(i);else{if(!Hn(r))break;r=i}n++}return a.length&&t.push(1,...a),t}var In={};function rG(e,t){return e.createText(t)}function iG(e,t,a){e.setValue(t,a)}function oG(e,t){return e.createComment(U8(t))}function ey(e,t,a){return e.createElement(t,a)}function Pl(e,t,a,n,r){e.insertBefore(t,a,n,r)}function ty(e,t,a){e.appendChild(t,a)}function pf(e,t,a,n,r){n!==null?Pl(e,t,a,n,r):ty(e,t,a)}function sG(e,t,a){e.removeChild(null,t,a)}function lG(e,t,a){e.setAttribute(t,"style",a)}function uG(e,t,a){a===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",a)}function ny(e,t,a){let{mergedAttrs:n,classes:r,styles:i}=a;n!==null&&yU(e,t,n),r!==null&&uG(e,t,r),i!==null&&lG(e,t,i)}function up(e,t,a,n,r,i,o,l,u,c,d){let m=kt+n,v=m+r,g=cG(m,v),w=typeof c=="function"?c():c;return g[be]={type:e,blueprint:g,template:a,queries:null,viewQuery:l,declTNode:t,data:g.slice().fill(null,m),bindingStartIndex:m,expandoStartIndex:v,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof o=="function"?o():o,firstChild:null,schemas:u,consts:w,incompleteFirstPass:!1,ssrId:d}}function cG(e,t){let a=[];for(let n=0;n<t;n++)a.push(n<e?null:In);return a}function dG(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=up(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function cp(e,t,a,n,r,i,o,l,u,c,d){let m=t.blueprint.slice();return m[Ba]=r,m[me]=n|4|128|8|64|1024,(c!==null||e&&e[me]&2048)&&(m[me]|=2048),tb(m),m[tn]=m[Hi]=e,m[qt]=a,m[za]=o||e&&e[za],m[vt]=l||e&&e[vt],m[Ii]=u||e&&e[Ii]||null,m[_n]=i,m[fu]=KU(),m[Di]=d,m[W0]=c,m[Ln]=t.type==2?e[Ln]:m,m}function hG(e,t,a){let n=fa(t,e),r=dG(a),i=e[za].rendererFactory,o=dp(e,cp(e,r,null,ay(a),n,t,null,i.createRenderer(n,a),null,null,null));return e[t.index]=o}function ay(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function ry(e,t,a,n){if(a===0)return-1;let r=t.length;for(let i=0;i<a;i++)t.push(n),e.blueprint.push(n),e.data.push(null);return r}function dp(e,t){return e[Oo]?e[Ym][Gn]=t:e[Oo]=t,e[Ym]=t,t}function P(e=1){iy(ut(),ce(),ga()+e)}function iy(e,t,a,n){if((t[me]&3)===3){let r=e.preOrderCheckHooks;r!==null&&il(t,r,a)}else{let r=e.preOrderHooks;r!==null&&ol(t,r,0,a)}qr(a)}var ku=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(ku||{});function yd(e,t,a,n){let r=De(null);try{let[i,o,l]=e.inputs[a],u=null;o&ku.SignalBased&&(u=t[i][fn]),u!==null&&u.transformFn!==void 0?n=u.transformFn(n):l!==null&&(n=l.call(t,n)),e.setInput!==null?e.setInput(t,u,n,a,i):Y0(t,u,i,n)}finally{De(r)}}function oy(e,t,a,n,r){let i=ga(),o=n&2;try{qr(-1),o&&t.length>kt&&iy(e,t,kt,!1),zr(o?2:0,r),a(n,r)}finally{qr(i)}}function Cu(e,t,a){gG(e,t,a),(a.flags&64)===64&&vG(e,t,a)}function hp(e,t,a=fa){let n=t.localNames;if(n!==null){let r=t.index+1;for(let i=0;i<n.length;i+=2){let o=n[i+1],l=o===-1?a(t,e):e[o];e[r++]=l}}}function pG(e,t,a,n){let r=n.get(t8,Bb)||a===Pa.ShadowDom;return e.selectRootElement(t,r)}function mG(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function pp(e,t,a,n,r,i,o,l){if(!l&&fp(t,e,a,n,r)){qi(t)&&fG(a,t.index);return}if(t.type&3){let u=fa(t,a);n=mG(n),r=o!=null?o(r,t.value||"",n):r,i.setProperty(u,n,r)}else t.type&12}function fG(e,t){let a=pa(t,e);a[me]&16||(a[me]|=64)}function gG(e,t,a){let n=a.directiveStart,r=a.directiveEnd;qi(a)&&hG(t,a,e.data[n+a.componentOffset]),e.firstCreatePass||Ol(a,t);let i=a.initialInputs;for(let o=n;o<r;o++){let l=e.data[o],u=Mo(t,e,o,a);if(Zi(u,t),i!==null&&wG(t,o-n,u,l,a,i),da(l)){let c=pa(a.index,t);c[qt]=Mo(t,e,o,a)}}}function vG(e,t,a){let n=a.directiveStart,r=a.directiveEnd,i=a.index,o=cU();try{qr(i);for(let l=n;l<r;l++){let u=e.data[l],c=t[l];cd(l),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&bG(u,c)}}finally{qr(-1),cd(o)}}function bG(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function mp(e,t){let a=e.directiveRegistry,n=null;if(a)for(let r=0;r<a.length;r++){let i=a[r];Jb(t,i.selectors,!1)&&(n??(n=[]),da(i)?n.unshift(i):n.push(i))}return n}function yG(e,t,a,n,r,i){let o=fa(e,t);_G(t[vt],o,i,e.value,a,n,r)}function _G(e,t,a,n,r,i,o){if(i==null)e.removeAttribute(t,r,a);else{let l=o==null?Si(i):o(i,n||"",r);e.setAttribute(t,r,l,a)}}function wG(e,t,a,n,r,i){let o=i[t];if(o!==null)for(let l=0;l<o.length;l+=2){let u=o[l],c=o[l+1];yd(n,a,u,c)}}function xG(e,t){let a=e[Ii],n=a?a.get(Zn,null):null;n&&n.handleError(t)}function fp(e,t,a,n,r){var u,c;let i=(u=e.inputs)==null?void 0:u[n],o=(c=e.hostDirectiveInputs)==null?void 0:c[n],l=!1;if(o)for(let d=0;d<o.length;d+=2){let m=o[d],v=o[d+1],g=t.data[m];yd(g,a[m],v,r),l=!0}if(i)for(let d of i){let m=a[d],v=t.data[d];yd(v,m,n,r),l=!0}return l}function EG(e,t){let a=pa(t,e),n=a[be];SG(n,a);let r=a[Ba];r!==null&&a[Di]===null&&(a[Di]=Ub(r,a[Ii])),gp(n,a,a[qt]),zr(19,a[qt])}function SG(e,t){for(let a=t.length;a<e.blueprint.length;a++)t.push(e.blueprint[a])}function gp(e,t,a){var n;Zh(t);try{let r=e.viewQuery;r!==null&&bd(1,r,a);let i=e.template;i!==null&&oy(e,t,i,1,a),e.firstCreatePass&&(e.firstCreatePass=!1),(n=t[Wn])==null||n.finishViewCreation(e),e.staticContentQueries&&Gb(e,t),e.staticViewQueries&&bd(2,e.viewQuery,a);let o=e.components;o!==null&&kG(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[me]&=-5,Yh()}}function kG(e,t){for(let a=0;a<t.length;a++)EG(e,t[a])}function ds(e,t,a,n){let r=De(null);try{let i=t.tView,o=e[me]&4096?4096:16,l=cp(e,i,a,o,null,t,null,null,(n==null?void 0:n.injector)??null,(n==null?void 0:n.embeddedViewInjector)??null,(n==null?void 0:n.dehydratedView)??null),u=e[t.index];l[jr]=u;let c=e[Wn];return c!==null&&(l[Wn]=c.createEmbeddedView(i)),gp(i,l,a),l}finally{De(r)}}function Ni(e,t){return!t||t.firstChild===null||Ab(e)}var CG;function vp(e,t){return CG(e,t)}var tr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(tr||{});function bp(e){return(e.flags&32)===32}function mi(e,t,a,n,r){if(n!=null){let i,o=!1;Ha(n)?i=n:ur(n)&&(o=!0,n=n[Ba]);let l=ha(n);e===0&&a!==null?r==null?ty(t,a,l):Pl(t,a,l,r||null,!0):e===1&&a!==null?Pl(t,a,l,r||null,!0):e===2?sG(t,l,o):e===3&&t.destroyNode(l),i!=null&&LG(t,e,i,a,r)}}function DG(e,t){sy(e,t),t[Ba]=null,t[_n]=null}function IG(e,t,a,n,r,i){n[Ba]=r,n[_n]=t,Tu(e,n,a,1,r,i)}function sy(e,t){var a;(a=t[za].changeDetectionScheduler)==null||a.notify(9),Tu(e,t,t[vt],2,null,null)}function TG(e){let t=e[Oo];if(!t)return ac(e[be],e);for(;t;){let a=null;if(ur(t))a=t[Oo];else{let n=t[Jt];n&&(a=n)}if(!a){for(;t&&!t[Gn]&&t!==e;)ur(t)&&ac(t[be],t),t=t[tn];t===null&&(t=e),ur(t)&&ac(t[be],t),a=t&&t[Gn]}t=a}}function yp(e,t){let a=e[Ti],n=a.indexOf(t);a.splice(n,1)}function Du(e,t){if($i(t))return;let a=t[vt];a.destroyNode&&Tu(e,t,a,3,null,null),TG(t)}function ac(e,t){if($i(t))return;let a=De(null);try{t[me]&=-129,t[me]|=256,t[Pn]&&su(t[Pn]),NG(e,t),RG(e,t),t[be].type===1&&t[vt].destroy();let n=t[jr];if(n!==null&&Ha(t[tn])){n!==t[tn]&&yp(n,t);let r=t[Wn];r!==null&&r.detachView(e)}gd(t)}finally{De(a)}}function RG(e,t){let a=e.cleanup,n=t[bi];if(a!==null)for(let o=0;o<a.length-1;o+=2)if(typeof a[o]=="string"){let l=a[o+3];l>=0?n[l]():n[-l].unsubscribe(),o+=2}else{let l=n[a[o+1]];a[o].call(l)}n!==null&&(t[bi]=null);let r=t[sr];if(r!==null){t[sr]=null;for(let o=0;o<r.length;o++){let l=r[o];l()}}let i=t[Aa];if(i!==null){t[Aa]=null;for(let o of i)o.destroy()}}function NG(e,t){let a;if(e!=null&&(a=e.destroyHooks)!=null)for(let n=0;n<a.length;n+=2){let r=t[a[n]];if(!(r instanceof ss)){let i=a[n+1];if(Array.isArray(i))for(let o=0;o<i.length;o+=2){let l=r[i[o]],u=i[o+1];try{u.call(l)}finally{}}else try{i.call(r)}finally{}}}}function ly(e,t,a){return OG(e,t.parent,a)}function OG(e,t,a){let n=t;for(;n!==null&&n.type&168;)t=n,n=t.parent;if(n===null)return a[Ba];if(qi(n)){let{encapsulation:r}=e.data[n.directiveStart+n.componentOffset];if(r===Pa.None||r===Pa.Emulated)return null}return fa(n,a)}function uy(e,t,a){return AG(e,t,a)}function MG(e,t,a){return e.type&40?fa(e,a):null}var AG=MG;function Iu(e,t,a,n){let r=ly(e,n,t),i=t[vt],o=n.parent||t[_n],l=uy(o,n,t);if(r!=null)if(Array.isArray(a))for(let u=0;u<a.length;u++)pf(i,r,a[u],l,!1);else pf(i,r,a,l,!1)}function go(e,t){if(t!==null){let a=t.type;if(a&3)return fa(t,e);if(a&4)return _d(-1,e[t.index]);if(a&8){let n=t.child;if(n!==null)return go(e,n);{let r=e[t.index];return Ha(r)?_d(-1,r):ha(r)}}else{if(a&128)return go(e,t.next);if(a&32)return vp(t,e)()||ha(e[t.index]);{let n=cy(e,t);if(n!==null){if(Array.isArray(n))return n[0];let r=Hr(e[Ln]);return go(r,n)}else return go(e,t.next)}}}return null}function cy(e,t){if(t!==null){let a=e[Ln][_n],n=t.projection;return a.projection[n]}return null}function _d(e,t){let a=Jt+e+1;if(a<t.length){let n=t[a],r=n[be].firstChild;if(r!==null)return go(n,r)}return t[Vr]}function _p(e,t,a,n,r,i,o){for(;a!=null;){if(a.type===128){a=a.next;continue}let l=n[a.index],u=a.type;if(o&&t===0&&(l&&Zi(ha(l),n),a.flags|=2),!bp(a))if(u&8)_p(e,t,a.child,n,r,i,!1),mi(t,e,r,l,i);else if(u&32){let c=vp(a,n),d;for(;d=c();)mi(t,e,r,d,i);mi(t,e,r,l,i)}else u&16?dy(e,t,n,a,r,i):mi(t,e,r,l,i);a=o?a.projectionNext:a.next}}function Tu(e,t,a,n,r,i){_p(a,n,e.firstChild,t,r,i,!1)}function PG(e,t,a){let n=t[vt],r=ly(e,a,t),i=a.parent||t[_n],o=uy(i,a,t);dy(n,0,t,a,r,o)}function dy(e,t,a,n,r,i){let o=a[Ln],l=o[_n].projection[n.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++){let c=l[u];mi(t,e,r,c,i)}else{let u=l,c=o[tn];Ab(n)&&(u.flags|=128),_p(e,t,u,c,r,i,!0)}}function LG(e,t,a,n,r){let i=a[Vr],o=ha(a);i!==o&&mi(t,e,n,i,r);for(let l=Jt;l<a.length;l++){let u=a[l];Tu(u[be],u,e,t,n,i)}}function FG(e,t,a,n,r){if(t)r?e.addClass(a,n):e.removeClass(a,n);else{let i=n.indexOf("-")===-1?void 0:tr.DashCase;r==null?e.removeStyle(a,n,i):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),i|=tr.Important),e.setStyle(a,n,r,i))}}function Ll(e,t,a,n,r=!1){for(;a!==null;){if(a.type===128){a=r?a.projectionNext:a.next;continue}let i=t[a.index];i!==null&&n.push(ha(i)),Ha(i)&&jG(i,n);let o=a.type;if(o&8)Ll(e,t,a.child,n);else if(o&32){let l=vp(a,t),u;for(;u=l();)n.push(u)}else if(o&16){let l=cy(t,a);if(Array.isArray(l))n.push(...l);else{let u=Hr(t[Ln]);Ll(u[be],u,l,n,!0)}}a=r?a.projectionNext:a.next}return n}function jG(e,t){for(let a=Jt;a<e.length;a++){let n=e[a],r=n[be].firstChild;r!==null&&Ll(n[be],n,r,t)}e[Vr]!==e[Ba]&&t.push(e[Vr])}function hy(e){if(e[lr]!==null){for(let t of e[lr])t.impl.addSequence(t);e[lr].length=0}}var py=[];function VG(e){return e[Pn]??zG(e)}function zG(e){let t=py.pop()??Object.create(HG);return t.lView=e,t}function BG(e){e.lView[Pn]!==e&&(e.lView=null,py.push(e))}var HG=Yt(ue({},zi),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Ui(e.lView)},consumerOnSignalRead(){this.lView[Pn]=this}});function qG(e){let t=e[Pn]??Object.create($G);return t.lView=e,t}var $G=Yt(ue({},zi),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Hr(e.lView);for(;t&&!my(t[be]);)t=Hr(t);t&&Bh(t)},consumerOnSignalRead(){this.lView[Pn]=this}});function my(e){return e.type!==2}function fy(e){if(e[Aa]===null)return;let t=!0;for(;t;){let a=!1;for(let n of e[Aa])n.dirty&&(a=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));t=a&&!!(e[me]&8192)}}var UG=100;function gy(e,t=!0,a=0){var r,i;let n=e[za].rendererFactory;(r=n.begin)==null||r.call(n);try{GG(e,a)}catch(o){throw t&&xG(e,o),o}finally{(i=n.end)==null||i.call(n)}}function GG(e,t){let a=ib();try{Il(!0),wd(e,t);let n=0;for(;os(e);){if(n===UG)throw new U(103,!1);n++,wd(e,1)}}finally{Il(a)}}function WG(e,t,a,n){if($i(t))return;let r=t[me],i=!1,o=!1;Zh(t);let l=!0,u=null,c=null;my(e)?(c=VG(t),u=Do(c)):Qq()===null?(l=!1,c=qG(t),u=Do(c)):t[Pn]&&(su(t[Pn]),t[Pn]=null);try{tb(t),sU(e.bindingStartIndex),a!==null&&oy(e,t,a,2,n);let d=(r&3)===3;if(!i)if(d){let g=e.preOrderCheckHooks;g!==null&&il(t,g,null)}else{let g=e.preOrderHooks;g!==null&&ol(t,g,0,null),tc(t,0)}if(o||ZG(t),fy(t),vy(t,0),e.contentQueries!==null&&Gb(e,t),!i)if(d){let g=e.contentCheckHooks;g!==null&&il(t,g)}else{let g=e.contentHooks;g!==null&&ol(t,g,1),tc(t,1)}KG(e,t);let m=e.components;m!==null&&yy(t,m,0);let v=e.viewQuery;if(v!==null&&bd(2,v,n),!i)if(d){let g=e.viewCheckHooks;g!==null&&il(t,g)}else{let g=e.viewHooks;g!==null&&ol(t,g,2),tc(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[ec]){for(let g of t[ec])g();t[ec]=null}i||(hy(t),t[me]&=-73)}catch(d){throw Ui(t),d}finally{c!==null&&(ou(c,u),l&&BG(c)),Yh()}}function vy(e,t){for(let a=Fb(e);a!==null;a=jb(a))for(let n=Jt;n<a.length;n++){let r=a[n];by(r,t)}}function ZG(e){for(let t=Fb(e);t!==null;t=jb(t)){if(!(t[me]&2))continue;let a=t[Ti];for(let n=0;n<a.length;n++){let r=a[n];Bh(r)}}}function YG(e,t,a){let n=pa(t,e);by(n,a),zr(19,n[qt])}function by(e,t){zh(e)&&wd(e,t)}function wd(e,t){let a=e[be],n=e[me],r=e[Pn],i=!!(t===0&&n&16);if(i||(i=!!(n&64&&t===0)),i||(i=!!(n&1024)),i||(i=!!(r!=null&&r.dirty&&gh(r))),i||(i=!1),r&&(r.dirty=!1),e[me]&=-9217,i)WG(a,e,a.template,e[qt]);else if(n&8192){fy(e),vy(e,1);let o=a.components;o!==null&&yy(e,o,1),hy(e)}}function yy(e,t,a){for(let n=0;n<t.length;n++)YG(e,t[n],a)}function KG(e,t){let a=e.hostBindingOpCodes;if(a!==null)try{for(let n=0;n<a.length;n++){let r=a[n];if(r<0)qr(~r);else{let i=r,o=a[++n],l=a[++n];uU(o,i);let u=t[i];zr(24,u),l(2,u),zr(25,u)}}}finally{qr(-1)}}function wp(e,t){var n;let a=ib()?64:1088;for((n=e[za].changeDetectionScheduler)==null?void 0:n.notify(t);e;){e[me]|=a;let r=Hr(e);if(Dl(e)&&!r)return e;e=r}return null}function _y(e,t,a,n){return[e,!0,0,t,null,n,null,a,null,null]}function wy(e,t){let a=Jt+t;if(a<e.length)return e[a]}function hs(e,t,a,n=!0){let r=t[be];if(QG(r,t,e,a),n){let o=_d(a,e),l=t[vt],u=l.parentNode(e[Vr]);u!==null&&IG(r,e[_n],l,t,u,o)}let i=t[Di];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function xy(e,t){let a=Po(e,t);return a!==void 0&&Du(a[be],a),a}function Po(e,t){if(e.length<=Jt)return;let a=Jt+t,n=e[a];if(n){let r=n[jr];r!==null&&r!==e&&yp(r,n),t>0&&(e[a-1][Gn]=n[Gn]);let i=Sl(e,Jt+t);DG(n[be],n);let o=i[Wn];o!==null&&o.detachView(i[be]),n[tn]=null,n[Gn]=null,n[me]&=-129}return n}function QG(e,t,a,n){let r=Jt+n,i=a.length;n>0&&(a[r-1][Gn]=t),n<i-Jt?(t[Gn]=a[r],F0(a,Jt+n,t)):(a.push(t),t[Gn]=null),t[tn]=a;let o=t[jr];o!==null&&a!==o&&Ey(o,t);let l=t[Wn];l!==null&&l.insertView(e),ld(t),t[me]|=128}function Ey(e,t){let a=e[Ti],n=t[tn];if(ur(n))e[me]|=2;else{let r=n[tn][Ln];t[Ln]!==r&&(e[me]|=2)}a===null?e[Ti]=[t]:a.push(t)}var Lo=class{constructor(e,t,a=!0){s(this,"_lView");s(this,"_cdRefInjectingView");s(this,"notifyErrorHandler");s(this,"_appRef",null);s(this,"_attachedToViewContainer",!1);this._lView=e,this._cdRefInjectingView=t,this.notifyErrorHandler=a}get rootNodes(){let e=this._lView,t=e[be];return Ll(t,e,t.firstChild,[])}get context(){return this._lView[qt]}set context(e){this._lView[qt]=e}get destroyed(){return $i(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[tn];if(Ha(e)){let t=e[Cl],a=t?t.indexOf(this):-1;a>-1&&(Po(e,a),Sl(t,a))}this._attachedToViewContainer=!1}Du(this._lView[be],this._lView)}onDestroy(e){nb(this._lView,e)}markForCheck(){wp(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[me]&=-129}reattach(){ld(this._lView),this._lView[me]|=128}detectChanges(){this._lView[me]|=1024,gy(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new U(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Dl(this._lView),t=this._lView[jr];t!==null&&!e&&yp(t,this._lView),sy(this._lView[be],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new U(902,!1);this._appRef=e;let t=Dl(this._lView),a=this._lView[jr];a!==null&&!t&&Ey(a,this._lView),ld(this._lView)}};function XG(e){return os(e._lView)||!!(e._lView[me]&64)}function JG(e){Bh(e._cdRefInjectingView||e._lView)}var nn=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",nW),e})(),eW=nn,tW=class extends eW{constructor(t,a,n){super();s(this,"_declarationLView");s(this,"_declarationTContainer");s(this,"elementRef");this._declarationLView=t,this._declarationTContainer=a,this.elementRef=n}get ssrId(){var t;return((t=this._declarationTContainer.tView)==null?void 0:t.ssrId)||null}createEmbeddedView(t,a){return this.createEmbeddedViewImpl(t,a)}createEmbeddedViewImpl(t,a,n){let r=ds(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:a,dehydratedView:n});return new Lo(r)}};function nW(){return xp(an(),ce())}function xp(e,t){return e.type&4?new tW(t,e,Wi(e,t)):null}function Yi(e,t,a,n,r){let i=e.data[t];if(i===null)i=aW(e,t,a,n,r),lU()&&(i.flags|=32);else if(i.type&64){i.type=a,i.value=n,i.attrs=r;let o=rU();i.injectorIndex=o===null?-1:o.injectorIndex}return hr(i,!0),i}function aW(e,t,a,n,r){let i=rb(),o=$h(),l=o?i:i&&i.parent,u=e.data[t]=iW(e,l,a,t,n,r);return rW(e,u,i,o),u}function rW(e,t,a,n){e.firstChild===null&&(e.firstChild=t),a!==null&&(n?a.child==null&&t.parent!==null&&(a.child=t):a.next===null&&(a.next=t,t.prev=a))}function iW(e,t,a,n,r,i){let o=t?t.injectorIndex:-1,l=0;return ab()&&(l|=128),{type:a,index:n,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:r,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var oW=()=>null;function Oi(e,t){return oW()}var sW=class{},Sy=class{},lW=class{resolveComponentFactory(e){throw Error(`No component factory found for ${An(e)}.`)}},Zc,ps=(Zc=class{},s(Zc,"NULL",new lW),Zc),Yn=class{},Qr=(()=>{class e{constructor(){s(this,"destroyNode",null)}}return s(e,"__NG_ELEMENT_ID__",()=>uW()),e})();function uW(){let e=ce(),t=an(),a=pa(t.index,e);return(ur(a)?a:e)[vt]}var cW=(()=>{const t=class t{};s(t,"ɵprov",z({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),rc={},dW=class{constructor(e,t){s(this,"injector");s(this,"parentInjector");this.injector=e,this.parentInjector=t}get(e,t,a){a=hu(a);let n=this.injector.get(e,rc,a);return n!==rc||t===rc?n:this.parentInjector.get(e,t,a)}};function xd(e,t,a){let n=a?e.styles:null,r=a?e.classes:null,i=0;if(t!==null)for(let o=0;o<t.length;o++){let l=t[o];if(typeof l=="number")i=l;else if(i==1)r=td(r,l);else if(i==2){let u=l,c=t[++o];n=td(n,u+": "+c+";")}}a?e.styles=n:e.stylesWithoutHost=n,a?e.classes=r:e.classesWithoutHost=r}function en(e,t=Te.Default){let a=ce();if(a===null)return oe(e,t);let n=an();return xb(n,a,Wt(e),t)}function Ep(e,t,a,n,r){let i=n===null?null:{"":-1},o=r(e,a);if(o!==null){let l,u=null,c=null,d=pW(o);d===null?l=o:[l,u,c]=d,gW(e,t,a,l,i,u,c)}i!==null&&n!==null&&hW(a,n,i)}function hW(e,t,a){let n=e.localNames=[];for(let r=0;r<t.length;r+=2){let i=a[t[r+1]];if(i==null)throw new U(-301,!1);n.push(t[r],i)}}function pW(e){let t=null,a=!1;for(let o=0;o<e.length;o++){let l=e[o];if(o===0&&da(l)&&(t=l),l.findHostDirectiveDefs!==null){a=!0;break}}if(!a)return null;let n=null,r=null,i=null;for(let o of e)o.findHostDirectiveDefs!==null&&(n??(n=[]),r??(r=new Map),i??(i=new Map),mW(o,n,i,r)),o===t&&(n??(n=[]),n.push(o));return n!==null?(n.push(...t===null?e:e.slice(1)),[n,r,i]):null}function mW(e,t,a,n){let r=t.length;e.findHostDirectiveDefs(e,t,n),a.set(e,[r,t.length-1])}function fW(e,t,a){t.componentOffset=a,(e.components??(e.components=[])).push(t.index)}function gW(e,t,a,n,r,i,o){let l=n.length,u=!1;for(let v=0;v<l;v++){let g=n[v];!u&&da(g)&&(u=!0,fW(e,a,v)),hd(Ol(a,t),e,g.type)}xW(a,e.data.length,l);for(let v=0;v<l;v++){let g=n[v];g.providersResolver&&g.providersResolver(g)}let c=!1,d=!1,m=ry(e,t,l,null);l>0&&(a.directiveToIndex=new Map);for(let v=0;v<l;v++){let g=n[v];if(a.mergedAttrs=Ri(a.mergedAttrs,g.hostAttrs),bW(e,a,t,m,g),wW(m,g,r),o!==null&&o.has(g)){let[x,k]=o.get(g);a.directiveToIndex.set(g.type,[m,x+a.directiveStart,k+a.directiveStart])}else(i===null||!i.has(g))&&a.directiveToIndex.set(g.type,m);g.contentQueries!==null&&(a.flags|=4),(g.hostBindings!==null||g.hostAttrs!==null||g.hostVars!==0)&&(a.flags|=64);let w=g.type.prototype;!c&&(w.ngOnChanges||w.ngOnInit||w.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(a.index),c=!0),!d&&(w.ngOnChanges||w.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(a.index),d=!0),m++}vW(e,a,i)}function vW(e,t,a){for(let n=t.directiveStart;n<t.directiveEnd;n++){let r=e.data[n];if(a===null||!a.has(r))mf(0,t,r,n),mf(1,t,r,n),gf(t,n,!1);else{let i=a.get(r);ff(0,t,i,n),ff(1,t,i,n),gf(t,n,!0)}}}function mf(e,t,a,n){let r=e===0?a.inputs:a.outputs;for(let i in r)if(r.hasOwnProperty(i)){let o;e===0?o=t.inputs??(t.inputs={}):o=t.outputs??(t.outputs={}),o[i]??(o[i]=[]),o[i].push(n),ky(t,i)}}function ff(e,t,a,n){let r=e===0?a.inputs:a.outputs;for(let i in r)if(r.hasOwnProperty(i)){let o=r[i],l;e===0?l=t.hostDirectiveInputs??(t.hostDirectiveInputs={}):l=t.hostDirectiveOutputs??(t.hostDirectiveOutputs={}),l[o]??(l[o]=[]),l[o].push(n,i),ky(t,o)}}function ky(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function gf(e,t,a){let{attrs:n,inputs:r,hostDirectiveInputs:i}=e;if(n===null||!a&&r===null||a&&i===null||lp(e)){e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(null);return}let o=null,l=0;for(;l<n.length;){let u=n[l];if(u===0){l+=4;continue}else if(u===5){l+=2;continue}else if(typeof u=="number")break;if(!a&&r.hasOwnProperty(u)){let c=r[u];for(let d of c)if(d===t){o??(o=[]),o.push(u,n[l+1]);break}}else if(a&&i.hasOwnProperty(u)){let c=i[u];for(let d=0;d<c.length;d+=2)if(c[d]===t){o??(o=[]),o.push(c[d+1],n[l+1]);break}}l+=2}e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(o)}function bW(e,t,a,n,r){e.data[n]=r;let i=r.factory||(r.factory=Fr(r.type)),o=new ss(i,da(r),en);e.blueprint[n]=o,a[n]=o,yW(e,t,n,ry(e,a,r.hostVars,In),r)}function yW(e,t,a,n,r){let i=r.hostBindings;if(i){let o=e.hostBindingOpCodes;o===null&&(o=e.hostBindingOpCodes=[]);let l=~t.index;_W(o)!=l&&o.push(l),o.push(a,n,i)}}function _W(e){let t=e.length;for(;t>0;){let a=e[--t];if(typeof a=="number"&&a<0)return a}return 0}function wW(e,t,a){if(a){if(t.exportAs)for(let n=0;n<t.exportAs.length;n++)a[t.exportAs[n]]=e;da(t)&&(a[""]=e)}}function xW(e,t,a){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+a,e.providerIndexes=t}function Cy(e,t,a,n,r,i,o,l){let u=t.consts,c=Br(u,o),d=Yi(t,e,2,n,c);return Ep(t,a,d,Br(u,l),r),d.mergedAttrs=Ri(d.mergedAttrs,d.attrs),d.attrs!==null&&xd(d,d.attrs,!1),d.mergedAttrs!==null&&xd(d,d.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,d),d}function Dy(e,t){Kh(e,t),Fh(t)&&e.queries.elementEnd(t)}var EW=class extends ps{constructor(t){super();s(this,"ngModule");this.ngModule=t}resolveComponentFactory(t){let a=ki(t);return new Sp(a,this.ngModule)}};function SW(e){return Object.keys(e).map(t=>{let[a,n,r]=e[t],i={propName:a,templateName:t,isSignal:(n&ku.SignalBased)!==0};return r&&(i.transform=r),i})}function kW(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function CW(e,t,a){let n=t instanceof ca?t:t==null?void 0:t.injector;return n&&e.getStandaloneInjector!==null&&(n=e.getStandaloneInjector(n)||n),n?new dW(a,n):a}function DW(e){let t=e.get(Yn,null);if(t===null)throw new U(407,!1);let a=e.get(cW,null),n=e.get(Gi,null);return{rendererFactory:t,sanitizer:a,changeDetectionScheduler:n}}function IW(e,t){let a=(e.selectors[0][0]||"div").toLowerCase();return ey(t,a,a==="svg"?J0:a==="math"?G6:null)}var Sp=class extends Sy{constructor(t,a){super();s(this,"componentDef");s(this,"ngModule");s(this,"selector");s(this,"componentType");s(this,"ngContentSelectors");s(this,"isBoundToModule");s(this,"cachedInputs",null);s(this,"cachedOutputs",null);this.componentDef=t,this.ngModule=a,this.componentType=t.type,this.selector=nG(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!a}get inputs(){return this.cachedInputs??(this.cachedInputs=SW(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=kW(this.componentDef.outputs)),this.cachedOutputs}create(t,a,n,r){let i=De(null);try{let o=this.componentDef,l=n?["ng-version","19.2.15"]:aG(this.componentDef.selectors[0]),u=up(0,null,null,1,0,null,null,null,null,[l],null),c=CW(o,r||this.ngModule,t),d=DW(c),m=d.rendererFactory.createRenderer(null,o),v=n?pG(m,n,o.encapsulation,c):IW(o,m),g=cp(null,u,null,512|ay(o),null,null,d,m,c,null,Ub(v,c,!0));g[kt]=v,Zh(g);let w=null;try{let x=Cy(kt,u,g,"#host",()=>[this.componentDef],!0,0);v&&(ny(m,v,x),Zi(v,g)),Cu(u,g,x),op(u,x,g),Dy(u,x),a!==void 0&&RW(x,this.ngContentSelectors,a),w=pa(x.index,g),g[qt]=w[qt],gp(u,g,null)}catch(x){throw w!==null&&gd(w),gd(g),x}finally{zr(23),Yh()}return new TW(this.componentType,g)}finally{De(i)}}},TW=class extends sW{constructor(t,a){super();s(this,"_rootLView");s(this,"instance");s(this,"hostView");s(this,"changeDetectorRef");s(this,"componentType");s(this,"location");s(this,"previousInputValues",null);s(this,"_tNode");this._rootLView=a,this._tNode=jh(a[be],kt),this.location=Wi(this._tNode,a),this.instance=pa(this._tNode.index,a)[qt],this.hostView=this.changeDetectorRef=new Lo(a,void 0,!1),this.componentType=t}setInput(t,a){let n=this._tNode;if(this.previousInputValues??(this.previousInputValues=new Map),this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),a))return;let r=this._rootLView;fp(n,r[be],r,t,a),this.previousInputValues.set(t,a);let i=pa(n.index,r);wp(i,1)}get injector(){return new wo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function RW(e,t,a){let n=e.projection=[];for(let r=0;r<t.length;r++){let i=a[r];n.push(i!=null&&i.length?Array.from(i):null)}}var Kn=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",NW),e})();function NW(){let e=an();return Ty(e,ce())}var OW=Kn,Iy=class extends OW{constructor(t,a,n){super();s(this,"_lContainer");s(this,"_hostTNode");s(this,"_hostLView");this._lContainer=t,this._hostTNode=a,this._hostLView=n}get element(){return Wi(this._hostTNode,this._hostLView)}get injector(){return new wo(this._hostTNode,this._hostLView)}get parentInjector(){let t=Qh(this._hostTNode,this._hostLView);if(gb(t)){let a=Rl(t,this._hostLView),n=Tl(t),r=a[be].data[n+8];return new wo(r,a)}else return new wo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let a=vf(this._lContainer);return a!==null&&a[t]||null}get length(){return this._lContainer.length-Jt}createEmbeddedView(t,a,n){let r,i;typeof n=="number"?r=n:n!=null&&(r=n.index,i=n.injector);let o=Oi(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(a||{},i,o);return this.insertImpl(l,r,Ni(this._hostTNode,o)),l}createComponent(t,a,n,r,i){let o=t&&!B6(t),l;if(o)l=a;else{let w=a||{};l=w.index,n=w.injector,r=w.projectableNodes,i=w.environmentInjector||w.ngModuleRef}let u=o?t:new Sp(ki(t)),c=n||this.parentInjector;if(!i&&u.ngModule==null){let w=(o?c:this.parentInjector).get(ca,null);w&&(i=w)}let d=ki(u.componentType??{}),m=Oi(this._lContainer,(d==null?void 0:d.id)??null),v=null,g=u.create(c,r,v,i);return this.insertImpl(g.hostView,l,Ni(this._hostTNode,m)),g}insert(t,a){return this.insertImpl(t,a,!0)}insertImpl(t,a,n){let r=t._lView;if(Z6(r)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let u=r[tn],c=new Iy(u,u[_n],u[tn]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(a),o=this._lContainer;return hs(o,r,i,n),t.attachToViewContainerRef(),F0(ic(o),i,t),t}move(t,a){return this.insert(t,a)}indexOf(t){let a=vf(this._lContainer);return a!==null?a.indexOf(t):-1}remove(t){let a=this._adjustIndex(t,-1),n=Po(this._lContainer,a);n&&(Sl(ic(this._lContainer),a),Du(n[be],n))}detach(t){let a=this._adjustIndex(t,-1),n=Po(this._lContainer,a);return n&&Sl(ic(this._lContainer),a)!=null?new Lo(n):null}_adjustIndex(t,a=0){return t??this.length+a}};function vf(e){return e[Cl]}function ic(e){return e[Cl]||(e[Cl]=[])}function Ty(e,t){let a,n=t[e.index];return Ha(n)?a=n:(a=_y(n,t,null,e),t[e.index]=a,dp(t,a)),AW(a,t,e,n),new Iy(a,e,t)}function MW(e,t){let a=e[vt],n=a.createComment(""),r=fa(t,e),i=a.parentNode(r);return Pl(a,i,n,a.nextSibling(r),!1),n}var AW=PW;function PW(e,t,a,n){if(e[Vr])return;let r;a.type&8?r=ha(n):r=MW(t,a),e[Vr]=r}var LW=class Ry{constructor(t){s(this,"queryList");s(this,"matches",null);this.queryList=t}clone(){return new Ry(this.queryList)}setDirty(){this.queryList.setDirty()}},FW=class Ny{constructor(t=[]){s(this,"queries");this.queries=t}createEmbeddedView(t){let a=t.queries;if(a!==null){let n=t.contentQueries!==null?t.contentQueries[0]:a.length,r=[];for(let i=0;i<n;i++){let o=a.getByIndex(i),l=this.queries[o.indexInDeclarationView];r.push(l.clone())}return new Ny(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let a=0;a<this.queries.length;a++)kp(t,a).matches!==null&&this.queries[a].setDirty()}},Oy=class{constructor(e,t,a=null){s(this,"flags");s(this,"read");s(this,"predicate");this.flags=t,this.read=a,typeof e=="string"?this.predicate=WW(e):this.predicate=e}},jW=class My{constructor(t=[]){s(this,"queries");this.queries=t}elementStart(t,a){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,a)}elementEnd(t){for(let a=0;a<this.queries.length;a++)this.queries[a].elementEnd(t)}embeddedTView(t){let a=null;for(let n=0;n<this.length;n++){let r=a!==null?a.length:0,i=this.getByIndex(n).embeddedTView(t,r);i&&(i.indexInDeclarationView=n,a!==null?a.push(i):a=[i])}return a!==null?new My(a):null}template(t,a){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,a)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},VW=class Ay{constructor(t,a=-1){s(this,"metadata");s(this,"matches",null);s(this,"indexInDeclarationView",-1);s(this,"crossesNgTemplate",!1);s(this,"_declarationNodeIndex");s(this,"_appliesToNextNode",!0);this.metadata=t,this._declarationNodeIndex=a}elementStart(t,a){this.isApplyingToNode(a)&&this.matchTNode(t,a)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,a){this.elementStart(t,a)}embeddedTView(t,a){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,a),new Ay(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let a=this._declarationNodeIndex,n=t.parent;for(;n!==null&&n.type&8&&n.index!==a;)n=n.parent;return a===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(t,a){let n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){let i=n[r];this.matchTNodeWithReadOption(t,a,zW(a,i)),this.matchTNodeWithReadOption(t,a,sl(a,t,i,!1,!1))}else n===nn?a.type&4&&this.matchTNodeWithReadOption(t,a,-1):this.matchTNodeWithReadOption(t,a,sl(a,t,n,!1,!1))}matchTNodeWithReadOption(t,a,n){if(n!==null){let r=this.metadata.read;if(r!==null)if(r===Qe||r===Kn||r===nn&&a.type&4)this.addMatch(a.index,-2);else{let i=sl(a,t,r,!1,!1);i!==null&&this.addMatch(a.index,i)}else this.addMatch(a.index,n)}}addMatch(t,a){this.matches===null?this.matches=[t,a]:this.matches.push(t,a)}};function zW(e,t){let a=e.localNames;if(a!==null){for(let n=0;n<a.length;n+=2)if(a[n]===t)return a[n+1]}return null}function BW(e,t){return e.type&11?Wi(e,t):e.type&4?xp(e,t):null}function HW(e,t,a,n){return a===-1?BW(t,e):a===-2?qW(e,t,n):Mo(e,e[be],a,t)}function qW(e,t,a){if(a===Qe)return Wi(t,e);if(a===nn)return xp(t,e);if(a===Kn)return Ty(t,e)}function Py(e,t,a,n){let r=t[Wn].queries[n];if(r.matches===null){let i=e.data,o=a.matches,l=[];for(let u=0;o!==null&&u<o.length;u+=2){let c=o[u];if(c<0)l.push(null);else{let d=i[c];l.push(HW(t,d,o[u+1],a.metadata.read))}}r.matches=l}return r.matches}function Ed(e,t,a,n){let r=e.queries.getByIndex(a),i=r.matches;if(i!==null){let o=Py(e,t,r,a);for(let l=0;l<i.length;l+=2){let u=i[l];if(u>0)n.push(o[l/2]);else{let c=i[l+1],d=t[-u];for(let m=Jt;m<d.length;m++){let v=d[m];v[jr]===v[tn]&&Ed(v[be],v,c,n)}if(d[Ti]!==null){let m=d[Ti];for(let v=0;v<m.length;v++){let g=m[v];Ed(g[be],g,c,n)}}}}}return n}function $W(e,t){return e[Wn].queries[t].queryList}function Ly(e,t,a){let n=new ZU((a&4)===4);return Q6(e,t,n,n.destroy),(t[Wn]??(t[Wn]=new FW)).queries.push(new LW(n))-1}function UW(e,t,a){let n=ut();return n.firstCreatePass&&(Fy(n,new Oy(e,t,a),-1),(t&2)===2&&(n.staticViewQueries=!0)),Ly(n,ce(),t)}function GW(e,t,a,n){let r=ut();if(r.firstCreatePass){let i=an();Fy(r,new Oy(t,a,n),i.index),ZW(r,e)}return Ly(r,ce(),a)}function WW(e){return e.split(",").map(t=>t.trim())}function Fy(e,t,a){e.queries===null&&(e.queries=new jW),e.queries.track(new VW(t,a))}function ZW(e,t){let a=e.contentQueries||(e.contentQueries=[]),n=a.length?a[a.length-1]:-1;t!==n&&a.push(e.queries.length-1,t)}function kp(e,t){return e.queries.getByIndex(t)}function YW(e,t){let a=e[be],n=kp(a,t);return n.crossesNgTemplate?Ed(a,e,t,[]):Py(a,e,n,t)}function jy(e,t){let a=Object.create(S0),n=new Ob;a.value=e;function r(){return es(a),bf(a.value),a.value}return r[fn]=a,r.asReadonly=np.bind(r),r.set=i=>{a.equal(a.value,i)||(ns(a,i),n.emit(i))},r.update=i=>{bf(a.value),r.set(i(a.value))},r.subscribe=n.subscribe.bind(n),r.destroyRef=n.destroyRef,r}function bf(e){if(e===du)throw new U(952,!1)}function yf(e,t){return jy(e)}function KW(e){return jy(du)}var QW=(yf.required=KW,yf),Fo=class{},Vy=class extends Fo{constructor(t){super();s(this,"injector");s(this,"componentFactoryResolver",new EW(this));s(this,"instance",null);let a=new Ph([...t.providers,{provide:Fo,useValue:this},{provide:ps,useValue:this.componentFactoryResolver}],t.parent||pu(),t.debugName,new Set(["environment"]));this.injector=a,t.runEnvironmentInitializers&&a.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function XW(e,t,a=null){return new Vy({providers:e,parent:t,debugName:a,runEnvironmentInitializers:!0}).injector}var JW=(()=>{const t=class t{constructor(n){s(this,"_injector");s(this,"cachedInjectors",new Map);this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=H0(!1,n.type),i=r.length>0?XW([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};s(t,"ɵprov",z({token:t,providedIn:"environment",factory:()=>new t(oe(ca))}));let e=t;return e})();function Oe(e){return rs(()=>{let t=zy(e),a=Yt(ue({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Pb.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?r=>r.get(JW).getOrCreateStandaloneInjector(a):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Pa.Emulated,styles:e.styles||mn,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Yr("NgStandalone"),By(a);let n=e.dependencies;return a.directiveDefs=_f(n,!1),a.pipeDefs=_f(n,!0),a.id=rZ(a),a})}function eZ(e){return ki(e)||B0(e)}function tZ(e){return e!==null}function Bt(e){return rs(()=>({type:e.type,bootstrap:e.bootstrap||mn,declarations:e.declarations||mn,imports:e.imports||mn,exports:e.exports||mn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function nZ(e,t){if(e==null)return ua;let a={};for(let n in e)if(e.hasOwnProperty(n)){let r=e[n],i,o,l,u;Array.isArray(r)?(l=r[0],i=r[1],o=r[2]??i,u=r[3]||null):(i=r,o=r,l=ku.None,u=null),a[i]=[n,l,u],t[i]=o}return a}function aZ(e){if(e==null)return ua;let t={};for(let a in e)e.hasOwnProperty(a)&&(t[e[a]]=a);return t}function ye(e){return rs(()=>{let t=zy(e);return By(t),t})}function va(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 zy(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||ua,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||mn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:nZ(e.inputs,t),outputs:aZ(e.outputs),debugInfo:null}}function By(e){var t;(t=e.features)==null||t.forEach(a=>a(e))}function _f(e,t){if(!e)return null;let a=t?R6:eZ;return()=>(typeof e=="function"?e():e).map(n=>a(n)).filter(tZ)}function rZ(e){let t=0,a=typeof e.consts=="function"?"":e.consts,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,a,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let r of n.join("|"))t=Math.imul(31,t)+r.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function iZ(e){return Object.getPrototypeOf(e.prototype).constructor}function Ye(e){let t=iZ(e.type),a=!0,n=[e];for(;t;){let r;if(da(e))r=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new U(903,!1);r=t.ɵdir}if(r){if(a){n.push(r);let o=e;o.inputs=oc(e.inputs),o.declaredInputs=oc(e.declaredInputs),o.outputs=oc(e.outputs);let l=r.hostBindings;l&&cZ(e,l);let u=r.viewQuery,c=r.contentQueries;if(u&&lZ(e,u),c&&uZ(e,c),oZ(e,r),u6(e.outputs,r.outputs),da(r)&&r.data.animation){let d=e.data;d.animation=(d.animation||[]).concat(r.data.animation)}}let i=r.features;if(i)for(let o=0;o<i.length;o++){let l=i[o];l&&l.ngInherit&&l(e),l===Ye&&(a=!1)}}t=Object.getPrototypeOf(t)}sZ(n)}function oZ(e,t){for(let a in t.inputs){if(!t.inputs.hasOwnProperty(a)||e.inputs.hasOwnProperty(a))continue;let n=t.inputs[a];n!==void 0&&(e.inputs[a]=n,e.declaredInputs[a]=t.declaredInputs[a])}}function sZ(e){let t=0,a=null;for(let n=e.length-1;n>=0;n--){let r=e[n];r.hostVars=t+=r.hostVars,r.hostAttrs=Ri(r.hostAttrs,a=Ri(a,r.hostAttrs))}}function oc(e){return e===ua?{}:e===mn?[]:e}function lZ(e,t){let a=e.viewQuery;a?e.viewQuery=(n,r)=>{t(n,r),a(n,r)}:e.viewQuery=t}function uZ(e,t){let a=e.contentQueries;a?e.contentQueries=(n,r,i)=>{t(n,r,i),a(n,r,i)}:e.contentQueries=t}function cZ(e,t){let a=e.hostBindings;a?e.hostBindings=(n,r)=>{t(n,r),a(n,r)}:e.hostBindings=t}function dZ(e){let t=a=>{let n=Array.isArray(e);a.hostDirectives===null?(a.findHostDirectiveDefs=Hy,a.hostDirectives=n?e.map(Sd):[e]):n?a.hostDirectives.unshift(...e.map(Sd)):a.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Hy(e,t,a){if(e.hostDirectives!==null)for(let n of e.hostDirectives)if(typeof n=="function"){let r=n();for(let i of r)wf(Sd(i),t,a)}else wf(n,t,a)}function wf(e,t,a){let n=B0(e.directive);hZ(n.declaredInputs,e.inputs),Hy(n,t,a),a.set(n,e),t.push(n)}function Sd(e){return typeof e=="function"?{directive:Wt(e),inputs:ua,outputs:ua}:{directive:Wt(e.directive),inputs:xf(e.inputs),outputs:xf(e.outputs)}}function xf(e){if(e===void 0||e.length===0)return ua;let t={};for(let a=0;a<e.length;a+=2)t[e[a]]=e[a+1];return t}function hZ(e,t){for(let a in t)if(t.hasOwnProperty(a)){let n=t[a],r=e[a];e[n]=r}}function qy(e){return Cp(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function pZ(e,t){if(Array.isArray(e))for(let a=0;a<e.length;a++)t(e[a]);else{let a=e[Symbol.iterator](),n;for(;!(n=a.next()).done;)t(n.value)}}function Cp(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function ms(e,t,a){return e[t]=a}function $y(e,t){return e[t]}function bn(e,t,a){let n=e[t];return Object.is(n,a)?!1:(e[t]=a,!0)}function jo(e,t,a,n){let r=bn(e,t,a);return bn(e,t+1,n)||r}function mZ(e,t,a,n,r){let i=jo(e,t,a,n);return bn(e,t+2,r)||i}function fZ(e,t,a,n,r,i){let o=jo(e,t,a,n);return jo(e,t+2,r,i)||o}function gZ(e,t,a,n,r,i,o,l,u){let c=t.consts,d=Yi(t,e,4,o||null,l||null);Ep(t,a,d,Br(c,u),mp),d.mergedAttrs=Ri(d.mergedAttrs,d.attrs),Kh(t,d);let m=d.tView=up(2,d,n,r,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,d),m.queries=t.queries.embeddedTView(d)),d}function Uy(e,t,a,n,r,i,o,l,u,c){let d=a+kt,m=t.firstCreatePass?gZ(d,t,e,n,r,i,o,l,u):t.data[d];hr(m,!1);let v=vZ(t,e);yu()&&Iu(t,e,v,m),Zi(v,e);let g=_y(v,e,v,m);return e[d]=g,dp(e,g),gu(m)&&Cu(t,e,m),u!=null&&hp(e,m,c),m}function Ee(e,t,a,n,r,i,o,l){let u=ce(),c=ut(),d=Br(c.consts,i);return Uy(u,c,e,t,a,n,r,d,o,l),Ee}var vZ=bZ;function bZ(e,t,a,n){return _u(!0),t[vt].createComment("")}var yZ=new K(""),Gy=(()=>{const t=class t{};s(t,"ɵprov",z({token:t,providedIn:"root",factory:()=>new _Z}));let e=t;return e})(),_Z=class{constructor(){s(this,"queuedEffectCount",0);s(this,"queues",new Map)}schedule(e){this.enqueue(e)}remove(e){let t=e.zone,a=this.queues.get(t);a.has(e)&&(a.delete(e),this.queuedEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let a=this.queues.get(t);a.has(e)||(this.queuedEffectCount++,a.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,t]of this.queues)e===null?this.flushQueue(t):e.run(()=>this.flushQueue(t))}flushQueue(e){for(let t of e)e.delete(t),this.queuedEffectCount--,t.run()}};function Dp(e){return!!e&&typeof e.then=="function"}function Wy(e){return!!e&&typeof e.subscribe=="function"}var wZ=new K(""),Zy=(()=>{const t=class t{constructor(){s(this,"resolve");s(this,"reject");s(this,"initialized",!1);s(this,"done",!1);s(this,"donePromise",new Promise((n,r)=>{this.resolve=n,this.reject=r}));s(this,"appInits",S(wZ,{optional:!0})??[]);s(this,"injector",S(ht))}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=Lh(this.injector,i);if(Dp(o))n.push(o);else if(Wy(o)){let l=new Promise((u,c)=>{o.subscribe({complete:u,error:c})});n.push(l)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),n.length===0&&r(),this.initialized=!0}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),xZ=new K("");function EZ(){a$(()=>{throw new U(600,!1)})}function SZ(e){return e.isBoundToModule}var kZ=10,cr=(()=>{const t=class t{constructor(){s(this,"_runningTick",!1);s(this,"_destroyed",!1);s(this,"_destroyListeners",[]);s(this,"_views",[]);s(this,"internalErrorHandler",S(HU));s(this,"afterRenderManager",S(Hb));s(this,"zonelessEnabled",S(Db));s(this,"rootEffectScheduler",S(Gy));s(this,"dirtyFlags",0);s(this,"tracingSnapshot",null);s(this,"externalTestViews",new Set);s(this,"afterTick",new ge);s(this,"componentTypes",[]);s(this,"components",[]);s(this,"isStable",S(ls).hasPendingTasks.pipe(Pt(n=>!n)));s(this,"_injector",S(ca));s(this,"_rendererFactory",null);s(this,"tickImpl",()=>{var r;if(this._runningTick)throw new U(101,!1);let n=De(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,(r=this.tracingSnapshot)==null||r.dispose(),this.tracingSnapshot=null,De(n),this.afterTick.next()}});S(us,{optional:!0})}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,i=ht.NULL){let o=n instanceof Sy;if(!this._injector.get(Zy).done){let g="";throw new U(405,g)}let l;o?l=n:l=this._injector.get(ps).resolveComponentFactory(n),this.componentTypes.push(l.componentType);let u=SZ(l)?void 0:this._injector.get(Fo),c=r||l.selector,d=l.create(i,[],c,u),m=d.location.nativeElement,v=d.injector.get(yZ,null);return v==null||v.registerApplication(m),d.onDestroy(()=>{this.detachView(d.hostView),ll(this.components,d),v==null||v.unregisterApplication(m)}),this._loadComponent(d),d}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){this.tracingSnapshot!==null?this.tracingSnapshot.run(rp.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Yn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<kZ;)this.synchronizeOnce()}synchronizeOnce(){var n,r,i,o;if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let l=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:u,notifyErrorHandler:c}of this.allViews)CZ(u,c,l,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else(r=(n=this._rendererFactory)==null?void 0:n.begin)==null||r.call(n),(o=(i=this._rendererFactory)==null?void 0:i.end)==null||o.call(i);this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>os(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;ll(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(xZ,[]).forEach(r=>r(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ll(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",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function ll(e,t){let a=e.indexOf(t);a>-1&&e.splice(a,1)}function CZ(e,t,a,n){!a&&!os(e)||gy(e,t,a&&!n?0:1)}function $t(e,t,a,n){let r=ce(),i=Zr();if(bn(r,i,t)){ut();let o=bu();yG(o,r,e,t,a,n)}return $t}function DZ(e,t,a,n){return bn(e,Zr(),a)?t+Si(a)+n:In}function IZ(e,t,a,n,r,i){let o=oU(),l=jo(e,o,a,r);return Gh(2),l?t+Si(a)+n+Si(r)+i:In}function Ms(e,t){return e<<17|t<<2}function $r(e){return e>>17&32767}function TZ(e){return(e&2)==2}function RZ(e,t){return e&131071|t<<17}function kd(e){return e|2}function Mi(e){return(e&131068)>>2}function sc(e,t){return e&-131069|t<<2}function NZ(e){return(e&1)===1}function Cd(e){return e|1}function OZ(e,t,a,n,r,i){let o=i?t.classBindings:t.styleBindings,l=$r(o),u=Mi(o);e[n]=a;let c=!1,d;if(Array.isArray(a)){let m=a;d=m[1],(d===null||is(m,d)>0)&&(c=!0)}else d=a;if(r)if(u!==0){let m=$r(e[l+1]);e[n+1]=Ms(m,l),m!==0&&(e[m+1]=sc(e[m+1],n)),e[l+1]=RZ(e[l+1],n)}else e[n+1]=Ms(l,0),l!==0&&(e[l+1]=sc(e[l+1],n)),l=n;else e[n+1]=Ms(u,0),l===0?l=n:e[u+1]=sc(e[u+1],n),u=n;c&&(e[n+1]=kd(e[n+1])),Ef(e,d,n,!0),Ef(e,d,n,!1),MZ(t,d,e,n,i),o=Ms(l,u),i?t.classBindings=o:t.styleBindings=o}function MZ(e,t,a,n,r){let i=r?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&is(i,t)>=0&&(a[n+1]=Cd(a[n+1]))}function Ef(e,t,a,n){let r=e[a+1],i=t===null,o=n?$r(r):Mi(r),l=!1;for(;o!==0&&(l===!1||i);){let u=e[o],c=e[o+1];AZ(u,t)&&(l=!0,e[o+1]=n?Cd(c):kd(c)),o=n?$r(c):Mi(c)}l&&(e[a+1]=n?kd(r):Cd(r))}function AZ(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?is(e,t)>=0:!1}var Un={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function PZ(e){return e.substring(Un.key,Un.keyEnd)}function LZ(e){return FZ(e),Yy(e,Ky(e,0,Un.textEnd))}function Yy(e,t){let a=Un.textEnd;return a===t?-1:(t=Un.keyEnd=jZ(e,Un.key=t,a),Ky(e,t,a))}function FZ(e){Un.key=0,Un.keyEnd=0,Un.value=0,Un.valueEnd=0,Un.textEnd=e.length}function Ky(e,t,a){for(;t<a&&e.charCodeAt(t)<=32;)t++;return t}function jZ(e,t,a){for(;t<a&&e.charCodeAt(t)>32;)t++;return t}function je(e,t,a){let n=ce(),r=Zr();if(bn(n,r,t)){let i=ut(),o=bu();pp(i,o,n,e,t,n[vt],a,!1)}return je}function Dd(e,t,a,n,r){fp(t,e,a,r?"class":"style",n)}function Qy(e,t,a){return Xy(e,t,a,!1),Qy}function jt(e,t){return Xy(e,t,null,!0),jt}function Ru(e){zZ(GZ,VZ,e,!0)}function VZ(e,t){for(let a=LZ(t);a>=0;a=Yy(t,a))Nh(e,PZ(t),!0)}function Xy(e,t,a,n){let r=ce(),i=ut(),o=Gh(2);if(i.firstUpdatePass&&e_(i,e,o,n),t!==In&&bn(r,o,t)){let l=i.data[ga()];t_(i,l,r,r[vt],e,r[o+1]=ZZ(t,a),n,o)}}function zZ(e,t,a,n){let r=ut(),i=Gh(2);r.firstUpdatePass&&e_(r,null,i,n);let o=ce();if(a!==In&&bn(o,i,a)){let l=r.data[ga()];if(n_(l,n)&&!Jy(r,i)){let u=l.classesWithoutHost;u!==null&&(a=td(u,a||"")),Dd(r,l,o,a,n)}else WZ(r,l,o,o[vt],o[i+1],o[i+1]=UZ(e,t,a),n,i)}}function Jy(e,t){return t>=e.expandoStartIndex}function e_(e,t,a,n){let r=e.data;if(r[a+1]===null){let i=r[ga()],o=Jy(e,a);n_(i,n)&&t===null&&!o&&(t=!1),t=BZ(r,i,t,n),OZ(r,i,t,a,o,n)}}function BZ(e,t,a,n){let r=dU(e),i=n?t.residualClasses:t.residualStyles;if(r===null)(n?t.classBindings:t.styleBindings)===0&&(a=lc(null,e,t,a,n),a=Vo(a,t.attrs,n),i=null);else{let o=t.directiveStylingLast;if(o===-1||e[o]!==r)if(a=lc(r,e,t,a,n),i===null){let l=HZ(e,t,n);l!==void 0&&Array.isArray(l)&&(l=lc(null,e,t,l[1],n),l=Vo(l,t.attrs,n),qZ(e,t,n,l))}else i=$Z(e,t,n)}return i!==void 0&&(n?t.residualClasses=i:t.residualStyles=i),a}function HZ(e,t,a){let n=a?t.classBindings:t.styleBindings;if(Mi(n)!==0)return e[$r(n)]}function qZ(e,t,a,n){let r=a?t.classBindings:t.styleBindings;e[$r(r)]=n}function $Z(e,t,a){let n,r=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<r;i++){let o=e[i].hostAttrs;n=Vo(n,o,a)}return Vo(n,t.attrs,a)}function lc(e,t,a,n,r){let i=null,o=a.directiveEnd,l=a.directiveStylingLast;for(l===-1?l=a.directiveStart:l++;l<o&&(i=t[l],n=Vo(n,i.hostAttrs,r),i!==e);)l++;return e!==null&&(a.directiveStylingLast=l),n}function Vo(e,t,a){let n=a?1:2,r=-1;if(t!==null)for(let i=0;i<t.length;i++){let o=t[i];typeof o=="number"?r=o:r===n&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Nh(e,o,a?!0:t[++i]))}return e===void 0?null:e}function UZ(e,t,a){if(a==null||a==="")return mn;let n=[],r=Qa(a);if(Array.isArray(r))for(let i=0;i<r.length;i++)e(n,r[i],!0);else if(typeof r=="object")for(let i in r)r.hasOwnProperty(i)&&e(n,i,r[i]);else typeof r=="string"&&t(n,r);return n}function GZ(e,t,a){let n=String(t);n!==""&&!n.includes(" ")&&Nh(e,n,a)}function WZ(e,t,a,n,r,i,o,l){r===In&&(r=mn);let u=0,c=0,d=0<r.length?r[0]:null,m=0<i.length?i[0]:null;for(;d!==null||m!==null;){let v=u<r.length?r[u+1]:void 0,g=c<i.length?i[c+1]:void 0,w=null,x;d===m?(u+=2,c+=2,v!==g&&(w=m,x=g)):m===null||d!==null&&d<m?(u+=2,w=d):(c+=2,w=m,x=g),w!==null&&t_(e,t,a,n,w,x,o,l),d=u<r.length?r[u]:null,m=c<i.length?i[c]:null}}function t_(e,t,a,n,r,i,o,l){if(!(t.type&3))return;let u=e.data,c=u[l+1],d=NZ(c)?Sf(u,t,a,r,Mi(c),o):void 0;if(!Fl(d)){Fl(i)||TZ(c)&&(i=Sf(u,null,a,r,l,o));let m=eb(ga(),a);FG(n,o,m,r,i)}}function Sf(e,t,a,n,r,i){let o=t===null,l;for(;r>0;){let u=e[r],c=Array.isArray(u),d=c?u[1]:u,m=d===null,v=a[r+1];v===In&&(v=m?mn:void 0);let g=m?Xu(v,n):d===n?v:void 0;if(c&&!Fl(g)&&(g=Xu(u,n)),Fl(g)&&(l=g,o))return l;let w=e[r+1];r=o?$r(w):Mi(w)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(l=Xu(u,n))}return l}function Fl(e){return e!==void 0}function ZZ(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=An(Qa(e)))),e}function n_(e,t){return(e.flags&(t?8:16))!==0}var YZ=class{destroy(e){}updateValue(e,t){}swap(e,t){let a=Math.min(e,t),n=Math.max(e,t),r=this.detach(n);if(n-a>1){let i=this.detach(a);this.attach(a,r),this.attach(n,i)}else this.attach(a,r)}move(e,t){this.attach(t,this.detach(e))}};function uc(e,t,a,n,r){return e===a&&Object.is(t,n)?1:Object.is(r(e,t),r(a,n))?-1:0}function KZ(e,t,a){let n,r,i=0,o=e.length-1;if(Array.isArray(t)){let l=t.length-1;for(;i<=o&&i<=l;){let u=e.at(i),c=t[i],d=uc(i,u,i,c,a);if(d!==0){d<0&&e.updateValue(i,c),i++;continue}let m=e.at(o),v=t[l],g=uc(o,m,l,v,a);if(g!==0){g<0&&e.updateValue(o,v),o--,l--;continue}let w=a(i,u),x=a(o,m),k=a(i,c);if(Object.is(k,x)){let D=a(l,v);Object.is(D,w)?(e.swap(i,o),e.updateValue(o,v),l--,o--):e.move(o,i),e.updateValue(i,c),i++;continue}if(n??(n=new Df),r??(r=Cf(e,i,o,a)),Id(e,n,i,k))e.updateValue(i,c),i++,o++;else if(r.has(k))n.set(w,e.detach(i)),o--;else{let D=e.create(i,t[i]);e.attach(i,D),i++,o++}}for(;i<=l;)kf(e,n,a,i,t[i]),i++}else if(t!=null){let l=t[Symbol.iterator](),u=l.next();for(;!u.done&&i<=o;){let c=e.at(i),d=u.value,m=uc(i,c,i,d,a);if(m!==0)m<0&&e.updateValue(i,d),i++,u=l.next();else{n??(n=new Df),r??(r=Cf(e,i,o,a));let v=a(i,d);if(Id(e,n,i,v))e.updateValue(i,d),i++,o++,u=l.next();else if(!r.has(v))e.attach(i,e.create(i,d)),i++,o++,u=l.next();else{let g=a(i,c);n.set(g,e.detach(i)),o--}}}for(;!u.done;)kf(e,n,a,e.length,u.value),u=l.next()}for(;i<=o;)e.destroy(e.detach(o--));n==null||n.forEach(l=>{e.destroy(l)})}function Id(e,t,a,n){return t!==void 0&&t.has(n)?(e.attach(a,t.get(n)),t.delete(n),!0):!1}function kf(e,t,a,n,r){if(Id(e,t,n,a(n,r)))e.updateValue(n,r);else{let i=e.create(n,r);e.attach(n,i)}}function Cf(e,t,a,n){let r=new Set;for(let i=t;i<=a;i++)r.add(n(i,e.at(i)));return r}var Df=class{constructor(){s(this,"kvMap",new Map);s(this,"_vMap")}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let t=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let a=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let n=this._vMap;for(;n.has(a);)a=n.get(a);n.set(a,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,a]of this.kvMap)if(e(a,t),this._vMap!==void 0){let n=this._vMap;for(;n.has(a);)a=n.get(a),e(a,t)}}};function $e(e,t){Yr("NgControlFlow");let a=ce(),n=Zr(),r=a[n]!==In?a[n]:-1,i=r!==-1?jl(a,kt+r):void 0,o=0;if(bn(a,n,e)){let l=De(null);try{if(i!==void 0&&xy(i,o),e!==-1){let u=kt+e,c=jl(a,u),d=Td(a[be],u),m=Oi(c,d.tView.ssrId),v=ds(a,d,t,{dehydratedView:m});hs(c,v,o,Ni(d,m))}}finally{De(l)}}else if(i!==void 0){let l=wy(i,o);l!==void 0&&(l[qt]=t)}}var QZ=class{constructor(e,t,a){s(this,"lContainer");s(this,"$implicit");s(this,"$index");this.lContainer=e,this.$implicit=t,this.$index=a}get $count(){return this.lContainer.length-Jt}};function Ip(e){return e}function Tp(e,t){return t}var XZ=class{constructor(e,t,a){s(this,"hasEmptyBlock");s(this,"trackByFn");s(this,"liveCollection");this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=a}};function Ki(e,t,a,n,r,i,o,l,u,c,d,m,v){Yr("NgControlFlow");let g=ce(),w=ut(),x=u!==void 0,k=ce(),D=o,N=new XZ(x,D);k[kt+e]=N,Uy(g,w,e+1,t,a,n,r,Br(w.consts,i))}var JZ=class extends YZ{constructor(t,a,n){super();s(this,"lContainer");s(this,"hostLView");s(this,"templateTNode");s(this,"operationsCounter");s(this,"needsIndexUpdate",!1);this.lContainer=t,this.hostLView=a,this.templateTNode=n}get length(){return this.lContainer.length-Jt}at(t){return this.getLView(t)[qt].$implicit}attach(t,a){let n=a[Di];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),hs(this.lContainer,a,t,Ni(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),eY(this.lContainer,t)}create(t,a){var i;let n=Oi(this.lContainer,this.templateTNode.tView.ssrId),r=ds(this.hostLView,this.templateTNode,new QZ(this.lContainer,a,t),{dehydratedView:n});return(i=this.operationsCounter)==null||i.recordCreate(),r}destroy(t){var a;Du(t[be],t),(a=this.operationsCounter)==null||a.recordDestroy()}updateValue(t,a){this.getLView(t)[qt].$implicit=a}reset(){var t;this.needsIndexUpdate=!1,(t=this.operationsCounter)==null||t.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[qt].$index=t}getLView(t){return tY(this.lContainer,t)}};function Qi(e){let t=De(null),a=ga();try{let n=ce(),r=n[be],i=n[a],o=a+1,l=jl(n,o);if(i.liveCollection===void 0){let c=Td(r,o);i.liveCollection=new JZ(l,n,c)}else i.liveCollection.reset();let u=i.liveCollection;if(KZ(u,e,i.trackByFn),u.updateIndexes(),i.hasEmptyBlock){let c=Zr(),d=u.length===0;if(bn(n,c,d)){let m=a+2,v=jl(n,m);if(d){let g=Td(r,m),w=Oi(v,g.tView.ssrId),x=ds(n,g,void 0,{dehydratedView:w});hs(v,x,0,Ni(g,w))}else xy(v,0)}}}finally{De(t)}}function jl(e,t){return e[t]}function eY(e,t){return Po(e,t)}function tY(e,t){return wy(e,t)}function Td(e,t){return jh(e,t)}function j(e,t,a,n){let r=ce(),i=ut(),o=kt+e,l=r[vt],u=i.firstCreatePass?Cy(o,i,r,t,mp,tU(),a,n):i.data[o],c=nY(i,r,u,l,t);r[o]=c;let d=gu(u);return hr(u,!0),ny(l,c,u),!bp(u)&&yu()&&Iu(i,r,c,u),(X6()===0||d)&&Zi(c,r),J6(),d&&(Cu(i,r,u),op(i,u,r)),n!==null&&hp(r,u),j}function V(){let e=an();$h()?Uh():(e=e.parent,hr(e,!1));let t=e;nU(t)&&aU(),eU();let a=ut();return a.firstCreatePass&&Dy(a,t),t.classesWithoutHost!=null&&vU(t)&&Dd(a,t,ce(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&bU(t)&&Dd(a,t,ce(),t.stylesWithoutHost,!1),V}function lt(e,t,a,n){return j(e,t,a,n),V(),lt}var nY=(e,t,a,n,r,i)=>(_u(!0),ey(n,r,mU()));function aY(e,t,a,n,r){let i=t.consts,o=Br(i,n),l=Yi(t,e,8,"ng-container",o);o!==null&&xd(l,o,!0);let u=Br(i,r);return Ep(t,a,l,u,mp),l.mergedAttrs=Ri(l.mergedAttrs,l.attrs),t.queries!==null&&t.queries.elementStart(t,l),l}function Ya(e,t,a){let n=ce(),r=ut(),i=e+kt,o=r.firstCreatePass?aY(i,r,n,t,a):r.data[i];hr(o,!0);let l=rY(r,n);return n[i]=l,yu()&&Iu(r,n,l,o),Zi(l,n),gu(o)&&(Cu(r,n,o),op(r,o,n)),a!=null&&hp(n,o),Ya}function Ka(){let e=an(),t=ut();return $h()?Uh():(e=e.parent,hr(e,!1)),t.firstCreatePass&&(Kh(t,e),Fh(e)&&t.queries.elementEnd(e)),Ka}function Cn(e,t,a){return Ya(e,t,a),Ka(),Cn}var rY=(e,t,a,n)=>(_u(!0),oG(t[vt],""));function ba(){return ce()}function Rp(e,t,a){let n=ce(),r=Zr();if(bn(n,r,t)){let i=ut(),o=bu();pp(i,o,n,e,t,n[vt],a,!0)}return Rp}var _r=void 0;function iY(e){let t=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&a===0?1:5}var oY=["en",[["a","p"],["AM","PM"],_r],[["AM","PM"],_r,_r],[["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"]],_r,[["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"]],_r,[["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}",_r,"{1} 'at' {0}",_r],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",iY],xo={};function sY(e,t,a){typeof t!="string"&&(a=t,t=e[Nt.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),xo[t]=e,a&&(xo[t][Nt.ExtraData]=a)}function Qn(e){let t=lY(e),a=If(t);if(a)return a;let n=t.split("-")[0];if(a=If(n),a)return a;if(n==="en")return oY;throw new U(701,!1)}function If(e){return e in xo||(xo[e]=ci.ng&&ci.ng.common&&ci.ng.common.locales&&ci.ng.common.locales[e]),xo[e]}var Nt=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}(Nt||{});function lY(e){return e.toLowerCase().replace(/_/g,"-")}var Rd="en-US";function uY(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function Tf(e,t,a){return function n(r){if(r===Function)return a;let i=qi(e)?pa(e.index,t):t;wp(i,5);let o=t[qt],l=Rf(t,o,a,r),u=n.__ngNextListenerFn__;for(;u;)l=Rf(t,o,u,r)&&l,u=u.__ngNextListenerFn__;return l}}function Rf(e,t,a,n){let r=De(null);try{return zr(6,t,a),a(n)!==!1}catch(i){return cY(e,i),!1}finally{De(r)}}function cY(e,t){let a=e[Ii],n=a?a.get(Zn,null):null;n&&n.handleError(t)}function Nf(e,t,a,n,r,i){let o=t[a],l=t[be],u=l.data[a].outputs[n],c=o[u],d=l.firstCreatePass?qh(l):null,m=Hh(t),v=c.subscribe(i),g=m.length;m.push(i,v),d&&d.push(r,e.index,g,-(g+1))}function rn(e,t,a,n){let r=ce(),i=ut(),o=an();return a_(i,r,r[vt],o,e,t,n),rn}function dY(e,t,a,n){let r=e.cleanup;if(r!=null)for(let i=0;i<r.length-1;i+=2){let o=r[i];if(o===a&&r[i+1]===n){let l=t[bi],u=r[i+2];return l.length>u?l[u]:null}typeof o=="string"&&(i+=2)}return null}function a_(e,t,a,n,r,i,o){var m,v;let l=gu(n),u=e.firstCreatePass?qh(e):null,c=Hh(t),d=!0;if(n.type&3||o){let g=fa(n,t),w=o?o(g):g,x=c.length,k=o?N=>o(ha(N[n.index])):n.index,D=null;if(!o&&l&&(D=dY(e,t,r,n.index)),D!==null){let N=D.__ngLastListenerFn__||D;N.__ngNextListenerFn__=i,D.__ngLastListenerFn__=i,d=!1}else{i=Tf(n,t,i);let N=a.listen(w,r,i);c.push(i,N),u&&u.push(r,k,x,x+1)}}else i=Tf(n,t,i);if(d){let g=(m=n.outputs)==null?void 0:m[r],w=(v=n.hostDirectiveOutputs)==null?void 0:v[r];if(w&&w.length)for(let x=0;x<w.length;x+=2){let k=w[x],D=w[x+1];Nf(n,t,k,D,r,i)}if(g&&g.length)for(let x of g)Nf(n,t,x,r,r,i)}}function pe(e=1){return pU(e)}function hY(e,t){let a=null,n=Q8(e);for(let r=0;r<t.length;r++){let i=t[r];if(i==="*"){a=r;continue}if(n===null?Jb(e,i,!0):eG(n,i))return r}return a}function jn(e){let t=ce()[Ln][_n];if(!t.projection){let a=e?e.length:1,n=t.projection=D6(a,null),r=n.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let o=e?hY(i,e):0;o!==null&&(r[o]?r[o].projectionNext=i:n[o]=i,r[o]=i)}i=i.next}}}function pt(e,t=0,a,n,r,i){let o=ce(),l=ut(),u=null,c=Yi(l,kt+e,16,null,null);c.projection===null&&(c.projection=t),Uh();let d=!o[Di]||ab();o[Ln][_n].projection[c.projection]===null&&u!==null?pY(o,l,u):d&&!bp(c)&&PG(l,o,c)}function pY(e,t,a){let n=kt+a,r=t.data[n],i=e[n],o=Oi(i,r.tView.ssrId),l=ds(e,r,void 0,{dehydratedView:o});hs(i,l,0,Ni(r,o))}function Ma(e,t,a,n){GW(e,t,a,n)}function Ai(e,t,a){UW(e,t,a)}function ln(e){let t=ce(),a=ut(),n=ob();Wh(n+1);let r=kp(a,n);if(e.dirty&&W6(t)===((r.metadata.flags&2)===2)){if(r.matches===null)e.reset([]);else{let i=YW(t,n);e.reset(i,UU),e.notifyOnChanges()}return!0}return!1}function un(){return $W(ce(),ob())}function ee(e,t=""){let a=ce(),n=ut(),r=e+kt,i=n.firstCreatePass?Yi(n,r,1,t,null):n.data[r],o=mY(n,a,i,t);a[r]=o,yu()&&Iu(n,a,o,i),hr(i,!1)}var mY=(e,t,a,n,r)=>(_u(!0),rG(t[vt],n));function Pe(e){return Ue("",e,""),Pe}function Ue(e,t,a){let n=ce(),r=DZ(n,e,t,a);return r!==In&&r_(n,ga(),r),Ue}function Np(e,t,a,n,r){let i=ce(),o=IZ(i,e,t,a,n,r);return o!==In&&r_(i,ga(),o),Np}function r_(e,t,a){let n=eb(t,e);iG(e[vt],n,a)}function i_(e,t,a){Mb(t)&&(t=t());let n=ce(),r=Zr();if(bn(n,r,t)){let i=ut(),o=bu();pp(i,o,n,e,t,n[vt],a,!1)}return i_}function fY(e,t){let a=Mb(e);return a&&e.set(t),a}function o_(e,t){let a=ce(),n=ut(),r=an();return a_(n,a,a[vt],r,e,t),o_}var s_={};function l_(e){let t=ut(),a=ce(),n=e+kt,r=Yi(t,n,128,null,null);return hr(r,!1),Vh(t,a,n,s_),l_}function Of(e){Yr("NgLet");let t=ut(),a=ce(),n=ga();return Vh(t,a,n,e),e}function Mf(e){let t=iU(),a=vu(t,kt+e);if(a===s_)throw new U(314,!1);return a}function gY(e,t,a){let n=ut();if(n.firstCreatePass){let r=da(e);Nd(a,n.data,n.blueprint,r,!0),Nd(t,n.data,n.blueprint,r,!1)}}function Nd(e,t,a,n,r){if(e=Wt(e),Array.isArray(e))for(let i=0;i<e.length;i++)Nd(e[i],t,a,n,r);else{let i=ut(),o=ce(),l=an(),u=Ci(e)?e:Wt(e.provide),c=U0(e),d=l.providerIndexes&1048575,m=l.directiveStart,v=l.providerIndexes>>20;if(Ci(e)||!e.multi){let g=new ss(c,r,en),w=dc(u,t,r?d:d+v,m);w===-1?(hd(Ol(l,o),i,u),cc(i,e,t.length),t.push(u),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),a.push(g),o.push(g)):(a[w]=g,o[w]=g)}else{let g=dc(u,t,d+v,m),w=dc(u,t,d,d+v),x=g>=0&&a[g],k=w>=0&&a[w];if(r&&!k||!r&&!x){hd(Ol(l,o),i,u);let D=yY(r?bY:vY,a.length,r,n,c);!r&&k&&(a[w].providerFactory=D),cc(i,e,t.length,0),t.push(u),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),a.push(D),o.push(D)}else{let D=u_(a[r?w:g],c,!r&&n);cc(i,e,g>-1?g:w,D)}!r&&n&&k&&a[w].componentProviders++}}}function cc(e,t,a,n){let r=Ci(t),i=P6(t);if(r||i){let o=(i?Wt(t.useClass):t).prototype.ngOnDestroy;if(o){let l=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){let u=l.indexOf(a);u===-1?l.push(a,[n,o]):l[u+1].push(n,o)}else l.push(a,o)}}}function u_(e,t,a){return a&&e.componentProviders++,e.multi.push(t)-1}function dc(e,t,a,n){for(let r=a;r<n;r++)if(t[r]===e)return r;return-1}function vY(e,t,a,n,r){return Od(this.multi,[])}function bY(e,t,a,n,r){let i=this.multi,o;if(this.providerFactory){let l=this.providerFactory.componentProviders,u=Mo(n,n[be],this.providerFactory.index,r);o=u.slice(0,l),Od(i,o);for(let c=l;c<u.length;c++)o.push(u[c])}else o=[],Od(i,o);return o}function Od(e,t){for(let a=0;a<e.length;a++){let n=e[a];t.push(n())}return t}function yY(e,t,a,n,r){let i=new ss(e,a,en);return i.multi=[],i.index=t,i.componentProviders=0,u_(i,r,n&&!a),i}function Tn(e,t=[]){return a=>{a.providersResolver=(n,r)=>gY(n,r?r(e):e,t)}}function zo(e,t,a){let n=Wr()+e,r=ce();return r[n]===In?ms(r,n,t()):$y(r,n)}function c_(e,t,a,n){return d_(ce(),Wr(),e,t,a,n)}function _Y(e,t,a,n,r){return h_(ce(),Wr(),e,t,a,n,r)}function wY(e,t,a,n,r,i,o,l){let u=Wr()+e,c=ce(),d=fZ(c,u,a,n,r,i);return bn(c,u+4,o)||d?ms(c,u+5,t(a,n,r,i,o)):$y(c,u+5)}function Op(e,t){let a=e[t];return a===In?void 0:a}function d_(e,t,a,n,r,i){let o=t+a;return bn(e,o,r)?ms(e,o+1,i?n.call(i,r):n(r)):Op(e,o+1)}function h_(e,t,a,n,r,i,o){let l=t+a;return jo(e,l,r,i)?ms(e,l+2,o?n.call(o,r,i):n(r,i)):Op(e,l+2)}function xY(e,t,a,n,r,i,o,l){let u=t+a;return mZ(e,u,r,i,o)?ms(e,u+3,l?n.call(l,r,i,o):n(r,i,o)):Op(e,u+3)}function te(e,t){let a=ut(),n,r=e+kt;a.firstCreatePass?(n=EY(t,a.pipeRegistry),a.data[r]=n,n.onDestroy&&(a.destroyHooks??(a.destroyHooks=[])).push(r,n.onDestroy)):n=a.data[r];let i=n.factory||(n.factory=Fr(n.type)),o=hn(en);try{let l=Nl(!1),u=i();return Nl(l),Vh(a,ce(),r,u),u}finally{hn(o)}}function EY(e,t){if(t)for(let a=t.length-1;a>=0;a--){let n=t[a];if(e===n.name)return n}}function ae(e,t,a){let n=e+kt,r=ce(),i=vu(r,n);return Mp(r,n)?d_(r,Wr(),t,i.transform,a,i):i.transform(a)}function fs(e,t,a,n){let r=e+kt,i=ce(),o=vu(i,r);return Mp(i,r)?h_(i,Wr(),t,o.transform,a,n,o):o.transform(a,n)}function p_(e,t,a,n,r){let i=e+kt,o=ce(),l=vu(o,i);return Mp(o,i)?xY(o,Wr(),t,l.transform,a,n,r,l):l.transform(a,n,r)}function Mp(e,t){return e[be].data[t].pure}var SY=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(".")}},Af=new SY("19.2.15"),kY=(()=>{const t=class t{constructor(){s(this,"zone",S(ze));s(this,"changeDetectionScheduler",S(Gi));s(this,"applicationRef",S(cr));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",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function CY({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:a}){return e??(e=()=>new ze(Yt(ue({},DY()),{scheduleInRootZone:a}))),[{provide:ze,useFactory:e},{provide:kl,multi:!0,useFactory:()=>{let n=S(kY,{optional:!0});return()=>n.initialize()}},{provide:kl,multi:!0,useFactory:()=>{let n=S(IY);return()=>{n.initialize()}}},t===!0?{provide:Ib,useValue:!0}:[],{provide:Tb,useValue:a??kb}]}function DY(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var IY=(()=>{const t=class t{constructor(){s(this,"subscription",new Zt);s(this,"initialized",!1);s(this,"zone",S(ze));s(this,"pendingTasks",S(ls))}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(()=>{ze.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ze.assertInAngularZone(),n??(n=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),TY=(()=>{var t;const a=class a{constructor(){s(this,"appRef",S(cr));s(this,"taskService",S(ls));s(this,"ngZone",S(ze));s(this,"zonelessEnabled",S(Db));s(this,"tracing",S(us,{optional:!0}));s(this,"disableScheduling",S(Ib,{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(Ml):null);s(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&(S(Tb,{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 VU||!this.zoneIsDefined))}notify(r){var l;if(!this.zonelessEnabled&&r===5)return;let i=!1;switch(r){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,i=!0;break}case 12:{this.appRef.dirtyFlags|=16,i=!0;break}case 13:{this.appRef.dirtyFlags|=2,i=!0;break}case 11:{i=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=((l=this.tracing)==null?void 0:l.snapshot(this.appRef.tracingSnapshot))??null,!this.shouldScheduleTick(i))return;let o=this.useMicrotaskScheduler?tf:Rb;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(r){return!(this.disableScheduling&&!r||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ml+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let r=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(r),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,tf(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(r)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var r;if(this.runningTick=!1,(r=this.cancelScheduledCallback)==null||r.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let i=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(i)}}};s(a,"ɵfac",function(r){return new(r||a)}),s(a,"ɵprov",z({token:a,factory:a.ɵfac,providedIn:"root"}));let e=a;return e})();function RY(){return typeof $localize<"u"&&$localize.locale||Rd}var Nu=new K("",{providedIn:"root",factory:()=>S(Nu,Te.Optional|Te.SkipSelf)||RY()}),Md=new K(""),NY=new K("");function oo(e){return!e.moduleRef}function OY(e){let t=oo(e)?e.r3Injector:e.moduleRef.injector,a=t.get(ze);return a.run(()=>{oo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let n=t.get(Zn,null),r;if(a.runOutsideAngular(()=>{r=a.onError.subscribe({next:i=>{n.handleError(i)}})}),oo(e)){let i=()=>t.destroy(),o=e.platformInjector.get(Md);o.add(i),t.onDestroy(()=>{r.unsubscribe(),o.delete(i)})}else{let i=()=>e.moduleRef.destroy(),o=e.platformInjector.get(Md);o.add(i),e.moduleRef.onDestroy(()=>{ll(e.allPlatformModules,e.moduleRef),r.unsubscribe(),o.delete(i)})}return AY(n,a,()=>{let i=t.get(Zy);return i.runInitializers(),i.donePromise.then(()=>{let o=t.get(Nu,Rd);if(uY(o||Rd),!t.get(NY,!0))return oo(e)?t.get(cr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(oo(e)){let l=t.get(cr);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return MY(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function MY(e,t){let a=e.injector.get(cr);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(n=>a.bootstrap(n));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(a);else throw new U(-403,!1);t.push(e)}function AY(e,t,a){try{let n=a();return Dp(n)?n.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}var ul=null;function PY(e=[],t){return ht.create({name:t,providers:[{provide:Ah,useValue:"platform"},{provide:Md,useValue:new Set([()=>ul=null])},...e]})}function LY(e=[]){if(ul)return ul;let t=PY(e);return ul=t,EZ(),FY(t),t}function FY(e){let t=e.get(zb,null);Lh(e,()=>{t==null||t.forEach(a=>a())})}function jY(){return!1}var ya=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",VY),e})();function VY(e){return zY(an(),ce(),(e&16)===16)}function zY(e,t,a){if(qi(e)&&!a){let n=pa(e.index,t);return new Lo(n,n)}else if(e.type&175){let n=t[Ln];return new Lo(n,t)}return null}var BY=class{constructor(){}supports(e){return qy(e)}create(e){return new qY(e)}},HY=(e,t)=>t,qY=class{constructor(e){s(this,"length",0);s(this,"collection");s(this,"_linkedRecords",null);s(this,"_unlinkedRecords",null);s(this,"_previousItHead",null);s(this,"_itHead",null);s(this,"_itTail",null);s(this,"_additionsHead",null);s(this,"_additionsTail",null);s(this,"_movesHead",null);s(this,"_movesTail",null);s(this,"_removalsHead",null);s(this,"_removalsTail",null);s(this,"_identityChangesHead",null);s(this,"_identityChangesTail",null);s(this,"_trackByFn");this._trackByFn=e||HY}forEachItem(e){let t;for(t=this._itHead;t!==null;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,a=this._removalsHead,n=0,r=null;for(;t||a;){let i=!a||t&&t.currentIndex<Lf(a,n,r)?t:a,o=Lf(i,n,r),l=i.currentIndex;if(i===a)n--,a=a._nextRemoved;else if(t=t._next,i.previousIndex==null)n++;else{r||(r=[]);let u=o-n,c=l-n;if(u!=c){for(let m=0;m<u;m++){let v=m<r.length?r[m]:r[m]=0,g=v+m;c<=g&&g<u&&(r[m]=v+1)}let d=i.previousIndex;r[d]=c-u}}o!==l&&e(i,o,l)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;t!==null;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;t!==null;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;t!==null;t=t._nextIdentityChange)e(t)}diff(e){if(e==null&&(e=[]),!qy(e))throw new U(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._itHead,a=!1,n,r,i;if(Array.isArray(e)){this.length=e.length;for(let o=0;o<this.length;o++)r=e[o],i=this._trackByFn(o,r),t===null||!Object.is(t.trackById,i)?(t=this._mismatch(t,r,i,o),a=!0):(a&&(t=this._verifyReinsertion(t,r,i,o)),Object.is(t.item,r)||this._addIdentityChange(t,r)),t=t._next}else n=0,pZ(e,o=>{i=this._trackByFn(n,o),t===null||!Object.is(t.trackById,i)?(t=this._mismatch(t,o,i,n),a=!0):(a&&(t=this._verifyReinsertion(t,o,i,n)),Object.is(t.item,o)||this._addIdentityChange(t,o)),t=t._next,n++}),this.length=n;return this._truncate(t),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,a,n){let r;return e===null?r=this._itTail:(r=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(a,null),e!==null?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,r,n)):(e=this._linkedRecords===null?null:this._linkedRecords.get(a,n),e!==null?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,r,n)):e=this._addAfter(new $Y(t,a),r,n)),e}_verifyReinsertion(e,t,a,n){let r=this._unlinkedRecords===null?null:this._unlinkedRecords.get(a,null);return r!==null?e=this._reinsertAfter(r,e._prev,n):e.currentIndex!=n&&(e.currentIndex=n,this._addToMoves(e,n)),e}_truncate(e){for(;e!==null;){let t=e._next;this._addToRemovals(this._unlink(e)),e=t}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,a){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let n=e._prevRemoved,r=e._nextRemoved;return n===null?this._removalsHead=r:n._nextRemoved=r,r===null?this._removalsTail=n:r._prevRemoved=n,this._insertAfter(e,t,a),this._addToMoves(e,a),e}_moveAfter(e,t,a){return this._unlink(e),this._insertAfter(e,t,a),this._addToMoves(e,a),e}_addAfter(e,t,a){return this._insertAfter(e,t,a),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,t,a){let n=t===null?this._itHead:t._next;return e._next=n,e._prev=t,n===null?this._itTail=e:n._prev=e,t===null?this._itHead=e:t._next=e,this._linkedRecords===null&&(this._linkedRecords=new Pf),this._linkedRecords.put(e),e.currentIndex=a,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let t=e._prev,a=e._next;return t===null?this._itHead=a:t._next=a,a===null?this._itTail=t:a._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Pf),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},$Y=class{constructor(e,t){s(this,"item");s(this,"trackById");s(this,"currentIndex",null);s(this,"previousIndex",null);s(this,"_nextPrevious",null);s(this,"_prev",null);s(this,"_next",null);s(this,"_prevDup",null);s(this,"_nextDup",null);s(this,"_prevRemoved",null);s(this,"_nextRemoved",null);s(this,"_nextAdded",null);s(this,"_nextMoved",null);s(this,"_nextIdentityChange",null);this.item=e,this.trackById=t}},UY=class{constructor(){s(this,"_head",null);s(this,"_tail",null)}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let a;for(a=this._head;a!==null;a=a._nextDup)if((t===null||t<=a.currentIndex)&&Object.is(a.trackById,e))return a;return null}remove(e){let t=e._prevDup,a=e._nextDup;return t===null?this._head=a:t._nextDup=a,a===null?this._tail=t:a._prevDup=t,this._head===null}},Pf=class{constructor(){s(this,"map",new Map)}put(e){let t=e.trackById,a=this.map.get(t);a||(a=new UY,this.map.set(t,a)),a.add(e)}get(e,t){let a=e,n=this.map.get(a);return n?n.get(e,t):null}remove(e){let t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Lf(e,t,a){let n=e.previousIndex;if(n===null)return n;let r=0;return a&&n<a.length&&(r=a[n]),n+t+r}var GY=class{constructor(){}supports(e){return e instanceof Map||Cp(e)}create(){return new WY}},WY=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||Cp(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,(a,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,a),this._appendAfter=t,t=t._next;else{let r=this._getOrCreateRecordForKey(n,a);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let a=t;a!==null;a=a._nextRemoved)a===this._mapHead&&(this._mapHead=null),this._records.delete(a.key),a._nextRemoved=a._next,a.previousValue=a.currentValue,a.currentValue=null,a._prev=null,a._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){let a=e._prev;return t._next=e,t._prev=a,e._prev=t,a&&(a._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){let n=this._records.get(e);this._maybeAddToChanges(n,t);let r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}let a=new ZY(e);return this._records.set(e,a),a.currentValue=t,this._addToAdditions(a),a}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(a=>t(e[a],a))}},ZY=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 Ff(){return new Xi([new BY])}var Xi=(()=>{const t=class t{constructor(n){s(this,"factories");this.factories=n}static create(n,r){if(r!=null){let i=r.factories.slice();n=n.concat(i)}return new t(n)}static extend(n){return{provide:t,useFactory:r=>t.create(n,r||Ff()),deps:[[t,new Th,new Ih]]}}find(n){let r=this.factories.find(i=>i.supports(n));if(r!=null)return r;throw new U(901,!1)}};s(t,"ɵprov",z({token:t,providedIn:"root",factory:Ff}));let e=t;return e})();function jf(){return new m_([new GY])}var m_=(()=>{const t=class t{constructor(n){s(this,"factories");this.factories=n}static create(n,r){if(r){let i=r.factories.slice();n=n.concat(i)}return new t(n)}static extend(n){return{provide:t,useFactory:r=>t.create(n,r||jf()),deps:[[t,new Th,new Ih]]}}find(n){let r=this.factories.find(i=>i.supports(n));if(r)return r;throw new U(901,!1)}};s(t,"ɵprov",z({token:t,providedIn:"root",factory:jf}));let e=t;return e})();function YY(e){let{rootComponent:t,appProviders:a,platformProviders:n,platformRef:r}=e;try{let i=(r==null?void 0:r.injector)??LY(n),o=[CY({}),{provide:Gi,useExisting:TY},...a||[]],l=new Vy({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return OY({r3Injector:l.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{}}function Lt(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Ap(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Ad(e){return u$(e)}function Vl(e,t){return e$(e)}var Sv,KY=(Sv=fn,class{constructor(e){s(this,Sv);this[fn]=e}destroy(){this[fn].destroy()}});function QY(e,t){!(t!=null&&t.injector)&&mu();let a=(t==null?void 0:t.injector)??S(ht),n=(t==null?void 0:t.manualCleanup)!==!0?a.get(pr):null,r,i=a.get(ip,null,{optional:!0}),o=a.get(Gi);return i!==null&&!(t!=null&&t.forceRoot)?(r=eK(i.view,o,e),n instanceof Cb&&n._lView===i.view&&(n=null)):r=tK(e,a.get(Gy),o),r.injector=a,n!==null&&(r.onDestroyFn=n.onDestroy(()=>r.destroy())),new KY(r)}var f_=Yt(ue({},zi),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:Ao,run(){if(this.dirty=!1,this.hasRun&&!gh(this))return;this.hasRun=!0;let e=n=>(this.cleanupFns??(this.cleanupFns=[])).push(n),t=Do(this),a=Il(!1);try{this.maybeCleanup(),this.fn(e)}finally{Il(a),ou(this,t)}},maybeCleanup(){var e;if((e=this.cleanupFns)!=null&&e.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),XY=Yt(ue({},f_),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){su(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),JY=Yt(ue({},f_),{consumerMarkedDirty(){this.view[me]|=8192,Ui(this.view),this.notifier.notify(13)},destroy(){var e;su(this),this.onDestroyFn(),this.maybeCleanup(),(e=this.view[Aa])==null||e.delete(this)}});function eK(e,t,a){let n=Object.create(JY);return n.view=e,n.zone=typeof Zone<"u"?Zone.current:null,n.notifier=t,n.fn=a,e[Aa]??(e[Aa]=new Set),e[Aa].add(n),n.consumerMarkedDirty(n),n}function tK(e,t,a){let n=Object.create(XY);return n.fn=e,n.scheduler=t,n.notifier=a,n.zone=typeof Zone<"u"?Zone.current:null,n.scheduler.schedule(n),n.notifier.notify(12),n}var nK=e=>e;function aK(e,t){if(typeof e=="function"){let a=Lm(e,nK,t==null?void 0:t.equal);return Vf(a)}else{let a=Lm(e.source,e.computation,e.equal);return Vf(a)}}function Vf(e){let t=e[fn],a=e;return a.set=n=>o$(t,n),a.update=n=>s$(t,n),a.asReadonly=np.bind(e),a}function g_(e,t){let a=ki(e),n=t.elementInjector||pu();return new Sp(a).create(n,t.projectableNodes,t.hostElement,t.environmentInjector)}var rK={schedule(e,t){let a=setTimeout(e,t);return()=>clearTimeout(a)}};function iK(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function oK(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var hc;function sK(e,t){if(!hc){let a=Element.prototype;hc=a.matches||a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?hc.call(e,t):!1}function lK(e){let t={};return e.forEach(({propName:a,templateName:n,transform:r})=>{t[iK(n)]=[a,r]}),t}function uK(e,t){return t.get(ps).resolveComponentFactory(e).inputs}function cK(e,t){let a=e.childNodes,n=t.map(()=>[]),r=-1;t.some((i,o)=>i==="*"?(r=o,!0):!1);for(let i=0,o=a.length;i<o;++i){let l=a[i],u=dK(l,t,r);u!==-1&&n[u].push(l)}return n}function dK(e,t,a){let n=a;return oK(e)&&t.some((r,i)=>r!=="*"&&sK(e,r)?(n=i,!0):!1),n}var hK=10,pK=class{constructor(e,t){s(this,"componentFactory");s(this,"inputMap",new Map);this.componentFactory=t.get(ps).resolveComponentFactory(e);for(let a of this.componentFactory.inputs)this.inputMap.set(a.propName,a.templateName)}create(e){return new mK(this.componentFactory,e,this.inputMap)}},mK=class{constructor(e,t,a){s(this,"componentFactory");s(this,"injector");s(this,"inputMap");s(this,"eventEmitters",new wh(1));s(this,"events",this.eventEmitters.pipe(wl(e=>Lr(...e))));s(this,"componentRef",null);s(this,"scheduledDestroyFn",null);s(this,"initialInputValues",new Map);s(this,"ngZone");s(this,"elementZone");s(this,"appRef");s(this,"cdScheduler");this.componentFactory=e,this.injector=t,this.inputMap=a,this.ngZone=this.injector.get(ze),this.appRef=this.injector.get(cr),this.cdScheduler=t.get(Gi),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=rK.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},hK))})}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),XG(this.componentRef.hostView)&&(JG(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=ht.create({providers:[],parent:this.injector}),a=cK(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,a,e),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[e,t]of this.initialInputValues)this.setInputValue(e,t);this.initialInputValues.clear()}initializeOutputs(e){let t=this.componentFactory.outputs.map(({propName:a,templateName:n})=>{let r=e.instance[a];return new mt(i=>{let o=r.subscribe(l=>i.next({name:n,value:l}));return()=>o.unsubscribe()})});this.eventEmitters.next(t)}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},fK=class extends HTMLElement{constructor(){super(...arguments);s(this,"ngElementEventsSubscription",null)}};function gK(e,t){let a=uK(e,t.injector),n=t.strategyFactory||new pK(e,t.injector),r=lK(a);class i extends fK{constructor(u){super();s(this,"injector");s(this,"_ngElementStrategy");this.injector=u}get ngElementStrategy(){if(!this._ngElementStrategy){let u=this._ngElementStrategy=n.create(this.injector||t.injector);a.forEach(({propName:c,transform:d})=>{if(!this.hasOwnProperty(c))return;let m=this[c];delete this[c],u.setInputValue(c,m,d)})}return this._ngElementStrategy}attributeChangedCallback(u,c,d,m){let[v,g]=r[u];this.ngElementStrategy.setInputValue(v,d,g)}connectedCallback(){let u=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),u=!0),this.ngElementStrategy.connect(this),u||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(u=>{let c=new CustomEvent(u.name,{detail:u.value});this.dispatchEvent(c)})}}return s(i,"observedAttributes",Object.keys(r)),a.forEach(({propName:o,transform:l})=>{Object.defineProperty(i.prototype,o,{get(){return this.ngElementStrategy.getInputValue(o)},set(u){this.ngElementStrategy.setInputValue(o,u,l)},configurable:!0,enumerable:!0})}),i}var Fe=new K(""),v_=null;function Eo(){return v_}function vK(e){v_??(v_=e)}var bK=class{},b_=(()=>{const t=class t{historyGo(n){throw new Error("")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:()=>S(yK),providedIn:"platform"}));let e=t;return e})(),yK=(()=>{const t=class t extends b_{constructor(){super();s(this,"_location");s(this,"_history");s(this,"_doc",S(Fe));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Eo().getBaseHref(this._doc)}onPopState(r){let i=Eo().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",r,!1),()=>i.removeEventListener("popstate",r)}onHashChange(r){let i=Eo().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",r,!1),()=>i.removeEventListener("hashchange",r)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(r){this._location.pathname=r}pushState(r,i,o){this._history.pushState(r,i,o)}replaceState(r,i,o){this._history.replaceState(r,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};s(t,"ɵfac",function(r){return new(r||t)}),s(t,"ɵprov",z({token:t,factory:()=>new t,providedIn:"platform"}));let e=t;return e})();function y_(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function zf(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Nr(e){return e&&e[0]!=="?"?`?${e}`:e}var Pp=(()=>{const t=class t{historyGo(n){throw new Error("")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:()=>S(wK),providedIn:"root"}));let e=t;return e})(),_K=new K(""),wK=(()=>{const t=class t extends Pp{constructor(r,i){var o;super();s(this,"_platformLocation");s(this,"_baseHref");s(this,"_removeListenerFns",[]);this._platformLocation=r,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??((o=S(Fe).location)==null?void 0:o.origin)??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return y_(this._baseHref,r)}path(r=!1){let i=this._platformLocation.pathname+Nr(this._platformLocation.search),o=this._platformLocation.hash;return o&&r?`${i}${o}`:i}pushState(r,i,o,l){let u=this.prepareExternalUrl(o+Nr(l));this._platformLocation.pushState(r,i,u)}replaceState(r,i,o,l){let u=this.prepareExternalUrl(o+Nr(l));this._platformLocation.replaceState(r,i,u)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){var i,o;(o=(i=this._platformLocation).historyGo)==null||o.call(i,r)}};s(t,"ɵfac",function(r){return new(r||t)(oe(b_),oe(_K,8))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),__=(()=>{const t=class t{constructor(n){s(this,"_subject",new ge);s(this,"_basePath");s(this,"_locationStrategy");s(this,"_urlChangeListeners",[]);s(this,"_urlChangeSubscription",null);this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=SK(zf(Bf(r))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){var n;(n=this._urlChangeSubscription)==null||n.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Nr(r))}normalize(n){return t.stripTrailingSlash(EK(this._basePath,Bf(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._locationStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Nr(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Nr(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){var r,i;(i=(r=this._locationStrategy).historyGo)==null||i.call(r,n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{var i;let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&((i=this._urlChangeSubscription)==null||i.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r??void 0,complete:i??void 0})}};s(t,"normalizeQueryParams",Nr),s(t,"joinWithSlash",y_),s(t,"stripTrailingSlash",zf),s(t,"ɵfac",function(n){return new(n||t)(oe(Pp))}),s(t,"ɵprov",z({token:t,factory:()=>xK(),providedIn:"root"}));let e=t;return e})();function xK(){return new __(oe(Pp))}function EK(e,t){if(!e||!t.startsWith(e))return t;let a=t.substring(e.length);return a===""||["/",";","?","#"].includes(a[0])?a:t}function Bf(e){return e.replace(/\/index.html$/,"")}function SK(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var sn=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(sn||{}),Ke=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(Ke||{}),wn=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(wn||{}),Ou={MinusSign:5};function kK(e){return Qn(e)[Nt.LocaleId]}function CK(e,t,a){let n=Qn(e),r=[n[Nt.DayPeriodsFormat],n[Nt.DayPeriodsStandalone]],i=Fn(r,t);return Fn(i,a)}function DK(e,t,a){let n=Qn(e),r=[n[Nt.DaysFormat],n[Nt.DaysStandalone]],i=Fn(r,t);return Fn(i,a)}function IK(e,t,a){let n=Qn(e),r=[n[Nt.MonthsFormat],n[Nt.MonthsStandalone]],i=Fn(r,t);return Fn(i,a)}function TK(e,t){let a=Qn(e)[Nt.Eras];return Fn(a,t)}function As(e,t){let a=Qn(e);return Fn(a[Nt.DateFormat],t)}function Ps(e,t){let a=Qn(e);return Fn(a[Nt.TimeFormat],t)}function Ls(e,t){let a=Qn(e)[Nt.DateTimeFormat];return Fn(a,t)}function Mu(e,t){return Qn(e)[Nt.NumberSymbols][t]}function w_(e){if(!e[Nt.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Nt.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function RK(e){let t=Qn(e);return w_(t),(t[Nt.ExtraData][2]||[]).map(a=>typeof a=="string"?pc(a):[pc(a[0]),pc(a[1])])}function NK(e,t,a){let n=Qn(e);w_(n);let r=[n[Nt.ExtraData][0],n[Nt.ExtraData][1]],i=Fn(r,t)||[];return Fn(i,a)||[]}function Fn(e,t){for(let a=t;a>-1;a--)if(typeof e[a]<"u")return e[a];throw new Error("Locale data API: locale data undefined")}function pc(e){let[t,a]=e.split(":");return{hours:+t,minutes:+a}}var OK=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ai={},MK=/((?:[^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 AK(e,t,a,n){let r=qK(e);t=Na(a,t)||t;let i=[],o;for(;t;)if(o=MK.exec(t),o){i=i.concat(o.slice(1));let c=i.pop();if(!c)break;t=c}else{i.push(t);break}let l=r.getTimezoneOffset();n&&(l=E_(n,l),r=HK(r,n));let u="";return i.forEach(c=>{let d=zK(c);u+=d?d(r,a,l):c==="''"?"'":c.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function zl(e,t,a){let n=new Date(0);return n.setFullYear(e,t,a),n.setHours(0,0,0),n}function Na(e,t){let a=kK(e);if(ai[a]??(ai[a]={}),ai[a][t])return ai[a][t];let n="";switch(t){case"shortDate":n=As(e,wn.Short);break;case"mediumDate":n=As(e,wn.Medium);break;case"longDate":n=As(e,wn.Long);break;case"fullDate":n=As(e,wn.Full);break;case"shortTime":n=Ps(e,wn.Short);break;case"mediumTime":n=Ps(e,wn.Medium);break;case"longTime":n=Ps(e,wn.Long);break;case"fullTime":n=Ps(e,wn.Full);break;case"short":let r=Na(e,"shortTime"),i=Na(e,"shortDate");n=Fs(Ls(e,wn.Short),[r,i]);break;case"medium":let o=Na(e,"mediumTime"),l=Na(e,"mediumDate");n=Fs(Ls(e,wn.Medium),[o,l]);break;case"long":let u=Na(e,"longTime"),c=Na(e,"longDate");n=Fs(Ls(e,wn.Long),[u,c]);break;case"full":let d=Na(e,"fullTime"),m=Na(e,"fullDate");n=Fs(Ls(e,wn.Full),[d,m]);break}return n&&(ai[a][t]=n),n}function Fs(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(a,n){return t!=null&&n in t?t[n]:a})),e}function $n(e,t,a="-",n,r){let i="";(e<0||r&&e<=0)&&(r?e=-e+1:(e=-e,i=a));let o=String(e);for(;o.length<t;)o="0"+o;return n&&(o=o.slice(o.length-t)),i+o}function PK(e,t){return $n(e,3).substring(0,t)}function It(e,t,a=0,n=!1,r=!1){return function(i,o){let l=LK(e,i);if((a>0||l>-a)&&(l+=a),e===3)l===0&&a===-12&&(l=12);else if(e===6)return PK(l,t);let u=Mu(o,Ou.MinusSign);return $n(l,t,u,n,r)}}function LK(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 Je(e,t,a=sn.Format,n=!1){return function(r,i){return FK(r,i,e,t,a,n)}}function FK(e,t,a,n,r,i){switch(a){case 2:return IK(t,r,n)[e.getMonth()];case 1:return DK(t,r,n)[e.getDay()];case 0:let o=e.getHours(),l=e.getMinutes();if(i){let c=RK(t),d=NK(t,r,n),m=c.findIndex(v=>{if(Array.isArray(v)){let[g,w]=v,x=o>=g.hours&&l>=g.minutes,k=o<w.hours||o===w.hours&&l<w.minutes;if(g.hours<w.hours){if(x&&k)return!0}else if(x||k)return!0}else if(v.hours===o&&v.minutes===l)return!0;return!1});if(m!==-1)return d[m]}return CK(t,r,n)[o<12?0:1];case 3:return TK(t,n)[e.getFullYear()<=0?0:1];default:let u=a;throw new Error(`unexpected translation type ${u}`)}}function js(e){return function(t,a,n){let r=-1*n,i=Mu(a,Ou.MinusSign),o=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case 0:return(r>=0?"+":"")+$n(o,2,i)+$n(Math.abs(r%60),2,i);case 1:return"GMT"+(r>=0?"+":"")+$n(o,1,i);case 2:return"GMT"+(r>=0?"+":"")+$n(o,2,i)+":"+$n(Math.abs(r%60),2,i);case 3:return n===0?"Z":(r>=0?"+":"")+$n(o,2,i)+":"+$n(Math.abs(r%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var jK=0,cl=4;function VK(e){let t=zl(e,jK,1).getDay();return zl(e,0,1+(t<=cl?cl:cl+7)-t)}function x_(e){let t=e.getDay(),a=t===0?-3:cl-t;return zl(e.getFullYear(),e.getMonth(),e.getDate()+a)}function mc(e,t=!1){return function(a,n){let r;if(t){let i=new Date(a.getFullYear(),a.getMonth(),1).getDay()-1,o=a.getDate();r=1+Math.floor((o+i)/7)}else{let i=x_(a),o=VK(i.getFullYear()),l=i.getTime()-o.getTime();r=1+Math.round(l/6048e5)}return $n(r,e,Mu(n,Ou.MinusSign))}}function Vs(e,t=!1){return function(a,n){let r=x_(a).getFullYear();return $n(r,e,Mu(n,Ou.MinusSign),t)}}var fc={};function zK(e){if(fc[e])return fc[e];let t;switch(e){case"G":case"GG":case"GGG":t=Je(3,Ke.Abbreviated);break;case"GGGG":t=Je(3,Ke.Wide);break;case"GGGGG":t=Je(3,Ke.Narrow);break;case"y":t=It(0,1,0,!1,!0);break;case"yy":t=It(0,2,0,!0,!0);break;case"yyy":t=It(0,3,0,!1,!0);break;case"yyyy":t=It(0,4,0,!1,!0);break;case"Y":t=Vs(1);break;case"YY":t=Vs(2,!0);break;case"YYY":t=Vs(3);break;case"YYYY":t=Vs(4);break;case"M":case"L":t=It(1,1,1);break;case"MM":case"LL":t=It(1,2,1);break;case"MMM":t=Je(2,Ke.Abbreviated);break;case"MMMM":t=Je(2,Ke.Wide);break;case"MMMMM":t=Je(2,Ke.Narrow);break;case"LLL":t=Je(2,Ke.Abbreviated,sn.Standalone);break;case"LLLL":t=Je(2,Ke.Wide,sn.Standalone);break;case"LLLLL":t=Je(2,Ke.Narrow,sn.Standalone);break;case"w":t=mc(1);break;case"ww":t=mc(2);break;case"W":t=mc(1,!0);break;case"d":t=It(2,1);break;case"dd":t=It(2,2);break;case"c":case"cc":t=It(7,1);break;case"ccc":t=Je(1,Ke.Abbreviated,sn.Standalone);break;case"cccc":t=Je(1,Ke.Wide,sn.Standalone);break;case"ccccc":t=Je(1,Ke.Narrow,sn.Standalone);break;case"cccccc":t=Je(1,Ke.Short,sn.Standalone);break;case"E":case"EE":case"EEE":t=Je(1,Ke.Abbreviated);break;case"EEEE":t=Je(1,Ke.Wide);break;case"EEEEE":t=Je(1,Ke.Narrow);break;case"EEEEEE":t=Je(1,Ke.Short);break;case"a":case"aa":case"aaa":t=Je(0,Ke.Abbreviated);break;case"aaaa":t=Je(0,Ke.Wide);break;case"aaaaa":t=Je(0,Ke.Narrow);break;case"b":case"bb":case"bbb":t=Je(0,Ke.Abbreviated,sn.Standalone,!0);break;case"bbbb":t=Je(0,Ke.Wide,sn.Standalone,!0);break;case"bbbbb":t=Je(0,Ke.Narrow,sn.Standalone,!0);break;case"B":case"BB":case"BBB":t=Je(0,Ke.Abbreviated,sn.Format,!0);break;case"BBBB":t=Je(0,Ke.Wide,sn.Format,!0);break;case"BBBBB":t=Je(0,Ke.Narrow,sn.Format,!0);break;case"h":t=It(3,1,-12);break;case"hh":t=It(3,2,-12);break;case"H":t=It(3,1);break;case"HH":t=It(3,2);break;case"m":t=It(4,1);break;case"mm":t=It(4,2);break;case"s":t=It(5,1);break;case"ss":t=It(5,2);break;case"S":t=It(6,1);break;case"SS":t=It(6,2);break;case"SSS":t=It(6,3);break;case"Z":case"ZZ":case"ZZZ":t=js(0);break;case"ZZZZZ":t=js(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=js(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=js(2);break;default:return null}return fc[e]=t,t}function E_(e,t){e=e.replace(/:/g,"");let a=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(a)?t:a}function BK(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function HK(e,t,a){let n=e.getTimezoneOffset(),r=E_(t,n);return BK(e,-1*(r-n))}function qK(e){if(Hf(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[r,i=1,o=1]=e.split("-").map(l=>+l);return zl(r,i-1,o)}let a=parseFloat(e);if(!isNaN(e-a))return new Date(a);let n;if(n=e.match(OK))return $K(n)}let t=new Date(e);if(!Hf(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function $K(e){let t=new Date(0),a=0,n=0,r=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(a=Number(e[9]+e[10]),n=Number(e[9]+e[11])),r.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let o=Number(e[4]||0)-a,l=Number(e[5]||0)-n,u=Number(e[6]||0),c=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,o,l,u,c),t}function Hf(e){return e instanceof Date&&!isNaN(e.valueOf())}var gc=/\s+/,qf=[],Lp=(()=>{const t=class t{constructor(n,r){s(this,"_ngEl");s(this,"_renderer");s(this,"initialClasses",qf);s(this,"rawClass");s(this,"stateMap",new Map);this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(gc):qf}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(gc):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let i=this.stateMap.get(n);i!==void 0?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],i=n[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(gc).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};s(t,"ɵfac",function(n){return new(n||t)(en(Qe),en(Qr))}),s(t,"ɵdir",ye({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let e=t;return e})(),UK=(()=>{const t=class t{constructor(n,r,i){s(this,"_ngEl");s(this,"_differs");s(this,"_renderer");s(this,"_ngStyle",null);s(this,"_differ",null);this._ngEl=n,this._differs=r,this._renderer=i}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){let[i,o]=n.split("."),l=i.indexOf("-")===-1?void 0:tr.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,o?`${r}${o}`:r,l):this._renderer.removeStyle(this._ngEl.nativeElement,i,l)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}};s(t,"ɵfac",function(n){return new(n||t)(en(Qe),en(m_),en(Qr))}),s(t,"ɵdir",ye({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let e=t;return e})();function Fp(e,t){return new U(2100,!1)}var GK=class{createSubscription(e,t){return Ad(()=>e.subscribe({next:t,error:a=>{throw a}}))}dispose(e){Ad(()=>e.unsubscribe())}},WK=class{createSubscription(e,t){return e.then(a=>t==null?void 0:t(a),a=>{throw a}),{unsubscribe:()=>{t=null}}}dispose(e){e.unsubscribe()}},ZK=new WK,YK=new GK,KK=(()=>{const t=class t{constructor(n){s(this,"_ref");s(this,"_latestValue",null);s(this,"markForCheckOnValueUpdate",!0);s(this,"_subscription",null);s(this,"_obj",null);s(this,"_strategy",null);this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r))}_selectStrategy(n){if(Dp(n))return ZK;if(Wy(n))return YK;throw Fp()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){var i;n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&((i=this._ref)==null||i.markForCheck()))}};s(t,"ɵfac",function(n){return new(n||t)(en(ya,16))}),s(t,"ɵpipe",va({name:"async",type:t,pure:!1}));let e=t;return e})(),QK="mediumDate",XK=new K(""),JK=new K(""),jp=(()=>{const t=class t{constructor(n,r,i){s(this,"locale");s(this,"defaultTimezone");s(this,"defaultOptions");this.locale=n,this.defaultTimezone=r,this.defaultOptions=i}transform(n,r,i,o){var l,u;if(n==null||n===""||n!==n)return null;try{let c=r??((l=this.defaultOptions)==null?void 0:l.dateFormat)??QK,d=i??((u=this.defaultOptions)==null?void 0:u.timezone)??this.defaultTimezone??void 0;return AK(n,c,o||this.locale,d)}catch(c){throw Fp(t,c.message)}}};s(t,"ɵfac",function(n){return new(n||t)(en(Nu,16),en(XK,24),en(JK,24))}),s(t,"ɵpipe",va({name:"date",type:t,pure:!0}));let e=t;return e})(),S_=(()=>{const t=class t{transform(n,r,i){if(n==null)return null;if(!(typeof n=="string"||Array.isArray(n)))throw Fp();return n.slice(r,i)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵpipe",va({name:"slice",type:t,pure:!1}));let e=t;return e})(),k_=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({}));let e=t;return e})();function C_(e,t){t=encodeURIComponent(t);for(let a of e.split(";")){let n=a.indexOf("="),[r,i]=n==-1?[a,""]:[a.slice(0,n),a.slice(n+1)];if(r.trim()===t)return decodeURIComponent(i)}return null}var D_="browser",eQ="server";function tQ(e){return e===D_}function I_(e){return e===eQ}var T_=class{};function Au(e,t,a){return sY(e,t,a)}var Pd=new K(""),R_=(()=>{const t=class t{constructor(n,r){s(this,"_zone");s(this,"_plugins");s(this,"_eventNameToPlugin",new Map);this._zone=r,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,i,o){return this._findPluginFor(r).addEventListener(n,r,i,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new U(5101,!1);return this._eventNameToPlugin.set(n,r),r}};s(t,"ɵfac",function(n){return new(n||t)(oe(Pd),oe(ze))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),N_=class{constructor(e){s(this,"_doc");s(this,"manager");this._doc=e}},dl="ng-app-id";function $f(e){for(let t of e)t.remove()}function Uf(e,t){let a=t.createElement("style");return a.textContent=e,a}function nQ(e,t,a,n){var i;let r=(i=e.head)==null?void 0:i.querySelectorAll(`style[${dl}="${t}"],link[${dl}="${t}"]`);if(r)for(let o of r)o.removeAttribute(dl),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&a.set(o.textContent,{usage:0,elements:[o]})}function Ld(e,t){let a=t.createElement("link");return a.setAttribute("rel","stylesheet"),a.setAttribute("href",e),a}var O_=(()=>{const t=class t{constructor(n,r,i,o={}){s(this,"doc");s(this,"appId");s(this,"nonce");s(this,"inline",new Map);s(this,"external",new Map);s(this,"hosts",new Set);s(this,"isServer");this.doc=n,this.appId=r,this.nonce=i,this.isServer=I_(o),nQ(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let i of n)this.addUsage(i,this.inline,Uf);r==null||r.forEach(i=>this.addUsage(i,this.external,Ld))}removeStyles(n,r){for(let i of n)this.removeUsage(i,this.inline);r==null||r.forEach(i=>this.removeUsage(i,this.external))}addUsage(n,r,i){let o=r.get(n);o?o.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(l=>this.addElement(l,i(n,this.doc)))})}removeUsage(n,r){let i=r.get(n);i&&(i.usage--,i.usage<=0&&($f(i.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])$f(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(n,Uf(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(n,Ld(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(dl,this.appId),n.appendChild(r)}};s(t,"ɵfac",function(n){return new(n||t)(oe(Fe),oe(wu),oe(ap,8),oe(xu))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),vc={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"},Vp=/%COMP%/g,M_="%COMP%",aQ=`_nghost-${M_}`,rQ=`_ngcontent-${M_}`,iQ=!0,oQ=new K("",{providedIn:"root",factory:()=>iQ});function sQ(e){return rQ.replace(Vp,e)}function lQ(e){return aQ.replace(Vp,e)}function A_(e,t){return t.map(a=>a.replace(Vp,e))}var Fd=(()=>{const t=class t{constructor(n,r,i,o,l,u,c,d=null,m=null){s(this,"eventManager");s(this,"sharedStylesHost");s(this,"appId");s(this,"removeStylesOnCompDestroy");s(this,"doc");s(this,"platformId");s(this,"ngZone");s(this,"nonce");s(this,"tracingService");s(this,"rendererByCompId",new Map);s(this,"defaultRenderer");s(this,"platformIsServer");this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=l,this.platformId=u,this.ngZone=c,this.nonce=d,this.tracingService=m,this.platformIsServer=I_(u),this.defaultRenderer=new zp(n,l,c,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Pa.ShadowDom&&(r=Yt(ue({},r),{encapsulation:Pa.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof Wf?i.applyToHost(n):i instanceof jd&&i.applyStyles(),i}getOrCreateRenderer(n,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let l=this.doc,u=this.ngZone,c=this.eventManager,d=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,v=this.platformIsServer,g=this.tracingService;switch(r.encapsulation){case Pa.Emulated:o=new Wf(c,d,r,this.appId,m,l,u,v,g);break;case Pa.ShadowDom:return new uQ(c,d,n,r,l,u,this.nonce,v,g);default:o=new jd(c,d,r,m,l,u,v,g);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}};s(t,"ɵfac",function(n){return new(n||t)(oe(R_),oe(O_),oe(wu),oe(oQ),oe(Fe),oe(xu),oe(ze),oe(ap),oe(us,8))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),zp=class{constructor(e,t,a,n,r){s(this,"eventManager");s(this,"doc");s(this,"ngZone");s(this,"platformIsServer");s(this,"tracingService");s(this,"data",Object.create(null));s(this,"throwOnSyntheticProps",!0);s(this,"destroyNode",null);this.eventManager=e,this.doc=t,this.ngZone=a,this.platformIsServer=n,this.tracingService=r}destroy(){}createElement(e,t){return t?this.doc.createElementNS(vc[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(Gf(e)?e.content:e).appendChild(t)}insertBefore(e,t,a){e&&(Gf(e)?e.content:e).insertBefore(t,a)}removeChild(e,t){t.remove()}selectRootElement(e,t){let a=typeof e=="string"?this.doc.querySelector(e):e;if(!a)throw new U(-5104,!1);return t||(a.textContent=""),a}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,a,n){if(n){t=n+":"+t;let r=vc[n];r?e.setAttributeNS(r,t,a):e.setAttribute(t,a)}else e.setAttribute(t,a)}removeAttribute(e,t,a){if(a){let n=vc[a];n?e.removeAttributeNS(n,t):e.removeAttribute(`${a}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,a,n){n&(tr.DashCase|tr.Important)?e.style.setProperty(t,a,n&tr.Important?"important":""):e.style[t]=a}removeStyle(e,t,a){a&tr.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,a){e!=null&&(e[t]=a)}setValue(e,t){e.nodeValue=t}listen(e,t,a,n){var i;if(typeof e=="string"&&(e=Eo().getGlobalEventTarget(this.doc,e),!e))throw new U(5102,!1);let r=this.decoratePreventDefault(a);return(i=this.tracingService)!=null&&i.wrapEventListener&&(r=this.tracingService.wrapEventListener(e,t,r)),this.eventManager.addEventListener(e,t,r,n)}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(t)):e(t))===!1&&t.preventDefault()}}};function Gf(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var uQ=class extends zp{constructor(t,a,n,r,i,o,l,u,c){var v;super(t,i,o,u,c);s(this,"sharedStylesHost");s(this,"hostEl");s(this,"shadowRoot");this.sharedStylesHost=a,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=r.styles;d=A_(r.id,d);for(let g of d){let w=document.createElement("style");l&&w.setAttribute("nonce",l),w.textContent=g,this.shadowRoot.appendChild(w)}let m=(v=r.getExternalStyles)==null?void 0:v.call(r);if(m)for(let g of m){let w=Ld(g,i);l&&w.setAttribute("nonce",l),this.shadowRoot.appendChild(w)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,a){return super.appendChild(this.nodeOrShadowRoot(t),a)}insertBefore(t,a,n){return super.insertBefore(this.nodeOrShadowRoot(t),a,n)}removeChild(t,a){return super.removeChild(null,a)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},jd=class extends zp{constructor(t,a,n,r,i,o,l,u,c){var m;super(t,i,o,l,u);s(this,"sharedStylesHost");s(this,"removeStylesOnCompDestroy");s(this,"styles");s(this,"styleUrls");this.sharedStylesHost=a,this.removeStylesOnCompDestroy=r;let d=n.styles;this.styles=c?A_(c,d):d,this.styleUrls=(m=n.getExternalStyles)==null?void 0:m.call(n,c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Wf=class extends jd{constructor(t,a,n,r,i,o,l,u,c){let d=r+"-"+n.id;super(t,a,n,i,o,l,u,c,d);s(this,"contentAttr");s(this,"hostAttr");this.contentAttr=sQ(d),this.hostAttr=lQ(d)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,a){let n=super.createElement(t,a);return super.setAttribute(n,this.contentAttr,""),n}},cQ=class P_ extends bK{constructor(){super(...arguments);s(this,"supportsDOMEvents",!0)}static makeCurrent(){vK(new P_)}onAndCancel(a,n,r,i){return a.addEventListener(n,r,i),()=>{a.removeEventListener(n,r,i)}}dispatchEvent(a,n){a.dispatchEvent(n)}remove(a){a.remove()}createElement(a,n){return n=n||this.getDefaultDocument(),n.createElement(a)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(a){return a.nodeType===Node.ELEMENT_NODE}isShadowRoot(a){return a instanceof DocumentFragment}getGlobalEventTarget(a,n){return n==="window"?window:n==="document"?a:n==="body"?a.body:null}getBaseHref(a){let n=dQ();return n==null?null:hQ(n)}resetBaseElement(){vo=null}getUserAgent(){return window.navigator.userAgent}getCookie(a){return C_(document.cookie,a)}},vo=null;function dQ(){return vo=vo||document.head.querySelector("base"),vo?vo.getAttribute("href"):null}function hQ(e){return new URL(e,document.baseURI).pathname}var pQ=(()=>{const t=class t{build(){return new XMLHttpRequest}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),mQ=(()=>{const t=class t extends N_{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i,o){return n.addEventListener(r,i,o),()=>this.removeEventListener(n,r,i,o)}removeEventListener(n,r,i,o){return n.removeEventListener(r,i,o)}};s(t,"ɵfac",function(n){return new(n||t)(oe(Fe))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),Zf=["alt","control","meta","shift"],fQ={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},gQ={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},vQ=(()=>{const t=class t extends N_{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,r,i,o){let l=t.parseEventName(r),u=t.eventCallback(l.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Eo().onAndCancel(n,l.domEventName,u,o))}static parseEventName(n){let r=n.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(r.pop()),l="",u=r.indexOf("code");if(u>-1&&(r.splice(u,1),l="code."),Zf.forEach(d=>{let m=r.indexOf(d);m>-1&&(r.splice(m,1),l+=d+".")}),l+=o,r.length!=0||o.length===0)return null;let c={};return c.domEventName=i,c.fullKey=l,c}static matchEventFullKeyCode(n,r){let i=fQ[n.key]||n.key,o="";return r.indexOf("code.")>-1&&(i=n.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Zf.forEach(l=>{if(l!==i){let u=gQ[l];u(n)&&(o+=l+".")}}),o+=i,o===r)}static eventCallback(n,r,i){return o=>{t.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}};s(t,"ɵfac",function(n){return new(n||t)(oe(Fe))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function bQ(e){return YY(yQ(e))}function yQ(e){return{appProviders:[...SQ,...(e==null?void 0:e.providers)??[]],platformProviders:EQ}}function _Q(){cQ.makeCurrent()}function wQ(){return new Zn}function xQ(){return XU(document),document}var EQ=[{provide:xu,useValue:D_},{provide:zb,useValue:_Q,multi:!0},{provide:Fe,useFactory:xQ}],SQ=[{provide:Ah,useValue:"root"},{provide:Zn,useFactory:wQ},{provide:Pd,useClass:mQ,multi:!0,deps:[Fe]},{provide:Pd,useClass:vQ,multi:!0,deps:[Fe]},Fd,O_,R_,{provide:Yn,useExisting:Fd},{provide:T_,useClass:pQ},[]],Bp=class{},L_=class{},Pi=class hl{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
19
  `).forEach(a=>{let n=a.indexOf(":");if(n>0){let r=a.slice(0,n),i=a.slice(n+1).trim();this.addHeaderEntry(r,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((a,n)=>{this.addHeaderEntry(n,a)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([a,n])=>{this.setHeaderEntries(a,n)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let a=this.headers.get(t.toLowerCase());return a&&a.length>0?a[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,a){return this.clone({name:t,value:a,op:"a"})}set(t,a){return this.clone({name:t,value:a,op:"s"})}delete(t,a){return this.clone({name:t,value:a,op:"d"})}maybeSetNormalizedName(t,a){this.normalizedNames.has(a)||this.normalizedNames.set(a,t)}init(){this.lazyInit&&(this.lazyInit instanceof hl?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(a=>{this.headers.set(a,t.headers.get(a)),this.normalizedNames.set(a,t.normalizedNames.get(a))})}clone(t){let a=new hl;return a.lazyInit=this.lazyInit&&this.lazyInit instanceof hl?this.lazyInit:this,a.lazyUpdate=(this.lazyUpdate||[]).concat([t]),a}applyUpdate(t){let a=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(t.name,a);let r=(t.op==="a"?this.headers.get(a):void 0)||[];r.push(...n),this.headers.set(a,r);break;case"d":let i=t.value;if(!i)this.headers.delete(a),this.normalizedNames.delete(a);else{let o=this.headers.get(a);if(!o)return;o=o.filter(l=>i.indexOf(l)===-1),o.length===0?(this.headers.delete(a),this.normalizedNames.delete(a)):this.headers.set(a,o)}break}}addHeaderEntry(t,a){let n=t.toLowerCase();this.maybeSetNormalizedName(t,n),this.headers.has(n)?this.headers.get(n).push(a):this.headers.set(n,[a])}setHeaderEntries(t,a){let n=(Array.isArray(a)?a:[a]).map(i=>i.toString()),r=t.toLowerCase();this.headers.set(r,n),this.maybeSetNormalizedName(t,r)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(a=>t(this.normalizedNames.get(a),this.headers.get(a)))}},kQ=class{encodeKey(e){return Yf(e)}encodeValue(e){return Yf(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function CQ(e,t){let a=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(n=>{let r=n.indexOf("="),[i,o]=r==-1?[t.decodeKey(n),""]:[t.decodeKey(n.slice(0,r)),t.decodeValue(n.slice(r+1))],l=a.get(i)||[];l.push(o),a.set(i,l)}),a}var DQ=/%(\d[a-f0-9])/gi,IQ={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Yf(e){return encodeURIComponent(e).replace(DQ,(t,a)=>IQ[a]??t)}function zs(e){return`${e}`}var _i=class F_{constructor(t={}){s(this,"map");s(this,"encoder");s(this,"updates",null);s(this,"cloneFrom",null);if(this.encoder=t.encoder||new kQ,t.fromString){if(t.fromObject)throw new U(2805,!1);this.map=CQ(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(a=>{let n=t.fromObject[a],r=Array.isArray(n)?n.map(zs):[zs(n)];this.map.set(a,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let a=this.map.get(t);return a?a[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,a){return this.clone({param:t,value:a,op:"a"})}appendAll(t){let a=[];return Object.keys(t).forEach(n=>{let r=t[n];Array.isArray(r)?r.forEach(i=>{a.push({param:n,value:i,op:"a"})}):a.push({param:n,value:r,op:"a"})}),this.clone(a)}set(t,a){return this.clone({param:t,value:a,op:"s"})}delete(t,a){return this.clone({param:t,value:a,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let a=this.encoder.encodeKey(t);return this.map.get(t).map(n=>a+"="+this.encoder.encodeValue(n)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let a=new F_({encoder:this.encoder});return a.cloneFrom=this.cloneFrom||this,a.updates=(this.updates||[]).concat(t),a}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let a=(t.op==="a"?this.map.get(t.param):void 0)||[];a.push(zs(t.value)),this.map.set(t.param,a);break;case"d":if(t.value!==void 0){let n=this.map.get(t.param)||[],r=n.indexOf(zs(t.value));r!==-1&&n.splice(r,1),n.length>0?this.map.set(t.param,n):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}},TQ=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 RQ(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Kf(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Qf(e){return typeof Blob<"u"&&e instanceof Blob}function Xf(e){return typeof FormData<"u"&&e instanceof FormData}function NQ(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Jf="Content-Type",eg="Accept",j_="X-Request-URL",V_="text/plain",z_="application/json",OQ=`${z_}, ${V_}, */*`,bc=class B_{constructor(t,a,n,r){s(this,"url");s(this,"body",null);s(this,"headers");s(this,"context");s(this,"reportProgress",!1);s(this,"withCredentials",!1);s(this,"responseType","json");s(this,"method");s(this,"params");s(this,"urlWithParams");s(this,"transferCache");this.url=a,this.method=t.toUpperCase();let i;if(RQ(this.method)||r?(this.body=n!==void 0?n:null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??(this.headers=new Pi),this.context??(this.context=new TQ),!this.params)this.params=new _i,this.urlWithParams=a;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=a;else{let l=a.indexOf("?"),u=l===-1?"?":l<a.length-1?"&":"";this.urlWithParams=a+u+o}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Kf(this.body)||Qf(this.body)||Xf(this.body)||NQ(this.body)?this.body:this.body instanceof _i?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||Xf(this.body)?null:Qf(this.body)?this.body.type||null:Kf(this.body)?null:typeof this.body=="string"?V_:this.body instanceof _i?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?z_:null}clone(t={}){let a=t.method||this.method,n=t.url||this.url,r=t.responseType||this.responseType,i=t.transferCache??this.transferCache,o=t.body!==void 0?t.body:this.body,l=t.withCredentials??this.withCredentials,u=t.reportProgress??this.reportProgress,c=t.headers||this.headers,d=t.params||this.params,m=t.context??this.context;return t.setHeaders!==void 0&&(c=Object.keys(t.setHeaders).reduce((v,g)=>v.set(g,t.setHeaders[g]),c)),t.setParams&&(d=Object.keys(t.setParams).reduce((v,g)=>v.set(g,t.setParams[g]),d)),new B_(a,n,o,{params:d,headers:c,context:m,reportProgress:u,responseType:r,withCredentials:l,transferCache:i})}},wi=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}(wi||{}),Hp=class{constructor(e,t=200,a="OK"){s(this,"headers");s(this,"status");s(this,"statusText");s(this,"url");s(this,"ok");s(this,"type");this.headers=e.headers||new Pi,this.status=e.status!==void 0?e.status:t,this.statusText=e.statusText||a,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},MQ=class H_ extends Hp{constructor(a={}){super(a);s(this,"type",wi.ResponseHeader)}clone(a={}){return new H_({headers:a.headers||this.headers,status:a.status!==void 0?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})}},q_=class $_ extends Hp{constructor(a={}){super(a);s(this,"body");s(this,"type",wi.Response);this.body=a.body!==void 0?a.body:null}clone(a={}){return new $_({body:a.body!==void 0?a.body:this.body,headers:a.headers||this.headers,status:a.status!==void 0?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})}},tg=class extends Hp{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}},AQ=200,PQ=204;function yc(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 Ji=(()=>{const t=class t{constructor(n){s(this,"handler");this.handler=n}request(n,r,i={}){let o;if(n instanceof bc)o=n;else{let c;i.headers instanceof Pi?c=i.headers:c=new Pi(i.headers);let d;i.params&&(i.params instanceof _i?d=i.params:d=new _i({fromObject:i.params})),o=new bc(n,r,i.body!==void 0?i.body:null,{headers:c,context:i.context,params:d,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let l=et(o).pipe(b0(c=>this.handler.handle(c)));if(n instanceof bc||i.observe==="events")return l;let u=l.pipe(kn(c=>c instanceof q_));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return u.pipe(Pt(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new U(2806,!1);return c.body}));case"blob":return u.pipe(Pt(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new U(2807,!1);return c.body}));case"text":return u.pipe(Pt(c=>{if(c.body!==null&&typeof c.body!="string")throw new U(2808,!1);return c.body}));case"json":default:return u.pipe(Pt(c=>c.body))}case"response":return u;default:throw new U(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new _i().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,i={}){return this.request("PATCH",n,yc(i,r))}post(n,r,i={}){return this.request("POST",n,yc(i,r))}put(n,r,i={}){return this.request("PUT",n,yc(i,r))}};s(t,"ɵfac",function(n){return new(n||t)(oe(Bp))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),LQ=new K("");function FQ(e,t){return t(e)}function jQ(e,t,a){return(n,r)=>Lh(a,()=>t(n,i=>e(i,r)))}var qp=new K(""),VQ=new K(""),zQ=new K("",{providedIn:"root",factory:()=>!0}),ng=(()=>{const t=class t extends Bp{constructor(r,i){super();s(this,"backend");s(this,"injector");s(this,"chain",null);s(this,"pendingTasks",S(ls));s(this,"contributeToStability",S(zQ));this.backend=r,this.injector=i}handle(r){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(qp),...this.injector.get(VQ,[])]));this.chain=i.reduceRight((o,l)=>jQ(o,l,this.injector),FQ)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(r,o=>this.backend.handle(o)).pipe(y0(()=>this.pendingTasks.remove(i)))}else return this.chain(r,i=>this.backend.handle(i))}};s(t,"ɵfac",function(r){return new(r||t)(oe(L_),oe(ca))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),BQ=/^\)\]\}',?\n/,HQ=RegExp(`^${j_}:`,"m");function qQ(e){return"responseURL"in e&&e.responseURL?e.responseURL:HQ.test(e.getAllResponseHeaders())?e.getResponseHeader(j_):null}var ag=(()=>{const t=class t{constructor(n){s(this,"xhrFactory");this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new U(-2800,!1);let r=this.xhrFactory;return(r.ɵloadImpl?Ur(r.ɵloadImpl()):et(null)).pipe(wl(()=>new mt(i=>{let o=r.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((x,k)=>o.setRequestHeader(x,k.join(","))),n.headers.has(eg)||o.setRequestHeader(eg,OQ),!n.headers.has(Jf)){let x=n.detectContentTypeHeader();x!==null&&o.setRequestHeader(Jf,x)}if(n.responseType){let x=n.responseType.toLowerCase();o.responseType=x!=="json"?x:"text"}let l=n.serializeBody(),u=null,c=()=>{if(u!==null)return u;let x=o.statusText||"OK",k=new Pi(o.getAllResponseHeaders()),D=qQ(o)||n.url;return u=new MQ({headers:k,status:o.status,statusText:x,url:D}),u},d=()=>{let{headers:x,status:k,statusText:D,url:N}=c(),O=null;k!==PQ&&(O=typeof o.response>"u"?o.responseText:o.response),k===0&&(k=O?AQ:0);let J=k>=200&&k<300;if(n.responseType==="json"&&typeof O=="string"){let le=O;O=O.replace(BQ,"");try{O=O!==""?JSON.parse(O):null}catch(_e){O=le,J&&(J=!1,O={error:_e,text:O})}}J?(i.next(new q_({body:O,headers:x,status:k,statusText:D,url:N||void 0})),i.complete()):i.error(new tg({error:O,headers:x,status:k,statusText:D,url:N||void 0}))},m=x=>{let{url:k}=c(),D=new tg({error:x,status:o.status||0,statusText:o.statusText||"Unknown Error",url:k||void 0});i.error(D)},v=!1,g=x=>{v||(i.next(c()),v=!0);let k={type:wi.DownloadProgress,loaded:x.loaded};x.lengthComputable&&(k.total=x.total),n.responseType==="text"&&o.responseText&&(k.partialText=o.responseText),i.next(k)},w=x=>{let k={type:wi.UploadProgress,loaded:x.loaded};x.lengthComputable&&(k.total=x.total),i.next(k)};return o.addEventListener("load",d),o.addEventListener("error",m),o.addEventListener("timeout",m),o.addEventListener("abort",m),n.reportProgress&&(o.addEventListener("progress",g),l!==null&&o.upload&&o.upload.addEventListener("progress",w)),o.send(l),i.next({type:wi.Sent}),()=>{o.removeEventListener("error",m),o.removeEventListener("abort",m),o.removeEventListener("load",d),o.removeEventListener("timeout",m),n.reportProgress&&(o.removeEventListener("progress",g),l!==null&&o.upload&&o.upload.removeEventListener("progress",w)),o.readyState!==o.DONE&&o.abort()}})))}};s(t,"ɵfac",function(n){return new(n||t)(oe(T_))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),U_=new K(""),$Q="XSRF-TOKEN",UQ=new K("",{providedIn:"root",factory:()=>$Q}),GQ="X-XSRF-TOKEN",WQ=new K("",{providedIn:"root",factory:()=>GQ}),G_=class{},ZQ=(()=>{const t=class t{constructor(n,r){s(this,"doc");s(this,"cookieName");s(this,"lastCookieString","");s(this,"lastToken",null);s(this,"parseCount",0);this.doc=n,this.cookieName=r}getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=C_(n,this.cookieName),this.lastCookieString=n),this.lastToken}};s(t,"ɵfac",function(n){return new(n||t)(oe(Fe),oe(UQ))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function YQ(e,t){let a=e.url.toLowerCase();if(!S(U_)||e.method==="GET"||e.method==="HEAD"||a.startsWith("http://")||a.startsWith("https://"))return t(e);let n=S(G_).getToken(),r=S(WQ);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}var W_=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}(W_||{});function KQ(e,t){return{ɵkind:e,ɵproviders:t}}function QQ(...e){let t=[Ji,ag,ng,{provide:Bp,useExisting:ng},{provide:L_,useFactory:()=>S(LQ,{optional:!0})??S(ag)},{provide:qp,useValue:YQ,multi:!0},{provide:U_,useValue:!0},{provide:G_,useClass:ZQ}];for(let a of e)t.push(...a.ɵproviders);return Oh(t)}function XQ(e){return KQ(W_.Interceptors,e.map(t=>({provide:qp,useValue:t,multi:!0})))}var Z_=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:function(n){let r=null;return n?r=new(n||t):r=oe(JQ),r},providedIn:"root"}));let e=t;return e})(),JQ=(()=>{const t=class t extends Z_{constructor(r){super();s(this,"_doc");this._doc=r}sanitize(r,i){if(i==null)return null;switch(r){case En.NONE:return i;case En.HTML:return oi(i,"HTML")?Qa(i):j8(this._doc,String(i)).toString();case En.STYLE:return oi(i,"Style")?Qa(i):i;case En.SCRIPT:if(oi(i,"Script"))return Qa(i);throw new U(5200,!1);case En.URL:return oi(i,"URL")?Qa(i):sp(String(i));case En.RESOURCE_URL:if(oi(i,"ResourceURL"))return Qa(i);throw new U(5201,!1);default:throw new U(5202,!1)}}bypassSecurityTrustHtml(r){return f8(r)}bypassSecurityTrustStyle(r){return g8(r)}bypassSecurityTrustScript(r){return v8(r)}bypassSecurityTrustUrl(r){return b8(r)}bypassSecurityTrustResourceUrl(r){return y8(r)}};s(t,"ɵfac",function(r){return new(r||t)(oe(Fe))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),gs=class{},eX=(()=>{const t=class t extends gs{getTranslation(n){return et({})}};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=tt(t)))(r||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),Y_=class{},tX=(()=>{const t=class t{handle(n){return n.key}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function Bl(e,t){if(e===t)return!0;if(e===null||t===null)return!1;if(e!==e&&t!==t)return!0;let a=typeof e,n=typeof t,r,i,o;if(a==n&&a=="object")if(Array.isArray(e)){if(!Array.isArray(t))return!1;if((r=e.length)==t.length){for(i=0;i<r;i++)if(!Bl(e[i],t[i]))return!1;return!0}}else{if(Array.isArray(t))return!1;o=Object.create(null);for(i in e){if(!Bl(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 nr(e){return typeof e<"u"&&e!==null}function vs(e){return pl(e)&&!$p(e)&&e!==null}function pl(e){return typeof e=="object"}function $p(e){return Array.isArray(e)}function Up(e){return typeof e=="string"}function nX(e){return typeof e=="function"}function Vd(e,t){let a=Object.assign({},e);return pl(e)?(pl(e)&&pl(t)&&Object.keys(t).forEach(n=>{vs(t[n])?n in e?a[n]=Vd(e[n],t[n]):Object.assign(a,{[n]:t[n]}):Object.assign(a,{[n]:t[n]})}),a):Vd({},t)}function zd(e,t){let a=t.split(".");t="";do t+=a.shift(),nr(e)&&nr(e[t])&&(vs(e[t])||$p(e[t])||!a.length)?(e=e[t],t=""):a.length?t+=".":e=void 0;while(a.length);return e}function aX(e,t,a){let n=t.split("."),r=e;for(let i=0;i<n.length;i++){let o=n[i];i===n.length-1?r[o]=a:((!r[o]||!vs(r[o]))&&(r[o]={}),r=r[o])}}var Gp=class{},rX=(()=>{const t=class t extends Gp{constructor(){super(...arguments);s(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(r,i){if(Up(r))return this.interpolateString(r,i);if(nX(r))return this.interpolateFunction(r,i)}interpolateFunction(r,i){return r(i)}interpolateString(r,i){return i?r.replace(this.templateMatcher,(o,l)=>{let u=zd(i,l);return nr(u)?u:o}):r}};s(t,"ɵfac",(()=>{let r;return function(i){return(r||(r=tt(t)))(i||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),bs=class{},iX=(()=>{const t=class t extends bs{compile(n,r){return n}compileTranslations(n,r){return n}};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=tt(t)))(r||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),Bd=class{constructor(){s(this,"defaultLang");s(this,"currentLang",this.defaultLang);s(this,"translations",{});s(this,"langs",[]);s(this,"onTranslationChange",new it);s(this,"onLangChange",new it);s(this,"onDefaultLangChange",new it)}},K_=new K("ISOLATE_TRANSLATE_SERVICE"),Q_=new K("USE_DEFAULT_LANG"),X_=new K("DEFAULT_LANGUAGE"),J_=new K("USE_EXTEND"),so=e=>vi(e)?e:et(e),Xn=(()=>{const t=class t{constructor(n,r,i,o,l,u=!0,c=!1,d=!1,m){s(this,"store");s(this,"currentLoader");s(this,"compiler");s(this,"parser");s(this,"missingTranslationHandler");s(this,"useDefaultLang");s(this,"extend");s(this,"loadingTranslations");s(this,"pending",!1);s(this,"_translationRequests",{});s(this,"lastUseLanguage",null);this.store=n,this.currentLoader=r,this.compiler=i,this.parser=o,this.missingTranslationHandler=l,this.useDefaultLang=u,this.extend=d,c&&(this.store=new Bd),m&&this.setDefaultLang(m)}get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onDefaultLangChange(){return this.store.onDefaultLangChange}get defaultLang(){return this.store.defaultLang}set defaultLang(n){this.store.defaultLang=n}get currentLang(){return this.store.currentLang}set currentLang(n){this.store.currentLang=n}get langs(){return this.store.langs}set langs(n){this.store.langs=n}get translations(){return this.store.translations}set translations(n){this.store.translations=n}setDefaultLang(n){if(n===this.defaultLang)return;let r=this.retrieveTranslations(n);typeof r<"u"?(this.defaultLang==null&&(this.defaultLang=n),r.pipe(pn(1)).subscribe(()=>{this.changeDefaultLang(n)})):this.changeDefaultLang(n)}getDefaultLang(){return this.defaultLang}use(n){if(this.lastUseLanguage=n,n===this.currentLang)return et(this.translations[n]);this.currentLang||(this.currentLang=n);let r=this.retrieveTranslations(n);return vi(r)?(r.pipe(pn(1)).subscribe(()=>{this.changeLang(n)}),r):(this.changeLang(n),et(this.translations[n]))}changeLang(n){n===this.lastUseLanguage&&(this.currentLang=n,this.onLangChange.emit({lang:n,translations:this.translations[n]}),this.defaultLang==null&&this.changeDefaultLang(n))}retrieveTranslations(n){if(typeof this.translations[n]>"u"||this.extend)return this._translationRequests[n]=this._translationRequests[n]||this.loadAndCompileTranslations(n),this._translationRequests[n]}getTranslation(n){return this.loadAndCompileTranslations(n)}loadAndCompileTranslations(n){this.pending=!0;let r=this.currentLoader.getTranslation(n).pipe(Hm(1),pn(1));return this.loadingTranslations=r.pipe(Pt(i=>this.compiler.compileTranslations(i,n)),Hm(1),pn(1)),this.loadingTranslations.subscribe({next:i=>{this.translations[n]=this.extend&&this.translations[n]?ue(ue({},i),this.translations[n]):i,this.updateLangs(),this.pending=!1},error:i=>{this.pending=!1}}),r}setTranslation(n,r,i=!1){let o=this.compiler.compileTranslations(r,n);(i||this.extend)&&this.translations[n]?this.translations[n]=Vd(this.translations[n],o):this.translations[n]=o,this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}getLangs(){return this.langs}addLangs(n){let r=n.filter(i=>!this.langs.includes(i));r.length>0&&(this.langs=[...this.langs,...r])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(n,r,i){let o;if(n&&(o=this.runInterpolation(zd(n,r),i)),o===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.runInterpolation(zd(this.translations[this.defaultLang],r),i)),o===void 0){let l={key:r,translateService:this};typeof i<"u"&&(l.interpolateParams=i),o=this.missingTranslationHandler.handle(l)}return o!==void 0?o:r}runInterpolation(n,r){if($p(n))return n.map(i=>this.runInterpolation(i,r));if(vs(n)){let i={};for(let o in n){let l=this.runInterpolation(n[o],r);l!==void 0&&(i[o]=l)}return i}else return this.parser.interpolate(n,r)}getParsedResult(n,r,i){if(r instanceof Array){let o={},l=!1;for(let c of r)o[c]=this.getParsedResultForKey(n,c,i),l=l||vi(o[c]);if(!l)return o;let u=r.map(c=>so(o[c]));return g0(u).pipe(Pt(c=>{let d={};return c.forEach((m,v)=>{d[r[v]]=m}),d}))}return this.getParsedResultForKey(n,r,i)}get(n,r){if(!nr(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(b0(i=>so(this.getParsedResult(i,n,r)))):so(this.getParsedResult(this.translations[this.currentLang],n,r))}getStreamOnTranslationChange(n,r){if(!nr(n)||!n.length)throw new Error('Parameter "key" is required and cannot be empty');return No(_l(()=>this.get(n,r)),this.onTranslationChange.pipe(wl(i=>{let o=this.getParsedResult(i.translations,n,r);return so(o)})))}stream(n,r){if(!nr(n)||!n.length)throw new Error('Parameter "key" required');return No(_l(()=>this.get(n,r)),this.onLangChange.pipe(wl(i=>{let o=this.getParsedResult(i.translations,n,r);return so(o)})))}instant(n,r){if(!nr(n)||n.length===0)throw new Error('Parameter "key" is required and cannot be empty');let i=this.getParsedResult(this.translations[this.currentLang],n,r);return vi(i)?Array.isArray(n)?n.reduce((o,l)=>(o[l]=l,o),{}):n:i}set(n,r,i=this.currentLang){aX(this.translations[i],n,Up(r)?this.compiler.compile(r,i):this.compiler.compileTranslations(r,i)),this.updateLangs(),this.onTranslationChange.emit({lang:i,translations:this.translations[i]})}changeDefaultLang(n){this.defaultLang=n,this.onDefaultLangChange.emit({lang:n,translations:this.translations[n]})}reloadLang(n){return this.resetLang(n),this.loadAndCompileTranslations(n)}resetLang(n){delete this._translationRequests[n],delete this.translations[n]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let n=this.getBrowserCultureLang();return n?n.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}};s(t,"ɵfac",function(n){return new(n||t)(oe(Bd),oe(gs),oe(bs),oe(Gp),oe(Y_),oe(Q_),oe(K_),oe(J_),oe(X_))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),fr=(()=>{const t=class t{constructor(n,r){s(this,"translate");s(this,"_ref");s(this,"value","");s(this,"lastKey",null);s(this,"lastParams",[]);s(this,"onTranslationChange");s(this,"onLangChange");s(this,"onDefaultLangChange");this.translate=n,this._ref=r}updateValue(n,r,i){let o=l=>{this.value=l!==void 0?l:n,this.lastKey=n,this._ref.markForCheck()};if(i){let l=this.translate.getParsedResult(i,n,r);vi(l)?l.subscribe(o):o(l)}this.translate.get(n,r).subscribe(o)}transform(n,...r){if(!n||!n.length)return n;if(Bl(n,this.lastKey)&&Bl(r,this.lastParams))return this.value;let i;if(nr(r[0])&&r.length)if(Up(r[0])&&r[0].length){let o=r[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{i=JSON.parse(o)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${r[0]}`)}}else vs(r[0])&&(i=r[0]);return this.lastKey=n,this.lastParams=r,this.updateValue(n,i),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(n,i,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,i,o.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,i))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}};s(t,"ɵfac",function(n){return new(n||t)(en(Xn,16),en(ya,16))}),s(t,"ɵpipe",va({name:"translate",type:t,pure:!1})),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),oX=(e={})=>Oh([e.loader||{provide:gs,useClass:eX},e.compiler||{provide:bs,useClass:iX},e.parser||{provide:Gp,useClass:rX},e.missingTranslationHandler||{provide:Y_,useClass:tX},Bd,{provide:K_,useValue:e.isolate},{provide:Q_,useValue:e.useDefaultLang},{provide:J_,useValue:e.extend},{provide:X_,useValue:e.defaultLanguage},Xn]);function e1(e){return e.buttons===0||e.detail===0}function t1(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 _c;function sX(){if(_c==null){let e=typeof document<"u"?document.head:null;_c=!!(e&&(e.createShadowRoot||e.attachShadow))}return _c}function lX(e){if(sX()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function wc(){let e=typeof document<"u"&&document?document.activeElement:null;for(;e&&e.shadowRoot;){let t=e.shadowRoot.activeElement;if(t===e)break;e=t}return e}function Va(e){return e.composedPath?e.composedPath()[0]:e.target}function ar(e,t,a,n,r){let i=parseInt(Af.major),o=parseInt(Af.minor);return i>19||i===19&&o>0||i===0&&o===0?e.listen(t,a,n,r):(t.addEventListener(a,n,r),()=>{t.removeEventListener(a,n,r)})}var Hd;try{Hd=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Hd=!1}var dn=(()=>{const t=class t{constructor(){s(this,"_platformId",S(xu));s(this,"isBrowser",this._platformId?tQ(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||Hd)&&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",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),lo;function uX(){if(lo==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>lo=!0}))}finally{lo=lo||!1}return lo}function Wp(e){return uX()?e:!!e.capture}function rg(e,t=0){return n1(e)?Number(e):arguments.length===2?t:0}function n1(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function xi(e){return e instanceof Qe?e.nativeElement:e}var cX=new K("cdk-input-modality-detector-options"),dX={ignoreKeys:[18,17,224,91,16]},a1=650,xc={passive:!0,capture:!0},hX=(()=>{const t=class t{constructor(){s(this,"_platform",S(dn));s(this,"_listenerCleanups");s(this,"modalityDetected");s(this,"modalityChanged");s(this,"_mostRecentTarget",null);s(this,"_modality",new Ar(null));s(this,"_options");s(this,"_lastTouchMs",0);s(this,"_onKeydown",n=>{var r,i;(i=(r=this._options)==null?void 0:r.ignoreKeys)!=null&&i.some(o=>o===n.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Va(n))});s(this,"_onMousedown",n=>{Date.now()-this._lastTouchMs<a1||(this._modality.next(e1(n)?"keyboard":"mouse"),this._mostRecentTarget=Va(n))});s(this,"_onTouchstart",n=>{if(t1(n)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Va(n)});let n=S(ze),r=S(Fe),i=S(cX,{optional:!0});if(this._options=ue(ue({},dX),i),this.modalityDetected=this._modality.pipe(w0(1)),this.modalityChanged=this.modalityDetected.pipe(i6()),this._platform.isBrowser){let o=S(Yn).createRenderer(null,null);this._listenerCleanups=n.runOutsideAngular(()=>[ar(o,r,"keydown",this._onKeydown,xc),ar(o,r,"mousedown",this._onMousedown,xc),ar(o,r,"touchstart",this._onTouchstart,xc)])}}get mostRecentModality(){return this._modality.value}ngOnDestroy(){var n;this._modality.complete(),(n=this._listenerCleanups)==null||n.forEach(r=>r())}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),ml=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(ml||{}),pX=new K("cdk-focus-monitor-default-options"),Bs=Wp({passive:!0,capture:!0}),Pu=(()=>{const t=class t{constructor(){s(this,"_ngZone",S(ze));s(this,"_platform",S(dn));s(this,"_inputModalityDetector",S(hX));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",S(Fe,{optional:!0}));s(this,"_stopInputModalityDetector",new ge);s(this,"_rootNodeFocusAndBlurListener",n=>{let r=Va(n);for(let i=r;i;i=i.parentElement)n.type==="focus"?this._onFocus(n,i):this._onBlur(n,i)});let n=S(pX,{optional:!0});this._detectionMode=(n==null?void 0:n.detectionMode)||ml.IMMEDIATE}monitor(n,r=!1){let i=xi(n);if(!this._platform.isBrowser||i.nodeType!==1)return et();let o=lX(i)||this._getDocument(),l=this._elementInfo.get(i);if(l)return r&&(l.checkChildren=!0),l.subject;let u={checkChildren:r,subject:new ge,rootNode:o};return this._elementInfo.set(i,u),this._registerGlobalListeners(u),u.subject}stopMonitoring(n){let r=xi(n),i=this._elementInfo.get(r);i&&(i.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(i))}focusVia(n,r,i){let o=xi(n),l=this._getDocument().activeElement;o===l?this._getClosestElementsInfo(o).forEach(([u,c])=>this._originChanged(u,r,c)):(this._setOrigin(r),typeof o.focus=="function"&&o.focus(i))}ngOnDestroy(){this._elementInfo.forEach((n,r)=>this.stopMonitoring(r))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?"mouse":"program"}_shouldBeAttributedToTouch(n){return this._detectionMode===ml.EVENTUAL||!!(n!=null&&n.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(n,r){n.classList.toggle("cdk-focused",!!r),n.classList.toggle("cdk-touch-focused",r==="touch"),n.classList.toggle("cdk-keyboard-focused",r==="keyboard"),n.classList.toggle("cdk-mouse-focused",r==="mouse"),n.classList.toggle("cdk-program-focused",r==="program")}_setOrigin(n,r=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=n,this._originFromTouchInteraction=n==="touch"&&r,this._detectionMode===ml.IMMEDIATE){clearTimeout(this._originTimeoutId);let i=this._originFromTouchInteraction?a1:1;this._originTimeoutId=setTimeout(()=>this._origin=null,i)}})}_onFocus(n,r){let i=this._elementInfo.get(r),o=Va(n);!i||!i.checkChildren&&r!==o||this._originChanged(r,this._getFocusOrigin(o),i)}_onBlur(n,r){let i=this._elementInfo.get(r);!i||i.checkChildren&&n.relatedTarget instanceof Node&&r.contains(n.relatedTarget)||(this._setClasses(r),this._emitOrigin(i,null))}_emitOrigin(n,r){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(r))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;let r=n.rootNode,i=this._rootNodeFocusListenerCount.get(r)||0;i||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,Bs),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,Bs)}),this._rootNodeFocusListenerCount.set(r,i+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(or(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(n){let r=n.rootNode;if(this._rootNodeFocusListenerCount.has(r)){let i=this._rootNodeFocusListenerCount.get(r);i>1?this._rootNodeFocusListenerCount.set(r,i-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Bs),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Bs),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,r,i){this._setClasses(n,r),this._emitOrigin(i,r),this._lastFocusOrigin=r}_getClosestElementsInfo(n){let r=[];return this._elementInfo.forEach((i,o)=>{(o===n||i.checkChildren&&o.contains(n))&&r.push([o,i])}),r}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:r,mostRecentModality:i}=this._inputModalityDetector;if(i!=="mouse"||!r||r===n||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA"||n.disabled)return!1;let o=n.labels;if(o){for(let l=0;l<o.length;l++)if(o[l].contains(r))return!0}return!1}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Hs=new WeakMap,gr=(()=>{const t=class t{constructor(){s(this,"_appRef");s(this,"_injector",S(ht));s(this,"_environmentInjector",S(ca))}load(n){let r=this._appRef=this._appRef||this._injector.get(cr),i=Hs.get(r);i||(i={loaders:new Set,refs:[]},Hs.set(r,i),r.onDestroy(()=>{var o;(o=Hs.get(r))==null||o.refs.forEach(l=>l.destroy()),Hs.delete(r)})),i.loaders.has(n)||(i.loaders.add(n),i.refs.push(g_(n,{environmentInjector:this._environmentInjector})))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),r1=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Oe({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(n,r){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
20
20
  `],encapsulation:2,changeDetection:0}));let e=t;return e})();function Hl(e){return Array.isArray(e)?e:[e]}var ig=new Set,wr,mX=(()=>{const t=class t{constructor(){s(this,"_platform",S(dn));s(this,"_nonce",S(ap,{optional:!0}));s(this,"_matchMedia");this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):gX}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&fX(n,this._nonce),this._matchMedia(n)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function fX(e,t){if(!ig.has(e))try{wr||(wr=document.createElement("style"),t&&wr.setAttribute("nonce",t),wr.setAttribute("type","text/css"),document.head.appendChild(wr)),wr.sheet&&(wr.sheet.insertRule(`@media ${e} {body{ }}`,0),ig.add(e))}catch(a){console.error(a)}}function gX(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var i1=(()=>{const t=class t{constructor(){s(this,"_mediaMatcher",S(mX));s(this,"_zone",S(ze));s(this,"_queries",new Map);s(this,"_destroySubject",new ge)}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return og(Hl(n)).some(r=>this._registerQuery(r).mql.matches)}observe(n){let r=og(Hl(n)).map(o=>this._registerQuery(o).observable),i=al(r);return i=No(i.pipe(pn(1)),i.pipe(w0(1),r6(0))),i.pipe(Pt(o=>{let l={matches:!1,breakpoints:{}};return o.forEach(({matches:u,query:c})=>{l.matches=l.matches||u,l.breakpoints[c]=u}),l}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let r=this._mediaMatcher.matchMedia(n),i={observable:new mt(o=>{let l=u=>this._zone.run(()=>o.next(u));return r.addListener(l),()=>{r.removeListener(l)}}).pipe(cu(r),Pt(({matches:o})=>({query:n,matches:o})),or(this._destroySubject)),mql:r};return this._queries.set(n,i),i}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function og(e){return e.map(t=>t.split(",")).reduce((t,a)=>t.concat(a)).map(t=>t.trim())}var vX=(()=>{const t=class t{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),bX=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({providers:[vX]}));let e=t;return e})(),o1=(()=>{const t=class t{constructor(){s(this,"_platform",S(dn))}isDisabled(n){return n.hasAttribute("disabled")}isVisible(n){return _X(n)&&getComputedStyle(n).visibility==="visible"}isTabbable(n){if(!this._platform.isBrowser)return!1;let r=yX(IX(n));if(r&&(sg(r)===-1||!this.isVisible(r)))return!1;let i=n.nodeName.toLowerCase(),o=sg(n);return n.hasAttribute("contenteditable")?o!==-1:i==="iframe"||i==="object"||this._platform.WEBKIT&&this._platform.IOS&&!CX(n)?!1:i==="audio"?n.hasAttribute("controls")?o!==-1:!1:i==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||n.hasAttribute("controls"):n.tabIndex>=0}isFocusable(n,r){return DX(n)&&!this.isDisabled(n)&&((r==null?void 0:r.ignoreVisibility)||this.isVisible(n))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function yX(e){try{return e.frameElement}catch{return null}}function _X(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function wX(e){let t=e.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function xX(e){return SX(e)&&e.type=="hidden"}function EX(e){return kX(e)&&e.hasAttribute("href")}function SX(e){return e.nodeName.toLowerCase()=="input"}function kX(e){return e.nodeName.toLowerCase()=="a"}function s1(e){if(!e.hasAttribute("tabindex")||e.tabIndex===void 0)return!1;let t=e.getAttribute("tabindex");return!!(t&&!isNaN(parseInt(t,10)))}function sg(e){if(!s1(e))return null;let t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function CX(e){let t=e.nodeName.toLowerCase(),a=t==="input"&&e.type;return a==="text"||a==="password"||t==="select"||t==="textarea"}function DX(e){return xX(e)?!1:wX(e)||EX(e)||e.hasAttribute("contenteditable")||s1(e)}function IX(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var TX=class{constructor(e,t,a,n,r=!1,i){s(this,"_element");s(this,"_checker");s(this,"_ngZone");s(this,"_document");s(this,"_injector");s(this,"_startAnchor");s(this,"_endAnchor");s(this,"_hasAttached",!1);s(this,"startAnchorListener",()=>this.focusLastTabbableElement());s(this,"endAnchorListener",()=>this.focusFirstTabbableElement());s(this,"_enabled",!0);this._element=e,this._checker=t,this._ngZone=a,this._document=n,this._injector=i,r||this.attachAnchors()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}destroy(){let e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){let a=this._getFirstTabbableElement(t);return a==null||a.focus(e),!!a}return t.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let t=this._getRegionBoundary("start");return t&&t.focus(e),!!t}focusLastTabbableElement(e){let t=this._getRegionBoundary("end");return t&&t.focus(e),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children;for(let a=0;a<t.length;a++){let n=t[a].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[a]):null;if(n)return n}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children;for(let a=t.length-1;a>=0;a--){let n=t[a].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[a]):null;if(n)return n}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._injector?Eu(e,{injector:this._injector}):setTimeout(e)}},RX=(()=>{const t=class t{constructor(){s(this,"_checker",S(o1));s(this,"_ngZone",S(ze));s(this,"_document",S(Fe));s(this,"_injector",S(ht));S(gr).load(r1)}create(n,r=!1){return new TX(n,this._checker,this._ngZone,this._document,r,this._injector)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),NX=new K("liveAnnouncerElement",{providedIn:"root",factory:OX});function OX(){return null}var MX=new K("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),AX=0,PX=(()=>{const t=class t{constructor(){s(this,"_ngZone",S(ze));s(this,"_defaultOptions",S(MX,{optional:!0}));s(this,"_liveElement");s(this,"_document",S(Fe));s(this,"_previousTimeout");s(this,"_currentPromise");s(this,"_currentResolve");let n=S(NX,{optional:!0});this._liveElement=n||this._createLiveElement()}announce(n,...r){let i=this._defaultOptions,o,l;return r.length===1&&typeof r[0]=="number"?l=r[0]:[o,l]=r,this.clear(),clearTimeout(this._previousTimeout),o||(o=i&&i.politeness?i.politeness:"polite"),l==null&&i&&(l=i.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(u=>this._currentResolve=u)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{var u;this._liveElement.textContent=n,typeof l=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),l)),(u=this._currentResolve)==null||u.call(this),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var n,r;clearTimeout(this._previousTimeout),(n=this._liveElement)==null||n.remove(),this._liveElement=null,(r=this._currentResolve)==null||r.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let n="cdk-live-announcer-element",r=this._document.getElementsByClassName(n),i=this._document.createElement("div");for(let o=0;o<r.length;o++)r[o].remove();return i.classList.add(n),i.classList.add("cdk-visually-hidden"),i.setAttribute("aria-atomic","true"),i.setAttribute("aria-live","polite"),i.id=`cdk-live-announcer-${AX++}`,this._document.body.appendChild(i),i}_exposeAnnouncerToModals(n){let r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let i=0;i<r.length;i++){let o=r[i],l=o.getAttribute("aria-owns");l?l.indexOf(n)===-1&&o.setAttribute("aria-owns",l+" "+n):o.setAttribute("aria-owns",n)}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Dr=function(e){return e[e.NONE=0]="NONE",e[e.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",e[e.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",e}(Dr||{}),lg="cdk-high-contrast-black-on-white",ug="cdk-high-contrast-white-on-black",Ec="cdk-high-contrast-active",l1=(()=>{const t=class t{constructor(){s(this,"_platform",S(dn));s(this,"_hasCheckedHighContrastMode");s(this,"_document",S(Fe));s(this,"_breakpointSubscription");this._breakpointSubscription=S(i1).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Dr.NONE;let n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);let r=this._document.defaultView||window,i=r&&r.getComputedStyle?r.getComputedStyle(n):null,o=(i&&i.backgroundColor||"").replace(/ /g,"");switch(n.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Dr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Dr.BLACK_ON_WHITE}return Dr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(Ec,lg,ug),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===Dr.BLACK_ON_WHITE?n.add(Ec,lg):r===Dr.WHITE_ON_BLACK&&n.add(Ec,ug)}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),LX=(()=>{const t=class t{constructor(){S(l1)._applyBodyHighContrastModeCssClasses()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({imports:[bX]}));let e=t;return e})(),Sc={},Xr=(()=>{const t=class t{constructor(){s(this,"_appId",S(wu))}getId(n){return this._appId!=="ng"&&(n+=this._appId),Sc.hasOwnProperty(n)||(Sc[n]=0),`${n}${Sc[n]++}`}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Zp(e,...t){return t.length?t.some(a=>e[a]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var u1=" ";function FX(e,t,a){let n=ql(e,t);a=a.trim(),!n.some(r=>r.trim()===a)&&(n.push(a),e.setAttribute(t,n.join(u1)))}function jX(e,t,a){let n=ql(e,t);a=a.trim();let r=n.filter(i=>i!==a);r.length?e.setAttribute(t,r.join(u1)):e.removeAttribute(t)}function ql(e,t){var a;return((a=e.getAttribute(t))==null?void 0:a.match(/\S+/g))??[]}var c1="cdk-describedby-message",qs="cdk-describedby-host",qd=0,VX=(()=>{const t=class t{constructor(){s(this,"_platform",S(dn));s(this,"_document",S(Fe));s(this,"_messageRegistry",new Map);s(this,"_messagesContainer",null);s(this,"_id",`${qd++}`);S(gr).load(r1),this._id=S(wu)+"-"+qd++}describe(n,r,i){if(!this._canBeDescribed(n,r))return;let o=kc(r,i);typeof r!="string"?(cg(r,this._id),this._messageRegistry.set(o,{messageElement:r,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(r,i),this._isElementDescribedByMessage(n,o)||this._addMessageReference(n,o)}removeDescription(n,r,i){var l;if(!r||!this._isElementNode(n))return;let o=kc(r,i);if(this._isElementDescribedByMessage(n,o)&&this._removeMessageReference(n,o),typeof r=="string"){let u=this._messageRegistry.get(o);u&&u.referenceCount===0&&this._deleteMessageElement(o)}((l=this._messagesContainer)==null?void 0:l.childNodes.length)===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var r;let n=this._document.querySelectorAll(`[${qs}="${this._id}"]`);for(let i=0;i<n.length;i++)this._removeCdkDescribedByReferenceIds(n[i]),n[i].removeAttribute(qs);(r=this._messagesContainer)==null||r.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(n,r){let i=this._document.createElement("div");cg(i,this._id),i.textContent=n,r&&i.setAttribute("role",r),this._createMessagesContainer(),this._messagesContainer.appendChild(i),this._messageRegistry.set(kc(n,r),{messageElement:i,referenceCount:0})}_deleteMessageElement(n){var r,i;(i=(r=this._messageRegistry.get(n))==null?void 0:r.messageElement)==null||i.remove(),this._messageRegistry.delete(n)}_createMessagesContainer(){if(this._messagesContainer)return;let n="cdk-describedby-message-container",r=this._document.querySelectorAll(`.${n}[platform="server"]`);for(let o=0;o<r.length;o++)r[o].remove();let i=this._document.createElement("div");i.style.visibility="hidden",i.classList.add(n),i.classList.add("cdk-visually-hidden"),this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._messagesContainer=i}_removeCdkDescribedByReferenceIds(n){let r=ql(n,"aria-describedby").filter(i=>i.indexOf(c1)!=0);n.setAttribute("aria-describedby",r.join(" "))}_addMessageReference(n,r){let i=this._messageRegistry.get(r);FX(n,"aria-describedby",i.messageElement.id),n.setAttribute(qs,this._id),i.referenceCount++}_removeMessageReference(n,r){let i=this._messageRegistry.get(r);i.referenceCount--,jX(n,"aria-describedby",i.messageElement.id),n.removeAttribute(qs)}_isElementDescribedByMessage(n,r){let i=ql(n,"aria-describedby"),o=this._messageRegistry.get(r),l=o&&o.messageElement.id;return!!l&&i.indexOf(l)!=-1}_canBeDescribed(n,r){if(!this._isElementNode(n))return!1;if(r&&typeof r=="object")return!0;let i=r==null?"":`${r}`.trim(),o=n.getAttribute("aria-label");return i?!o||o.trim()!==i:!1}_isElementNode(n){return n.nodeType===this._document.ELEMENT_NODE}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function kc(e,t){return typeof e=="string"?`${t||""}/${e}`:e}function cg(e,t){e.id||(e.id=`${c1}-${t}-${qd++}`)}var zX=new K("cdk-dir-doc",{providedIn:"root",factory:BX});function BX(){return S(Fe)}var HX=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function qX(e){let t=(e==null?void 0:e.toLowerCase())||"";return t==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?HX.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var Bo=(()=>{const t=class t{constructor(){s(this,"value","ltr");s(this,"change",new it);let n=S(zX,{optional:!0});if(n){let r=n.body?n.body.dir:null,i=n.documentElement?n.documentElement.dir:null;this.value=qX(r||i||"ltr")}}ngOnDestroy(){this.change.complete()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ho=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({}));let e=t;return e})(),ma=(()=>{const t=class t{constructor(){S(l1)._applyBodyHighContrastModeCssClasses()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({imports:[Ho,Ho]}));let e=t;return e})(),$d=new K("MAT_DATE_LOCALE",{providedIn:"root",factory:$X});function $X(){return S(Nu)}var ri="Method not implemented",d1=class{constructor(){s(this,"locale");s(this,"_localeChanges",new ge);s(this,"localeChanges",this._localeChanges)}setTime(e,t,a,n){throw new Error(ri)}getHours(e){throw new Error(ri)}getMinutes(e){throw new Error(ri)}getSeconds(e){throw new Error(ri)}parseTime(e,t){throw new Error(ri)}addSeconds(e,t){throw new Error(ri)}getValidDateOrNull(e){return this.isDateInstance(e)&&this.isValid(e)?e:null}deserialize(e){return e==null||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}setLocale(e){this.locale=e,this._localeChanges.next()}compareDate(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)}compareTime(e,t){return this.getHours(e)-this.getHours(t)||this.getMinutes(e)-this.getMinutes(t)||this.getSeconds(e)-this.getSeconds(t)}sameDate(e,t){if(e&&t){let a=this.isValid(e),n=this.isValid(t);return a&&n?!this.compareDate(e,t):a==n}return e==t}sameTime(e,t){if(e&&t){let a=this.isValid(e),n=this.isValid(t);return a&&n?!this.compareTime(e,t):a==n}return e==t}clampDate(e,t,a){return t&&this.compareDate(e,t)<0?t:a&&this.compareDate(e,a)>0?a:e}},UX=new K("mat-date-formats"),Yp=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Oe({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(n,r){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}
21
21
  `],encapsulation:2,changeDetection:0}));let e=t;return e})(),ra=function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e}(ra||{}),$s,xr;function h1(){if(xr==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return xr=!1,xr;if("scrollBehavior"in document.documentElement.style)xr=!0;else{let e=Element.prototype.scrollTo;e?xr=!/\{\s*\[native code\]\s*\}/.test(e.toString()):xr=!1}}return xr}function uo(){if(typeof document!="object"||!document)return ra.NORMAL;if($s==null){let e=document.createElement("div"),t=e.style;e.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";let a=document.createElement("div"),n=a.style;n.width="2px",n.height="1px",e.appendChild(a),document.body.appendChild(e),$s=ra.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,$s=e.scrollLeft===0?ra.NEGATED:ra.INVERTED),e.remove()}return $s}function dg(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Tt(e){return e==null?"":typeof e=="string"?e:`${e}px`}var On=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}(On||{}),GX=class{constructor(e,t,a,n=!1){s(this,"_renderer");s(this,"element");s(this,"config");s(this,"_animationForciblyDisabledThroughCss");s(this,"state",On.HIDDEN);this._renderer=e,this.element=t,this.config=a,this._animationForciblyDisabledThroughCss=n}fadeOut(){this._renderer.fadeOutRipple(this)}},hg=Wp({passive:!0,capture:!0}),WX=class{constructor(){s(this,"_events",new Map);s(this,"_delegateEventHandler",e=>{var a;let t=Va(e);t&&((a=this._events.get(e.type))==null||a.forEach((n,r)=>{(r===t||r.contains(t))&&n.forEach(i=>i.handleEvent(e))}))})}addHandler(e,t,a,n){let r=this._events.get(t);if(r){let i=r.get(a);i?i.add(n):r.set(a,new Set([n]))}else this._events.set(t,new Map([[a,new Set([n])]])),e.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,hg)})}removeHandler(e,t,a){let n=this._events.get(e);if(!n)return;let r=n.get(t);r&&(r.delete(a),r.size===0&&n.delete(t),n.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,hg)))}},$l={enterDuration:225,exitDuration:150},ZX=800,pg=Wp({passive:!0,capture:!0}),mg=["mousedown","touchstart"],fg=["mouseup","mouseleave","touchend","touchcancel"],YX=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Oe({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(n,r){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}
@@ -26,18 +26,18 @@ ${t.map((a,n)=>`${n+1}) ${a.toString()}`).join(`
26
26
  `,HJ=`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
27
27
  `,ys=(()=>{const t=class t extends O1{};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=tt(t)))(r||t)}})()),s(t,"ɵcmp",Oe({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(n,r){n&2&&($t("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),Ru(r.color?"mat-"+r.color:""),jt("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[Ye],ngContentSelectors:A1,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,r){n&1&&(jn(M1),lt(0,"span",0),pt(1),j(2,"span",1),pt(3,1),V(),pt(4,2),lt(5,"span",2)(6,"span",3)),n&2&&jt("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[`.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}
28
28
  `,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
29
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),P1=(()=>{const t=class t extends zJ{};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=tt(t)))(r||t)}})()),s(t,"ɵcmp",Oe({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(n,r){n&2&&($t("disabled",r._getDisabledAttribute())("tabindex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("aria-disabled",r._getAriaDisabled()),Ru(r.color?"mat-"+r.color:""),jt("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[Ye],ngContentSelectors:A1,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,r){n&1&&(jn(M1),lt(0,"span",0),pt(1),j(2,"span",1),pt(3,1),V(),pt(4,2),lt(5,"span",2)(6,"span",3)),n&2&&jt("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[BJ,HJ],encapsulation:2,changeDetection:0}));let e=t;return e})(),nm=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({imports:[ma,JX,ma]}));let e=t;return e})(),L1=(()=>{const t=class t{constructor(){s(this,"changes",new ge);s(this,"itemsPerPageLabel","Items per page:");s(this,"nextPageLabel","Next page");s(this,"previousPageLabel","Previous page");s(this,"firstPageLabel","First page");s(this,"lastPageLabel","Last page");s(this,"getRangeLabel",(n,r,i)=>{if(i==0||r==0)return`0 of ${i}`;i=Math.max(i,0);let o=n*r,l=o<i?Math.min(o+r,i):o+r;return`${o+1} – ${l} of ${i}`})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ne=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}(Ne||{}),La="*";function qJ(e,t=null){return{type:Ne.Sequence,steps:e,options:t}}function Rg(e){return{type:Ne.Style,styles:e,offset:null}}var Go=class{constructor(e=0,t=0){s(this,"_onDoneFns",[]);s(this,"_onStartFns",[]);s(this,"_onDestroyFns",[]);s(this,"_originalOnDoneFns",[]);s(this,"_originalOnStartFns",[]);s(this,"_started",!1);s(this,"_destroyed",!1);s(this,"_finished",!1);s(this,"_position",0);s(this,"parentPlayer",null);s(this,"totalTime");this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(a=>a()),t.length=0}},F1=class{constructor(e){s(this,"_onDoneFns",[]);s(this,"_onStartFns",[]);s(this,"_finished",!1);s(this,"_started",!1);s(this,"_destroyed",!1);s(this,"_onDestroyFns",[]);s(this,"parentPlayer",null);s(this,"totalTime",0);s(this,"players");this.players=e;let t=0,a=0,n=0,r=this.players.length;r==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(i=>{i.onDone(()=>{++t==r&&this._onFinish()}),i.onDestroy(()=>{++a==r&&this._onDestroy()}),i.onStart(()=>{++n==r&&this._onStart()})}),this.totalTime=this.players.reduce((i,o)=>Math.max(i,o.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let t=e*this.totalTime;this.players.forEach(a=>{let n=a.totalTime?Math.min(1,t/a.totalTime):1;a.setPosition(n)})}getPosition(){let e=this.players.reduce((t,a)=>t===null||a.totalTime>t.totalTime?a:t,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(a=>a()),t.length=0}},am="!";function Ng(e){return new U(3e3,!1)}function $J(){return new U(3100,!1)}function UJ(){return new U(3101,!1)}function GJ(e){return new U(3001,!1)}function WJ(e){return new U(3003,!1)}function ZJ(e){return new U(3004,!1)}function YJ(e,t){return new U(3005,!1)}function KJ(){return new U(3006,!1)}function QJ(){return new U(3007,!1)}function XJ(e,t){return new U(3008,!1)}function JJ(e){return new U(3002,!1)}function eee(e,t,a,n,r){return new U(3010,!1)}function tee(){return new U(3011,!1)}function nee(){return new U(3012,!1)}function aee(){return new U(3200,!1)}function ree(){return new U(3202,!1)}function iee(){return new U(3013,!1)}function oee(e){return new U(3014,!1)}function see(e){return new U(3015,!1)}function lee(e){return new U(3016,!1)}function uee(e,t){return new U(3404,!1)}function cee(e){return new U(3502,!1)}function dee(e){return new U(3503,!1)}function hee(){return new U(3300,!1)}function pee(e){return new U(3504,!1)}function mee(e){return new U(3301,!1)}function fee(e,t){return new U(3302,!1)}function gee(e){return new U(3303,!1)}function vee(e,t){return new U(3400,!1)}function bee(e){return new U(3401,!1)}function yee(e){return new U(3402,!1)}function _ee(e,t){return new U(3505,!1)}function Xa(e){switch(e.length){case 0:return new Go;case 1:return e[0];default:return new F1(e)}}function j1(e,t,a=new Map,n=new Map){let r=[],i=[],o=-1,l=null;if(t.forEach(u=>{let c=u.get("offset"),d=c==o,m=d&&l||new Map;u.forEach((v,g)=>{let w=g,x=v;if(g!=="offset")switch(w=e.normalizePropertyName(w,r),x){case am:x=a.get(g);break;case La:x=n.get(g);break;default:x=e.normalizeStyleValue(g,w,x,r);break}m.set(w,x)}),d||i.push(m),l=m,o=c}),r.length)throw cee();return i}function rm(e,t,a,n){switch(t){case"start":e.onStart(()=>n(a&&Ac(a,"start",e)));break;case"done":e.onDone(()=>n(a&&Ac(a,"done",e)));break;case"destroy":e.onDestroy(()=>n(a&&Ac(a,"destroy",e)));break}}function Ac(e,t,a){let n=a.totalTime,r=!!a.disabled,i=im(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,n??e.totalTime,r),o=e._data;return o!=null&&(i._data=o),i}function im(e,t,a,n,r="",i=0,o){return{element:e,triggerName:t,fromState:a,toState:n,phaseName:r,totalTime:i,disabled:!!o}}function Sn(e,t,a){let n=e.get(t);return n||e.set(t,n=a),n}function Og(e){let t=e.indexOf(":"),a=e.substring(1,t),n=e.slice(t+1);return[a,n]}var wee=typeof document>"u"?null:document.documentElement;function om(e){let t=e.parentNode||e.host||null;return t===wee?null:t}function xee(e){return e.substring(1,6)=="ebkit"}var Sr=null,Mg=!1;function Eee(e){Sr||(Sr=See()||{},Mg=Sr.style?"WebkitAppearance"in Sr.style:!1);let t=!0;return Sr.style&&!xee(e)&&(t=e in Sr.style,!t&&Mg&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Sr.style)),t}function See(){return typeof document<"u"?document.body:null}function V1(e,t){for(;t;){if(t===e)return!0;t=om(t)}return!1}function z1(e,t,a){if(a)return Array.from(e.querySelectorAll(t));let n=e.querySelector(t);return n?[n]:[]}var kee=1e3,B1="{{",Cee="}}",H1="ng-enter",Zd="ng-leave",Gs="ng-trigger",Ul=".ng-trigger",Ag="ng-animating",Yd=".ng-animating";function Oa(e){if(typeof e=="number")return e;let t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Kd(parseFloat(t[1]),t[2])}function Kd(e,t){switch(t){case"s":return e*kee;default:return e}}function Gl(e,t,a){return e.hasOwnProperty("duration")?e:Dee(e,t,a)}function Dee(e,t,a){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,r,i=0,o="";if(typeof e=="string"){let l=e.match(n);if(l===null)return t.push(Ng()),{duration:0,delay:0,easing:""};r=Kd(parseFloat(l[1]),l[2]);let u=l[3];u!=null&&(i=Kd(parseFloat(u),l[4]));let c=l[5];c&&(o=c)}else r=e;if(!a){let l=!1,u=t.length;r<0&&(t.push($J()),l=!0),i<0&&(t.push(UJ()),l=!0),l&&t.splice(u,0,Ng())}return{duration:r,delay:i,easing:o}}function Iee(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}function ia(e,t,a){t.forEach((n,r)=>{let i=sm(r);a&&!a.has(r)&&a.set(r,e.style[i]),e.style[i]=n})}function Or(e,t){t.forEach((a,n)=>{let r=sm(n);e.style[r]=""})}function co(e){return Array.isArray(e)?e.length==1?e[0]:qJ(e):e}function Tee(e,t,a){let n=t.params||{},r=q1(e);r.length&&r.forEach(i=>{n.hasOwnProperty(i)||a.push(GJ())})}var Qd=new RegExp(`${B1}\\s*(.+?)\\s*${Cee}`,"g");function q1(e){let t=[];if(typeof e=="string"){let a;for(;a=Qd.exec(e);)t.push(a[1]);Qd.lastIndex=0}return t}function Wo(e,t,a){let n=`${e}`,r=n.replace(Qd,(i,o)=>{let l=t[o];return l==null&&(a.push(WJ()),l=""),l.toString()});return r==n?e:r}var Ree=/-+([a-z0-9])/g;function sm(e){return e.replace(Ree,(...t)=>t[1].toUpperCase())}function Nee(e,t){return e===0||t===0}function Oee(e,t,a){if(a.size&&t.length){let n=t[0],r=[];if(a.forEach((i,o)=>{n.has(o)||r.push(o),n.set(o,i)}),r.length)for(let i=1;i<t.length;i++){let o=t[i];r.forEach(l=>o.set(l,lm(e,l)))}}return t}function xn(e,t,a){switch(t.type){case Ne.Trigger:return e.visitTrigger(t,a);case Ne.State:return e.visitState(t,a);case Ne.Transition:return e.visitTransition(t,a);case Ne.Sequence:return e.visitSequence(t,a);case Ne.Group:return e.visitGroup(t,a);case Ne.Animate:return e.visitAnimate(t,a);case Ne.Keyframes:return e.visitKeyframes(t,a);case Ne.Style:return e.visitStyle(t,a);case Ne.Reference:return e.visitReference(t,a);case Ne.AnimateChild:return e.visitAnimateChild(t,a);case Ne.AnimateRef:return e.visitAnimateRef(t,a);case Ne.Query:return e.visitQuery(t,a);case Ne.Stagger:return e.visitStagger(t,a);default:throw ZJ(t.type)}}function lm(e,t){return window.getComputedStyle(e)[t]}var Mee=(()=>{const t=class t{validateStyleProperty(n){return Eee(n)}containsElement(n,r){return V1(n,r)}getParentElement(n){return om(n)}query(n,r,i){return z1(n,r,i)}computeStyle(n,r,i){return i||""}animate(n,r,i,o,l,u=[],c){return new Go(i,o)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),Yc,$1=(Yc=class{},s(Yc,"NOOP",new Mee),Yc),um=class{},Aee=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"]),Pee=class extends um{normalizePropertyName(e,t){return sm(e)}normalizeStyleValue(e,t,a,n){let r="",i=a.toString().trim();if(Aee.has(t)&&a!==0&&a!=="0")if(typeof a=="number")r="px";else{let o=a.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&n.push(YJ())}return i+r}},Wl="*";function Lee(e,t){let a=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(n=>Fee(n,a,t)):a.push(e),a}function Fee(e,t,a){if(e[0]==":"){let u=jee(e,a);if(typeof u=="function"){t.push(u);return}e=u}let n=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return a.push(see()),t;let r=n[1],i=n[2],o=n[3];t.push(Pg(r,o));let l=r==Wl&&o==Wl;i[0]=="<"&&!l&&t.push(Pg(o,r))}function jee(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(a,n)=>parseFloat(n)>parseFloat(a);case":decrement":return(a,n)=>parseFloat(n)<parseFloat(a);default:return t.push(lee()),"* => *"}}var Ws=new Set(["true","1"]),Zs=new Set(["false","0"]);function Pg(e,t){let a=Ws.has(e)||Zs.has(e),n=Ws.has(t)||Zs.has(t);return(r,i)=>{let o=e==Wl||e==r,l=t==Wl||t==i;return!o&&a&&typeof r=="boolean"&&(o=r?Ws.has(e):Zs.has(e)),!l&&n&&typeof i=="boolean"&&(l=i?Ws.has(t):Zs.has(t)),o&&l}}var U1=":self",Vee=new RegExp(`s*${U1}s*,?`,"g");function G1(e,t,a,n){return new zee(e).build(t,a,n)}var Lg="",zee=class{constructor(e){s(this,"_driver");this._driver=e}build(e,t,a){let n=new qee(t);return this._resetContextStyleTimingState(n),xn(this,co(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=Lg,e.collectedStyles=new Map,e.collectedStyles.set(Lg,new Map),e.currentTime=0}visitTrigger(e,t){let a=t.queryCount=0,n=t.depCount=0,r=[],i=[];return e.name.charAt(0)=="@"&&t.errors.push(KJ()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==Ne.State){let l=o,u=l.name;u.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,r.push(this.visitState(l,t))}),l.name=u}else if(o.type==Ne.Transition){let l=this.visitTransition(o,t);a+=l.queryCount,n+=l.depCount,i.push(l)}else t.errors.push(QJ())}),{type:Ne.Trigger,name:e.name,states:r,transitions:i,queryCount:a,depCount:n,options:null}}visitState(e,t){let a=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(a.containsDynamicStyles){let r=new Set,i=n||{};a.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{q1(l).forEach(u=>{i.hasOwnProperty(u)||r.add(u)})})}),r.size&&t.errors.push(XJ(e.name,[...r.values()]))}return{type:Ne.State,name:e.name,style:a,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let a=xn(this,co(e.animation),t),n=Lee(e.expr,t.errors);return{type:Ne.Transition,matchers:n,animation:a,queryCount:t.queryCount,depCount:t.depCount,options:kr(e.options)}}visitSequence(e,t){return{type:Ne.Sequence,steps:e.steps.map(a=>xn(this,a,t)),options:kr(e.options)}}visitGroup(e,t){let a=t.currentTime,n=0,r=e.steps.map(i=>{t.currentTime=a;let o=xn(this,i,t);return n=Math.max(n,t.currentTime),o});return t.currentTime=n,{type:Ne.Group,steps:r,options:kr(e.options)}}visitAnimate(e,t){let a=Uee(e.timings,t.errors);t.currentAnimateTimings=a;let n,r=e.styles?e.styles:Rg({});if(r.type==Ne.Keyframes)n=this.visitKeyframes(r,t);else{let i=e.styles,o=!1;if(!i){o=!0;let u={};a.easing&&(u.easing=a.easing),i=Rg(u)}t.currentTime+=a.duration+a.delay;let l=this.visitStyle(i,t);l.isEmptyStep=o,n=l}return t.currentAnimateTimings=null,{type:Ne.Animate,timings:a,style:n,options:null}}visitStyle(e,t){let a=this._makeStyleAst(e,t);return this._validateStyleAst(a,t),a}_makeStyleAst(e,t){let a=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of n)typeof o=="string"?o===La?a.push(o):t.errors.push(JJ()):a.push(new Map(Object.entries(o)));let r=!1,i=null;return a.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(i=o.get("easing"),o.delete("easing")),!r)){for(let l of o.values())if(l.toString().indexOf(B1)>=0){r=!0;break}}}),{type:Ne.Style,styles:a,easing:i,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let a=t.currentAnimateTimings,n=t.currentTime,r=t.currentTime;a&&r>0&&(r-=a.duration+a.delay),e.styles.forEach(i=>{typeof i!="string"&&i.forEach((o,l)=>{let u=t.collectedStyles.get(t.currentQuerySelector),c=u.get(l),d=!0;c&&(r!=n&&r>=c.startTime&&n<=c.endTime&&(t.errors.push(eee(l,c.startTime,c.endTime)),d=!1),r=c.startTime),d&&u.set(l,{startTime:r,endTime:n}),t.options&&Tee(o,t.options,t.errors)})})}visitKeyframes(e,t){let a={type:Ne.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(tee()),a;let n=1,r=0,i=[],o=!1,l=!1,u=0,c=e.steps.map(k=>{let D=this._makeStyleAst(k,t),N=D.offset!=null?D.offset:$ee(D.styles),O=0;return N!=null&&(r++,O=D.offset=N),l=l||O<0||O>1,o=o||O<u,u=O,i.push(O),D});l&&t.errors.push(nee()),o&&t.errors.push(aee());let d=e.steps.length,m=0;r>0&&r<d?t.errors.push(ree()):r==0&&(m=n/(d-1));let v=d-1,g=t.currentTime,w=t.currentAnimateTimings,x=w.duration;return c.forEach((k,D)=>{let N=m>0?D==v?1:m*D:i[D],O=N*x;t.currentTime=g+w.delay+O,w.duration=O,this._validateStyleAst(k,t),k.offset=N,a.styles.push(k)}),a}visitReference(e,t){return{type:Ne.Reference,animation:xn(this,co(e.animation),t),options:kr(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:Ne.AnimateChild,options:kr(e.options)}}visitAnimateRef(e,t){return{type:Ne.AnimateRef,animation:this.visitReference(e.animation,t),options:kr(e.options)}}visitQuery(e,t){let a=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;let[r,i]=Bee(e.selector);t.currentQuerySelector=a.length?a+" "+r:r,Sn(t.collectedStyles,t.currentQuerySelector,new Map);let o=xn(this,co(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=a,{type:Ne.Query,selector:r,limit:n.limit||0,optional:!!n.optional,includeSelf:i,animation:o,originalSelector:e.selector,options:kr(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(iee());let a=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Gl(e.timings,t.errors,!0);return{type:Ne.Stagger,animation:xn(this,co(e.animation),t),timings:a,options:null}}};function Bee(e){let t=!!e.split(/\s*,\s*/).find(a=>a==U1);return t&&(e=e.replace(Vee,"")),e=e.replace(/@\*/g,Ul).replace(/@\w+/g,a=>Ul+"-"+a.slice(1)).replace(/:animating/g,Yd),[e,t]}function Hee(e){return e?ue({},e):null}var qee=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 $ee(e){if(typeof e=="string")return null;let t=null;if(Array.isArray(e))e.forEach(a=>{if(a instanceof Map&&a.has("offset")){let n=a;t=parseFloat(n.get("offset")),n.delete("offset")}});else if(e instanceof Map&&e.has("offset")){let a=e;t=parseFloat(a.get("offset")),a.delete("offset")}return t}function Uee(e,t){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let r=Gl(e,t).duration;return Pc(r,0,"")}let a=e;if(a.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=Pc(0,0,"");return r.dynamic=!0,r.strValue=a,r}let n=Gl(a,t);return Pc(n.duration,n.delay,n.easing)}function kr(e){return e?(e=ue({},e),e.params&&(e.params=Hee(e.params))):e={},e}function Pc(e,t,a){return{duration:e,delay:t,easing:a}}function cm(e,t,a,n,r,i,o=null,l=!1){return{type:1,element:e,keyframes:t,preStyleProps:a,postStyleProps:n,duration:r,delay:i,totalTime:r+i,easing:o,subTimeline:l}}var dm=class{constructor(){s(this,"_map",new Map)}get(e){return this._map.get(e)||[]}append(e,t){let a=this._map.get(e);a||this._map.set(e,a=[]),a.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Gee=1,Wee=":enter",Zee=new RegExp(Wee,"g"),Yee=":leave",Kee=new RegExp(Yee,"g");function W1(e,t,a,n,r,i=new Map,o=new Map,l,u,c=[]){return new Qee().buildKeyframes(e,t,a,n,r,i,o,l,u,c)}var Qee=class{buildKeyframes(e,t,a,n,r,i,o,l,u,c=[]){u=u||new dm;let d=new Xee(e,t,u,n,r,c,[]);d.options=l;let m=l.delay?Oa(l.delay):0;d.currentTimeline.delayNextStep(m),d.currentTimeline.setStyles([i],null,d.errors,l),xn(this,a,d);let v=d.timelines.filter(g=>g.containsAnimation());if(v.length&&o.size){let g;for(let w=v.length-1;w>=0;w--){let x=v[w];if(x.element===t){g=x;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([o],null,d.errors,l)}return v.length?v.map(g=>g.buildKeyframes()):[cm(t,[],[],[],0,m,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let a=t.subInstructions.get(t.element);if(a){let n=t.createSubContext(e.options),r=t.currentTimeline.currentTime,i=this._visitSubInstructions(a,n,n.options);r!=i&&t.transformIntoNewTimeline(i)}t.previousNode=e}visitAnimateRef(e,t){let a=t.createSubContext(e.options);a.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,a),this.visitReference(e.animation,a),t.transformIntoNewTimeline(a.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,a){for(let n of e){let r=n==null?void 0:n.delay;if(r){let i=typeof r=="number"?r:Oa(Wo(r,(n==null?void 0:n.params)??{},t.errors));a.delayNextStep(i)}}}_visitSubInstructions(e,t,a){let n=t.currentTimeline.currentTime,r=a.duration!=null?Oa(a.duration):null,i=a.delay!=null?Oa(a.delay):null;return r!==0&&e.forEach(o=>{let l=t.appendInstructionToTimeline(o,r,i);n=Math.max(n,l.duration+l.delay)}),n}visitReference(e,t){t.updateOptions(e.options,!0),xn(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let a=t.subContextCount,n=t,r=e.options;if(r&&(r.params||r.delay)&&(n=t.createSubContext(r),n.transformIntoNewTimeline(),r.delay!=null)){n.previousNode.type==Ne.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Zl);let i=Oa(r.delay);n.delayNextStep(i)}e.steps.length&&(e.steps.forEach(i=>xn(this,i,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>a&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let a=[],n=t.currentTimeline.currentTime,r=e.options&&e.options.delay?Oa(e.options.delay):0;e.steps.forEach(i=>{let o=t.createSubContext(e.options);r&&o.delayNextStep(r),xn(this,i,o),n=Math.max(n,o.currentTimeline.currentTime),a.push(o.currentTimeline)}),a.forEach(i=>t.currentTimeline.mergeTimelineCollectedStyles(i)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let a=e.strValue,n=t.params?Wo(a,t.params,t.errors):a;return Gl(n,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let a=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;a.delay&&(t.incrementTime(a.delay),n.snapshotCurrentStyles());let r=e.style;r.type==Ne.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(a.duration),this.visitStyle(r,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let a=t.currentTimeline,n=t.currentAnimateTimings;!n&&a.hasCurrentStyleProperties()&&a.forwardFrame();let r=n&&n.easing||e.easing;e.isEmptyStep?a.applyEmptyStep(r):a.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let a=t.currentAnimateTimings,n=t.currentTimeline.duration,r=a.duration,i=t.createSubContext().currentTimeline;i.easing=a.easing,e.styles.forEach(o=>{let l=o.offset||0;i.forwardTime(l*r),i.setStyles(o.styles,o.easing,t.errors,t.options),i.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(i),t.transformIntoNewTimeline(n+r),t.previousNode=e}visitQuery(e,t){let a=t.currentTimeline.currentTime,n=e.options||{},r=n.delay?Oa(n.delay):0;r&&(t.previousNode.type===Ne.Style||a==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Zl);let i=a,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((u,c)=>{t.currentQueryIndex=c;let d=t.createSubContext(e.options,u);r&&d.delayNextStep(r),u===t.element&&(l=d.currentTimeline),xn(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe();let m=d.currentTimeline.currentTime;i=Math.max(i,m)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(i),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let a=t.parentContext,n=t.currentTimeline,r=e.timings,i=Math.abs(r.duration),o=i*(t.currentQueryTotal-1),l=i*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=a.currentStaggerTime;break}let u=t.currentTimeline;l&&u.delayNextStep(l);let c=u.currentTime;xn(this,e.animation,t),t.previousNode=e,a.currentStaggerTime=n.currentTime-c+(n.startTime-a.currentTimeline.startTime)}},Zl={},Xee=class Z1{constructor(t,a,n,r,i,o,l,u){s(this,"_driver");s(this,"element");s(this,"subInstructions");s(this,"_enterClassName");s(this,"_leaveClassName");s(this,"errors");s(this,"timelines");s(this,"parentContext",null);s(this,"currentTimeline");s(this,"currentAnimateTimings",null);s(this,"previousNode",Zl);s(this,"subContextCount",0);s(this,"options",{});s(this,"currentQueryIndex",0);s(this,"currentQueryTotal",0);s(this,"currentStaggerTime",0);this._driver=t,this.element=a,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=l,this.currentTimeline=u||new Y1(this._driver,a,0),l.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,a){if(!t)return;let n=t,r=this.options;n.duration!=null&&(r.duration=Oa(n.duration)),n.delay!=null&&(r.delay=Oa(n.delay));let i=n.params;if(i){let o=r.params;o||(o=this.options.params={}),Object.keys(i).forEach(l=>{(!a||!o.hasOwnProperty(l))&&(o[l]=Wo(i[l],o,this.errors))})}}_copyOptions(){let t={};if(this.options){let a=this.options.params;if(a){let n=t.params={};Object.keys(a).forEach(r=>{n[r]=a[r]})}}return t}createSubContext(t=null,a,n){let r=a||this.element,i=new Z1(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(t),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(t){return this.previousNode=Zl,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,a,n){let r={duration:a??t.duration,delay:this.currentTimeline.currentTime+(n??0)+t.delay,easing:""},i=new Jee(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(i),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,a,n,r,i,o){let l=[];if(r&&l.push(this.element),t.length>0){t=t.replace(Zee,"."+this._enterClassName),t=t.replace(Kee,"."+this._leaveClassName);let u=n!=1,c=this._driver.query(this.element,t,u);n!==0&&(c=n<0?c.slice(c.length+n,c.length):c.slice(0,n)),l.push(...c)}return!i&&l.length==0&&o.push(oee()),l}},Y1=class K1{constructor(t,a,n,r){s(this,"_driver");s(this,"element");s(this,"startTime");s(this,"_elementTimelineStylesLookup");s(this,"duration",0);s(this,"easing",null);s(this,"_previousKeyframe",new Map);s(this,"_currentKeyframe",new Map);s(this,"_keyframes",new Map);s(this,"_styleSummary",new Map);s(this,"_localTimelineStyles",new Map);s(this,"_globalTimelineStyles");s(this,"_pendingStyles",new Map);s(this,"_backFill",new Map);s(this,"_currentEmptyStepKeyframe",null);this._driver=t,this.element=a,this.startTime=n,this._elementTimelineStylesLookup=r,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(a),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(a,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){let a=this._keyframes.size===1&&this._pendingStyles.size;this.duration||a?(this.forwardTime(this.currentTime+t),a&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,a){return this.applyStylesToKeyframe(),new K1(this._driver,t,a||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Gee,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,a){this._localTimelineStyles.set(t,a),this._globalTimelineStyles.set(t,a),this._styleSummary.set(t,{time:this.currentTime,value:a})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[a,n]of this._globalTimelineStyles)this._backFill.set(a,n||La),this._currentKeyframe.set(a,La);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,a,n,r){a&&this._previousKeyframe.set("easing",a);let i=r&&r.params||{},o=ete(t,this._globalTimelineStyles);for(let[l,u]of o){let c=Wo(u,i,n);this._pendingStyles.set(l,c),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??La),this._updateStyle(l,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,a)=>{this._currentKeyframe.set(a,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,a)=>{this._currentKeyframe.has(a)||this._currentKeyframe.set(a,t)}))}snapshotCurrentStyles(){for(let[t,a]of this._localTimelineStyles)this._pendingStyles.set(t,a),this._updateStyle(t,a)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let a in this._currentKeyframe)t.push(a);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((a,n)=>{let r=this._styleSummary.get(n);(!r||a.time>r.time)&&this._updateStyle(n,a.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,a=new Set,n=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((l,u)=>{let c=new Map([...this._backFill,...l]);c.forEach((d,m)=>{d===am?t.add(m):d===La&&a.add(m)}),n||c.set("offset",u/this.duration),r.push(c)});let i=[...t.values()],o=[...a.values()];if(n){let l=r[0],u=new Map(l);l.set("offset",0),u.set("offset",1),r=[l,u]}return cm(this.element,r,i,o,this.duration,this.startTime,this.easing,!1)}},Jee=class extends Y1{constructor(t,a,n,r,i,o,l=!1){super(t,a,o.delay);s(this,"keyframes");s(this,"preStyleProps");s(this,"postStyleProps");s(this,"_stretchStartingKeyframe");s(this,"timings");this.keyframes=n,this.preStyleProps=r,this.postStyleProps=i,this._stretchStartingKeyframe=l,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:a,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&a){let i=[],o=n+a,l=a/o,u=new Map(t[0]);u.set("offset",0),i.push(u);let c=new Map(t[0]);c.set("offset",Fg(l)),i.push(c);let d=t.length-1;for(let m=1;m<=d;m++){let v=new Map(t[m]),g=v.get("offset"),w=a+g*n;v.set("offset",Fg(w/o)),i.push(v)}n=o,a=0,r="",t=i}return cm(this.element,t,this.preStyleProps,this.postStyleProps,n,a,r,!0)}};function Fg(e,t=3){let a=Math.pow(10,t-1);return Math.round(e*a)/a}function ete(e,t){let a=new Map,n;return e.forEach(r=>{if(r==="*"){n??(n=t.keys());for(let i of n)a.set(i,La)}else for(let[i,o]of r)a.set(i,o)}),a}function jg(e,t,a,n,r,i,o,l,u,c,d,m,v){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:a,fromStyles:i,toState:n,toStyles:o,timelines:l,queriedElements:u,preStyleProps:c,postStyleProps:d,totalTime:m,errors:v}}var Lc={},Q1=class{constructor(e,t,a){s(this,"_triggerName");s(this,"ast");s(this,"_stateStyles");this._triggerName=e,this.ast=t,this._stateStyles=a}match(e,t,a,n){return tte(this.ast.matchers,e,t,a,n)}buildStyles(e,t,a){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e==null?void 0:e.toString())||n),n?n.buildStyles(t,a):new Map}build(e,t,a,n,r,i,o,l,u,c){var Nt;let d=[],m=this.ast.options&&this.ast.options.params||Lc,v=o&&o.params||Lc,g=this.buildStyles(a,v,d),w=l&&l.params||Lc,x=this.buildStyles(n,w,d),k=new Set,D=new Map,N=new Map,O=n==="void",J={params:X1(w,m),delay:(Nt=this.ast.options)==null?void 0:Nt.delay},le=c?[]:W1(e,t,this.ast.animation,r,i,g,x,J,u,d),_e=0;return le.forEach(_t=>{_e=Math.max(_t.duration+_t.delay,_e)}),d.length?jg(t,this._triggerName,a,n,O,g,x,[],[],D,N,_e,d):(le.forEach(_t=>{let nt=_t.element,Ct=Sn(D,nt,new Set);_t.preStyleProps.forEach(G=>Ct.add(G));let X=Sn(N,nt,new Set);_t.postStyleProps.forEach(G=>X.add(G)),nt!==t&&k.add(nt)}),jg(t,this._triggerName,a,n,O,g,x,le,[...k.values()],D,N,_e))}};function tte(e,t,a,n,r){return e.some(i=>i(t,a,n,r))}function X1(e,t){let a=ue({},t);return Object.entries(e).forEach(([n,r])=>{r!=null&&(a[n]=r)}),a}var nte=class{constructor(e,t,a){s(this,"styles");s(this,"defaultParams");s(this,"normalizer");this.styles=e,this.defaultParams=t,this.normalizer=a}buildStyles(e,t){let a=new Map,n=X1(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((i,o)=>{i&&(i=Wo(i,n,t));let l=this.normalizer.normalizePropertyName(o,t);i=this.normalizer.normalizeStyleValue(o,l,i,t),a.set(o,i)})}),a}};function ate(e,t,a){return new rte(e,t,a)}var rte=class{constructor(e,t,a){s(this,"name");s(this,"ast");s(this,"_normalizer");s(this,"transitionFactories",[]);s(this,"fallbackTransition");s(this,"states",new Map);this.name=e,this.ast=t,this._normalizer=a,t.states.forEach(n=>{let r=n.options&&n.options.params||{};this.states.set(n.name,new nte(n.style,r,a))}),Vg(this.states,"true","1"),Vg(this.states,"false","0"),t.transitions.forEach(n=>{this.transitionFactories.push(new Q1(e,n,this.states))}),this.fallbackTransition=ite(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,a,n){return this.transitionFactories.find(r=>r.match(e,t,a,n))||null}matchStyles(e,t,a){return this.fallbackTransition.buildStyles(e,t,a)}};function ite(e,t,a){let n=[(o,l)=>!0],r={type:Ne.Sequence,steps:[],options:null},i={type:Ne.Transition,animation:r,matchers:n,options:null,queryCount:0,depCount:0};return new Q1(e,i,t)}function Vg(e,t,a){e.has(t)?e.has(a)||e.set(a,e.get(t)):e.has(a)&&e.set(t,e.get(a))}var ote=new dm,ste=class{constructor(e,t,a){s(this,"bodyNode");s(this,"_driver");s(this,"_normalizer");s(this,"_animations",new Map);s(this,"_playersById",new Map);s(this,"players",[]);this.bodyNode=e,this._driver=t,this._normalizer=a}register(e,t){let a=[],n=[],r=G1(this._driver,t,a,n);if(a.length)throw dee();this._animations.set(e,r)}_buildPlayer(e,t,a){let n=e.element,r=j1(this._normalizer,e.keyframes,t,a);return this._driver.animate(n,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,a={}){let n=[],r=this._animations.get(e),i,o=new Map;if(r?(i=W1(this._driver,t,r,H1,Zd,new Map,new Map,a,ote,n),i.forEach(c=>{let d=Sn(o,c.element,new Map);c.postStyleProps.forEach(m=>d.set(m,null))})):(n.push(hee()),i=[]),n.length)throw pee();o.forEach((c,d)=>{c.forEach((m,v)=>{c.set(v,this._driver.computeStyle(d,v,La))})});let l=i.map(c=>{let d=o.get(c.element);return this._buildPlayer(c,new Map,d)}),u=Xa(l);return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let a=this.players.indexOf(t);a>=0&&this.players.splice(a,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw mee();return t}listen(e,t,a,n){let r=im(t,"","","");return rm(this._getPlayer(e),a,r,n),()=>{}}command(e,t,a,n){if(a=="register"){this.register(e,n[0]);return}if(a=="create"){let i=n[0]||{};this.create(e,t,i);return}let r=this._getPlayer(e);switch(a){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e);break}}},zg="ng-animate-queued",lte=".ng-animate-queued",Fc="ng-animate-disabled",ute=".ng-animate-disabled",cte="ng-star-inserted",dte=".ng-star-inserted",hte=[],J1={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},pte={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},qn="__ng_removed",Xd=class{constructor(e,t=""){s(this,"namespaceId");s(this,"value");s(this,"options");this.namespaceId=t;let a=e&&e.hasOwnProperty("value"),n=a?e.value:e;if(this.value=vte(n),a){let r=e,{value:i}=r,o=cq(r,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){let t=e.params;if(t){let a=this.options.params;Object.keys(t).forEach(n=>{a[n]==null&&(a[n]=t[n])})}}},ko="void",jc=new Xd(ko),mte=class{constructor(e,t,a){s(this,"id");s(this,"hostElement");s(this,"_engine");s(this,"players",[]);s(this,"_triggers",new Map);s(this,"_queue",[]);s(this,"_elementListeners",new Map);s(this,"_hostClassName");this.id=e,this.hostElement=t,this._engine=a,this._hostClassName="ng-tns-"+e,Mn(t,this._hostClassName)}listen(e,t,a,n){if(!this._triggers.has(t))throw fee();if(a==null||a.length==0)throw gee();if(!bte(a))throw vee();let r=Sn(this._elementListeners,e,[]),i={name:t,phase:a,callback:n};r.push(i);let o=Sn(this._engine.statesByElement,e,new Map);return o.has(t)||(Mn(e,Gs),Mn(e,Gs+"-"+t),o.set(t,jc)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(i);l>=0&&r.splice(l,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw bee();return t}trigger(e,t,a,n=!0){let r=this._getTrigger(t),i=new Jd(this.id,t,e),o=this._engine.statesByElement.get(e);o||(Mn(e,Gs),Mn(e,Gs+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),u=new Xd(a,this.id);if(!(a&&a.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),o.set(t,u),l||(l=jc),u.value!==ko&&l.value===u.value){if(!wte(l.params,u.params)){let v=[],g=r.matchStyles(l.value,l.params,v),w=r.matchStyles(u.value,u.params,v);v.length?this._engine.reportError(v):this._engine.afterFlush(()=>{Or(e,g),ia(e,w)})}return}let c=Sn(this._engine.playersByElement,e,[]);c.forEach(v=>{v.namespaceId==this.id&&v.triggerName==t&&v.queued&&v.destroy()});let d=r.matchTransition(l.value,u.value,e,u.params),m=!1;if(!d){if(!n)return;d=r.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:l,toState:u,player:i,isFallbackTransition:m}),m||(Mn(e,zg),i.onStart(()=>{si(e,zg)})),i.onDone(()=>{let v=this.players.indexOf(i);v>=0&&this.players.splice(v,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),c.push(i),i}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,a)=>{this._elementListeners.set(a,t.filter(n=>n.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(a=>a.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let a=this._engine.driver.query(e,Ul,!0);a.forEach(n=>{if(n[qn])return;let r=this._engine.fetchNamespacesByElement(n);r.size?r.forEach(i=>i.triggerLeaveAnimation(n,t,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>a.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,t,a,n){let r=this._engine.statesByElement.get(e),i=new Map;if(r){let o=[];if(r.forEach((l,u)=>{if(i.set(u,l.value),this._triggers.has(u)){let c=this.trigger(e,u,ko,n);c&&o.push(c)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,i),a&&Xa(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),a=this._engine.statesByElement.get(e);if(t&&a){let n=new Set;t.forEach(r=>{let i=r.name;if(n.has(i))return;n.add(i);let o=this._triggers.get(i).fallbackTransition,l=a.get(i)||jc,u=new Xd(ko),c=new Jd(this.id,i,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:o,fromState:l,toState:u,player:c,isFallbackTransition:!0})})}}removeNode(e,t){let a=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(a.totalAnimations){let r=a.players.length?a.playersByQueriedElement.get(e):[];if(r&&r.length)n=!0;else{let i=e;for(;i=i.parentNode;)if(a.statesByElement.get(i)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)a.markElementAsRemoved(this.id,e,!1,t);else{let r=e[qn];(!r||r===J1)&&(a.afterFlush(()=>this.clearElementCache(e)),a.destroyInnerAnimations(e),a._onRemovalComplete(e,t))}}insertNode(e,t){Mn(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(a=>{let n=a.player;if(n.destroyed)return;let r=a.element,i=this._elementListeners.get(r);i&&i.forEach(o=>{if(o.name==a.triggerName){let l=im(r,a.triggerName,a.fromState.value,a.toState.value);l._data=e,rm(a.player,o.phase,l,o.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(a)}),this._queue=[],t.sort((a,n)=>{let r=a.transition.ast.depCount,i=n.transition.ast.depCount;return r==0||i==0?r-i:this._engine.driver.containsElement(a.element,n.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},fte=class{constructor(e,t,a){s(this,"bodyNode");s(this,"driver");s(this,"_normalizer");s(this,"players",[]);s(this,"newHostElements",new Map);s(this,"playersByElement",new Map);s(this,"playersByQueriedElement",new Map);s(this,"statesByElement",new Map);s(this,"disabledNodes",new Set);s(this,"totalAnimations",0);s(this,"totalQueuedPlayers",0);s(this,"_namespaceLookup",{});s(this,"_namespaceList",[]);s(this,"_flushFns",[]);s(this,"_whenQuietFns",[]);s(this,"namespacesByHostElement",new Map);s(this,"collectedEnterElements",[]);s(this,"collectedLeaveElements",[]);s(this,"onRemovalComplete",(e,t)=>{});this.bodyNode=e,this.driver=t,this._normalizer=a}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(a=>{a.queued&&e.push(a)})}),e}createNamespace(e,t){let a=new mte(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(a,t):(this.newHostElements.set(t,a),this.collectEnterElement(t)),this._namespaceLookup[e]=a}_balanceNamespaceList(e,t){let a=this._namespaceList,n=this.namespacesByHostElement;if(a.length-1>=0){let r=!1,i=this.driver.getParentElement(t);for(;i;){let o=n.get(i);if(o){let l=a.indexOf(o);a.splice(l+1,0,e),r=!0;break}i=this.driver.getParentElement(i)}r||a.unshift(e)}else a.push(e);return n.set(t,e),e}register(e,t){let a=this._namespaceLookup[e];return a||(a=this.createNamespace(e,t)),a}registerTrigger(e,t,a){let n=this._namespaceLookup[e];n&&n.register(t,a)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let a=this._fetchNamespace(e);this.namespacesByHostElement.delete(a.hostElement);let n=this._namespaceList.indexOf(a);n>=0&&this._namespaceList.splice(n,1),a.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,a=this.statesByElement.get(e);if(a){for(let n of a.values())if(n.namespaceId){let r=this._fetchNamespace(n.namespaceId);r&&t.add(r)}}return t}trigger(e,t,a,n){if(Ys(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,a,n),!0}return!1}insertNode(e,t,a,n){if(!Ys(t))return;let r=t[qn];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let i=this.collectedLeaveElements.indexOf(t);i>=0&&this.collectedLeaveElements.splice(i,1)}if(e){let i=this._fetchNamespace(e);i&&i.insertNode(t,a)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Mn(e,Fc)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),si(e,Fc))}removeNode(e,t,a){if(Ys(t)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(t,a):this.markElementAsRemoved(e,t,!1,a);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,a)}else this._onRemovalComplete(t,a)}markElementAsRemoved(e,t,a,n,r){this.collectedLeaveElements.push(t),t[qn]={namespaceId:e,setForRemoval:n,hasAnimation:a,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,a,n,r){return Ys(t)?this._fetchNamespace(e).listen(t,a,n,r):()=>{}}_buildInstruction(e,t,a,n,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,a,n,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,Ul,!0);t.forEach(a=>this.destroyActiveAnimationsForElement(a)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Yd,!0),t.forEach(a=>this.finishActiveQueriedAnimationOnElement(a)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(a=>{a.queued?a.markedForDestroy=!0:a.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(a=>a.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Xa(this.players).onDone(()=>e());e()})}processLeaveNode(e){var a;let t=e[qn];if(t&&t.setForRemoval){if(e[qn]=J1,t.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}(a=e.classList)!=null&&a.contains(Fc)&&this.markElementAsDisabled(e,!1),this.driver.query(e,ute,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((a,n)=>this._balanceNamespaceList(a,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let a=0;a<this.collectedEnterElements.length;a++){let n=this.collectedEnterElements[a];Mn(n,cte)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let a=[];try{t=this._flushAnimations(a,e)}finally{for(let n=0;n<a.length;n++)a[n]()}}else for(let a=0;a<this.collectedLeaveElements.length;a++){let n=this.collectedLeaveElements[a];this.processLeaveNode(n)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(a=>a()),this._flushFns=[],this._whenQuietFns.length){let a=this._whenQuietFns;this._whenQuietFns=[],t.length?Xa(t).onDone(()=>{a.forEach(n=>n())}):a.forEach(n=>n())}}reportError(e){throw yee()}_flushAnimations(e,t){let a=new dm,n=[],r=new Map,i=[],o=new Map,l=new Map,u=new Map,c=new Set;this.disabledNodes.forEach(F=>{c.add(F);let H=this.driver.query(F,lte,!0);for(let Y=0;Y<H.length;Y++)c.add(H[Y])});let d=this.bodyNode,m=Array.from(this.statesByElement.keys()),v=qg(m,this.collectedEnterElements),g=new Map,w=0;v.forEach((F,H)=>{let Y=H1+w++;g.set(H,Y),F.forEach(Ie=>Mn(Ie,Y))});let x=[],k=new Set,D=new Set;for(let F=0;F<this.collectedLeaveElements.length;F++){let H=this.collectedLeaveElements[F],Y=H[qn];Y&&Y.setForRemoval&&(x.push(H),k.add(H),Y.hasAnimation?this.driver.query(H,dte,!0).forEach(Ie=>k.add(Ie)):D.add(H))}let N=new Map,O=qg(m,Array.from(k));O.forEach((F,H)=>{let Y=Zd+w++;N.set(H,Y),F.forEach(Ie=>Mn(Ie,Y))}),e.push(()=>{v.forEach((F,H)=>{let Y=g.get(H);F.forEach(Ie=>si(Ie,Y))}),O.forEach((F,H)=>{let Y=N.get(H);F.forEach(Ie=>si(Ie,Y))}),x.forEach(F=>{this.processLeaveNode(F)})});let J=[],le=[];for(let F=this._namespaceList.length-1;F>=0;F--)this._namespaceList[F].drainQueuedTransitions(t).forEach(H=>{let Y=H.player,Ie=H.element;if(J.push(Y),this.collectedEnterElements.length){let at=Ie[qn];if(at&&at.setForMove){if(at.previousTriggersValues&&at.previousTriggersValues.has(H.triggerName)){let Xt=at.previousTriggersValues.get(H.triggerName),Ot=this.statesByElement.get(H.element);if(Ot&&Ot.has(H.triggerName)){let Jn=Ot.get(H.triggerName);Jn.value=Xt,Ot.set(H.triggerName,Jn)}}Y.destroy();return}}let Xe=!d||!this.driver.containsElement(d,Ie),Qt=N.get(Ie),Me=g.get(Ie),Ve=this._buildInstruction(H,a,Me,Qt,Xe);if(Ve.errors&&Ve.errors.length){le.push(Ve);return}if(Xe){Y.onStart(()=>Or(Ie,Ve.fromStyles)),Y.onDestroy(()=>ia(Ie,Ve.toStyles)),n.push(Y);return}if(H.isFallbackTransition){Y.onStart(()=>Or(Ie,Ve.fromStyles)),Y.onDestroy(()=>ia(Ie,Ve.toStyles)),n.push(Y);return}let ft=[];Ve.timelines.forEach(at=>{at.stretchStartingKeyframe=!0,this.disabledNodes.has(at.element)||ft.push(at)}),Ve.timelines=ft,a.append(Ie,Ve.timelines);let Vn={instruction:Ve,player:Y,element:Ie};i.push(Vn),Ve.queriedElements.forEach(at=>Sn(o,at,[]).push(Y)),Ve.preStyleProps.forEach((at,Xt)=>{if(at.size){let Ot=l.get(Xt);Ot||l.set(Xt,Ot=new Set),at.forEach((Jn,$a)=>Ot.add($a))}}),Ve.postStyleProps.forEach((at,Xt)=>{let Ot=u.get(Xt);Ot||u.set(Xt,Ot=new Set),at.forEach((Jn,$a)=>Ot.add($a))})});if(le.length){let F=[];le.forEach(H=>{F.push(_ee(H.triggerName,H.errors))}),J.forEach(H=>H.destroy()),this.reportError(F)}let _e=new Map,Nt=new Map;i.forEach(F=>{let H=F.element;a.has(H)&&(Nt.set(H,H),this._beforeAnimationBuild(F.player.namespaceId,F.instruction,_e))}),n.forEach(F=>{let H=F.element;this._getPreviousPlayers(H,!1,F.namespaceId,F.triggerName,null).forEach(Y=>{Sn(_e,H,[]).push(Y),Y.destroy()})});let _t=x.filter(F=>$g(F,l,u)),nt=new Map;Hg(nt,this.driver,D,u,La).forEach(F=>{$g(F,l,u)&&_t.push(F)});let Ct=new Map;v.forEach((F,H)=>{Hg(Ct,this.driver,new Set(F),l,am)}),_t.forEach(F=>{let H=nt.get(F),Y=Ct.get(F);nt.set(F,new Map([...(H==null?void 0:H.entries())??[],...(Y==null?void 0:Y.entries())??[]]))});let X=[],G=[],xe={};i.forEach(F=>{let{element:H,player:Y,instruction:Ie}=F;if(a.has(H)){if(c.has(H)){Y.onDestroy(()=>ia(H,Ie.toStyles)),Y.disabled=!0,Y.overrideTotalTime(Ie.totalTime),n.push(Y);return}let Xe=xe;if(Nt.size>1){let Me=H,Ve=[];for(;Me=Me.parentNode;){let ft=Nt.get(Me);if(ft){Xe=ft;break}Ve.push(Me)}Ve.forEach(ft=>Nt.set(ft,Xe))}let Qt=this._buildAnimation(Y.namespaceId,Ie,_e,r,Ct,nt);if(Y.setRealPlayer(Qt),Xe===xe)X.push(Y);else{let Me=this.playersByElement.get(Xe);Me&&Me.length&&(Y.parentPlayer=Xa(Me)),n.push(Y)}}else Or(H,Ie.fromStyles),Y.onDestroy(()=>ia(H,Ie.toStyles)),G.push(Y),c.has(H)&&n.push(Y)}),G.forEach(F=>{let H=r.get(F.element);if(H&&H.length){let Y=Xa(H);F.setRealPlayer(Y)}}),n.forEach(F=>{F.parentPlayer?F.syncPlayerEvents(F.parentPlayer):F.destroy()});for(let F=0;F<x.length;F++){let H=x[F],Y=H[qn];if(si(H,Zd),Y&&Y.hasAnimation)continue;let Ie=[];if(o.size){let Qt=o.get(H);Qt&&Qt.length&&Ie.push(...Qt);let Me=this.driver.query(H,Yd,!0);for(let Ve=0;Ve<Me.length;Ve++){let ft=o.get(Me[Ve]);ft&&ft.length&&Ie.push(...ft)}}let Xe=Ie.filter(Qt=>!Qt.destroyed);Xe.length?yte(this,H,Xe):this.processLeaveNode(H)}return x.length=0,X.forEach(F=>{this.players.push(F),F.onDone(()=>{F.destroy();let H=this.players.indexOf(F);this.players.splice(H,1)}),F.play()}),X}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,a,n,r){let i=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(i=o)}else{let o=this.playersByElement.get(e);if(o){let l=!r||r==ko;o.forEach(u=>{u.queued||!l&&u.triggerName!=n||i.push(u)})}}return(a||n)&&(i=i.filter(o=>!(a&&a!=o.namespaceId||n&&n!=o.triggerName))),i}_beforeAnimationBuild(e,t,a){let n=t.triggerName,r=t.element,i=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:n;for(let l of t.timelines){let u=l.element,c=u!==r,d=Sn(a,u,[]);this._getPreviousPlayers(u,c,i,o,t.toState).forEach(m=>{let v=m.getRealPlayer();v.beforeDestroy&&v.beforeDestroy(),m.destroy(),d.push(m)})}Or(r,t.fromStyles)}_buildAnimation(e,t,a,n,r,i){let o=t.triggerName,l=t.element,u=[],c=new Set,d=new Set,m=t.timelines.map(g=>{let w=g.element;c.add(w);let x=w[qn];if(x&&x.removedBeforeQueried)return new Go(g.duration,g.delay);let k=w!==l,D=_te((a.get(w)||hte).map(_e=>_e.getRealPlayer())).filter(_e=>{let Nt=_e;return Nt.element?Nt.element===w:!1}),N=r.get(w),O=i.get(w),J=j1(this._normalizer,g.keyframes,N,O),le=this._buildPlayer(g,J,D);if(g.subTimeline&&n&&d.add(w),k){let _e=new Jd(e,o,w);_e.setRealPlayer(le),u.push(_e)}return le});u.forEach(g=>{Sn(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>gte(this.playersByQueriedElement,g.element,g))}),c.forEach(g=>Mn(g,Ag));let v=Xa(m);return v.onDestroy(()=>{c.forEach(g=>si(g,Ag)),ia(l,t.toStyles)}),d.forEach(g=>{Sn(n,g,[]).push(v)}),v}_buildPlayer(e,t,a){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,a):new Go(e.duration,e.delay)}},Jd=class{constructor(e,t,a){s(this,"namespaceId");s(this,"triggerName");s(this,"element");s(this,"_player",new Go);s(this,"_containsRealPlayer",!1);s(this,"_queuedCallbacks",new Map);s(this,"destroyed",!1);s(this,"parentPlayer",null);s(this,"markedForDestroy",!1);s(this,"disabled",!1);s(this,"queued",!0);s(this,"totalTime",0);this.namespaceId=e,this.triggerName=t,this.element=a}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,a)=>{t.forEach(n=>rm(e,a,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){Sn(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 gte(e,t,a){let n=e.get(t);if(n){if(n.length){let r=n.indexOf(a);n.splice(r,1)}n.length==0&&e.delete(t)}return n}function vte(e){return e??null}function Ys(e){return e&&e.nodeType===1}function bte(e){return e=="start"||e=="done"}function Bg(e,t){let a=e.style.display;return e.style.display=t??"none",a}function Hg(e,t,a,n,r){let i=[];a.forEach(u=>i.push(Bg(u)));let o=[];n.forEach((u,c)=>{let d=new Map;u.forEach(m=>{let v=t.computeStyle(c,m,r);d.set(m,v),(!v||v.length==0)&&(c[qn]=pte,o.push(c))}),e.set(c,d)});let l=0;return a.forEach(u=>Bg(u,i[l++])),o}function qg(e,t){let a=new Map;if(e.forEach(l=>a.set(l,[])),t.length==0)return a;let n=1,r=new Set(t),i=new Map;function o(l){if(!l)return n;let u=i.get(l);if(u)return u;let c=l.parentNode;return a.has(c)?u=c:r.has(c)?u=n:u=o(c),i.set(l,u),u}return t.forEach(l=>{let u=o(l);u!==n&&a.get(u).push(l)}),a}function Mn(e,t){var a;(a=e.classList)==null||a.add(t)}function si(e,t){var a;(a=e.classList)==null||a.remove(t)}function yte(e,t,a){Xa(a).onDone(()=>e.processLeaveNode(t))}function _te(e){let t=[];return ew(e,t),t}function ew(e,t){for(let a=0;a<e.length;a++){let n=e[a];n instanceof F1?ew(n.players,t):t.push(n)}}function wte(e,t){let a=Object.keys(e),n=Object.keys(t);if(a.length!=n.length)return!1;for(let r=0;r<a.length;r++){let i=a[r];if(!t.hasOwnProperty(i)||e[i]!==t[i])return!1}return!0}function $g(e,t,a){let n=a.get(e);if(!n)return!1;let r=t.get(e);return r?n.forEach(i=>r.add(i)):t.set(e,n),a.delete(e),!0}var eh=class{constructor(e,t,a){s(this,"_driver");s(this,"_normalizer");s(this,"_transitionEngine");s(this,"_timelineEngine");s(this,"_triggerCache",{});s(this,"onRemovalComplete",(e,t)=>{});this._driver=t,this._normalizer=a,this._transitionEngine=new fte(e.body,t,a),this._timelineEngine=new ste(e.body,t,a),this._transitionEngine.onRemovalComplete=(n,r)=>this.onRemovalComplete(n,r)}registerTrigger(e,t,a,n,r){let i=e+"-"+n,o=this._triggerCache[i];if(!o){let l=[],u=[],c=G1(this._driver,r,l,u);if(l.length)throw uee();o=ate(n,c,this._normalizer),this._triggerCache[i]=o}this._transitionEngine.registerTrigger(t,n,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,a,n){this._transitionEngine.insertNode(e,t,a,n)}onRemove(e,t,a){this._transitionEngine.removeNode(e,t,a)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,a,n){if(a.charAt(0)=="@"){let[r,i]=Og(a),o=n;this._timelineEngine.command(r,t,i,o)}else this._transitionEngine.trigger(e,t,a,n)}listen(e,t,a,n,r){if(a.charAt(0)=="@"){let[i,o]=Og(a);return this._timelineEngine.listen(i,t,o,r)}return this._transitionEngine.listen(e,t,a,n,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function xte(e,t){let a=null,n=null;return Array.isArray(t)&&t.length?(a=Vc(t[0]),t.length>1&&(n=Vc(t[t.length-1]))):t instanceof Map&&(a=Vc(t)),a||n?new Ete(e,a,n):null}var Ete=(()=>{const t=class t{constructor(n,r,i){s(this,"_element");s(this,"_startStyles");s(this,"_endStyles");s(this,"_state",0);s(this,"_initialStyles");this._element=n,this._startStyles=r,this._endStyles=i;let o=t.initialStylesByElement.get(n);o||t.initialStylesByElement.set(n,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&ia(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ia(this._element,this._initialStyles),this._endStyles&&(ia(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Or(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Or(this._element,this._endStyles),this._endStyles=null),ia(this._element,this._initialStyles),this._state=3)}};s(t,"initialStylesByElement",new WeakMap);let e=t;return e})();function Vc(e){let t=null;return e.forEach((a,n)=>{Ste(n)&&(t=t||new Map,t.set(n,a))}),t}function Ste(e){return e==="display"||e==="position"}var Ug=class{constructor(e,t,a,n){s(this,"element");s(this,"keyframes");s(this,"options");s(this,"_specialStyles");s(this,"_onDoneFns",[]);s(this,"_onStartFns",[]);s(this,"_onDestroyFns",[]);s(this,"_duration");s(this,"_delay");s(this,"_initialized",!1);s(this,"_finished",!1);s(this,"_started",!1);s(this,"_destroyed",!1);s(this,"_finalKeyframe");s(this,"_originalOnDoneFns",[]);s(this,"_originalOnStartFns",[]);s(this,"domPlayer");s(this,"time",0);s(this,"parentPlayer",null);s(this,"currentSnapshot",new Map);this.element=e,this.keyframes=t,this.options=a,this._specialStyles=n,this._duration=a.duration,this._delay=a.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(a=>{t.push(Object.fromEntries(a))}),t}_triggerWebAnimation(e,t,a){return e.animate(this._convertKeyframesToObject(t),a)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((t,a)=>{a!=="offset"&&e.set(a,this._finished?t:lm(this.element,a))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(a=>a()),t.length=0}},kte=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return V1(e,t)}getParentElement(e){return om(e)}query(e,t,a){return z1(e,t,a)}computeStyle(e,t,a){return lm(e,t)}animate(e,t,a,n,r,i=[]){let o=n==0?"both":"forwards",l={duration:a,delay:n,fill:o};r&&(l.easing=r);let u=new Map,c=i.filter(v=>v instanceof Ug);Nee(a,n)&&c.forEach(v=>{v.currentSnapshot.forEach((g,w)=>u.set(w,g))});let d=Iee(t).map(v=>new Map(v));d=Oee(e,d,u);let m=xte(e,d);return new Ug(e,d,l,m)}},gl="@",tw="@.disabled",nw=class{constructor(e,t,a,n){s(this,"namespaceId");s(this,"delegate");s(this,"engine");s(this,"_onDestroy");s(this,"ɵtype",0);this.namespaceId=e,this.delegate=t,this.engine=a,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(e){var t,a;(a=(t=this.delegate).destroyNode)==null||a.call(t,e)}destroy(){var e;this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),(e=this._onDestroy)==null||e.call(this)}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,a,n=!0){this.delegate.insertBefore(e,t,a),this.engine.onInsert(this.namespaceId,t,e,n)}removeChild(e,t,a){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,a,n){this.delegate.setAttribute(e,t,a,n)}removeAttribute(e,t,a){this.delegate.removeAttribute(e,t,a)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,a,n){this.delegate.setStyle(e,t,a,n)}removeStyle(e,t,a){this.delegate.removeStyle(e,t,a)}setProperty(e,t,a){t.charAt(0)==gl&&t==tw?this.disableAnimations(e,!!a):this.delegate.setProperty(e,t,a)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,a,n){return this.delegate.listen(e,t,a,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},Cte=class extends nw{constructor(t,a,n,r,i){super(a,n,r,i);s(this,"factory");this.factory=t,this.namespaceId=a}setProperty(t,a,n){a.charAt(0)==gl?a.charAt(1)=="."&&a==tw?(n=n===void 0?!0:!!n,this.disableAnimations(t,n)):this.engine.process(this.namespaceId,t,a.slice(1),n):this.delegate.setProperty(t,a,n)}listen(t,a,n,r){if(a.charAt(0)==gl){let i=Dte(t),o=a.slice(1),l="";return o.charAt(0)!=gl&&([o,l]=Ite(o)),this.engine.listen(this.namespaceId,i,o,l,u=>{let c=u._data||-1;this.factory.scheduleListenerCallback(c,n,u)})}return this.delegate.listen(t,a,n,r)}};function Dte(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function Ite(e){let t=e.indexOf("."),a=e.substring(0,t),n=e.slice(t+1);return[a,n]}var Tte=class{constructor(e,t,a){s(this,"delegate");s(this,"engine");s(this,"_zone");s(this,"_currentId",0);s(this,"_microtaskId",1);s(this,"_animationCallbacksBuffer",[]);s(this,"_rendererCache",new Map);s(this,"_cdRecurDepth",0);this.delegate=e,this.engine=t,this._zone=a,t.onRemovalComplete=(n,r)=>{r==null||r.removeChild(null,n)}}createRenderer(e,t){var l;let a="",n=this.delegate.createRenderer(e,t);if(!e||!((l=t==null?void 0:t.data)!=null&&l.animation)){let u=this._rendererCache,c=u.get(n);if(!c){let d=()=>u.delete(n);c=new nw(a,n,this.engine,d),u.set(n,c)}return c}let r=t.id,i=t.id+"-"+this._currentId;this._currentId++,this.engine.register(i,e);let o=u=>{Array.isArray(u)?u.forEach(o):this.engine.registerTrigger(r,i,e,u.name,u)};return t.data.animation.forEach(o),new Cte(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,a){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(a));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(r=>{let[i,o]=r;i(o)}),this._animationCallbacksBuffer=[]})}),n.push([t,a])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(e){var t,a;this.engine.flush(),(a=(t=this.delegate).componentReplaced)==null||a.call(t,e)}},Rte=(()=>{const t=class t extends eh{constructor(n,r,i){super(n,r,i)}ngOnDestroy(){this.flush()}};s(t,"ɵfac",function(n){return new(n||t)(oe(Fe),oe($1),oe(um))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function Nte(){return new Pee}function Ote(e,t,a){return new Tte(e,t,a)}var Mte=[{provide:um,useFactory:Nte},{provide:eh,useClass:Rte},{provide:Yn,useFactory:Ote,deps:[Fd,eh,ze]}],Ate=[{provide:$1,useFactory:()=>new kte},{provide:mr,useFactory:()=>"BrowserAnimations"},...Mte];function Pte(){return Yr("NgEagerAnimations"),[...Ate]}var Lte=(()=>{const t=class t extends L1{constructor(n){super(),this.translate=n,this.getRangeLabel=(r,i,o)=>{if(o===0||i===0)return`0 / ${o}`;o=Math.max(o,0);let l=r*i,u=l<o?Math.min(l+i,o):l+i;return`${l+1} - ${u} / ${o}`},this.getAndInitTranslations=()=>{this.nextPageLabel=this.translate.instant("commons.matPaginator.nextPage"),this.previousPageLabel=this.translate.instant("commons.matPaginator.prevPage"),this.firstPageLabel=this.translate.instant("commons.matPaginator.firstPage"),this.lastPageLabel=this.translate.instant("commons.matPaginator.lastPage"),this.itemsPerPageLabel=this.translate.instant("commons.matPaginator.itemsPerPage"),this.getRangeLabel=this.getRangeLabel.bind(this),this.changes.next()},this.translate.onLangChange.subscribe(()=>{this.getAndInitTranslations()}),this.getAndInitTranslations()}};t.ɵfac=function(n){return new(n||t)(oe(Xn))},t.ɵprov=z({token:t,factory:t.ɵfac});let e=t;return e})(),aw=6048e5,Fte=864e5,jte=6e4,Vte=36e5,zte=1e3,Gg=Symbol.for("constructDateFrom");function Ut(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Gg in e?e[Gg](t):e instanceof Date?new e.constructor(t):new Date(t)}function Vt(e,t){return Ut(t||e,e)}function rw(e,t,a){let n=Vt(e,a==null?void 0:a.in);return isNaN(t)?Ut((a==null?void 0:a.in)||e,NaN):(t&&n.setDate(n.getDate()+t),n)}var Bte={};function eo(){return Bte}function dr(e,t){var l,u,c,d;let a=eo(),n=(t==null?void 0:t.weekStartsOn)??((u=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:u.weekStartsOn)??a.weekStartsOn??((d=(c=a.locale)==null?void 0:c.options)==null?void 0:d.weekStartsOn)??0,r=Vt(e,t==null?void 0:t.in),i=r.getDay(),o=(i<n?7:0)+i-n;return r.setDate(r.getDate()-o),r.setHours(0,0,0,0),r}function Fi(e,t){return dr(e,Yt(ue({},t),{weekStartsOn:1}))}function iw(e,t){let a=Vt(e,t==null?void 0:t.in),n=a.getFullYear(),r=Ut(a,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);let i=Fi(r),o=Ut(a,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);let l=Fi(o);return a.getTime()>=i.getTime()?n+1:a.getTime()>=l.getTime()?n:n-1}function Yl(e){let t=Vt(e),a=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return a.setUTCFullYear(t.getFullYear()),+e-+a}function Hte(e,...t){let a=Ut.bind(null,t.find(n=>typeof n=="object"));return t.map(a)}function Wg(e,t){let a=Vt(e,t==null?void 0:t.in);return a.setHours(0,0,0,0),a}function qte(e,t,a){let[n,r]=Hte(a==null?void 0:a.in,e,t),i=Wg(n),o=Wg(r),l=+i-Yl(i),u=+o-Yl(o);return Math.round((l-u)/Fte)}function $te(e,t){let a=iw(e,t),n=Ut(e,0);return n.setFullYear(a,0,4),n.setHours(0,0,0,0),Fi(n)}function Ute(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Gte(e){return!(!Ute(e)&&typeof e!="number"||isNaN(+Vt(e)))}function Wte(e,t){let a=Vt(e,t==null?void 0:t.in);return a.setFullYear(a.getFullYear(),0,1),a.setHours(0,0,0,0),a}var Zte={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"}},Yte=(e,t,a)=>{let n,r=Zte[e];return typeof r=="string"?n=r:t===1?n=r.one:n=r.other.replace("{{count}}",t.toString()),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"in "+n:n+" ago":n};function zc(e){return(t={})=>{let a=t.width?String(t.width):e.defaultWidth;return e.formats[a]||e.formats[e.defaultWidth]}}var Kte={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Qte={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Xte={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Jte={date:zc({formats:Kte,defaultWidth:"full"}),time:zc({formats:Qte,defaultWidth:"full"}),dateTime:zc({formats:Xte,defaultWidth:"full"})},ene={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},tne=(e,t,a,n)=>ene[e];function ho(e){return(t,a)=>{let n=a!=null&&a.context?String(a.context):"standalone",r;if(n==="formatting"&&e.formattingValues){let o=e.defaultFormattingWidth||e.defaultWidth,l=a!=null&&a.width?String(a.width):o;r=e.formattingValues[l]||e.formattingValues[o]}else{let o=e.defaultWidth,l=a!=null&&a.width?String(a.width):e.defaultWidth;r=e.values[l]||e.values[o]}let i=e.argumentCallback?e.argumentCallback(t):t;return r[i]}}var nne={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},ane={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},rne={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"]},ine={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"]},one={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"}},sne={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"}},lne=(e,t)=>{let a=Number(e),n=a%100;if(n>20||n<10)switch(n%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"},une={ordinalNumber:lne,era:ho({values:nne,defaultWidth:"wide"}),quarter:ho({values:ane,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ho({values:rne,defaultWidth:"wide"}),day:ho({values:ine,defaultWidth:"wide"}),dayPeriod:ho({values:one,defaultWidth:"wide",formattingValues:sne,defaultFormattingWidth:"wide"})};function po(e){return(t,a={})=>{let n=a.width,r=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],i=t.match(r);if(!i)return null;let o=i[0],l=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?dne(l,m=>m.test(o)):cne(l,m=>m.test(o)),c;c=e.valueCallback?e.valueCallback(u):u,c=a.valueCallback?a.valueCallback(c):c;let d=t.slice(o.length);return{value:c,rest:d}}}function cne(e,t){for(let a in e)if(Object.prototype.hasOwnProperty.call(e,a)&&t(e[a]))return a}function dne(e,t){for(let a=0;a<e.length;a++)if(t(e[a]))return a}function hne(e){return(t,a={})=>{let n=t.match(e.matchPattern);if(!n)return null;let r=n[0],i=t.match(e.parsePattern);if(!i)return null;let o=e.valueCallback?e.valueCallback(i[0]):i[0];o=a.valueCallback?a.valueCallback(o):o;let l=t.slice(r.length);return{value:o,rest:l}}}var pne=/^(\d+)(th|st|nd|rd)?/i,mne=/\d+/i,fne={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},gne={any:[/^b/i,/^(a|c)/i]},vne={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},bne={any:[/1/i,/2/i,/3/i,/4/i]},yne={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},_ne={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]},wne={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},xne={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]},Ene={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},Sne={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}},kne={ordinalNumber:hne({matchPattern:pne,parsePattern:mne,valueCallback:e=>parseInt(e,10)}),era:po({matchPatterns:fne,defaultMatchWidth:"wide",parsePatterns:gne,defaultParseWidth:"any"}),quarter:po({matchPatterns:vne,defaultMatchWidth:"wide",parsePatterns:bne,defaultParseWidth:"any",valueCallback:e=>e+1}),month:po({matchPatterns:yne,defaultMatchWidth:"wide",parsePatterns:_ne,defaultParseWidth:"any"}),day:po({matchPatterns:wne,defaultMatchWidth:"wide",parsePatterns:xne,defaultParseWidth:"any"}),dayPeriod:po({matchPatterns:Ene,defaultMatchWidth:"any",parsePatterns:Sne,defaultParseWidth:"any"})},ow={code:"en-US",formatDistance:Yte,formatLong:Jte,formatRelative:tne,localize:une,match:kne,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Cne(e,t){let a=Vt(e,t==null?void 0:t.in);return qte(a,Wte(a))+1}function sw(e,t){let a=Vt(e,t==null?void 0:t.in),n=+Fi(a)-+$te(a);return Math.round(n/aw)+1}function hm(e,t){var d,m,v,g;let a=Vt(e,t==null?void 0:t.in),n=a.getFullYear(),r=eo(),i=(t==null?void 0:t.firstWeekContainsDate)??((m=(d=t==null?void 0:t.locale)==null?void 0:d.options)==null?void 0:m.firstWeekContainsDate)??r.firstWeekContainsDate??((g=(v=r.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,o=Ut((t==null?void 0:t.in)||e,0);o.setFullYear(n+1,0,i),o.setHours(0,0,0,0);let l=dr(o,t),u=Ut((t==null?void 0:t.in)||e,0);u.setFullYear(n,0,i),u.setHours(0,0,0,0);let c=dr(u,t);return+a>=+l?n+1:+a>=+c?n:n-1}function Dne(e,t){var o,l,u,c;let a=eo(),n=(t==null?void 0:t.firstWeekContainsDate)??((l=(o=t==null?void 0:t.locale)==null?void 0:o.options)==null?void 0:l.firstWeekContainsDate)??a.firstWeekContainsDate??((c=(u=a.locale)==null?void 0:u.options)==null?void 0:c.firstWeekContainsDate)??1,r=hm(e,t),i=Ut((t==null?void 0:t.in)||e,0);return i.setFullYear(r,0,n),i.setHours(0,0,0,0),dr(i,t)}function lw(e,t){let a=Vt(e,t==null?void 0:t.in),n=+dr(a,t)-+Dne(a,t);return Math.round(n/aw)+1}function Ze(e,t){let a=e<0?"-":"",n=Math.abs(e).toString().padStart(t,"0");return a+n}var Wa={y(e,t){let a=e.getFullYear(),n=a>0?a:1-a;return Ze(t==="yy"?n%100:n,t.length)},M(e,t){let a=e.getMonth();return t==="M"?String(a+1):Ze(a+1,2)},d(e,t){return Ze(e.getDate(),t.length)},a(e,t){let a=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return a.toUpperCase();case"aaa":return a;case"aaaaa":return a[0];case"aaaa":default:return a==="am"?"a.m.":"p.m."}},h(e,t){return Ze(e.getHours()%12||12,t.length)},H(e,t){return Ze(e.getHours(),t.length)},m(e,t){return Ze(e.getMinutes(),t.length)},s(e,t){return Ze(e.getSeconds(),t.length)},S(e,t){let a=t.length,n=e.getMilliseconds(),r=Math.trunc(n*Math.pow(10,a-3));return Ze(r,t.length)}},ii={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Zg={G:function(e,t,a){let n=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return a.era(n,{width:"abbreviated"});case"GGGGG":return a.era(n,{width:"narrow"});case"GGGG":default:return a.era(n,{width:"wide"})}},y:function(e,t,a){if(t==="yo"){let n=e.getFullYear(),r=n>0?n:1-n;return a.ordinalNumber(r,{unit:"year"})}return Wa.y(e,t)},Y:function(e,t,a,n){let r=hm(e,n),i=r>0?r:1-r;if(t==="YY"){let o=i%100;return Ze(o,2)}return t==="Yo"?a.ordinalNumber(i,{unit:"year"}):Ze(i,t.length)},R:function(e,t){let a=iw(e);return Ze(a,t.length)},u:function(e,t){let a=e.getFullYear();return Ze(a,t.length)},Q:function(e,t,a){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return Ze(n,2);case"Qo":return a.ordinalNumber(n,{unit:"quarter"});case"QQQ":return a.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return a.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,a){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return Ze(n,2);case"qo":return a.ordinalNumber(n,{unit:"quarter"});case"qqq":return a.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return a.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,a){let n=e.getMonth();switch(t){case"M":case"MM":return Wa.M(e,t);case"Mo":return a.ordinalNumber(n+1,{unit:"month"});case"MMM":return a.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return a.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,a){let n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return Ze(n+1,2);case"Lo":return a.ordinalNumber(n+1,{unit:"month"});case"LLL":return a.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return a.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,a,n){let r=lw(e,n);return t==="wo"?a.ordinalNumber(r,{unit:"week"}):Ze(r,t.length)},I:function(e,t,a){let n=sw(e);return t==="Io"?a.ordinalNumber(n,{unit:"week"}):Ze(n,t.length)},d:function(e,t,a){return t==="do"?a.ordinalNumber(e.getDate(),{unit:"date"}):Wa.d(e,t)},D:function(e,t,a){let n=Cne(e);return t==="Do"?a.ordinalNumber(n,{unit:"dayOfYear"}):Ze(n,t.length)},E:function(e,t,a){let n=e.getDay();switch(t){case"E":case"EE":case"EEE":return a.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return a.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(n,{width:"short",context:"formatting"});case"EEEE":default:return a.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,a,n){let r=e.getDay(),i=(r-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return Ze(i,2);case"eo":return a.ordinalNumber(i,{unit:"day"});case"eee":return a.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return a.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(r,{width:"short",context:"formatting"});case"eeee":default:return a.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,a,n){let r=e.getDay(),i=(r-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return Ze(i,t.length);case"co":return a.ordinalNumber(i,{unit:"day"});case"ccc":return a.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return a.day(r,{width:"narrow",context:"standalone"});case"cccccc":return a.day(r,{width:"short",context:"standalone"});case"cccc":default:return a.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,a){let n=e.getDay(),r=n===0?7:n;switch(t){case"i":return String(r);case"ii":return Ze(r,t.length);case"io":return a.ordinalNumber(r,{unit:"day"});case"iii":return a.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return a.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return a.day(n,{width:"short",context:"formatting"});case"iiii":default:return a.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,a){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return a.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return a.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return a.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,a){let n=e.getHours(),r;switch(n===12?r=ii.noon:n===0?r=ii.midnight:r=n/12>=1?"pm":"am",t){case"b":case"bb":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return a.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,a){let n=e.getHours(),r;switch(n>=17?r=ii.evening:n>=12?r=ii.afternoon:n>=4?r=ii.morning:r=ii.night,t){case"B":case"BB":case"BBB":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return a.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,a){if(t==="ho"){let n=e.getHours()%12;return n===0&&(n=12),a.ordinalNumber(n,{unit:"hour"})}return Wa.h(e,t)},H:function(e,t,a){return t==="Ho"?a.ordinalNumber(e.getHours(),{unit:"hour"}):Wa.H(e,t)},K:function(e,t,a){let n=e.getHours()%12;return t==="Ko"?a.ordinalNumber(n,{unit:"hour"}):Ze(n,t.length)},k:function(e,t,a){let n=e.getHours();return n===0&&(n=24),t==="ko"?a.ordinalNumber(n,{unit:"hour"}):Ze(n,t.length)},m:function(e,t,a){return t==="mo"?a.ordinalNumber(e.getMinutes(),{unit:"minute"}):Wa.m(e,t)},s:function(e,t,a){return t==="so"?a.ordinalNumber(e.getSeconds(),{unit:"second"}):Wa.s(e,t)},S:function(e,t){return Wa.S(e,t)},X:function(e,t,a){let n=e.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return Kg(n);case"XXXX":case"XX":return Ir(n);case"XXXXX":case"XXX":default:return Ir(n,":")}},x:function(e,t,a){let n=e.getTimezoneOffset();switch(t){case"x":return Kg(n);case"xxxx":case"xx":return Ir(n);case"xxxxx":case"xxx":default:return Ir(n,":")}},O:function(e,t,a){let n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Yg(n,":");case"OOOO":default:return"GMT"+Ir(n,":")}},z:function(e,t,a){let n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Yg(n,":");case"zzzz":default:return"GMT"+Ir(n,":")}},t:function(e,t,a){let n=Math.trunc(+e/1e3);return Ze(n,t.length)},T:function(e,t,a){return Ze(+e,t.length)}};function Yg(e,t=""){let a=e>0?"-":"+",n=Math.abs(e),r=Math.trunc(n/60),i=n%60;return i===0?a+String(r):a+String(r)+t+Ze(i,2)}function Kg(e,t){return e%60===0?(e>0?"-":"+")+Ze(Math.abs(e)/60,2):Ir(e,t)}function Ir(e,t=""){let a=e>0?"-":"+",n=Math.abs(e),r=Ze(Math.trunc(n/60),2),i=Ze(n%60,2);return a+r+t+i}var Qg=(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"})}},uw=(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"})}},Ine=(e,t)=>{let a=e.match(/(P+)(p+)?/)||[],n=a[1],r=a[2];if(!r)return Qg(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}}",Qg(n,t)).replace("{{time}}",uw(r,t))},th={p:uw,P:Ine},Tne=/^D+$/,Rne=/^Y+$/,Nne=["D","DD","YY","YYYY"];function cw(e){return Tne.test(e)}function dw(e){return Rne.test(e)}function nh(e,t,a){let n=One(e,t,a);if(console.warn(n),Nne.includes(e))throw new RangeError(n)}function One(e,t,a){let n=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${n} to the input \`${a}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var Mne=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ane=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Pne=/^'([^]*?)'?$/,Lne=/''/g,Fne=/[a-zA-Z]/;function hw(e,t,a){var d,m,v,g,w,x,k,D;let n=eo(),r=(a==null?void 0:a.locale)??n.locale??ow,i=(a==null?void 0:a.firstWeekContainsDate)??((m=(d=a==null?void 0:a.locale)==null?void 0:d.options)==null?void 0:m.firstWeekContainsDate)??n.firstWeekContainsDate??((g=(v=n.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,o=(a==null?void 0:a.weekStartsOn)??((x=(w=a==null?void 0:a.locale)==null?void 0:w.options)==null?void 0:x.weekStartsOn)??n.weekStartsOn??((D=(k=n.locale)==null?void 0:k.options)==null?void 0:D.weekStartsOn)??0,l=Vt(e,a==null?void 0:a.in);if(!Gte(l))throw new RangeError("Invalid time value");let u=t.match(Ane).map(N=>{let O=N[0];if(O==="p"||O==="P"){let J=th[O];return J(N,r.formatLong)}return N}).join("").match(Mne).map(N=>{if(N==="''")return{isToken:!1,value:"'"};let O=N[0];if(O==="'")return{isToken:!1,value:jne(N)};if(Zg[O])return{isToken:!0,value:N};if(O.match(Fne))throw new RangeError("Format string contains an unescaped latin alphabet character `"+O+"`");return{isToken:!1,value:N}});r.localize.preprocessor&&(u=r.localize.preprocessor(l,u));let c={firstWeekContainsDate:i,weekStartsOn:o,locale:r};return u.map(N=>{if(!N.isToken)return N.value;let O=N.value;(!(a!=null&&a.useAdditionalWeekYearTokens)&&dw(O)||!(a!=null&&a.useAdditionalDayOfYearTokens)&&cw(O))&&nh(O,t,String(e));let J=Zg[O[0]];return J(l,O,r.localize,c)}).join("")}function jne(e){let t=e.match(Pne);return t?t[1].replace(Lne,"'"):e}function pw(){return Object.assign({},eo())}function Vne(e,t){let a=Vt(e,t==null?void 0:t.in).getDay();return a===0?7:a}function zne(e,t){let a=Bne(t)?new t(0):Ut(t,0);return a.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),a.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),a}function Bne(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}var Hne=10,mw=class{constructor(){s(this,"subPriority",0)}validate(e,t){return!0}},qne=class extends mw{constructor(e,t,a,n,r){super(),this.value=e,this.validateValue=t,this.setValue=a,this.priority=n,r&&(this.subPriority=r)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,a){return this.setValue(e,t,this.value,a)}},$ne=class extends mw{constructor(t,a){super();s(this,"priority",Hne);s(this,"subPriority",-1);this.context=t||(n=>Ut(a,n))}set(t,a){return a.timestampIsSet?t:Ut(t,zne(t,this.context))}},Ge=class{run(e,t,a,n){let r=this.parse(e,t,a,n);return r?{setter:new qne(r.value,this.validate,this.set,this.priority,this.subPriority),rest:r.rest}:null}validate(e,t,a){return!0}},Une=class extends Ge{constructor(){super(...arguments);s(this,"priority",140);s(this,"incompatibleTokens",["R","u","t","T"])}parse(t,a,n){switch(a){case"G":case"GG":case"GGG":return n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"});case"GGGGG":return n.era(t,{width:"narrow"});case"GGGG":default:return n.era(t,{width:"wide"})||n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"})}}set(t,a,n){return a.era=n,t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},Et={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}/},oa={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 St(e,t){return e&&{value:t(e.value),rest:e.rest}}function gt(e,t){let a=t.match(e);return a?{value:parseInt(a[0],10),rest:t.slice(a[0].length)}:null}function sa(e,t){let a=t.match(e);if(!a)return null;if(a[0]==="Z")return{value:0,rest:t.slice(1)};let n=a[1]==="+"?1:-1,r=a[2]?parseInt(a[2],10):0,i=a[3]?parseInt(a[3],10):0,o=a[5]?parseInt(a[5],10):0;return{value:n*(r*Vte+i*jte+o*zte),rest:t.slice(a[0].length)}}function fw(e){return gt(Et.anyDigitsSigned,e)}function yt(e,t){switch(e){case 1:return gt(Et.singleDigit,t);case 2:return gt(Et.twoDigits,t);case 3:return gt(Et.threeDigits,t);case 4:return gt(Et.fourDigits,t);default:return gt(new RegExp("^\\d{1,"+e+"}"),t)}}function Kl(e,t){switch(e){case 1:return gt(Et.singleDigitSigned,t);case 2:return gt(Et.twoDigitsSigned,t);case 3:return gt(Et.threeDigitsSigned,t);case 4:return gt(Et.fourDigitsSigned,t);default:return gt(new RegExp("^-?\\d{1,"+e+"}"),t)}}function pm(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 gw(e,t){let a=t>0,n=a?t:1-t,r;if(n<=50)r=e||100;else{let i=n+50,o=Math.trunc(i/100)*100,l=e>=i%100;r=e+o-(l?100:0)}return a?r:1-r}function vw(e){return e%400===0||e%4===0&&e%100!==0}var Gne=class extends Ge{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,a,n){let r=i=>({year:i,isTwoDigitYear:a==="yy"});switch(a){case"y":return St(yt(4,t),r);case"yo":return St(n.ordinalNumber(t,{unit:"year"}),r);default:return St(yt(a.length,t),r)}}validate(t,a){return a.isTwoDigitYear||a.year>0}set(t,a,n){let r=t.getFullYear();if(n.isTwoDigitYear){let o=gw(n.year,r);return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}let i=!("era"in a)||a.era===1?n.year:1-n.year;return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}},Wne=class extends Ge{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,a,n){let r=i=>({year:i,isTwoDigitYear:a==="YY"});switch(a){case"Y":return St(yt(4,t),r);case"Yo":return St(n.ordinalNumber(t,{unit:"year"}),r);default:return St(yt(a.length,t),r)}}validate(t,a){return a.isTwoDigitYear||a.year>0}set(t,a,n,r){let i=hm(t,r);if(n.isTwoDigitYear){let l=gw(n.year,i);return t.setFullYear(l,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),dr(t,r)}let o=!("era"in a)||a.era===1?n.year:1-n.year;return t.setFullYear(o,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),dr(t,r)}},Zne=class extends Ge{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,a){return Kl(a==="R"?4:a.length,t)}set(t,a,n){let r=Ut(t,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),Fi(r)}},Yne=class extends Ge{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,a){return Kl(a==="u"?4:a.length,t)}set(t,a,n){return t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},Kne=class extends Ge{constructor(){super(...arguments);s(this,"priority",120);s(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,a,n){switch(a){case"Q":case"QQ":return yt(a.length,t);case"Qo":return n.ordinalNumber(t,{unit:"quarter"});case"QQQ":return n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(t,{width:"wide",context:"formatting"})||n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,a){return a>=1&&a<=4}set(t,a,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}},Qne=class extends Ge{constructor(){super(...arguments);s(this,"priority",120);s(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,a,n){switch(a){case"q":case"qq":return yt(a.length,t);case"qo":return n.ordinalNumber(t,{unit:"quarter"});case"qqq":return n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(t,{width:"wide",context:"standalone"})||n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,a){return a>=1&&a<=4}set(t,a,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}},Xne=class extends Ge{constructor(){super(...arguments);s(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);s(this,"priority",110)}parse(t,a,n){let r=i=>i-1;switch(a){case"M":return St(gt(Et.month,t),r);case"MM":return St(yt(2,t),r);case"Mo":return St(n.ordinalNumber(t,{unit:"month"}),r);case"MMM":return n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(t,{width:"wide",context:"formatting"})||n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"})}}validate(t,a){return a>=0&&a<=11}set(t,a,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}},Jne=class extends Ge{constructor(){super(...arguments);s(this,"priority",110);s(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,a,n){let r=i=>i-1;switch(a){case"L":return St(gt(Et.month,t),r);case"LL":return St(yt(2,t),r);case"Lo":return St(n.ordinalNumber(t,{unit:"month"}),r);case"LLL":return n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(t,{width:"wide",context:"standalone"})||n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"})}}validate(t,a){return a>=0&&a<=11}set(t,a,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}};function eae(e,t,a){let n=Vt(e,a==null?void 0:a.in),r=lw(n,a)-t;return n.setDate(n.getDate()-r*7),Vt(n,a==null?void 0:a.in)}var tae=class extends Ge{constructor(){super(...arguments);s(this,"priority",100);s(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,a,n){switch(a){case"w":return gt(Et.week,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return yt(a.length,t)}}validate(t,a){return a>=1&&a<=53}set(t,a,n,r){return dr(eae(t,n,r),r)}};function nae(e,t,a){let n=Vt(e,a==null?void 0:a.in),r=sw(n,a)-t;return n.setDate(n.getDate()-r*7),n}var aae=class extends Ge{constructor(){super(...arguments);s(this,"priority",100);s(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,a,n){switch(a){case"I":return gt(Et.week,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return yt(a.length,t)}}validate(t,a){return a>=1&&a<=53}set(t,a,n){return Fi(nae(t,n))}},rae=[31,28,31,30,31,30,31,31,30,31,30,31],iae=[31,29,31,30,31,30,31,31,30,31,30,31],oae=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"subPriority",1);s(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,a,n){switch(a){case"d":return gt(Et.date,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return yt(a.length,t)}}validate(t,a){let n=t.getFullYear(),r=vw(n),i=t.getMonth();return r?a>=1&&a<=iae[i]:a>=1&&a<=rae[i]}set(t,a,n){return t.setDate(n),t.setHours(0,0,0,0),t}},sae=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"subpriority",1);s(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,a,n){switch(a){case"D":case"DD":return gt(Et.dayOfYear,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return yt(a.length,t)}}validate(t,a){let n=t.getFullYear();return vw(n)?a>=1&&a<=366:a>=1&&a<=365}set(t,a,n){return t.setMonth(0,n),t.setHours(0,0,0,0),t}};function mm(e,t,a){var d,m,v,g;let n=eo(),r=(a==null?void 0:a.weekStartsOn)??((m=(d=a==null?void 0:a.locale)==null?void 0:d.options)==null?void 0:m.weekStartsOn)??n.weekStartsOn??((g=(v=n.locale)==null?void 0:v.options)==null?void 0:g.weekStartsOn)??0,i=Vt(e,a==null?void 0:a.in),o=i.getDay(),l=(t%7+7)%7,u=7-r,c=t<0||t>6?t-(o+u)%7:(l+u)%7-(o+u)%7;return rw(i,c,a)}var lae=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,a,n){switch(a){case"E":case"EE":case"EEE":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,a){return a>=0&&a<=6}set(t,a,n,r){return t=mm(t,n,r),t.setHours(0,0,0,0),t}},uae=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,a,n,r){let i=o=>{let l=Math.floor((o-1)/7)*7;return(o+r.weekStartsOn+6)%7+l};switch(a){case"e":case"ee":return St(yt(a.length,t),i);case"eo":return St(n.ordinalNumber(t,{unit:"day"}),i);case"eee":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeeee":return n.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,a){return a>=0&&a<=6}set(t,a,n,r){return t=mm(t,n,r),t.setHours(0,0,0,0),t}},cae=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,a,n,r){let i=o=>{let l=Math.floor((o-1)/7)*7;return(o+r.weekStartsOn+6)%7+l};switch(a){case"c":case"cc":return St(yt(a.length,t),i);case"co":return St(n.ordinalNumber(t,{unit:"day"}),i);case"ccc":return n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"ccccc":return n.day(t,{width:"narrow",context:"standalone"});case"cccccc":return n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(t,{width:"wide",context:"standalone"})||n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"})}}validate(t,a){return a>=0&&a<=6}set(t,a,n,r){return t=mm(t,n,r),t.setHours(0,0,0,0),t}};function dae(e,t,a){let n=Vt(e,a==null?void 0:a.in),r=Vne(n,a),i=t-r;return rw(n,i,a)}var hae=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,a,n){let r=i=>i===0?7:i;switch(a){case"i":case"ii":return yt(a.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return St(n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r);case"iiiii":return St(n.day(t,{width:"narrow",context:"formatting"}),r);case"iiiiii":return St(n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r);case"iiii":default:return St(n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r)}}validate(t,a){return a>=1&&a<=7}set(t,a,n){return t=dae(t,n),t.setHours(0,0,0,0),t}},pae=class extends Ge{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,a,n){switch(a){case"a":case"aa":case"aaa":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,a,n){return t.setHours(pm(n),0,0,0),t}},mae=class extends Ge{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,a,n){switch(a){case"b":case"bb":case"bbb":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,a,n){return t.setHours(pm(n),0,0,0),t}},fae=class extends Ge{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["a","b","t","T"])}parse(t,a,n){switch(a){case"B":case"BB":case"BBB":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,a,n){return t.setHours(pm(n),0,0,0),t}},gae=class extends Ge{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,a,n){switch(a){case"h":return gt(Et.hour12h,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return yt(a.length,t)}}validate(t,a){return a>=1&&a<=12}set(t,a,n){let r=t.getHours()>=12;return r&&n<12?t.setHours(n+12,0,0,0):!r&&n===12?t.setHours(0,0,0,0):t.setHours(n,0,0,0),t}},vae=class extends Ge{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,a,n){switch(a){case"H":return gt(Et.hour23h,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return yt(a.length,t)}}validate(t,a){return a>=0&&a<=23}set(t,a,n){return t.setHours(n,0,0,0),t}},bae=class extends Ge{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,a,n){switch(a){case"K":return gt(Et.hour11h,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return yt(a.length,t)}}validate(t,a){return a>=0&&a<=11}set(t,a,n){return t.getHours()>=12&&n<12?t.setHours(n+12,0,0,0):t.setHours(n,0,0,0),t}},yae=class extends Ge{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,a,n){switch(a){case"k":return gt(Et.hour24h,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return yt(a.length,t)}}validate(t,a){return a>=1&&a<=24}set(t,a,n){let r=n<=24?n%24:n;return t.setHours(r,0,0,0),t}},_ae=class extends Ge{constructor(){super(...arguments);s(this,"priority",60);s(this,"incompatibleTokens",["t","T"])}parse(t,a,n){switch(a){case"m":return gt(Et.minute,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return yt(a.length,t)}}validate(t,a){return a>=0&&a<=59}set(t,a,n){return t.setMinutes(n,0,0),t}},wae=class extends Ge{constructor(){super(...arguments);s(this,"priority",50);s(this,"incompatibleTokens",["t","T"])}parse(t,a,n){switch(a){case"s":return gt(Et.second,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return yt(a.length,t)}}validate(t,a){return a>=0&&a<=59}set(t,a,n){return t.setSeconds(n,0),t}},xae=class extends Ge{constructor(){super(...arguments);s(this,"priority",30);s(this,"incompatibleTokens",["t","T"])}parse(t,a){let n=r=>Math.trunc(r*Math.pow(10,-a.length+3));return St(yt(a.length,t),n)}set(t,a,n){return t.setMilliseconds(n),t}},Eae=class extends Ge{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","x"])}parse(t,a){switch(a){case"X":return sa(oa.basicOptionalMinutes,t);case"XX":return sa(oa.basic,t);case"XXXX":return sa(oa.basicOptionalSeconds,t);case"XXXXX":return sa(oa.extendedOptionalSeconds,t);case"XXX":default:return sa(oa.extended,t)}}set(t,a,n){return a.timestampIsSet?t:Ut(t,t.getTime()-Yl(t)-n)}},Sae=class extends Ge{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","X"])}parse(t,a){switch(a){case"x":return sa(oa.basicOptionalMinutes,t);case"xx":return sa(oa.basic,t);case"xxxx":return sa(oa.basicOptionalSeconds,t);case"xxxxx":return sa(oa.extendedOptionalSeconds,t);case"xxx":default:return sa(oa.extended,t)}}set(t,a,n){return a.timestampIsSet?t:Ut(t,t.getTime()-Yl(t)-n)}},kae=class extends Ge{constructor(){super(...arguments);s(this,"priority",40);s(this,"incompatibleTokens","*")}parse(t){return fw(t)}set(t,a,n){return[Ut(t,n*1e3),{timestampIsSet:!0}]}},Cae=class extends Ge{constructor(){super(...arguments);s(this,"priority",20);s(this,"incompatibleTokens","*")}parse(t){return fw(t)}set(t,a,n){return[Ut(t,n),{timestampIsSet:!0}]}},Dae={G:new Une,y:new Gne,Y:new Wne,R:new Zne,u:new Yne,Q:new Kne,q:new Qne,M:new Xne,L:new Jne,w:new tae,I:new aae,d:new oae,D:new sae,E:new lae,e:new uae,c:new cae,i:new hae,a:new pae,b:new mae,B:new fae,h:new gae,H:new vae,K:new bae,k:new yae,m:new _ae,s:new wae,S:new xae,X:new Eae,x:new Sae,t:new kae,T:new Cae},Iae=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Tae=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Rae=/^'([^]*?)'?$/,Nae=/''/g,Oae=/\S/,Mae=/[a-zA-Z]/;function Aae(e,t,a,n){var k,D,N,O;let r=()=>Ut(a,NaN),i=pw(),o=i.locale??ow,l=i.firstWeekContainsDate??((D=(k=i.locale)==null?void 0:k.options)==null?void 0:D.firstWeekContainsDate)??1,u=i.weekStartsOn??((O=(N=i.locale)==null?void 0:N.options)==null?void 0:O.weekStartsOn)??0,c={firstWeekContainsDate:l,weekStartsOn:u,locale:o},d=[new $ne(n==null?void 0:n.in,a)],m=t.match(Tae).map(J=>{let le=J[0];if(le in th){let _e=th[le];return _e(J,o.formatLong)}return J}).join("").match(Iae),v=[];for(let J of m){dw(J)&&nh(J,t,e),cw(J)&&nh(J,t,e);let le=J[0],_e=Dae[le];if(_e){let{incompatibleTokens:Nt}=_e;if(Array.isArray(Nt)){let nt=v.find(Ct=>Nt.includes(Ct.token)||Ct.token===le);if(nt)throw new RangeError(`The format string mustn't contain \`${nt.fullToken}\` and \`${J}\` at the same time`)}else if(_e.incompatibleTokens==="*"&&v.length>0)throw new RangeError(`The format string mustn't contain \`${J}\` and any other token at the same time`);v.push({token:le,fullToken:J});let _t=_e.run(e,J,o.match,c);if(!_t)return r();d.push(_t.setter),e=_t.rest}else{if(le.match(Mae))throw new RangeError("Format string contains an unescaped latin alphabet character `"+le+"`");if(J==="''"?J="'":le==="'"&&(J=Pae(J)),e.indexOf(J)===0)e=e.slice(J.length);else return r()}}if(e.length>0&&Oae.test(e))return r();let g=d.map(J=>J.priority).sort((J,le)=>le-J).filter((J,le,_e)=>_e.indexOf(J)===le).map(J=>d.filter(le=>le.priority===J).sort((le,_e)=>_e.subPriority-le.subPriority)).map(J=>J[0]),w=Vt(a,n==null?void 0:n.in);if(isNaN(+w))return r();let x={};for(let J of g){if(!J.validate(w,c))return r();let le=J.set(w,x,c);Array.isArray(le)?(w=le[0],Object.assign(x,le[1])):w=le}return w}function Pae(e){return e.match(Rae)[1].replace(Nae,"'")}var T=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}(T||{}),fm=new K("ngx-mask config"),bw=new K("new ngx-mask config"),yw=new K("initial ngx-mask config"),Lae={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 it,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")}}};T.HOURS_MINUTES_SECONDS,T.HOURS_MINUTES,T.MINUTES_SECONDS;T.PERCENT,T.HOURS_HOUR,T.SECONDS,T.MINUTES,T.SEPARATOR,T.DAYS_MONTHS_YEARS,T.DAYS_MONTHS,T.DAYS,T.MONTHS;var Fae=(()=>{const t=class t{constructor(){s(this,"_config",S(fm));s(this,"dropSpecialCharacters",this._config.dropSpecialCharacters);s(this,"hiddenInput",this._config.hiddenInput);s(this,"showTemplate");s(this,"clearIfNotMatch",this._config.clearIfNotMatch);s(this,"specialCharacters",this._config.specialCharacters);s(this,"patterns",this._config.patterns);s(this,"prefix",this._config.prefix);s(this,"suffix",this._config.suffix);s(this,"thousandSeparator",this._config.thousandSeparator);s(this,"decimalMarker",this._config.decimalMarker);s(this,"customPattern");s(this,"showMaskTyped",this._config.showMaskTyped);s(this,"placeHolderCharacter",this._config.placeHolderCharacter);s(this,"validation",this._config.validation);s(this,"separatorLimit",this._config.separatorLimit);s(this,"allowNegativeNumbers",this._config.allowNegativeNumbers);s(this,"leadZeroDateTime",this._config.leadZeroDateTime);s(this,"leadZero",this._config.leadZero);s(this,"apm",this._config.apm);s(this,"inputTransformFn",this._config.inputTransformFn);s(this,"outputTransformFn",this._config.outputTransformFn);s(this,"keepCharacterPositions",this._config.keepCharacterPositions);s(this,"_shift",new Set);s(this,"plusOnePosition",!1);s(this,"maskExpression","");s(this,"actualValue","");s(this,"showKeepCharacterExp","");s(this,"shownMaskExpression","");s(this,"deletedSpecialCharacter",!1);s(this,"ipError");s(this,"cpfCnpjError");s(this,"_formatWithSeparators",(n,r,i,o)=>{var g;let l=[],u="";if(Array.isArray(i)){let w=new RegExp(i.map(x=>"[\\^$.|?*+()".indexOf(x)>=0?`\\${x}`:x).join("|"));l=n.split(w),u=((g=n.match(w))==null?void 0:g[0])??T.EMPTY_STRING}else l=n.split(i),u=i;let c=l.length>1?`${u}${l[1]}`:T.EMPTY_STRING,d=l[0]??T.EMPTY_STRING,m=this.separatorLimit.replace(/\s/g,T.EMPTY_STRING);m&&+m&&(d[0]===T.MINUS?d=`-${d.slice(1,d.length).slice(0,m.length)}`:d=d.slice(0,m.length));let v=/(\d+)(\d{3})/;for(;r&&v.test(d);)d=d.replace(v,"$1"+r+"$2");return typeof o>"u"?d+c:o===0?d:d+c.substring(0,o+1)});s(this,"percentage",n=>{let r=n.replace(",","."),i=Number(this.allowNegativeNumbers&&n.includes(T.MINUS)?r.slice(1,n.length):r);return!isNaN(i)&&i>=0&&i<=100});s(this,"getPrecision",n=>{let r=n.split(T.DOT);return r.length>1?Number(r[r.length-1]):1/0});s(this,"checkAndRemoveSuffix",n=>{var r,i,o,l;for(let u=((r=this.suffix)==null?void 0:r.length)-1;u>=0;u--){let c=this.suffix.substring(u,(i=this.suffix)==null?void 0:i.length);if(n.includes(c)&&u!==((o=this.suffix)==null?void 0:o.length)-1&&(u-1<0||!n.includes(this.suffix.substring(u-1,(l=this.suffix)==null?void 0:l.length))))return n.replace(c,T.EMPTY_STRING)}return n});s(this,"checkInputPrecision",(n,r,i)=>{var u;let o=n,l=i;if(r<1/0){Array.isArray(l)&&(l=l.find(g=>g!==this.thousandSeparator)||l[0]);let c=new RegExp(this._charToRegExpExpression(l)+`\\d{${r}}.*$`),d=o.match(c),m=(d&&((u=d[0])==null?void 0:u.length))??0;if(m-1>r){let v=m-1-r;o=o.substring(0,o.length-v)}r===0&&this._compareOrIncludes(o[o.length-1],l,this.thousandSeparator)&&(o=o.substring(0,o.length-1))}return o})}applyMaskWithPattern(n,r){let[i,o]=r;return this.customPattern=o,this.applyMask(n,i)}applyMask(n,r,i=0,o=!1,l=!1,u=()=>{}){var _t,nt,Ct;if(!r||typeof n!="string")return T.EMPTY_STRING;let c=0,d="",m=!1,v=!1,g=1,w=!1,x=n,k=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 D=x.toString().split(T.EMPTY_STRING);if(this.allowNegativeNumbers&&x.slice(c,c+1)===T.MINUS&&(d+=x.slice(c,c+1)),r===T.IP){let X=x.split(T.DOT);this.ipError=this._validIP(X),r="099.099.099.099"}let N=[];for(let X=0;X<x.length;X++)(_t=x[X])!=null&&_t.match("\\d")&&N.push(x[X]??T.EMPTY_STRING);if(r===T.CPF_CNPJ&&(this.cpfCnpjError=N.length!==11&&N.length!==14,N.length>11?r="00.000.000/0000-00":r="000.000.000-00"),r.startsWith(T.PERCENT)){if(x.match("[a-z]|[A-Z]")||x.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!l){x=this._stripToDecimal(x);let xe=this.getPrecision(r);x=this.checkInputPrecision(x,xe,this.decimalMarker)}let X=typeof this.decimalMarker=="string"?this.decimalMarker:T.DOT;if(x.indexOf(X)>0&&!this.percentage(x.substring(0,x.indexOf(X)))){let xe=x.substring(0,x.indexOf(X)-1);this.allowNegativeNumbers&&x.slice(c,c+1)===T.MINUS&&!l&&(xe=x.substring(0,x.indexOf(X))),x=`${xe}${x.substring(x.indexOf(X),x.length)}`}let G="";this.allowNegativeNumbers&&x.slice(c,c+1)===T.MINUS?G=`${T.MINUS}${x.slice(c+1,c+x.length)}`:G=x,this.percentage(G)?d=this._splitPercentZero(x):d=this._splitPercentZero(x.substring(0,x.length-1))}else if(r.startsWith(T.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 X=this.getPrecision(r),G=Array.isArray(this.decimalMarker)?this.thousandSeparator===T.DOT?T.COMMA:T.DOT:this.decimalMarker;if(X===0?x=this.allowNegativeNumbers?x.length>2&&x[0]===T.MINUS&&x[1]===T.NUMBER_ZERO&&x[2]!==this.thousandSeparator&&x[2]!==T.COMMA&&x[2]!==T.DOT?"-"+x.slice(2,x.length):x[0]===T.NUMBER_ZERO&&x.length>1&&x[1]!==this.thousandSeparator&&x[1]!==T.COMMA&&x[1]!==T.DOT?x.slice(1,x.length):x:x.length>1&&x[0]===T.NUMBER_ZERO&&x[1]!==this.thousandSeparator&&x[1]!==T.COMMA&&x[1]!==T.DOT?x.slice(1,x.length):x:(x[0]===G&&x.length>1&&(x=T.NUMBER_ZERO+x.slice(0,x.length+1),this.plusOnePosition=!0),x[0]===T.NUMBER_ZERO&&x[1]!==G&&x[1]!==this.thousandSeparator&&(x=x.length>1?x.slice(0,1)+G+x.slice(1,x.length+1):x,this.plusOnePosition=!0),this.allowNegativeNumbers&&x[0]===T.MINUS&&(x[1]===G||x[1]===T.NUMBER_ZERO)&&(x=x[1]===G&&x.length>2?x.slice(0,1)+T.NUMBER_ZERO+x.slice(1,x.length):x[1]===T.NUMBER_ZERO&&x.length>2&&x[2]!==G?x.slice(0,2)+G+x.slice(2,x.length):x,this.plusOnePosition=!0)),l){let Me=x.slice(this._findFirstNonZeroDigitIndex(x),x.length),Ve=x[k]===T.NUMBER_ZERO||x[k]===G,ft=x[0]===T.NUMBER_ZERO,Vn=x[0]===T.MINUS,at=x[0]===this.thousandSeparator,Xt=x[1]===G,Ot=x[1]===T.NUMBER_ZERO,Jn=x[2]===G;ft&&Xt&&Ve&&k<2&&(x=Me),Vn&&Ot&&Jn&&Ve&&k<3&&(x=T.MINUS+Me),Me!==T.MINUS&&(k===0&&(ft||at)||this.allowNegativeNumbers&&k===1&&Vn&&!Ot)&&(x=Vn?T.MINUS+Me:Me)}let xe=this._charToRegExpExpression(this.thousandSeparator),F='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(xe,"");if(Array.isArray(this.decimalMarker))for(let Me of this.decimalMarker)F=F.replace(this._charToRegExpExpression(Me),T.EMPTY_STRING);else F=F.replace(this._charToRegExpExpression(this.decimalMarker),"");let H=new RegExp("["+F+"]");x.match(H)&&(x=x.substring(0,x.length-1)),x=this.checkInputPrecision(x,X,this.decimalMarker);let Y=x.replace(new RegExp(xe,"g"),"");d=this._formatWithSeparators(Y,this.thousandSeparator,this.decimalMarker,X);let Ie=d.indexOf(T.COMMA)-x.indexOf(T.COMMA),Xe=d.length-x.length,Qt=l&&d.length<n.length&&this.separatorLimit;if((d[k-1]===this.thousandSeparator||d[k-this.prefix.length])&&this.prefix&&l)k=k-1;else if(Xe>0&&d[k]!==this.thousandSeparator||Qt){v=!0;let Me=0;do this._shift.add(k+Me),Me++;while(Me<Xe)}else d[k-1]===this.thousandSeparator||Xe===-4||Xe===-3||d[k]===this.thousandSeparator?(this._shift.clear(),this._shift.add(k-1)):Ie!==0&&k>0&&!(d.indexOf(T.COMMA)>=k&&k>3)||!(d.indexOf(T.DOT)>=k&&k>3)&&Xe<=0?(this._shift.clear(),v=!0,g=Xe,k+=Xe,this._shift.add(k)):this._shift.clear()}else for(let X=0,G=D[0];X<D.length&&c!==r.length;X++,G=D[X]??T.EMPTY_STRING){let xe=T.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(G,r[c]??T.EMPTY_STRING)&&r[c+1]===T.SYMBOL_QUESTION)d+=G,c+=2;else if(r[c+1]===T.SYMBOL_STAR&&m&&this._checkSymbolMask(G,r[c+2]??T.EMPTY_STRING))d+=G,c+=3,m=!1;else if(this._checkSymbolMask(G,r[c]??T.EMPTY_STRING)&&r[c+1]===T.SYMBOL_STAR&&!xe)d+=G,m=!0;else if(r[c+1]===T.SYMBOL_QUESTION&&this._checkSymbolMask(G,r[c+2]??T.EMPTY_STRING))d+=G,c+=3;else if(this._checkSymbolMask(G,r[c]??T.EMPTY_STRING)){if(r[c]===T.HOURS&&(this.apm?Number(G)>9:Number(G)>2)){k=this.leadZeroDateTime?k:k+1,c+=1,this._shiftStep(r,c,D.length),X--,this.leadZeroDateTime&&(d+="0");continue}if(r[c]===T.HOUR&&(this.apm?d.length===1&&Number(d)>1||d==="1"&&Number(G)>2||x.slice(c-1,c).length===1&&Number(x.slice(c-1,c))>2||x.slice(c-1,c)==="1"&&Number(G)>2:d==="2"&&Number(G)>3||(d.slice(c-2,c)==="2"||d.slice(c-3,c)==="2"||d.slice(c-4,c)==="2"||d.slice(c-1,c)==="2")&&Number(G)>3&&c>10)){k=k+1,c+=1,X--;continue}if((r[c]===T.MINUTE||r[c]===T.SECOND)&&Number(G)>5){k=this.leadZeroDateTime?k:k+1,c+=1,this._shiftStep(r,c,D.length),X--,this.leadZeroDateTime&&(d+="0");continue}let F=31,H=x[c],Y=x[c+1],Ie=x[c+2],Xe=x[c-1],Qt=x[c-2],Me=x.slice(c-3,c-1),Ve=x.slice(c-1,c+1),ft=x.slice(c,c+2),Vn=x.slice(c-2,c);if(r[c]===T.DAY){let at=r.slice(0,2)===T.MONTHS,Xt=r.slice(0,2)===T.MONTHS&&this.specialCharacters.includes(Qt);if(Number(G)>3&&this.leadZeroDateTime||!at&&(Number(ft)>F||Number(Ve)>F||this.specialCharacters.includes(Y))||(Xt?Number(Ve)>F||!this.specialCharacters.includes(H)&&this.specialCharacters.includes(Ie)||this.specialCharacters.includes(H):Number(ft)>F||this.specialCharacters.includes(Y)&&!l)){k=this.leadZeroDateTime?k:k+1,c+=1,this._shiftStep(r,c,D.length),X--,this.leadZeroDateTime&&(d+="0");continue}}if(r[c]===T.MONTH){let at=c===0&&(Number(G)>2||Number(ft)>12||this.specialCharacters.includes(Y)&&!l),Xt=r.slice(c+2,c+3),Ot=Me.includes(Xt)&&r.includes("d0")&&(this.specialCharacters.includes(Qt)&&Number(Ve)>12&&!this.specialCharacters.includes(H)||this.specialCharacters.includes(H)),Jn=Number(Me)<=F&&!this.specialCharacters.includes(Me)&&this.specialCharacters.includes(Xe)&&(Number(ft)>12||this.specialCharacters.includes(Y)),$a=Number(ft)>12&&c===5||this.specialCharacters.includes(Y)&&c===5,_s=Number(Me)>F&&!this.specialCharacters.includes(Me)&&!this.specialCharacters.includes(Vn)&&Number(Vn)>12&&r.includes("d0"),ws=Number(Me)<=F&&!this.specialCharacters.includes(Me)&&!this.specialCharacters.includes(Xe)&&Number(Ve)>12;if(Number(G)>1&&this.leadZeroDateTime||at||Ot||ws||_s||Jn||$a&&!this.leadZeroDateTime){k=this.leadZeroDateTime?k:k+1,c+=1,this._shiftStep(r,c,D.length),X--,this.leadZeroDateTime&&(d+="0");continue}}d+=G,c++}else this.specialCharacters.includes(G)&&r[c]===G?(d+=G,c++):this.specialCharacters.indexOf(r[c]??T.EMPTY_STRING)!==-1?(d+=r[c],c++,this._shiftStep(r,c,D.length),X--):r[c]===T.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(r,c,D.length):this.patterns[r[c]??T.EMPTY_STRING]&&((nt=this.patterns[r[c]??T.EMPTY_STRING])!=null&&nt.optional)?(D[c]&&r!=="099.099.099.099"&&r!=="000.000.000-00"&&r!=="00.000.000/0000-00"&&!r.match(/^9+\.0+$/)&&!((Ct=this.patterns[r[c]??T.EMPTY_STRING])!=null&&Ct.optional)&&(d+=D[c]),r.includes(T.NUMBER_NINE+T.SYMBOL_STAR)&&r.includes(T.NUMBER_ZERO+T.SYMBOL_STAR)&&c++,c++,X--):this.maskExpression[c+1]===T.SYMBOL_STAR&&this._findSpecialChar(this.maskExpression[c+2]??T.EMPTY_STRING)&&this._findSpecialChar(G)===this.maskExpression[c+2]&&m||this.maskExpression[c+1]===T.SYMBOL_QUESTION&&this._findSpecialChar(this.maskExpression[c+2]??T.EMPTY_STRING)&&this._findSpecialChar(G)===this.maskExpression[c+2]&&m?(c+=3,d+=G):this.showMaskTyped&&this.specialCharacters.indexOf(G)<0&&G!==this.placeHolderCharacter&&this.placeHolderCharacter.length===1&&(w=!0)}d.length+1===r.length&&this.specialCharacters.indexOf(r[r.length-1]??T.EMPTY_STRING)!==-1&&(d+=r[r.length-1]);let O=k+1;for(;this._shift.has(O);)g++,O++;let J=o&&!r.startsWith(T.SEPARATOR)?c:this._shift.has(k)?g:0;w&&J--,u(J,v),g<0&&this._shift.clear();let le=!1;l&&(le=D.every(X=>this.specialCharacters.includes(X)));let _e=`${this.prefix}${le?T.EMPTY_STRING:d}${this.showMaskTyped?"":this.suffix}`;d.length===0&&(_e=this.dropSpecialCharacters?`${d}`:`${this.prefix}${d}`);let Nt=x.length===1&&this.specialCharacters.includes(r[0])&&x!==r[0];if(!this._checkSymbolMask(x,r[1])&&Nt)return"";if(d.includes(T.MINUS)&&this.prefix&&this.allowNegativeNumbers){if(l&&d===T.MINUS)return"";_e=`${T.MINUS}${this.prefix}${d.split(T.MINUS).join(T.EMPTY_STRING)}${this.suffix}`}return _e}_findDropSpecialChar(n){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(r=>r===n):this._findSpecialChar(n)}_findSpecialChar(n){return this.specialCharacters.find(r=>r===n)}_checkSymbolMask(n,r){var i,o;return this.patterns=this.customPattern?this.customPattern:this.patterns,(((i=this.patterns[r])==null?void 0:i.pattern)&&((o=this.patterns[r])==null?void 0:o.pattern.test(n)))??!1}_stripToDecimal(n){return n.split(T.EMPTY_STRING).filter((r,i)=>{let o=typeof this.decimalMarker=="string"?r===this.decimalMarker:this.decimalMarker.includes(r);return r.match("^-?\\d")||r===this.thousandSeparator||o||r===T.MINUS&&i===0&&this.allowNegativeNumbers}).join(T.EMPTY_STRING)}_charToRegExpExpression(n){return n&&(n===" "?"\\s":"[\\^$.|?*+()".indexOf(n)>=0?`\\${n}`:n)}_shiftStep(n,r,i){let o=/[*?]/g.test(n.slice(0,r))?i:r;this._shift.add(o+this.prefix.length||0)}_compareOrIncludes(n,r,i){return Array.isArray(r)?r.filter(o=>o!==i).includes(n):n===r}_validIP(n){return!(n.length===4&&!n.some((r,i)=>n.length!==i+1?r===T.EMPTY_STRING||Number(r)>255:r===T.EMPTY_STRING||Number(r.substring(0,3))>255))}_splitPercentZero(n){if(n===T.MINUS&&this.allowNegativeNumbers)return n;let r=typeof this.decimalMarker=="string"?n.indexOf(this.decimalMarker):n.indexOf(T.DOT),i=this.allowNegativeNumbers&&n.includes(T.MINUS)?"-":"";if(r===-1){let o=parseInt(i?n.slice(1,n.length):n,10);return isNaN(o)?T.EMPTY_STRING:`${i}${o}`}else{let o=parseInt(n.replace("-","").substring(0,r),10),l=n.substring(r+1),u=isNaN(o)?"":o.toString(),c=typeof this.decimalMarker=="string"?this.decimalMarker:T.DOT;return u===T.EMPTY_STRING?T.EMPTY_STRING:`${i}${u}${c}${l}`}}_findFirstNonZeroDigitIndex(n){for(let r=0;r<n.length;r++){let i=n[r];if(i&&i>="1"&&i<="9")return r}return-1}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),jae=(()=>{const t=class t extends Fae{constructor(){super(...arguments);s(this,"isNumberValue",!1);s(this,"maskIsShown","");s(this,"selStart",null);s(this,"selEnd",null);s(this,"writingValue",!1);s(this,"maskChanged",!1);s(this,"_maskExpressionArray",[]);s(this,"triggerOnMaskChange",!1);s(this,"_previousValue","");s(this,"_currentValue","");s(this,"_emitValue",!1);s(this,"_start");s(this,"_end");s(this,"onChange",r=>{});s(this,"_elementRef",S(Qe,{optional:!0}));s(this,"document",S(Fe));s(this,"_config",S(fm));s(this,"_renderer",S(Qr,{optional:!0}))}applyMask(r,i,o=0,l=!1,u=!1,c=()=>{}){if(!i)return r!==this.actualValue?this.actualValue:r;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():T.EMPTY_STRING,this.maskExpression===T.IP&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(r||T.HASH)),this.maskExpression===T.CPF_CNPJ&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(r||T.HASH)),!r&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;let d=r&&typeof this.selStart=="number"?r[this.selStart]??T.EMPTY_STRING:T.EMPTY_STRING,m="",v=o;if(this.hiddenInput!==null&&!this.writingValue){let k=r&&r.length===1?r.split(T.EMPTY_STRING):this.actualValue.split(T.EMPTY_STRING);typeof this.selStart=="object"&&typeof this.selEnd=="object"?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):r!==T.EMPTY_STRING&&k.length?typeof this.selStart=="number"&&typeof this.selEnd=="number"&&(r.length>k.length?k.splice(this.selStart,0,d):r.length<k.length&&(k.length-r.length===1?u?k.splice(this.selStart-1,1):k.splice(r.length-1,1):k.splice(this.selStart,this.selEnd-this.selStart))):k=[],this.showMaskTyped&&!this.hiddenInput&&(m=this.removeMask(r)),m=this.actualValue.length&&k.length<=r.length?this.shiftTypedSymbols(k.join(T.EMPTY_STRING)):r}if(l&&(this.hiddenInput||!this.hiddenInput)&&(m=r),u&&this.specialCharacters.indexOf(this.maskExpression[v]??T.EMPTY_STRING)!==-1&&this.showMaskTyped&&!this.prefix&&(m=this._currentValue),this.deletedSpecialCharacter&&v&&(this.specialCharacters.includes(this.actualValue.slice(v,v+1))?v=v+1:i.slice(v-1,v+1)!==T.MONTHS&&(v=v-2),this.deletedSpecialCharacter=!1),this.showMaskTyped&&this.placeHolderCharacter.length===1&&!this.leadZeroDateTime&&(m=this.removeMask(r)),this.maskChanged?m=r:m=m&&m.length?m:r,this.showMaskTyped&&this.keepCharacterPositions&&this.actualValue&&!l&&!this.writingValue){let k=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(k),this.actualValue?this.actualValue:`${this.prefix}${this.maskIsShown}${this.suffix}`}let g=super.applyMask(m,i,v,l,u,c);if(this.actualValue=this.getActualValue(g),this.thousandSeparator===T.DOT&&this.decimalMarker===T.DOT&&(this.decimalMarker=T.COMMA),this.maskExpression.startsWith(T.SEPARATOR)&&this.dropSpecialCharacters===!0&&(this.specialCharacters=this.specialCharacters.filter(k=>!this._compareOrIncludes(k,this.decimalMarker,this.thousandSeparator))),(g||g==="")&&(this._previousValue=this._currentValue,this._currentValue=g,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this.writingValue||this._previousValue===this._currentValue&&l),this._emitValue&&(this.writingValue&&this.triggerOnMaskChange?requestAnimationFrame(()=>this.formControlResult(g)):this.formControlResult(g)),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?u?this.hideInput(g,this.maskExpression):`${this.hideInput(g,this.maskExpression)}${this.maskIsShown.slice(g.length)}`:g;let w=g.length,x=`${this.prefix}${this.maskIsShown}${this.suffix}`;if(this.maskExpression.includes(T.HOURS)){let k=this._numberSkipedSymbols(g);return`${g}${x.slice(w+k)}`}else if(this.maskExpression===T.IP||this.maskExpression===T.CPF_CNPJ)return`${g}${x}`;return`${g}${x.slice(w)}`}_numberSkipedSymbols(r){let i=/(^|\D)(\d\D)/g,o=i.exec(r),l=0;for(;o!=null;)l+=1,o=i.exec(r);return l}applyValueChanges(r,i,o,l=()=>{}){var c;let u=(c=this._elementRef)==null?void 0:c.nativeElement;u&&(u.value=this.applyMask(u.value,this.maskExpression,r,i,o,l),u!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(r,i){return r.split(T.EMPTY_STRING).map((o,l)=>{var u,c;return this.patterns&&this.patterns[i[l]??T.EMPTY_STRING]&&((u=this.patterns[i[l]??T.EMPTY_STRING])!=null&&u.symbol)?(c=this.patterns[i[l]??T.EMPTY_STRING])==null?void 0:c.symbol:o}).join(T.EMPTY_STRING)}getActualValue(r){let i=r.split(T.EMPTY_STRING).filter((o,l)=>{let u=this.maskExpression[l]??T.EMPTY_STRING;return this._checkSymbolMask(o,u)||this.specialCharacters.includes(u)&&o===u});return i.join(T.EMPTY_STRING)===r?i.join(T.EMPTY_STRING):r}shiftTypedSymbols(r){let i="";return(r&&r.split(T.EMPTY_STRING).map((o,l)=>{if(this.specialCharacters.includes(r[l+1]??T.EMPTY_STRING)&&r[l+1]!==this.maskExpression[l+1])return i=o,r[l+1];if(i.length){let u=i;return i=T.EMPTY_STRING,u}return o})||[]).join(T.EMPTY_STRING)}numberToString(r){return!r&&r!==0||this.maskExpression.startsWith(T.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith(T.SEPARATOR)&&this.separatorLimit.length>14&&String(r).length>14?String(r):Number(r).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace(`/${T.MINUS}/`,T.MINUS)}showMaskInInput(r){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}else if(this.showMaskTyped){if(r){if(this.maskExpression===T.IP)return this._checkForIp(r);if(this.maskExpression===T.CPF_CNPJ)return this._checkForCpfCnpj(r)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){var i;let r=(i=this._elementRef)==null?void 0:i.nativeElement;r&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==r.value.replace(this.placeHolderCharacter,T.EMPTY_STRING).length&&(this.formElementProperty=["value",T.EMPTY_STRING],this.applyMask("",this.maskExpression))}set formElementProperty([r,i]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>{var o,l;return(l=this._renderer)==null?void 0:l.setProperty((o=this._elementRef)==null?void 0:o.nativeElement,r,i)})}checkDropSpecialCharAmount(r){return r.split(T.EMPTY_STRING).filter(i=>this._findDropSpecialChar(i)).length}removeMask(r){return this._removeMask(this._removeSuffix(this._removePrefix(r)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(r){if(r===T.HASH)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;let i=[];for(let o=0;o<r.length;o++){let l=r[o]??T.EMPTY_STRING;l&&l.match("\\d")&&i.push(l)}return i.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:i.length>3&&i.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:i.length>6&&i.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(r){let i=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,o=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if(r===T.HASH)return i;let l=[];for(let u=0;u<r.length;u++){let c=r[u]??T.EMPTY_STRING;c&&c.match("\\d")&&l.push(c)}return l.length<=3?i.slice(l.length,i.length):l.length>3&&l.length<=6?i.slice(l.length+1,i.length):l.length>6&&l.length<=9?i.slice(l.length+2,i.length):l.length>9&&l.length<11?i.slice(l.length+3,i.length):l.length===11?"":l.length===12?r.length===17?o.slice(16,o.length):o.slice(15,o.length):l.length>12&&l.length<=14?o.slice(l.length+4,o.length):""}_getActiveElement(r=this.document){var o;let i=(o=r==null?void 0:r.activeElement)==null?void 0:o.shadowRoot;return i!=null&&i.activeElement?this._getActiveElement(i):r.activeElement}formControlResult(r){if(this.writingValue&&!r){this.onChange("");return}if(this.writingValue||!this.triggerOnMaskChange&&this.maskChanged){this.triggerOnMaskChange&&this.maskChanged&&this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(r)))))),this.maskChanged=!1;return}Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(r)),this.dropSpecialCharacters))))):this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===r?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(r)))))):this.onChange(this.outputTransformFn(this._toNumber(r)))}_toNumber(r){if(!this.isNumberValue||r===T.EMPTY_STRING||this.maskExpression.startsWith(T.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters))return r;if(String(r).length>14&&this.maskExpression.startsWith(T.SEPARATOR))return String(r);let i=Number(r);if(this.maskExpression.startsWith(T.SEPARATOR)&&Number.isNaN(i)){let o=String(r).replace(",",".");return Number(o)}return Number.isNaN(i)?r:i}_removeMask(r,i){return this.maskExpression.startsWith(T.PERCENT)&&r.includes(T.DOT)?r:r&&r.replace(this._regExpForRemove(i),T.EMPTY_STRING)}_removePrefix(r){return this.prefix?r&&r.replace(this.prefix,T.EMPTY_STRING):r}_removeSuffix(r){return this.suffix?r&&r.replace(this.suffix,T.EMPTY_STRING):r}_retrieveSeparatorValue(r){let i=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(o=>this.dropSpecialCharacters.includes(o)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&r.includes(T.WHITE_SPACE)&&this.maskExpression.includes(T.SYMBOL_STAR)&&(i=i.filter(o=>o!==T.WHITE_SPACE)),this._removeMask(r,i)}_regExpForRemove(r){return new RegExp(r.map(i=>`\\${i}`).join("|"),"gi")}_replaceDecimalMarkerToDot(r){let i=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return r.replace(this._regExpForRemove(i),T.DOT)}_checkSymbols(r){let i=r;if(i===T.EMPTY_STRING)return i;this.maskExpression.startsWith(T.PERCENT)&&this.decimalMarker===T.COMMA&&(i=i.replace(T.COMMA,T.DOT));let o=this._retrieveSeparatorPrecision(this.maskExpression),l=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(i));return this.isNumberValue&&o?i===this.decimalMarker?null:l.length>14?String(l):this._checkPrecision(this.maskExpression,l):l}_checkPatternForSpace(){var r,i,o;for(let l in this.patterns)if(this.patterns[l]&&((r=this.patterns[l])!=null&&r.hasOwnProperty("pattern"))){let u=(i=this.patterns[l])==null?void 0:i.pattern.toString(),c=(o=this.patterns[l])==null?void 0:o.pattern;if(u!=null&&u.includes(T.WHITE_SPACE)&&(c!=null&&c.test(this.maskExpression)))return!0}return!1}_retrieveSeparatorPrecision(r){let i=r.match(new RegExp("^separator\\.([^d]*)"));return i?Number(i[1]):null}_checkPrecision(r,i){let o=this.getPrecision(r),l=i;return r.indexOf("2")>0||this.leadZero&&Number(o)>0?(this.decimalMarker===T.COMMA&&this.leadZero&&(l=l.replace(",",".")),this.leadZero?Number(l).toFixed(Number(o)):Number(l).toFixed(2)):this.numberToString(l)}_repeatPatternSymbols(r){return r.match(/{[0-9]+}/)&&r.split(T.EMPTY_STRING).reduce((i,o,l)=>{if(this._start=o===T.CURLY_BRACKETS_LEFT?l:this._start,o!==T.CURLY_BRACKETS_RIGHT)return this._findSpecialChar(o)?i+o:i;this._end=l;let u=Number(r.slice(this._start+1,this._end)),c=new Array(u+1).join(r[this._start-1]);if(r.slice(0,this._start).length>1&&r.includes(T.LETTER_S)){let d=r.slice(0,this._start-1);return d.includes(T.CURLY_BRACKETS_LEFT)?i+c:d+i+c}else return i+c},"")||r}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}};s(t,"ɵfac",(()=>{let r;return function(i){return(r||(r=tt(t)))(i||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function Vae(){let e=S(yw),t=S(bw);return t instanceof Function?ue(ue({},e),t()):ue(ue({},e),t)}function zae(e){return[{provide:bw,useValue:e},{provide:yw,useValue:Lae},{provide:fm,useFactory:Vae},jae]}function Bae(e){return Oh(zae(e))}var Vu=(()=>{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=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Hae="4.0",ah=Hae,Ja=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(Ja||{}),qae=(()=>{const t=class t{constructor(){s(this,"version");s(this,"language");s(this,"configName");s(this,"services");s(this,"onPrint",new it);s(this,"_ngInitDone",!1);s(this,"correctlySetup",!1);s(this,"extraRequiredFields",[])}validateVersion(){let n=ah.split(".").map(i=>parseInt(i)),r=(this.version||"").split(".").map(i=>parseInt(i));return r.length!==2?(console.error(`[BaseWebComponent] The given version (${this.version}) has the wrong format <major>.<minor>!`),!1):r[0]!==n[0]?(console.error(`[BaseWebComponent] The given version (${this.version})'s major is not compatible with this component's major version (${ah})!`),!1):!0}validateInputs(){let n=this,r=["language","configName","services","version",...this.extraRequiredFields],{missingFields:i,presentFields:o}=r.reduce((l,u)=>(n[u]===void 0?l.missingFields.push(u):l.presentFields.push(u),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",Oe({type:t,selectors:[["ng-component"]],inputs:{version:"version",language:"language",configName:"configName",services:"services"},outputs:{onPrint:"onPrint"},features:[Gr],decls:0,vars:0,template:function(n,r){},encapsulation:2}));let e=t;return e})(),_w=class{constructor(e,t,a,n,r){s(this,"logId");s(this,"services");s(this,"key");s(this,"cacheFetchingKey");s(this,"offlineDataStorageEnabled");s(this,"isOfflineAuthenticated");this.logId=r,this.services=e,this.key=t,this.cacheFetchingKey=`fetching-${this.key}`,this.offlineDataStorageEnabled=n,this.isOfflineAuthenticated=a}fetchBackendData(){return At(this,null,function*(){let e=yield this.getDataFromBackend();return e&&(yield this.updateStoredData(e)),e})}fetchOfflineData(){return At(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 At(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 At(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 At(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 At(this,null,function*(){this.storeDataInCache(e),yield this.storeDataOffline(e)})}},ww=()=>{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)},Zo=function(e){return e.DIARY_NOTES="diarynotes",e.PRESCRIPTIONS="prescriptions",e.MEDICATION_SCHEME="medicationScheme",e.MEDICATION_SCHEME_PAGE_STATE="medicationSchemePageState",e.DELIVERED_MEDICATIONS="deliveredMedications",e.USER_INFOS="userInfos",e.MANDATE_TYPE="mandateType",e}(Zo||{}),er=function(e){return e.CNK="cnk",e.INN="inn",e.VMP="vmp",e.EAN="ean",e.COMPOUND="compound",e}(er||{}),h=function(e){return e.NL="nl",e.FR="fr",e.DE="de",e.EN="en",e}(h||{});h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE;var Mr={getAuthorizationHeader:e=>`Bearer ${e}`,getUserType:e=>e.isProfessional?"professional":"patient",clientType:{webApp:"webapp",mobileApp:"mobapp"}},Co={authorization:"Authorization",userType:"user-type",clientType:"client-type"},bo=class extends Error{};bo.prototype.name="InvalidTokenError";function $ae(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,a)=>{let n=a.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}function Uae(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 $ae(t)}catch{return atob(t)}}function Gae(e,t){if(typeof e!="string")throw new bo("Invalid token specified: must be a string");t||(t={});let a=t.header===!0?0:1,n=e.split(".")[a];if(typeof n!="string")throw new bo(`Invalid token specified: missing part #${a+1}`);let r;try{r=Uae(n)}catch(i){throw new bo(`Invalid token specified: invalid base64 for part #${a+1} (${i.message})`)}try{return JSON.parse(r)}catch(i){throw new bo(`Invalid token specified: invalid json for part #${a+1} (${i.message})`)}}var Wae=class extends _w{constructor(e,t,a){super(e,Zo.USER_INFOS,t,a,Zo.USER_INFOS),this.getLocalAccessToken=e.getAccessToken}getDataFromBackend(){return At(this,null,function*(){return Gae(yield this.getLocalAccessToken("")).userProfile})}},xw=(()=>{const t=class t{get isProfessional(){return this._isProfessional}set isProfessional(n){this._isProfessional=n}get patientSsin(){return this._patientSsin}set patientSsin(n){this._patientSsin=n}get isOfflineDataStorageEnabled(){return this._offlineDataStorageEnabled}set isOfflineDataStorageEnabled(n){this._offlineDataStorageEnabled=n}get isOfflineAuthenticated(){return this._isOfflineAuthenticated}set isOfflineAuthenticated(n){this._isOfflineAuthenticated=n}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function Zae(e){var t,a;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0].ssin:((a=e==null?void 0:e.mandators)==null?void 0:a.length)>0?e.mandators[0].ssin:e.ssin}function Yae(e){var t,a;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0]:((a=e==null?void 0:e.mandators)==null?void 0:a.length)>0?e.mandators[0]:{ssin:e.ssin,lastName:e==null?void 0:e.lastName,firstName:e==null?void 0:e.firstName}}var Kae=(()=>{const t=class t extends xw{constructor(){super(...arguments),this.servicesStore=S(Vu)}resolveSsin(){return At(this,null,function*(){if(this.isProfessional===!0)return this.patientSsin;let n=yield this.fetchUserProfileToken();return Zae(n)})}resolvePatientInfo(){return At(this,null,function*(){let n=yield this.fetchUserProfileToken();return Yae(n)})}resolveUserInfo(){return At(this,null,function*(){var d,m,v,g;let n=yield this.fetchUserProfileToken(),r=n.lastName,i=n.firstName,o=this.extractProfessionalRole(n),l=((d=n==null?void 0:n.organizations)==null?void 0:d.length)>0&&((m=n==null?void 0:n.organizations[0])!=null&&m.pharmacy)?"pharmacist":void 0,u=(v=n==null?void 0:n.organizations)!=null&&v.length&&l!==void 0?n==null?void 0:n.organizations[0]:void 0,c=this.resolveProfessional(n,o)?n[o]:void 0;return{firstName:i,ssin:n.ssin,lastName:r,role:l||o,organization:u&&l?u:void 0,professional:c,mandator:((g=n==null?void 0:n.mandators)==null?void 0:g.length)>0}})}isMandator(){return At(this,null,function*(){var n,r;return((r=(n=yield this.fetchUserProfileToken())==null?void 0:n.mandators)==null?void 0:r.length)>0})}resolveProfessional(n,r){return r?n[r]:void 0}extractProfessionalRole(n){let r=["physician","nurse","midwife","dentist"],i="patient";return r.forEach(o=>{n[o]&&(i=o)}),i}fetchUserProfileToken(){return this.accessTokenService.getData(!0)}registerAccessTokenService(n,r){this.isOfflineAuthenticated=n,this.isOfflineDataStorageEnabled=r,this.accessTokenService=new Wae(this.servicesStore.getServices(),n,r)}};t.ɵfac=(()=>{let n;return function(r){return(n||(n=tt(t)))(r||t)}})(),t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Qae=(()=>{const t=class t extends xw{resolveSsin(){return At(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 At(this,null,function*(){return Promise.resolve(!1)})}registerAccessTokenService(n,r){this.isOfflineAuthenticated=n,this.isOfflineDataStorageEnabled=r}};t.ɵfac=(()=>{let n;return function(r){return(n||(n=tt(t)))(r||t)}})(),t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Xae=(()=>{const t=class t{constructor(){this.http=S(Ji)}get(n,r,i){return Ks()?this.http.get(n,{headers:i}):et(r)}patch(n,r,i){return Ks()?this.http.patch(n,{},{headers:i}):et(r)}post(n,r,i){return Ks()?this.http.post(n,{},{headers:i}):et(r)}delete(n,r,i){return Ks()?this.http.delete(n,{headers:i}):et(r)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Ks=()=>window.Cypress;function Ew(e){return e.firstName&&e.lastName?e.firstName+" "+e.lastName:e.name}var Jae={fr:["fr","nl","de","en"],nl:["nl","fr","de","en"],de:["de","fr","nl","en"],en:["en","nl","fr","de"]};function Ql(e,t){if(e){t=t==null?void 0:t.substring(0,2);for(let a of Jae[t]){let n=e.find(r=>r.lang===a);if(n)return n.value}return e.length>0?e[0].value:"Missing translation"}}var Ei=function(e){return e.INITIAL="INITIAL",e.LOADING="LOADING",e.SUCCESS="SUCCESS",e.UPDATING="UPDATING",e.ERROR="ERROR",e}(Ei||{}),Fa=function(e){return e.NO_DATA="NO_DATA",e.TEMP_UNAVAILABLE="TEMP_UNAVAILABLE",e.NOT_AUTHORIZED="NOT_AUTHORIZED",e.OTHER="OTHER",e}(Fa||{});function ere(e,t){return At(this,null,function*(){t.next({status:Ei.LOADING});try{let a=yield e,n={status:Ei.SUCCESS,data:a};return t.next(n),n}catch(a){let n={status:Ei.ERROR,error:are(a)};return t.next(n),n}})}var Xg={[Fa.NO_DATA]:["VIDIS_0140"],[Fa.TEMP_UNAVAILABLE]:["VIDIS_0121","VIDIS_0122","VIDIS_0123","VIDIS_0124","VIDIS_0125","VIDIS_0126","VIDIS_0131","VIDIS_0132","VIDIS_0133","VIDIS_0134","VIDIS_0135","VIDIS_0136"],[Fa.NOT_AUTHORIZED]:["VIDIS_3150","VIDIS_3090","VIDIS_3140","VIDIS_3100","VIDIS_3120","VIDIS_0400","VIDIS_3030","VIDIS_0100","VIDIS_0120","VIDIS_0110","VIDIS_0200","VIDIS_0340","VIDIS_0341"],[Fa.OTHER]:[]};function tre(e){for(let t of Object.keys(Xg))if(Xg[t].includes(e))return t;return Fa.OTHER}function nre(e,t,a){let n=e||"UNKNOWN",r=tre(n);return{code:n,message:a??"An unexpected error occurred",group:r,traceId:t}}function are(e){var r,i,o;let t=((r=e.error)==null?void 0:r.code)??void 0,a=((i=e.error)==null?void 0:i.message)??e.message,n=(o=e.headers)==null?void 0:o.get("trace-id");return nre(t,n,a)}var rre=(()=>{const t=class t{constructor(){this.translate=S(Xn)}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 Ql(n,this.translate.currentLang)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Sw=(()=>{const t=class t{constructor(){this.http=S(Ji),this.snackbarService=S(Cw)}getLeaflet(n,r){this.http.get(`/v2/leaflet/${n}/${r}`,{responseType:"text"}).pipe(pn(1),kh(i=>(this.snackbarService.showError(i.status===404?"error.no-leaflet":"error.fetch-leaflet"),d0(()=>i)))).subscribe(i=>{window.open(i,"_blank")})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),ji=(()=>{const t=class t{constructor(){this.config=S(to),this.injector=S(ht),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(Qae):this.injector.get(Kae)}return this._instance}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),ire={HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)"};function ore(e,t){if(e&1){let a=ba();j(0,"div",1)(1,"button",2),rn("click",function(){gn(a);let n=pe();return vn(n.action())}),ee(2),V()()}if(e&2){let a=pe();P(2),Ue(" ",a.data.action," ")}}var sre=["label"];function lre(e,t){}var ure=Math.pow(2,31)-1,rh=class{constructor(e,t){s(this,"_overlayRef");s(this,"instance");s(this,"containerInstance");s(this,"_afterDismissed",new ge);s(this,"_afterOpened",new ge);s(this,"_onAction",new ge);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,ure))}_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}},kw=new K("MatSnackBarData"),Xl=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")}},cre=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",ye({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}));let e=t;return e})(),dre=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",ye({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}));let e=t;return e})(),hre=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",ye({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}));let e=t;return e})(),pre=(()=>{const t=class t{constructor(){s(this,"snackBarRef",S(rh));s(this,"data",S(kw))}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Oe({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(n,r){n&1&&(j(0,"div",0),ee(1),V(),Ee(2,ore,3,1,"div",1)),n&2&&(P(),Ue(" ",r.data.message,`
29
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),P1=(()=>{const t=class t extends zJ{};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=tt(t)))(r||t)}})()),s(t,"ɵcmp",Oe({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(n,r){n&2&&($t("disabled",r._getDisabledAttribute())("tabindex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("aria-disabled",r._getAriaDisabled()),Ru(r.color?"mat-"+r.color:""),jt("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[Ye],ngContentSelectors:A1,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,r){n&1&&(jn(M1),lt(0,"span",0),pt(1),j(2,"span",1),pt(3,1),V(),pt(4,2),lt(5,"span",2)(6,"span",3)),n&2&&jt("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[BJ,HJ],encapsulation:2,changeDetection:0}));let e=t;return e})(),nm=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({imports:[ma,JX,ma]}));let e=t;return e})(),L1=(()=>{const t=class t{constructor(){s(this,"changes",new ge);s(this,"itemsPerPageLabel","Items per page:");s(this,"nextPageLabel","Next page");s(this,"previousPageLabel","Previous page");s(this,"firstPageLabel","First page");s(this,"lastPageLabel","Last page");s(this,"getRangeLabel",(n,r,i)=>{if(i==0||r==0)return`0 of ${i}`;i=Math.max(i,0);let o=n*r,l=o<i?Math.min(o+r,i):o+r;return`${o+1} – ${l} of ${i}`})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ne=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}(Ne||{}),La="*";function qJ(e,t=null){return{type:Ne.Sequence,steps:e,options:t}}function Rg(e){return{type:Ne.Style,styles:e,offset:null}}var Go=class{constructor(e=0,t=0){s(this,"_onDoneFns",[]);s(this,"_onStartFns",[]);s(this,"_onDestroyFns",[]);s(this,"_originalOnDoneFns",[]);s(this,"_originalOnStartFns",[]);s(this,"_started",!1);s(this,"_destroyed",!1);s(this,"_finished",!1);s(this,"_position",0);s(this,"parentPlayer",null);s(this,"totalTime");this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(a=>a()),t.length=0}},F1=class{constructor(e){s(this,"_onDoneFns",[]);s(this,"_onStartFns",[]);s(this,"_finished",!1);s(this,"_started",!1);s(this,"_destroyed",!1);s(this,"_onDestroyFns",[]);s(this,"parentPlayer",null);s(this,"totalTime",0);s(this,"players");this.players=e;let t=0,a=0,n=0,r=this.players.length;r==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(i=>{i.onDone(()=>{++t==r&&this._onFinish()}),i.onDestroy(()=>{++a==r&&this._onDestroy()}),i.onStart(()=>{++n==r&&this._onStart()})}),this.totalTime=this.players.reduce((i,o)=>Math.max(i,o.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let t=e*this.totalTime;this.players.forEach(a=>{let n=a.totalTime?Math.min(1,t/a.totalTime):1;a.setPosition(n)})}getPosition(){let e=this.players.reduce((t,a)=>t===null||a.totalTime>t.totalTime?a:t,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(a=>a()),t.length=0}},am="!";function Ng(e){return new U(3e3,!1)}function $J(){return new U(3100,!1)}function UJ(){return new U(3101,!1)}function GJ(e){return new U(3001,!1)}function WJ(e){return new U(3003,!1)}function ZJ(e){return new U(3004,!1)}function YJ(e,t){return new U(3005,!1)}function KJ(){return new U(3006,!1)}function QJ(){return new U(3007,!1)}function XJ(e,t){return new U(3008,!1)}function JJ(e){return new U(3002,!1)}function eee(e,t,a,n,r){return new U(3010,!1)}function tee(){return new U(3011,!1)}function nee(){return new U(3012,!1)}function aee(){return new U(3200,!1)}function ree(){return new U(3202,!1)}function iee(){return new U(3013,!1)}function oee(e){return new U(3014,!1)}function see(e){return new U(3015,!1)}function lee(e){return new U(3016,!1)}function uee(e,t){return new U(3404,!1)}function cee(e){return new U(3502,!1)}function dee(e){return new U(3503,!1)}function hee(){return new U(3300,!1)}function pee(e){return new U(3504,!1)}function mee(e){return new U(3301,!1)}function fee(e,t){return new U(3302,!1)}function gee(e){return new U(3303,!1)}function vee(e,t){return new U(3400,!1)}function bee(e){return new U(3401,!1)}function yee(e){return new U(3402,!1)}function _ee(e,t){return new U(3505,!1)}function Xa(e){switch(e.length){case 0:return new Go;case 1:return e[0];default:return new F1(e)}}function j1(e,t,a=new Map,n=new Map){let r=[],i=[],o=-1,l=null;if(t.forEach(u=>{let c=u.get("offset"),d=c==o,m=d&&l||new Map;u.forEach((v,g)=>{let w=g,x=v;if(g!=="offset")switch(w=e.normalizePropertyName(w,r),x){case am:x=a.get(g);break;case La:x=n.get(g);break;default:x=e.normalizeStyleValue(g,w,x,r);break}m.set(w,x)}),d||i.push(m),l=m,o=c}),r.length)throw cee();return i}function rm(e,t,a,n){switch(t){case"start":e.onStart(()=>n(a&&Ac(a,"start",e)));break;case"done":e.onDone(()=>n(a&&Ac(a,"done",e)));break;case"destroy":e.onDestroy(()=>n(a&&Ac(a,"destroy",e)));break}}function Ac(e,t,a){let n=a.totalTime,r=!!a.disabled,i=im(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,n??e.totalTime,r),o=e._data;return o!=null&&(i._data=o),i}function im(e,t,a,n,r="",i=0,o){return{element:e,triggerName:t,fromState:a,toState:n,phaseName:r,totalTime:i,disabled:!!o}}function Sn(e,t,a){let n=e.get(t);return n||e.set(t,n=a),n}function Og(e){let t=e.indexOf(":"),a=e.substring(1,t),n=e.slice(t+1);return[a,n]}var wee=typeof document>"u"?null:document.documentElement;function om(e){let t=e.parentNode||e.host||null;return t===wee?null:t}function xee(e){return e.substring(1,6)=="ebkit"}var Sr=null,Mg=!1;function Eee(e){Sr||(Sr=See()||{},Mg=Sr.style?"WebkitAppearance"in Sr.style:!1);let t=!0;return Sr.style&&!xee(e)&&(t=e in Sr.style,!t&&Mg&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Sr.style)),t}function See(){return typeof document<"u"?document.body:null}function V1(e,t){for(;t;){if(t===e)return!0;t=om(t)}return!1}function z1(e,t,a){if(a)return Array.from(e.querySelectorAll(t));let n=e.querySelector(t);return n?[n]:[]}var kee=1e3,B1="{{",Cee="}}",H1="ng-enter",Zd="ng-leave",Gs="ng-trigger",Ul=".ng-trigger",Ag="ng-animating",Yd=".ng-animating";function Oa(e){if(typeof e=="number")return e;let t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Kd(parseFloat(t[1]),t[2])}function Kd(e,t){switch(t){case"s":return e*kee;default:return e}}function Gl(e,t,a){return e.hasOwnProperty("duration")?e:Dee(e,t,a)}function Dee(e,t,a){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,r,i=0,o="";if(typeof e=="string"){let l=e.match(n);if(l===null)return t.push(Ng()),{duration:0,delay:0,easing:""};r=Kd(parseFloat(l[1]),l[2]);let u=l[3];u!=null&&(i=Kd(parseFloat(u),l[4]));let c=l[5];c&&(o=c)}else r=e;if(!a){let l=!1,u=t.length;r<0&&(t.push($J()),l=!0),i<0&&(t.push(UJ()),l=!0),l&&t.splice(u,0,Ng())}return{duration:r,delay:i,easing:o}}function Iee(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}function ia(e,t,a){t.forEach((n,r)=>{let i=sm(r);a&&!a.has(r)&&a.set(r,e.style[i]),e.style[i]=n})}function Or(e,t){t.forEach((a,n)=>{let r=sm(n);e.style[r]=""})}function co(e){return Array.isArray(e)?e.length==1?e[0]:qJ(e):e}function Tee(e,t,a){let n=t.params||{},r=q1(e);r.length&&r.forEach(i=>{n.hasOwnProperty(i)||a.push(GJ())})}var Qd=new RegExp(`${B1}\\s*(.+?)\\s*${Cee}`,"g");function q1(e){let t=[];if(typeof e=="string"){let a;for(;a=Qd.exec(e);)t.push(a[1]);Qd.lastIndex=0}return t}function Wo(e,t,a){let n=`${e}`,r=n.replace(Qd,(i,o)=>{let l=t[o];return l==null&&(a.push(WJ()),l=""),l.toString()});return r==n?e:r}var Ree=/-+([a-z0-9])/g;function sm(e){return e.replace(Ree,(...t)=>t[1].toUpperCase())}function Nee(e,t){return e===0||t===0}function Oee(e,t,a){if(a.size&&t.length){let n=t[0],r=[];if(a.forEach((i,o)=>{n.has(o)||r.push(o),n.set(o,i)}),r.length)for(let i=1;i<t.length;i++){let o=t[i];r.forEach(l=>o.set(l,lm(e,l)))}}return t}function xn(e,t,a){switch(t.type){case Ne.Trigger:return e.visitTrigger(t,a);case Ne.State:return e.visitState(t,a);case Ne.Transition:return e.visitTransition(t,a);case Ne.Sequence:return e.visitSequence(t,a);case Ne.Group:return e.visitGroup(t,a);case Ne.Animate:return e.visitAnimate(t,a);case Ne.Keyframes:return e.visitKeyframes(t,a);case Ne.Style:return e.visitStyle(t,a);case Ne.Reference:return e.visitReference(t,a);case Ne.AnimateChild:return e.visitAnimateChild(t,a);case Ne.AnimateRef:return e.visitAnimateRef(t,a);case Ne.Query:return e.visitQuery(t,a);case Ne.Stagger:return e.visitStagger(t,a);default:throw ZJ(t.type)}}function lm(e,t){return window.getComputedStyle(e)[t]}var Mee=(()=>{const t=class t{validateStyleProperty(n){return Eee(n)}containsElement(n,r){return V1(n,r)}getParentElement(n){return om(n)}query(n,r,i){return z1(n,r,i)}computeStyle(n,r,i){return i||""}animate(n,r,i,o,l,u=[],c){return new Go(i,o)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),Yc,$1=(Yc=class{},s(Yc,"NOOP",new Mee),Yc),um=class{},Aee=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"]),Pee=class extends um{normalizePropertyName(e,t){return sm(e)}normalizeStyleValue(e,t,a,n){let r="",i=a.toString().trim();if(Aee.has(t)&&a!==0&&a!=="0")if(typeof a=="number")r="px";else{let o=a.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&n.push(YJ())}return i+r}},Wl="*";function Lee(e,t){let a=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(n=>Fee(n,a,t)):a.push(e),a}function Fee(e,t,a){if(e[0]==":"){let u=jee(e,a);if(typeof u=="function"){t.push(u);return}e=u}let n=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return a.push(see()),t;let r=n[1],i=n[2],o=n[3];t.push(Pg(r,o));let l=r==Wl&&o==Wl;i[0]=="<"&&!l&&t.push(Pg(o,r))}function jee(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(a,n)=>parseFloat(n)>parseFloat(a);case":decrement":return(a,n)=>parseFloat(n)<parseFloat(a);default:return t.push(lee()),"* => *"}}var Ws=new Set(["true","1"]),Zs=new Set(["false","0"]);function Pg(e,t){let a=Ws.has(e)||Zs.has(e),n=Ws.has(t)||Zs.has(t);return(r,i)=>{let o=e==Wl||e==r,l=t==Wl||t==i;return!o&&a&&typeof r=="boolean"&&(o=r?Ws.has(e):Zs.has(e)),!l&&n&&typeof i=="boolean"&&(l=i?Ws.has(t):Zs.has(t)),o&&l}}var U1=":self",Vee=new RegExp(`s*${U1}s*,?`,"g");function G1(e,t,a,n){return new zee(e).build(t,a,n)}var Lg="",zee=class{constructor(e){s(this,"_driver");this._driver=e}build(e,t,a){let n=new qee(t);return this._resetContextStyleTimingState(n),xn(this,co(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=Lg,e.collectedStyles=new Map,e.collectedStyles.set(Lg,new Map),e.currentTime=0}visitTrigger(e,t){let a=t.queryCount=0,n=t.depCount=0,r=[],i=[];return e.name.charAt(0)=="@"&&t.errors.push(KJ()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==Ne.State){let l=o,u=l.name;u.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,r.push(this.visitState(l,t))}),l.name=u}else if(o.type==Ne.Transition){let l=this.visitTransition(o,t);a+=l.queryCount,n+=l.depCount,i.push(l)}else t.errors.push(QJ())}),{type:Ne.Trigger,name:e.name,states:r,transitions:i,queryCount:a,depCount:n,options:null}}visitState(e,t){let a=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(a.containsDynamicStyles){let r=new Set,i=n||{};a.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{q1(l).forEach(u=>{i.hasOwnProperty(u)||r.add(u)})})}),r.size&&t.errors.push(XJ(e.name,[...r.values()]))}return{type:Ne.State,name:e.name,style:a,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let a=xn(this,co(e.animation),t),n=Lee(e.expr,t.errors);return{type:Ne.Transition,matchers:n,animation:a,queryCount:t.queryCount,depCount:t.depCount,options:kr(e.options)}}visitSequence(e,t){return{type:Ne.Sequence,steps:e.steps.map(a=>xn(this,a,t)),options:kr(e.options)}}visitGroup(e,t){let a=t.currentTime,n=0,r=e.steps.map(i=>{t.currentTime=a;let o=xn(this,i,t);return n=Math.max(n,t.currentTime),o});return t.currentTime=n,{type:Ne.Group,steps:r,options:kr(e.options)}}visitAnimate(e,t){let a=Uee(e.timings,t.errors);t.currentAnimateTimings=a;let n,r=e.styles?e.styles:Rg({});if(r.type==Ne.Keyframes)n=this.visitKeyframes(r,t);else{let i=e.styles,o=!1;if(!i){o=!0;let u={};a.easing&&(u.easing=a.easing),i=Rg(u)}t.currentTime+=a.duration+a.delay;let l=this.visitStyle(i,t);l.isEmptyStep=o,n=l}return t.currentAnimateTimings=null,{type:Ne.Animate,timings:a,style:n,options:null}}visitStyle(e,t){let a=this._makeStyleAst(e,t);return this._validateStyleAst(a,t),a}_makeStyleAst(e,t){let a=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of n)typeof o=="string"?o===La?a.push(o):t.errors.push(JJ()):a.push(new Map(Object.entries(o)));let r=!1,i=null;return a.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(i=o.get("easing"),o.delete("easing")),!r)){for(let l of o.values())if(l.toString().indexOf(B1)>=0){r=!0;break}}}),{type:Ne.Style,styles:a,easing:i,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let a=t.currentAnimateTimings,n=t.currentTime,r=t.currentTime;a&&r>0&&(r-=a.duration+a.delay),e.styles.forEach(i=>{typeof i!="string"&&i.forEach((o,l)=>{let u=t.collectedStyles.get(t.currentQuerySelector),c=u.get(l),d=!0;c&&(r!=n&&r>=c.startTime&&n<=c.endTime&&(t.errors.push(eee(l,c.startTime,c.endTime)),d=!1),r=c.startTime),d&&u.set(l,{startTime:r,endTime:n}),t.options&&Tee(o,t.options,t.errors)})})}visitKeyframes(e,t){let a={type:Ne.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(tee()),a;let n=1,r=0,i=[],o=!1,l=!1,u=0,c=e.steps.map(k=>{let D=this._makeStyleAst(k,t),N=D.offset!=null?D.offset:$ee(D.styles),O=0;return N!=null&&(r++,O=D.offset=N),l=l||O<0||O>1,o=o||O<u,u=O,i.push(O),D});l&&t.errors.push(nee()),o&&t.errors.push(aee());let d=e.steps.length,m=0;r>0&&r<d?t.errors.push(ree()):r==0&&(m=n/(d-1));let v=d-1,g=t.currentTime,w=t.currentAnimateTimings,x=w.duration;return c.forEach((k,D)=>{let N=m>0?D==v?1:m*D:i[D],O=N*x;t.currentTime=g+w.delay+O,w.duration=O,this._validateStyleAst(k,t),k.offset=N,a.styles.push(k)}),a}visitReference(e,t){return{type:Ne.Reference,animation:xn(this,co(e.animation),t),options:kr(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:Ne.AnimateChild,options:kr(e.options)}}visitAnimateRef(e,t){return{type:Ne.AnimateRef,animation:this.visitReference(e.animation,t),options:kr(e.options)}}visitQuery(e,t){let a=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;let[r,i]=Bee(e.selector);t.currentQuerySelector=a.length?a+" "+r:r,Sn(t.collectedStyles,t.currentQuerySelector,new Map);let o=xn(this,co(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=a,{type:Ne.Query,selector:r,limit:n.limit||0,optional:!!n.optional,includeSelf:i,animation:o,originalSelector:e.selector,options:kr(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(iee());let a=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Gl(e.timings,t.errors,!0);return{type:Ne.Stagger,animation:xn(this,co(e.animation),t),timings:a,options:null}}};function Bee(e){let t=!!e.split(/\s*,\s*/).find(a=>a==U1);return t&&(e=e.replace(Vee,"")),e=e.replace(/@\*/g,Ul).replace(/@\w+/g,a=>Ul+"-"+a.slice(1)).replace(/:animating/g,Yd),[e,t]}function Hee(e){return e?ue({},e):null}var qee=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 $ee(e){if(typeof e=="string")return null;let t=null;if(Array.isArray(e))e.forEach(a=>{if(a instanceof Map&&a.has("offset")){let n=a;t=parseFloat(n.get("offset")),n.delete("offset")}});else if(e instanceof Map&&e.has("offset")){let a=e;t=parseFloat(a.get("offset")),a.delete("offset")}return t}function Uee(e,t){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let r=Gl(e,t).duration;return Pc(r,0,"")}let a=e;if(a.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=Pc(0,0,"");return r.dynamic=!0,r.strValue=a,r}let n=Gl(a,t);return Pc(n.duration,n.delay,n.easing)}function kr(e){return e?(e=ue({},e),e.params&&(e.params=Hee(e.params))):e={},e}function Pc(e,t,a){return{duration:e,delay:t,easing:a}}function cm(e,t,a,n,r,i,o=null,l=!1){return{type:1,element:e,keyframes:t,preStyleProps:a,postStyleProps:n,duration:r,delay:i,totalTime:r+i,easing:o,subTimeline:l}}var dm=class{constructor(){s(this,"_map",new Map)}get(e){return this._map.get(e)||[]}append(e,t){let a=this._map.get(e);a||this._map.set(e,a=[]),a.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Gee=1,Wee=":enter",Zee=new RegExp(Wee,"g"),Yee=":leave",Kee=new RegExp(Yee,"g");function W1(e,t,a,n,r,i=new Map,o=new Map,l,u,c=[]){return new Qee().buildKeyframes(e,t,a,n,r,i,o,l,u,c)}var Qee=class{buildKeyframes(e,t,a,n,r,i,o,l,u,c=[]){u=u||new dm;let d=new Xee(e,t,u,n,r,c,[]);d.options=l;let m=l.delay?Oa(l.delay):0;d.currentTimeline.delayNextStep(m),d.currentTimeline.setStyles([i],null,d.errors,l),xn(this,a,d);let v=d.timelines.filter(g=>g.containsAnimation());if(v.length&&o.size){let g;for(let w=v.length-1;w>=0;w--){let x=v[w];if(x.element===t){g=x;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([o],null,d.errors,l)}return v.length?v.map(g=>g.buildKeyframes()):[cm(t,[],[],[],0,m,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let a=t.subInstructions.get(t.element);if(a){let n=t.createSubContext(e.options),r=t.currentTimeline.currentTime,i=this._visitSubInstructions(a,n,n.options);r!=i&&t.transformIntoNewTimeline(i)}t.previousNode=e}visitAnimateRef(e,t){let a=t.createSubContext(e.options);a.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,a),this.visitReference(e.animation,a),t.transformIntoNewTimeline(a.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,a){for(let n of e){let r=n==null?void 0:n.delay;if(r){let i=typeof r=="number"?r:Oa(Wo(r,(n==null?void 0:n.params)??{},t.errors));a.delayNextStep(i)}}}_visitSubInstructions(e,t,a){let n=t.currentTimeline.currentTime,r=a.duration!=null?Oa(a.duration):null,i=a.delay!=null?Oa(a.delay):null;return r!==0&&e.forEach(o=>{let l=t.appendInstructionToTimeline(o,r,i);n=Math.max(n,l.duration+l.delay)}),n}visitReference(e,t){t.updateOptions(e.options,!0),xn(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let a=t.subContextCount,n=t,r=e.options;if(r&&(r.params||r.delay)&&(n=t.createSubContext(r),n.transformIntoNewTimeline(),r.delay!=null)){n.previousNode.type==Ne.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Zl);let i=Oa(r.delay);n.delayNextStep(i)}e.steps.length&&(e.steps.forEach(i=>xn(this,i,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>a&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let a=[],n=t.currentTimeline.currentTime,r=e.options&&e.options.delay?Oa(e.options.delay):0;e.steps.forEach(i=>{let o=t.createSubContext(e.options);r&&o.delayNextStep(r),xn(this,i,o),n=Math.max(n,o.currentTimeline.currentTime),a.push(o.currentTimeline)}),a.forEach(i=>t.currentTimeline.mergeTimelineCollectedStyles(i)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let a=e.strValue,n=t.params?Wo(a,t.params,t.errors):a;return Gl(n,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let a=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;a.delay&&(t.incrementTime(a.delay),n.snapshotCurrentStyles());let r=e.style;r.type==Ne.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(a.duration),this.visitStyle(r,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let a=t.currentTimeline,n=t.currentAnimateTimings;!n&&a.hasCurrentStyleProperties()&&a.forwardFrame();let r=n&&n.easing||e.easing;e.isEmptyStep?a.applyEmptyStep(r):a.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let a=t.currentAnimateTimings,n=t.currentTimeline.duration,r=a.duration,i=t.createSubContext().currentTimeline;i.easing=a.easing,e.styles.forEach(o=>{let l=o.offset||0;i.forwardTime(l*r),i.setStyles(o.styles,o.easing,t.errors,t.options),i.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(i),t.transformIntoNewTimeline(n+r),t.previousNode=e}visitQuery(e,t){let a=t.currentTimeline.currentTime,n=e.options||{},r=n.delay?Oa(n.delay):0;r&&(t.previousNode.type===Ne.Style||a==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Zl);let i=a,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((u,c)=>{t.currentQueryIndex=c;let d=t.createSubContext(e.options,u);r&&d.delayNextStep(r),u===t.element&&(l=d.currentTimeline),xn(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe();let m=d.currentTimeline.currentTime;i=Math.max(i,m)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(i),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let a=t.parentContext,n=t.currentTimeline,r=e.timings,i=Math.abs(r.duration),o=i*(t.currentQueryTotal-1),l=i*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=a.currentStaggerTime;break}let u=t.currentTimeline;l&&u.delayNextStep(l);let c=u.currentTime;xn(this,e.animation,t),t.previousNode=e,a.currentStaggerTime=n.currentTime-c+(n.startTime-a.currentTimeline.startTime)}},Zl={},Xee=class Z1{constructor(t,a,n,r,i,o,l,u){s(this,"_driver");s(this,"element");s(this,"subInstructions");s(this,"_enterClassName");s(this,"_leaveClassName");s(this,"errors");s(this,"timelines");s(this,"parentContext",null);s(this,"currentTimeline");s(this,"currentAnimateTimings",null);s(this,"previousNode",Zl);s(this,"subContextCount",0);s(this,"options",{});s(this,"currentQueryIndex",0);s(this,"currentQueryTotal",0);s(this,"currentStaggerTime",0);this._driver=t,this.element=a,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=l,this.currentTimeline=u||new Y1(this._driver,a,0),l.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,a){if(!t)return;let n=t,r=this.options;n.duration!=null&&(r.duration=Oa(n.duration)),n.delay!=null&&(r.delay=Oa(n.delay));let i=n.params;if(i){let o=r.params;o||(o=this.options.params={}),Object.keys(i).forEach(l=>{(!a||!o.hasOwnProperty(l))&&(o[l]=Wo(i[l],o,this.errors))})}}_copyOptions(){let t={};if(this.options){let a=this.options.params;if(a){let n=t.params={};Object.keys(a).forEach(r=>{n[r]=a[r]})}}return t}createSubContext(t=null,a,n){let r=a||this.element,i=new Z1(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(t),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(t){return this.previousNode=Zl,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,a,n){let r={duration:a??t.duration,delay:this.currentTimeline.currentTime+(n??0)+t.delay,easing:""},i=new Jee(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(i),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,a,n,r,i,o){let l=[];if(r&&l.push(this.element),t.length>0){t=t.replace(Zee,"."+this._enterClassName),t=t.replace(Kee,"."+this._leaveClassName);let u=n!=1,c=this._driver.query(this.element,t,u);n!==0&&(c=n<0?c.slice(c.length+n,c.length):c.slice(0,n)),l.push(...c)}return!i&&l.length==0&&o.push(oee()),l}},Y1=class K1{constructor(t,a,n,r){s(this,"_driver");s(this,"element");s(this,"startTime");s(this,"_elementTimelineStylesLookup");s(this,"duration",0);s(this,"easing",null);s(this,"_previousKeyframe",new Map);s(this,"_currentKeyframe",new Map);s(this,"_keyframes",new Map);s(this,"_styleSummary",new Map);s(this,"_localTimelineStyles",new Map);s(this,"_globalTimelineStyles");s(this,"_pendingStyles",new Map);s(this,"_backFill",new Map);s(this,"_currentEmptyStepKeyframe",null);this._driver=t,this.element=a,this.startTime=n,this._elementTimelineStylesLookup=r,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(a),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(a,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){let a=this._keyframes.size===1&&this._pendingStyles.size;this.duration||a?(this.forwardTime(this.currentTime+t),a&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,a){return this.applyStylesToKeyframe(),new K1(this._driver,t,a||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Gee,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,a){this._localTimelineStyles.set(t,a),this._globalTimelineStyles.set(t,a),this._styleSummary.set(t,{time:this.currentTime,value:a})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[a,n]of this._globalTimelineStyles)this._backFill.set(a,n||La),this._currentKeyframe.set(a,La);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,a,n,r){a&&this._previousKeyframe.set("easing",a);let i=r&&r.params||{},o=ete(t,this._globalTimelineStyles);for(let[l,u]of o){let c=Wo(u,i,n);this._pendingStyles.set(l,c),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??La),this._updateStyle(l,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,a)=>{this._currentKeyframe.set(a,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,a)=>{this._currentKeyframe.has(a)||this._currentKeyframe.set(a,t)}))}snapshotCurrentStyles(){for(let[t,a]of this._localTimelineStyles)this._pendingStyles.set(t,a),this._updateStyle(t,a)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let a in this._currentKeyframe)t.push(a);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((a,n)=>{let r=this._styleSummary.get(n);(!r||a.time>r.time)&&this._updateStyle(n,a.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,a=new Set,n=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((l,u)=>{let c=new Map([...this._backFill,...l]);c.forEach((d,m)=>{d===am?t.add(m):d===La&&a.add(m)}),n||c.set("offset",u/this.duration),r.push(c)});let i=[...t.values()],o=[...a.values()];if(n){let l=r[0],u=new Map(l);l.set("offset",0),u.set("offset",1),r=[l,u]}return cm(this.element,r,i,o,this.duration,this.startTime,this.easing,!1)}},Jee=class extends Y1{constructor(t,a,n,r,i,o,l=!1){super(t,a,o.delay);s(this,"keyframes");s(this,"preStyleProps");s(this,"postStyleProps");s(this,"_stretchStartingKeyframe");s(this,"timings");this.keyframes=n,this.preStyleProps=r,this.postStyleProps=i,this._stretchStartingKeyframe=l,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:a,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&a){let i=[],o=n+a,l=a/o,u=new Map(t[0]);u.set("offset",0),i.push(u);let c=new Map(t[0]);c.set("offset",Fg(l)),i.push(c);let d=t.length-1;for(let m=1;m<=d;m++){let v=new Map(t[m]),g=v.get("offset"),w=a+g*n;v.set("offset",Fg(w/o)),i.push(v)}n=o,a=0,r="",t=i}return cm(this.element,t,this.preStyleProps,this.postStyleProps,n,a,r,!0)}};function Fg(e,t=3){let a=Math.pow(10,t-1);return Math.round(e*a)/a}function ete(e,t){let a=new Map,n;return e.forEach(r=>{if(r==="*"){n??(n=t.keys());for(let i of n)a.set(i,La)}else for(let[i,o]of r)a.set(i,o)}),a}function jg(e,t,a,n,r,i,o,l,u,c,d,m,v){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:a,fromStyles:i,toState:n,toStyles:o,timelines:l,queriedElements:u,preStyleProps:c,postStyleProps:d,totalTime:m,errors:v}}var Lc={},Q1=class{constructor(e,t,a){s(this,"_triggerName");s(this,"ast");s(this,"_stateStyles");this._triggerName=e,this.ast=t,this._stateStyles=a}match(e,t,a,n){return tte(this.ast.matchers,e,t,a,n)}buildStyles(e,t,a){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e==null?void 0:e.toString())||n),n?n.buildStyles(t,a):new Map}build(e,t,a,n,r,i,o,l,u,c){var Ot;let d=[],m=this.ast.options&&this.ast.options.params||Lc,v=o&&o.params||Lc,g=this.buildStyles(a,v,d),w=l&&l.params||Lc,x=this.buildStyles(n,w,d),k=new Set,D=new Map,N=new Map,O=n==="void",J={params:X1(w,m),delay:(Ot=this.ast.options)==null?void 0:Ot.delay},le=c?[]:W1(e,t,this.ast.animation,r,i,g,x,J,u,d),_e=0;return le.forEach(_t=>{_e=Math.max(_t.duration+_t.delay,_e)}),d.length?jg(t,this._triggerName,a,n,O,g,x,[],[],D,N,_e,d):(le.forEach(_t=>{let nt=_t.element,Ct=Sn(D,nt,new Set);_t.preStyleProps.forEach(G=>Ct.add(G));let X=Sn(N,nt,new Set);_t.postStyleProps.forEach(G=>X.add(G)),nt!==t&&k.add(nt)}),jg(t,this._triggerName,a,n,O,g,x,le,[...k.values()],D,N,_e))}};function tte(e,t,a,n,r){return e.some(i=>i(t,a,n,r))}function X1(e,t){let a=ue({},t);return Object.entries(e).forEach(([n,r])=>{r!=null&&(a[n]=r)}),a}var nte=class{constructor(e,t,a){s(this,"styles");s(this,"defaultParams");s(this,"normalizer");this.styles=e,this.defaultParams=t,this.normalizer=a}buildStyles(e,t){let a=new Map,n=X1(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((i,o)=>{i&&(i=Wo(i,n,t));let l=this.normalizer.normalizePropertyName(o,t);i=this.normalizer.normalizeStyleValue(o,l,i,t),a.set(o,i)})}),a}};function ate(e,t,a){return new rte(e,t,a)}var rte=class{constructor(e,t,a){s(this,"name");s(this,"ast");s(this,"_normalizer");s(this,"transitionFactories",[]);s(this,"fallbackTransition");s(this,"states",new Map);this.name=e,this.ast=t,this._normalizer=a,t.states.forEach(n=>{let r=n.options&&n.options.params||{};this.states.set(n.name,new nte(n.style,r,a))}),Vg(this.states,"true","1"),Vg(this.states,"false","0"),t.transitions.forEach(n=>{this.transitionFactories.push(new Q1(e,n,this.states))}),this.fallbackTransition=ite(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,a,n){return this.transitionFactories.find(r=>r.match(e,t,a,n))||null}matchStyles(e,t,a){return this.fallbackTransition.buildStyles(e,t,a)}};function ite(e,t,a){let n=[(o,l)=>!0],r={type:Ne.Sequence,steps:[],options:null},i={type:Ne.Transition,animation:r,matchers:n,options:null,queryCount:0,depCount:0};return new Q1(e,i,t)}function Vg(e,t,a){e.has(t)?e.has(a)||e.set(a,e.get(t)):e.has(a)&&e.set(t,e.get(a))}var ote=new dm,ste=class{constructor(e,t,a){s(this,"bodyNode");s(this,"_driver");s(this,"_normalizer");s(this,"_animations",new Map);s(this,"_playersById",new Map);s(this,"players",[]);this.bodyNode=e,this._driver=t,this._normalizer=a}register(e,t){let a=[],n=[],r=G1(this._driver,t,a,n);if(a.length)throw dee();this._animations.set(e,r)}_buildPlayer(e,t,a){let n=e.element,r=j1(this._normalizer,e.keyframes,t,a);return this._driver.animate(n,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,a={}){let n=[],r=this._animations.get(e),i,o=new Map;if(r?(i=W1(this._driver,t,r,H1,Zd,new Map,new Map,a,ote,n),i.forEach(c=>{let d=Sn(o,c.element,new Map);c.postStyleProps.forEach(m=>d.set(m,null))})):(n.push(hee()),i=[]),n.length)throw pee();o.forEach((c,d)=>{c.forEach((m,v)=>{c.set(v,this._driver.computeStyle(d,v,La))})});let l=i.map(c=>{let d=o.get(c.element);return this._buildPlayer(c,new Map,d)}),u=Xa(l);return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let a=this.players.indexOf(t);a>=0&&this.players.splice(a,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw mee();return t}listen(e,t,a,n){let r=im(t,"","","");return rm(this._getPlayer(e),a,r,n),()=>{}}command(e,t,a,n){if(a=="register"){this.register(e,n[0]);return}if(a=="create"){let i=n[0]||{};this.create(e,t,i);return}let r=this._getPlayer(e);switch(a){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e);break}}},zg="ng-animate-queued",lte=".ng-animate-queued",Fc="ng-animate-disabled",ute=".ng-animate-disabled",cte="ng-star-inserted",dte=".ng-star-inserted",hte=[],J1={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},pte={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},qn="__ng_removed",Xd=class{constructor(e,t=""){s(this,"namespaceId");s(this,"value");s(this,"options");this.namespaceId=t;let a=e&&e.hasOwnProperty("value"),n=a?e.value:e;if(this.value=vte(n),a){let r=e,{value:i}=r,o=cq(r,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){let t=e.params;if(t){let a=this.options.params;Object.keys(t).forEach(n=>{a[n]==null&&(a[n]=t[n])})}}},ko="void",jc=new Xd(ko),mte=class{constructor(e,t,a){s(this,"id");s(this,"hostElement");s(this,"_engine");s(this,"players",[]);s(this,"_triggers",new Map);s(this,"_queue",[]);s(this,"_elementListeners",new Map);s(this,"_hostClassName");this.id=e,this.hostElement=t,this._engine=a,this._hostClassName="ng-tns-"+e,Mn(t,this._hostClassName)}listen(e,t,a,n){if(!this._triggers.has(t))throw fee();if(a==null||a.length==0)throw gee();if(!bte(a))throw vee();let r=Sn(this._elementListeners,e,[]),i={name:t,phase:a,callback:n};r.push(i);let o=Sn(this._engine.statesByElement,e,new Map);return o.has(t)||(Mn(e,Gs),Mn(e,Gs+"-"+t),o.set(t,jc)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(i);l>=0&&r.splice(l,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw bee();return t}trigger(e,t,a,n=!0){let r=this._getTrigger(t),i=new Jd(this.id,t,e),o=this._engine.statesByElement.get(e);o||(Mn(e,Gs),Mn(e,Gs+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),u=new Xd(a,this.id);if(!(a&&a.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),o.set(t,u),l||(l=jc),u.value!==ko&&l.value===u.value){if(!wte(l.params,u.params)){let v=[],g=r.matchStyles(l.value,l.params,v),w=r.matchStyles(u.value,u.params,v);v.length?this._engine.reportError(v):this._engine.afterFlush(()=>{Or(e,g),ia(e,w)})}return}let c=Sn(this._engine.playersByElement,e,[]);c.forEach(v=>{v.namespaceId==this.id&&v.triggerName==t&&v.queued&&v.destroy()});let d=r.matchTransition(l.value,u.value,e,u.params),m=!1;if(!d){if(!n)return;d=r.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:l,toState:u,player:i,isFallbackTransition:m}),m||(Mn(e,zg),i.onStart(()=>{si(e,zg)})),i.onDone(()=>{let v=this.players.indexOf(i);v>=0&&this.players.splice(v,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),c.push(i),i}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,a)=>{this._elementListeners.set(a,t.filter(n=>n.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(a=>a.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let a=this._engine.driver.query(e,Ul,!0);a.forEach(n=>{if(n[qn])return;let r=this._engine.fetchNamespacesByElement(n);r.size?r.forEach(i=>i.triggerLeaveAnimation(n,t,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>a.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,t,a,n){let r=this._engine.statesByElement.get(e),i=new Map;if(r){let o=[];if(r.forEach((l,u)=>{if(i.set(u,l.value),this._triggers.has(u)){let c=this.trigger(e,u,ko,n);c&&o.push(c)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,i),a&&Xa(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),a=this._engine.statesByElement.get(e);if(t&&a){let n=new Set;t.forEach(r=>{let i=r.name;if(n.has(i))return;n.add(i);let o=this._triggers.get(i).fallbackTransition,l=a.get(i)||jc,u=new Xd(ko),c=new Jd(this.id,i,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:o,fromState:l,toState:u,player:c,isFallbackTransition:!0})})}}removeNode(e,t){let a=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(a.totalAnimations){let r=a.players.length?a.playersByQueriedElement.get(e):[];if(r&&r.length)n=!0;else{let i=e;for(;i=i.parentNode;)if(a.statesByElement.get(i)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)a.markElementAsRemoved(this.id,e,!1,t);else{let r=e[qn];(!r||r===J1)&&(a.afterFlush(()=>this.clearElementCache(e)),a.destroyInnerAnimations(e),a._onRemovalComplete(e,t))}}insertNode(e,t){Mn(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(a=>{let n=a.player;if(n.destroyed)return;let r=a.element,i=this._elementListeners.get(r);i&&i.forEach(o=>{if(o.name==a.triggerName){let l=im(r,a.triggerName,a.fromState.value,a.toState.value);l._data=e,rm(a.player,o.phase,l,o.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(a)}),this._queue=[],t.sort((a,n)=>{let r=a.transition.ast.depCount,i=n.transition.ast.depCount;return r==0||i==0?r-i:this._engine.driver.containsElement(a.element,n.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},fte=class{constructor(e,t,a){s(this,"bodyNode");s(this,"driver");s(this,"_normalizer");s(this,"players",[]);s(this,"newHostElements",new Map);s(this,"playersByElement",new Map);s(this,"playersByQueriedElement",new Map);s(this,"statesByElement",new Map);s(this,"disabledNodes",new Set);s(this,"totalAnimations",0);s(this,"totalQueuedPlayers",0);s(this,"_namespaceLookup",{});s(this,"_namespaceList",[]);s(this,"_flushFns",[]);s(this,"_whenQuietFns",[]);s(this,"namespacesByHostElement",new Map);s(this,"collectedEnterElements",[]);s(this,"collectedLeaveElements",[]);s(this,"onRemovalComplete",(e,t)=>{});this.bodyNode=e,this.driver=t,this._normalizer=a}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(a=>{a.queued&&e.push(a)})}),e}createNamespace(e,t){let a=new mte(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(a,t):(this.newHostElements.set(t,a),this.collectEnterElement(t)),this._namespaceLookup[e]=a}_balanceNamespaceList(e,t){let a=this._namespaceList,n=this.namespacesByHostElement;if(a.length-1>=0){let r=!1,i=this.driver.getParentElement(t);for(;i;){let o=n.get(i);if(o){let l=a.indexOf(o);a.splice(l+1,0,e),r=!0;break}i=this.driver.getParentElement(i)}r||a.unshift(e)}else a.push(e);return n.set(t,e),e}register(e,t){let a=this._namespaceLookup[e];return a||(a=this.createNamespace(e,t)),a}registerTrigger(e,t,a){let n=this._namespaceLookup[e];n&&n.register(t,a)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let a=this._fetchNamespace(e);this.namespacesByHostElement.delete(a.hostElement);let n=this._namespaceList.indexOf(a);n>=0&&this._namespaceList.splice(n,1),a.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,a=this.statesByElement.get(e);if(a){for(let n of a.values())if(n.namespaceId){let r=this._fetchNamespace(n.namespaceId);r&&t.add(r)}}return t}trigger(e,t,a,n){if(Ys(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,a,n),!0}return!1}insertNode(e,t,a,n){if(!Ys(t))return;let r=t[qn];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let i=this.collectedLeaveElements.indexOf(t);i>=0&&this.collectedLeaveElements.splice(i,1)}if(e){let i=this._fetchNamespace(e);i&&i.insertNode(t,a)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Mn(e,Fc)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),si(e,Fc))}removeNode(e,t,a){if(Ys(t)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(t,a):this.markElementAsRemoved(e,t,!1,a);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,a)}else this._onRemovalComplete(t,a)}markElementAsRemoved(e,t,a,n,r){this.collectedLeaveElements.push(t),t[qn]={namespaceId:e,setForRemoval:n,hasAnimation:a,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,a,n,r){return Ys(t)?this._fetchNamespace(e).listen(t,a,n,r):()=>{}}_buildInstruction(e,t,a,n,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,a,n,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,Ul,!0);t.forEach(a=>this.destroyActiveAnimationsForElement(a)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Yd,!0),t.forEach(a=>this.finishActiveQueriedAnimationOnElement(a)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(a=>{a.queued?a.markedForDestroy=!0:a.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(a=>a.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Xa(this.players).onDone(()=>e());e()})}processLeaveNode(e){var a;let t=e[qn];if(t&&t.setForRemoval){if(e[qn]=J1,t.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}(a=e.classList)!=null&&a.contains(Fc)&&this.markElementAsDisabled(e,!1),this.driver.query(e,ute,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((a,n)=>this._balanceNamespaceList(a,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let a=0;a<this.collectedEnterElements.length;a++){let n=this.collectedEnterElements[a];Mn(n,cte)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let a=[];try{t=this._flushAnimations(a,e)}finally{for(let n=0;n<a.length;n++)a[n]()}}else for(let a=0;a<this.collectedLeaveElements.length;a++){let n=this.collectedLeaveElements[a];this.processLeaveNode(n)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(a=>a()),this._flushFns=[],this._whenQuietFns.length){let a=this._whenQuietFns;this._whenQuietFns=[],t.length?Xa(t).onDone(()=>{a.forEach(n=>n())}):a.forEach(n=>n())}}reportError(e){throw yee()}_flushAnimations(e,t){let a=new dm,n=[],r=new Map,i=[],o=new Map,l=new Map,u=new Map,c=new Set;this.disabledNodes.forEach(F=>{c.add(F);let H=this.driver.query(F,lte,!0);for(let Y=0;Y<H.length;Y++)c.add(H[Y])});let d=this.bodyNode,m=Array.from(this.statesByElement.keys()),v=qg(m,this.collectedEnterElements),g=new Map,w=0;v.forEach((F,H)=>{let Y=H1+w++;g.set(H,Y),F.forEach(Ie=>Mn(Ie,Y))});let x=[],k=new Set,D=new Set;for(let F=0;F<this.collectedLeaveElements.length;F++){let H=this.collectedLeaveElements[F],Y=H[qn];Y&&Y.setForRemoval&&(x.push(H),k.add(H),Y.hasAnimation?this.driver.query(H,dte,!0).forEach(Ie=>k.add(Ie)):D.add(H))}let N=new Map,O=qg(m,Array.from(k));O.forEach((F,H)=>{let Y=Zd+w++;N.set(H,Y),F.forEach(Ie=>Mn(Ie,Y))}),e.push(()=>{v.forEach((F,H)=>{let Y=g.get(H);F.forEach(Ie=>si(Ie,Y))}),O.forEach((F,H)=>{let Y=N.get(H);F.forEach(Ie=>si(Ie,Y))}),x.forEach(F=>{this.processLeaveNode(F)})});let J=[],le=[];for(let F=this._namespaceList.length-1;F>=0;F--)this._namespaceList[F].drainQueuedTransitions(t).forEach(H=>{let Y=H.player,Ie=H.element;if(J.push(Y),this.collectedEnterElements.length){let at=Ie[qn];if(at&&at.setForMove){if(at.previousTriggersValues&&at.previousTriggersValues.has(H.triggerName)){let Xt=at.previousTriggersValues.get(H.triggerName),Mt=this.statesByElement.get(H.element);if(Mt&&Mt.has(H.triggerName)){let Jn=Mt.get(H.triggerName);Jn.value=Xt,Mt.set(H.triggerName,Jn)}}Y.destroy();return}}let Xe=!d||!this.driver.containsElement(d,Ie),Qt=N.get(Ie),Me=g.get(Ie),Ve=this._buildInstruction(H,a,Me,Qt,Xe);if(Ve.errors&&Ve.errors.length){le.push(Ve);return}if(Xe){Y.onStart(()=>Or(Ie,Ve.fromStyles)),Y.onDestroy(()=>ia(Ie,Ve.toStyles)),n.push(Y);return}if(H.isFallbackTransition){Y.onStart(()=>Or(Ie,Ve.fromStyles)),Y.onDestroy(()=>ia(Ie,Ve.toStyles)),n.push(Y);return}let ft=[];Ve.timelines.forEach(at=>{at.stretchStartingKeyframe=!0,this.disabledNodes.has(at.element)||ft.push(at)}),Ve.timelines=ft,a.append(Ie,Ve.timelines);let Vn={instruction:Ve,player:Y,element:Ie};i.push(Vn),Ve.queriedElements.forEach(at=>Sn(o,at,[]).push(Y)),Ve.preStyleProps.forEach((at,Xt)=>{if(at.size){let Mt=l.get(Xt);Mt||l.set(Xt,Mt=new Set),at.forEach((Jn,$a)=>Mt.add($a))}}),Ve.postStyleProps.forEach((at,Xt)=>{let Mt=u.get(Xt);Mt||u.set(Xt,Mt=new Set),at.forEach((Jn,$a)=>Mt.add($a))})});if(le.length){let F=[];le.forEach(H=>{F.push(_ee(H.triggerName,H.errors))}),J.forEach(H=>H.destroy()),this.reportError(F)}let _e=new Map,Ot=new Map;i.forEach(F=>{let H=F.element;a.has(H)&&(Ot.set(H,H),this._beforeAnimationBuild(F.player.namespaceId,F.instruction,_e))}),n.forEach(F=>{let H=F.element;this._getPreviousPlayers(H,!1,F.namespaceId,F.triggerName,null).forEach(Y=>{Sn(_e,H,[]).push(Y),Y.destroy()})});let _t=x.filter(F=>$g(F,l,u)),nt=new Map;Hg(nt,this.driver,D,u,La).forEach(F=>{$g(F,l,u)&&_t.push(F)});let Ct=new Map;v.forEach((F,H)=>{Hg(Ct,this.driver,new Set(F),l,am)}),_t.forEach(F=>{let H=nt.get(F),Y=Ct.get(F);nt.set(F,new Map([...(H==null?void 0:H.entries())??[],...(Y==null?void 0:Y.entries())??[]]))});let X=[],G=[],xe={};i.forEach(F=>{let{element:H,player:Y,instruction:Ie}=F;if(a.has(H)){if(c.has(H)){Y.onDestroy(()=>ia(H,Ie.toStyles)),Y.disabled=!0,Y.overrideTotalTime(Ie.totalTime),n.push(Y);return}let Xe=xe;if(Ot.size>1){let Me=H,Ve=[];for(;Me=Me.parentNode;){let ft=Ot.get(Me);if(ft){Xe=ft;break}Ve.push(Me)}Ve.forEach(ft=>Ot.set(ft,Xe))}let Qt=this._buildAnimation(Y.namespaceId,Ie,_e,r,Ct,nt);if(Y.setRealPlayer(Qt),Xe===xe)X.push(Y);else{let Me=this.playersByElement.get(Xe);Me&&Me.length&&(Y.parentPlayer=Xa(Me)),n.push(Y)}}else Or(H,Ie.fromStyles),Y.onDestroy(()=>ia(H,Ie.toStyles)),G.push(Y),c.has(H)&&n.push(Y)}),G.forEach(F=>{let H=r.get(F.element);if(H&&H.length){let Y=Xa(H);F.setRealPlayer(Y)}}),n.forEach(F=>{F.parentPlayer?F.syncPlayerEvents(F.parentPlayer):F.destroy()});for(let F=0;F<x.length;F++){let H=x[F],Y=H[qn];if(si(H,Zd),Y&&Y.hasAnimation)continue;let Ie=[];if(o.size){let Qt=o.get(H);Qt&&Qt.length&&Ie.push(...Qt);let Me=this.driver.query(H,Yd,!0);for(let Ve=0;Ve<Me.length;Ve++){let ft=o.get(Me[Ve]);ft&&ft.length&&Ie.push(...ft)}}let Xe=Ie.filter(Qt=>!Qt.destroyed);Xe.length?yte(this,H,Xe):this.processLeaveNode(H)}return x.length=0,X.forEach(F=>{this.players.push(F),F.onDone(()=>{F.destroy();let H=this.players.indexOf(F);this.players.splice(H,1)}),F.play()}),X}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,a,n,r){let i=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(i=o)}else{let o=this.playersByElement.get(e);if(o){let l=!r||r==ko;o.forEach(u=>{u.queued||!l&&u.triggerName!=n||i.push(u)})}}return(a||n)&&(i=i.filter(o=>!(a&&a!=o.namespaceId||n&&n!=o.triggerName))),i}_beforeAnimationBuild(e,t,a){let n=t.triggerName,r=t.element,i=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:n;for(let l of t.timelines){let u=l.element,c=u!==r,d=Sn(a,u,[]);this._getPreviousPlayers(u,c,i,o,t.toState).forEach(m=>{let v=m.getRealPlayer();v.beforeDestroy&&v.beforeDestroy(),m.destroy(),d.push(m)})}Or(r,t.fromStyles)}_buildAnimation(e,t,a,n,r,i){let o=t.triggerName,l=t.element,u=[],c=new Set,d=new Set,m=t.timelines.map(g=>{let w=g.element;c.add(w);let x=w[qn];if(x&&x.removedBeforeQueried)return new Go(g.duration,g.delay);let k=w!==l,D=_te((a.get(w)||hte).map(_e=>_e.getRealPlayer())).filter(_e=>{let Ot=_e;return Ot.element?Ot.element===w:!1}),N=r.get(w),O=i.get(w),J=j1(this._normalizer,g.keyframes,N,O),le=this._buildPlayer(g,J,D);if(g.subTimeline&&n&&d.add(w),k){let _e=new Jd(e,o,w);_e.setRealPlayer(le),u.push(_e)}return le});u.forEach(g=>{Sn(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>gte(this.playersByQueriedElement,g.element,g))}),c.forEach(g=>Mn(g,Ag));let v=Xa(m);return v.onDestroy(()=>{c.forEach(g=>si(g,Ag)),ia(l,t.toStyles)}),d.forEach(g=>{Sn(n,g,[]).push(v)}),v}_buildPlayer(e,t,a){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,a):new Go(e.duration,e.delay)}},Jd=class{constructor(e,t,a){s(this,"namespaceId");s(this,"triggerName");s(this,"element");s(this,"_player",new Go);s(this,"_containsRealPlayer",!1);s(this,"_queuedCallbacks",new Map);s(this,"destroyed",!1);s(this,"parentPlayer",null);s(this,"markedForDestroy",!1);s(this,"disabled",!1);s(this,"queued",!0);s(this,"totalTime",0);this.namespaceId=e,this.triggerName=t,this.element=a}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,a)=>{t.forEach(n=>rm(e,a,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){Sn(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 gte(e,t,a){let n=e.get(t);if(n){if(n.length){let r=n.indexOf(a);n.splice(r,1)}n.length==0&&e.delete(t)}return n}function vte(e){return e??null}function Ys(e){return e&&e.nodeType===1}function bte(e){return e=="start"||e=="done"}function Bg(e,t){let a=e.style.display;return e.style.display=t??"none",a}function Hg(e,t,a,n,r){let i=[];a.forEach(u=>i.push(Bg(u)));let o=[];n.forEach((u,c)=>{let d=new Map;u.forEach(m=>{let v=t.computeStyle(c,m,r);d.set(m,v),(!v||v.length==0)&&(c[qn]=pte,o.push(c))}),e.set(c,d)});let l=0;return a.forEach(u=>Bg(u,i[l++])),o}function qg(e,t){let a=new Map;if(e.forEach(l=>a.set(l,[])),t.length==0)return a;let n=1,r=new Set(t),i=new Map;function o(l){if(!l)return n;let u=i.get(l);if(u)return u;let c=l.parentNode;return a.has(c)?u=c:r.has(c)?u=n:u=o(c),i.set(l,u),u}return t.forEach(l=>{let u=o(l);u!==n&&a.get(u).push(l)}),a}function Mn(e,t){var a;(a=e.classList)==null||a.add(t)}function si(e,t){var a;(a=e.classList)==null||a.remove(t)}function yte(e,t,a){Xa(a).onDone(()=>e.processLeaveNode(t))}function _te(e){let t=[];return ew(e,t),t}function ew(e,t){for(let a=0;a<e.length;a++){let n=e[a];n instanceof F1?ew(n.players,t):t.push(n)}}function wte(e,t){let a=Object.keys(e),n=Object.keys(t);if(a.length!=n.length)return!1;for(let r=0;r<a.length;r++){let i=a[r];if(!t.hasOwnProperty(i)||e[i]!==t[i])return!1}return!0}function $g(e,t,a){let n=a.get(e);if(!n)return!1;let r=t.get(e);return r?n.forEach(i=>r.add(i)):t.set(e,n),a.delete(e),!0}var eh=class{constructor(e,t,a){s(this,"_driver");s(this,"_normalizer");s(this,"_transitionEngine");s(this,"_timelineEngine");s(this,"_triggerCache",{});s(this,"onRemovalComplete",(e,t)=>{});this._driver=t,this._normalizer=a,this._transitionEngine=new fte(e.body,t,a),this._timelineEngine=new ste(e.body,t,a),this._transitionEngine.onRemovalComplete=(n,r)=>this.onRemovalComplete(n,r)}registerTrigger(e,t,a,n,r){let i=e+"-"+n,o=this._triggerCache[i];if(!o){let l=[],u=[],c=G1(this._driver,r,l,u);if(l.length)throw uee();o=ate(n,c,this._normalizer),this._triggerCache[i]=o}this._transitionEngine.registerTrigger(t,n,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,a,n){this._transitionEngine.insertNode(e,t,a,n)}onRemove(e,t,a){this._transitionEngine.removeNode(e,t,a)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,a,n){if(a.charAt(0)=="@"){let[r,i]=Og(a),o=n;this._timelineEngine.command(r,t,i,o)}else this._transitionEngine.trigger(e,t,a,n)}listen(e,t,a,n,r){if(a.charAt(0)=="@"){let[i,o]=Og(a);return this._timelineEngine.listen(i,t,o,r)}return this._transitionEngine.listen(e,t,a,n,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function xte(e,t){let a=null,n=null;return Array.isArray(t)&&t.length?(a=Vc(t[0]),t.length>1&&(n=Vc(t[t.length-1]))):t instanceof Map&&(a=Vc(t)),a||n?new Ete(e,a,n):null}var Ete=(()=>{const t=class t{constructor(n,r,i){s(this,"_element");s(this,"_startStyles");s(this,"_endStyles");s(this,"_state",0);s(this,"_initialStyles");this._element=n,this._startStyles=r,this._endStyles=i;let o=t.initialStylesByElement.get(n);o||t.initialStylesByElement.set(n,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&ia(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ia(this._element,this._initialStyles),this._endStyles&&(ia(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Or(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Or(this._element,this._endStyles),this._endStyles=null),ia(this._element,this._initialStyles),this._state=3)}};s(t,"initialStylesByElement",new WeakMap);let e=t;return e})();function Vc(e){let t=null;return e.forEach((a,n)=>{Ste(n)&&(t=t||new Map,t.set(n,a))}),t}function Ste(e){return e==="display"||e==="position"}var Ug=class{constructor(e,t,a,n){s(this,"element");s(this,"keyframes");s(this,"options");s(this,"_specialStyles");s(this,"_onDoneFns",[]);s(this,"_onStartFns",[]);s(this,"_onDestroyFns",[]);s(this,"_duration");s(this,"_delay");s(this,"_initialized",!1);s(this,"_finished",!1);s(this,"_started",!1);s(this,"_destroyed",!1);s(this,"_finalKeyframe");s(this,"_originalOnDoneFns",[]);s(this,"_originalOnStartFns",[]);s(this,"domPlayer");s(this,"time",0);s(this,"parentPlayer",null);s(this,"currentSnapshot",new Map);this.element=e,this.keyframes=t,this.options=a,this._specialStyles=n,this._duration=a.duration,this._delay=a.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(a=>{t.push(Object.fromEntries(a))}),t}_triggerWebAnimation(e,t,a){return e.animate(this._convertKeyframesToObject(t),a)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((t,a)=>{a!=="offset"&&e.set(a,this._finished?t:lm(this.element,a))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(a=>a()),t.length=0}},kte=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return V1(e,t)}getParentElement(e){return om(e)}query(e,t,a){return z1(e,t,a)}computeStyle(e,t,a){return lm(e,t)}animate(e,t,a,n,r,i=[]){let o=n==0?"both":"forwards",l={duration:a,delay:n,fill:o};r&&(l.easing=r);let u=new Map,c=i.filter(v=>v instanceof Ug);Nee(a,n)&&c.forEach(v=>{v.currentSnapshot.forEach((g,w)=>u.set(w,g))});let d=Iee(t).map(v=>new Map(v));d=Oee(e,d,u);let m=xte(e,d);return new Ug(e,d,l,m)}},gl="@",tw="@.disabled",nw=class{constructor(e,t,a,n){s(this,"namespaceId");s(this,"delegate");s(this,"engine");s(this,"_onDestroy");s(this,"ɵtype",0);this.namespaceId=e,this.delegate=t,this.engine=a,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(e){var t,a;(a=(t=this.delegate).destroyNode)==null||a.call(t,e)}destroy(){var e;this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),(e=this._onDestroy)==null||e.call(this)}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,a,n=!0){this.delegate.insertBefore(e,t,a),this.engine.onInsert(this.namespaceId,t,e,n)}removeChild(e,t,a){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,a,n){this.delegate.setAttribute(e,t,a,n)}removeAttribute(e,t,a){this.delegate.removeAttribute(e,t,a)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,a,n){this.delegate.setStyle(e,t,a,n)}removeStyle(e,t,a){this.delegate.removeStyle(e,t,a)}setProperty(e,t,a){t.charAt(0)==gl&&t==tw?this.disableAnimations(e,!!a):this.delegate.setProperty(e,t,a)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,a,n){return this.delegate.listen(e,t,a,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},Cte=class extends nw{constructor(t,a,n,r,i){super(a,n,r,i);s(this,"factory");this.factory=t,this.namespaceId=a}setProperty(t,a,n){a.charAt(0)==gl?a.charAt(1)=="."&&a==tw?(n=n===void 0?!0:!!n,this.disableAnimations(t,n)):this.engine.process(this.namespaceId,t,a.slice(1),n):this.delegate.setProperty(t,a,n)}listen(t,a,n,r){if(a.charAt(0)==gl){let i=Dte(t),o=a.slice(1),l="";return o.charAt(0)!=gl&&([o,l]=Ite(o)),this.engine.listen(this.namespaceId,i,o,l,u=>{let c=u._data||-1;this.factory.scheduleListenerCallback(c,n,u)})}return this.delegate.listen(t,a,n,r)}};function Dte(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function Ite(e){let t=e.indexOf("."),a=e.substring(0,t),n=e.slice(t+1);return[a,n]}var Tte=class{constructor(e,t,a){s(this,"delegate");s(this,"engine");s(this,"_zone");s(this,"_currentId",0);s(this,"_microtaskId",1);s(this,"_animationCallbacksBuffer",[]);s(this,"_rendererCache",new Map);s(this,"_cdRecurDepth",0);this.delegate=e,this.engine=t,this._zone=a,t.onRemovalComplete=(n,r)=>{r==null||r.removeChild(null,n)}}createRenderer(e,t){var l;let a="",n=this.delegate.createRenderer(e,t);if(!e||!((l=t==null?void 0:t.data)!=null&&l.animation)){let u=this._rendererCache,c=u.get(n);if(!c){let d=()=>u.delete(n);c=new nw(a,n,this.engine,d),u.set(n,c)}return c}let r=t.id,i=t.id+"-"+this._currentId;this._currentId++,this.engine.register(i,e);let o=u=>{Array.isArray(u)?u.forEach(o):this.engine.registerTrigger(r,i,e,u.name,u)};return t.data.animation.forEach(o),new Cte(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,a){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(a));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(r=>{let[i,o]=r;i(o)}),this._animationCallbacksBuffer=[]})}),n.push([t,a])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(e){var t,a;this.engine.flush(),(a=(t=this.delegate).componentReplaced)==null||a.call(t,e)}},Rte=(()=>{const t=class t extends eh{constructor(n,r,i){super(n,r,i)}ngOnDestroy(){this.flush()}};s(t,"ɵfac",function(n){return new(n||t)(oe(Fe),oe($1),oe(um))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function Nte(){return new Pee}function Ote(e,t,a){return new Tte(e,t,a)}var Mte=[{provide:um,useFactory:Nte},{provide:eh,useClass:Rte},{provide:Yn,useFactory:Ote,deps:[Fd,eh,ze]}],Ate=[{provide:$1,useFactory:()=>new kte},{provide:mr,useFactory:()=>"BrowserAnimations"},...Mte];function Pte(){return Yr("NgEagerAnimations"),[...Ate]}var Lte=(()=>{const t=class t extends L1{constructor(n){super(),this.translate=n,this.getRangeLabel=(r,i,o)=>{if(o===0||i===0)return`0 / ${o}`;o=Math.max(o,0);let l=r*i,u=l<o?Math.min(l+i,o):l+i;return`${l+1} - ${u} / ${o}`},this.getAndInitTranslations=()=>{this.nextPageLabel=this.translate.instant("commons.matPaginator.nextPage"),this.previousPageLabel=this.translate.instant("commons.matPaginator.prevPage"),this.firstPageLabel=this.translate.instant("commons.matPaginator.firstPage"),this.lastPageLabel=this.translate.instant("commons.matPaginator.lastPage"),this.itemsPerPageLabel=this.translate.instant("commons.matPaginator.itemsPerPage"),this.getRangeLabel=this.getRangeLabel.bind(this),this.changes.next()},this.translate.onLangChange.subscribe(()=>{this.getAndInitTranslations()}),this.getAndInitTranslations()}};t.ɵfac=function(n){return new(n||t)(oe(Xn))},t.ɵprov=z({token:t,factory:t.ɵfac});let e=t;return e})(),aw=6048e5,Fte=864e5,jte=6e4,Vte=36e5,zte=1e3,Gg=Symbol.for("constructDateFrom");function Ut(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Gg in e?e[Gg](t):e instanceof Date?new e.constructor(t):new Date(t)}function Vt(e,t){return Ut(t||e,e)}function rw(e,t,a){let n=Vt(e,a==null?void 0:a.in);return isNaN(t)?Ut((a==null?void 0:a.in)||e,NaN):(t&&n.setDate(n.getDate()+t),n)}var Bte={};function eo(){return Bte}function dr(e,t){var l,u,c,d;let a=eo(),n=(t==null?void 0:t.weekStartsOn)??((u=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:u.weekStartsOn)??a.weekStartsOn??((d=(c=a.locale)==null?void 0:c.options)==null?void 0:d.weekStartsOn)??0,r=Vt(e,t==null?void 0:t.in),i=r.getDay(),o=(i<n?7:0)+i-n;return r.setDate(r.getDate()-o),r.setHours(0,0,0,0),r}function Fi(e,t){return dr(e,Yt(ue({},t),{weekStartsOn:1}))}function iw(e,t){let a=Vt(e,t==null?void 0:t.in),n=a.getFullYear(),r=Ut(a,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);let i=Fi(r),o=Ut(a,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);let l=Fi(o);return a.getTime()>=i.getTime()?n+1:a.getTime()>=l.getTime()?n:n-1}function Yl(e){let t=Vt(e),a=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return a.setUTCFullYear(t.getFullYear()),+e-+a}function Hte(e,...t){let a=Ut.bind(null,t.find(n=>typeof n=="object"));return t.map(a)}function Wg(e,t){let a=Vt(e,t==null?void 0:t.in);return a.setHours(0,0,0,0),a}function qte(e,t,a){let[n,r]=Hte(a==null?void 0:a.in,e,t),i=Wg(n),o=Wg(r),l=+i-Yl(i),u=+o-Yl(o);return Math.round((l-u)/Fte)}function $te(e,t){let a=iw(e,t),n=Ut(e,0);return n.setFullYear(a,0,4),n.setHours(0,0,0,0),Fi(n)}function Ute(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Gte(e){return!(!Ute(e)&&typeof e!="number"||isNaN(+Vt(e)))}function Wte(e,t){let a=Vt(e,t==null?void 0:t.in);return a.setFullYear(a.getFullYear(),0,1),a.setHours(0,0,0,0),a}var Zte={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"}},Yte=(e,t,a)=>{let n,r=Zte[e];return typeof r=="string"?n=r:t===1?n=r.one:n=r.other.replace("{{count}}",t.toString()),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"in "+n:n+" ago":n};function zc(e){return(t={})=>{let a=t.width?String(t.width):e.defaultWidth;return e.formats[a]||e.formats[e.defaultWidth]}}var Kte={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Qte={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Xte={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Jte={date:zc({formats:Kte,defaultWidth:"full"}),time:zc({formats:Qte,defaultWidth:"full"}),dateTime:zc({formats:Xte,defaultWidth:"full"})},ene={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},tne=(e,t,a,n)=>ene[e];function ho(e){return(t,a)=>{let n=a!=null&&a.context?String(a.context):"standalone",r;if(n==="formatting"&&e.formattingValues){let o=e.defaultFormattingWidth||e.defaultWidth,l=a!=null&&a.width?String(a.width):o;r=e.formattingValues[l]||e.formattingValues[o]}else{let o=e.defaultWidth,l=a!=null&&a.width?String(a.width):e.defaultWidth;r=e.values[l]||e.values[o]}let i=e.argumentCallback?e.argumentCallback(t):t;return r[i]}}var nne={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},ane={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},rne={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"]},ine={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"]},one={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"}},sne={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"}},lne=(e,t)=>{let a=Number(e),n=a%100;if(n>20||n<10)switch(n%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"},une={ordinalNumber:lne,era:ho({values:nne,defaultWidth:"wide"}),quarter:ho({values:ane,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ho({values:rne,defaultWidth:"wide"}),day:ho({values:ine,defaultWidth:"wide"}),dayPeriod:ho({values:one,defaultWidth:"wide",formattingValues:sne,defaultFormattingWidth:"wide"})};function po(e){return(t,a={})=>{let n=a.width,r=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],i=t.match(r);if(!i)return null;let o=i[0],l=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?dne(l,m=>m.test(o)):cne(l,m=>m.test(o)),c;c=e.valueCallback?e.valueCallback(u):u,c=a.valueCallback?a.valueCallback(c):c;let d=t.slice(o.length);return{value:c,rest:d}}}function cne(e,t){for(let a in e)if(Object.prototype.hasOwnProperty.call(e,a)&&t(e[a]))return a}function dne(e,t){for(let a=0;a<e.length;a++)if(t(e[a]))return a}function hne(e){return(t,a={})=>{let n=t.match(e.matchPattern);if(!n)return null;let r=n[0],i=t.match(e.parsePattern);if(!i)return null;let o=e.valueCallback?e.valueCallback(i[0]):i[0];o=a.valueCallback?a.valueCallback(o):o;let l=t.slice(r.length);return{value:o,rest:l}}}var pne=/^(\d+)(th|st|nd|rd)?/i,mne=/\d+/i,fne={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},gne={any:[/^b/i,/^(a|c)/i]},vne={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},bne={any:[/1/i,/2/i,/3/i,/4/i]},yne={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},_ne={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]},wne={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},xne={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]},Ene={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},Sne={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}},kne={ordinalNumber:hne({matchPattern:pne,parsePattern:mne,valueCallback:e=>parseInt(e,10)}),era:po({matchPatterns:fne,defaultMatchWidth:"wide",parsePatterns:gne,defaultParseWidth:"any"}),quarter:po({matchPatterns:vne,defaultMatchWidth:"wide",parsePatterns:bne,defaultParseWidth:"any",valueCallback:e=>e+1}),month:po({matchPatterns:yne,defaultMatchWidth:"wide",parsePatterns:_ne,defaultParseWidth:"any"}),day:po({matchPatterns:wne,defaultMatchWidth:"wide",parsePatterns:xne,defaultParseWidth:"any"}),dayPeriod:po({matchPatterns:Ene,defaultMatchWidth:"any",parsePatterns:Sne,defaultParseWidth:"any"})},ow={code:"en-US",formatDistance:Yte,formatLong:Jte,formatRelative:tne,localize:une,match:kne,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Cne(e,t){let a=Vt(e,t==null?void 0:t.in);return qte(a,Wte(a))+1}function sw(e,t){let a=Vt(e,t==null?void 0:t.in),n=+Fi(a)-+$te(a);return Math.round(n/aw)+1}function hm(e,t){var d,m,v,g;let a=Vt(e,t==null?void 0:t.in),n=a.getFullYear(),r=eo(),i=(t==null?void 0:t.firstWeekContainsDate)??((m=(d=t==null?void 0:t.locale)==null?void 0:d.options)==null?void 0:m.firstWeekContainsDate)??r.firstWeekContainsDate??((g=(v=r.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,o=Ut((t==null?void 0:t.in)||e,0);o.setFullYear(n+1,0,i),o.setHours(0,0,0,0);let l=dr(o,t),u=Ut((t==null?void 0:t.in)||e,0);u.setFullYear(n,0,i),u.setHours(0,0,0,0);let c=dr(u,t);return+a>=+l?n+1:+a>=+c?n:n-1}function Dne(e,t){var o,l,u,c;let a=eo(),n=(t==null?void 0:t.firstWeekContainsDate)??((l=(o=t==null?void 0:t.locale)==null?void 0:o.options)==null?void 0:l.firstWeekContainsDate)??a.firstWeekContainsDate??((c=(u=a.locale)==null?void 0:u.options)==null?void 0:c.firstWeekContainsDate)??1,r=hm(e,t),i=Ut((t==null?void 0:t.in)||e,0);return i.setFullYear(r,0,n),i.setHours(0,0,0,0),dr(i,t)}function lw(e,t){let a=Vt(e,t==null?void 0:t.in),n=+dr(a,t)-+Dne(a,t);return Math.round(n/aw)+1}function Ze(e,t){let a=e<0?"-":"",n=Math.abs(e).toString().padStart(t,"0");return a+n}var Wa={y(e,t){let a=e.getFullYear(),n=a>0?a:1-a;return Ze(t==="yy"?n%100:n,t.length)},M(e,t){let a=e.getMonth();return t==="M"?String(a+1):Ze(a+1,2)},d(e,t){return Ze(e.getDate(),t.length)},a(e,t){let a=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return a.toUpperCase();case"aaa":return a;case"aaaaa":return a[0];case"aaaa":default:return a==="am"?"a.m.":"p.m."}},h(e,t){return Ze(e.getHours()%12||12,t.length)},H(e,t){return Ze(e.getHours(),t.length)},m(e,t){return Ze(e.getMinutes(),t.length)},s(e,t){return Ze(e.getSeconds(),t.length)},S(e,t){let a=t.length,n=e.getMilliseconds(),r=Math.trunc(n*Math.pow(10,a-3));return Ze(r,t.length)}},ii={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Zg={G:function(e,t,a){let n=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return a.era(n,{width:"abbreviated"});case"GGGGG":return a.era(n,{width:"narrow"});case"GGGG":default:return a.era(n,{width:"wide"})}},y:function(e,t,a){if(t==="yo"){let n=e.getFullYear(),r=n>0?n:1-n;return a.ordinalNumber(r,{unit:"year"})}return Wa.y(e,t)},Y:function(e,t,a,n){let r=hm(e,n),i=r>0?r:1-r;if(t==="YY"){let o=i%100;return Ze(o,2)}return t==="Yo"?a.ordinalNumber(i,{unit:"year"}):Ze(i,t.length)},R:function(e,t){let a=iw(e);return Ze(a,t.length)},u:function(e,t){let a=e.getFullYear();return Ze(a,t.length)},Q:function(e,t,a){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return Ze(n,2);case"Qo":return a.ordinalNumber(n,{unit:"quarter"});case"QQQ":return a.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return a.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,a){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return Ze(n,2);case"qo":return a.ordinalNumber(n,{unit:"quarter"});case"qqq":return a.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return a.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,a){let n=e.getMonth();switch(t){case"M":case"MM":return Wa.M(e,t);case"Mo":return a.ordinalNumber(n+1,{unit:"month"});case"MMM":return a.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return a.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,a){let n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return Ze(n+1,2);case"Lo":return a.ordinalNumber(n+1,{unit:"month"});case"LLL":return a.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return a.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,a,n){let r=lw(e,n);return t==="wo"?a.ordinalNumber(r,{unit:"week"}):Ze(r,t.length)},I:function(e,t,a){let n=sw(e);return t==="Io"?a.ordinalNumber(n,{unit:"week"}):Ze(n,t.length)},d:function(e,t,a){return t==="do"?a.ordinalNumber(e.getDate(),{unit:"date"}):Wa.d(e,t)},D:function(e,t,a){let n=Cne(e);return t==="Do"?a.ordinalNumber(n,{unit:"dayOfYear"}):Ze(n,t.length)},E:function(e,t,a){let n=e.getDay();switch(t){case"E":case"EE":case"EEE":return a.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return a.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(n,{width:"short",context:"formatting"});case"EEEE":default:return a.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,a,n){let r=e.getDay(),i=(r-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return Ze(i,2);case"eo":return a.ordinalNumber(i,{unit:"day"});case"eee":return a.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return a.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(r,{width:"short",context:"formatting"});case"eeee":default:return a.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,a,n){let r=e.getDay(),i=(r-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return Ze(i,t.length);case"co":return a.ordinalNumber(i,{unit:"day"});case"ccc":return a.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return a.day(r,{width:"narrow",context:"standalone"});case"cccccc":return a.day(r,{width:"short",context:"standalone"});case"cccc":default:return a.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,a){let n=e.getDay(),r=n===0?7:n;switch(t){case"i":return String(r);case"ii":return Ze(r,t.length);case"io":return a.ordinalNumber(r,{unit:"day"});case"iii":return a.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return a.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return a.day(n,{width:"short",context:"formatting"});case"iiii":default:return a.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,a){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return a.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return a.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return a.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,a){let n=e.getHours(),r;switch(n===12?r=ii.noon:n===0?r=ii.midnight:r=n/12>=1?"pm":"am",t){case"b":case"bb":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return a.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,a){let n=e.getHours(),r;switch(n>=17?r=ii.evening:n>=12?r=ii.afternoon:n>=4?r=ii.morning:r=ii.night,t){case"B":case"BB":case"BBB":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return a.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,a){if(t==="ho"){let n=e.getHours()%12;return n===0&&(n=12),a.ordinalNumber(n,{unit:"hour"})}return Wa.h(e,t)},H:function(e,t,a){return t==="Ho"?a.ordinalNumber(e.getHours(),{unit:"hour"}):Wa.H(e,t)},K:function(e,t,a){let n=e.getHours()%12;return t==="Ko"?a.ordinalNumber(n,{unit:"hour"}):Ze(n,t.length)},k:function(e,t,a){let n=e.getHours();return n===0&&(n=24),t==="ko"?a.ordinalNumber(n,{unit:"hour"}):Ze(n,t.length)},m:function(e,t,a){return t==="mo"?a.ordinalNumber(e.getMinutes(),{unit:"minute"}):Wa.m(e,t)},s:function(e,t,a){return t==="so"?a.ordinalNumber(e.getSeconds(),{unit:"second"}):Wa.s(e,t)},S:function(e,t){return Wa.S(e,t)},X:function(e,t,a){let n=e.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return Kg(n);case"XXXX":case"XX":return Ir(n);case"XXXXX":case"XXX":default:return Ir(n,":")}},x:function(e,t,a){let n=e.getTimezoneOffset();switch(t){case"x":return Kg(n);case"xxxx":case"xx":return Ir(n);case"xxxxx":case"xxx":default:return Ir(n,":")}},O:function(e,t,a){let n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Yg(n,":");case"OOOO":default:return"GMT"+Ir(n,":")}},z:function(e,t,a){let n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Yg(n,":");case"zzzz":default:return"GMT"+Ir(n,":")}},t:function(e,t,a){let n=Math.trunc(+e/1e3);return Ze(n,t.length)},T:function(e,t,a){return Ze(+e,t.length)}};function Yg(e,t=""){let a=e>0?"-":"+",n=Math.abs(e),r=Math.trunc(n/60),i=n%60;return i===0?a+String(r):a+String(r)+t+Ze(i,2)}function Kg(e,t){return e%60===0?(e>0?"-":"+")+Ze(Math.abs(e)/60,2):Ir(e,t)}function Ir(e,t=""){let a=e>0?"-":"+",n=Math.abs(e),r=Ze(Math.trunc(n/60),2),i=Ze(n%60,2);return a+r+t+i}var Qg=(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"})}},uw=(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"})}},Ine=(e,t)=>{let a=e.match(/(P+)(p+)?/)||[],n=a[1],r=a[2];if(!r)return Qg(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}}",Qg(n,t)).replace("{{time}}",uw(r,t))},th={p:uw,P:Ine},Tne=/^D+$/,Rne=/^Y+$/,Nne=["D","DD","YY","YYYY"];function cw(e){return Tne.test(e)}function dw(e){return Rne.test(e)}function nh(e,t,a){let n=One(e,t,a);if(console.warn(n),Nne.includes(e))throw new RangeError(n)}function One(e,t,a){let n=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${n} to the input \`${a}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var Mne=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ane=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Pne=/^'([^]*?)'?$/,Lne=/''/g,Fne=/[a-zA-Z]/;function hw(e,t,a){var d,m,v,g,w,x,k,D;let n=eo(),r=(a==null?void 0:a.locale)??n.locale??ow,i=(a==null?void 0:a.firstWeekContainsDate)??((m=(d=a==null?void 0:a.locale)==null?void 0:d.options)==null?void 0:m.firstWeekContainsDate)??n.firstWeekContainsDate??((g=(v=n.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,o=(a==null?void 0:a.weekStartsOn)??((x=(w=a==null?void 0:a.locale)==null?void 0:w.options)==null?void 0:x.weekStartsOn)??n.weekStartsOn??((D=(k=n.locale)==null?void 0:k.options)==null?void 0:D.weekStartsOn)??0,l=Vt(e,a==null?void 0:a.in);if(!Gte(l))throw new RangeError("Invalid time value");let u=t.match(Ane).map(N=>{let O=N[0];if(O==="p"||O==="P"){let J=th[O];return J(N,r.formatLong)}return N}).join("").match(Mne).map(N=>{if(N==="''")return{isToken:!1,value:"'"};let O=N[0];if(O==="'")return{isToken:!1,value:jne(N)};if(Zg[O])return{isToken:!0,value:N};if(O.match(Fne))throw new RangeError("Format string contains an unescaped latin alphabet character `"+O+"`");return{isToken:!1,value:N}});r.localize.preprocessor&&(u=r.localize.preprocessor(l,u));let c={firstWeekContainsDate:i,weekStartsOn:o,locale:r};return u.map(N=>{if(!N.isToken)return N.value;let O=N.value;(!(a!=null&&a.useAdditionalWeekYearTokens)&&dw(O)||!(a!=null&&a.useAdditionalDayOfYearTokens)&&cw(O))&&nh(O,t,String(e));let J=Zg[O[0]];return J(l,O,r.localize,c)}).join("")}function jne(e){let t=e.match(Pne);return t?t[1].replace(Lne,"'"):e}function pw(){return Object.assign({},eo())}function Vne(e,t){let a=Vt(e,t==null?void 0:t.in).getDay();return a===0?7:a}function zne(e,t){let a=Bne(t)?new t(0):Ut(t,0);return a.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),a.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),a}function Bne(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}var Hne=10,mw=class{constructor(){s(this,"subPriority",0)}validate(e,t){return!0}},qne=class extends mw{constructor(e,t,a,n,r){super(),this.value=e,this.validateValue=t,this.setValue=a,this.priority=n,r&&(this.subPriority=r)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,a){return this.setValue(e,t,this.value,a)}},$ne=class extends mw{constructor(t,a){super();s(this,"priority",Hne);s(this,"subPriority",-1);this.context=t||(n=>Ut(a,n))}set(t,a){return a.timestampIsSet?t:Ut(t,zne(t,this.context))}},Ge=class{run(e,t,a,n){let r=this.parse(e,t,a,n);return r?{setter:new qne(r.value,this.validate,this.set,this.priority,this.subPriority),rest:r.rest}:null}validate(e,t,a){return!0}},Une=class extends Ge{constructor(){super(...arguments);s(this,"priority",140);s(this,"incompatibleTokens",["R","u","t","T"])}parse(t,a,n){switch(a){case"G":case"GG":case"GGG":return n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"});case"GGGGG":return n.era(t,{width:"narrow"});case"GGGG":default:return n.era(t,{width:"wide"})||n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"})}}set(t,a,n){return a.era=n,t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},Et={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}/},oa={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 St(e,t){return e&&{value:t(e.value),rest:e.rest}}function gt(e,t){let a=t.match(e);return a?{value:parseInt(a[0],10),rest:t.slice(a[0].length)}:null}function sa(e,t){let a=t.match(e);if(!a)return null;if(a[0]==="Z")return{value:0,rest:t.slice(1)};let n=a[1]==="+"?1:-1,r=a[2]?parseInt(a[2],10):0,i=a[3]?parseInt(a[3],10):0,o=a[5]?parseInt(a[5],10):0;return{value:n*(r*Vte+i*jte+o*zte),rest:t.slice(a[0].length)}}function fw(e){return gt(Et.anyDigitsSigned,e)}function yt(e,t){switch(e){case 1:return gt(Et.singleDigit,t);case 2:return gt(Et.twoDigits,t);case 3:return gt(Et.threeDigits,t);case 4:return gt(Et.fourDigits,t);default:return gt(new RegExp("^\\d{1,"+e+"}"),t)}}function Kl(e,t){switch(e){case 1:return gt(Et.singleDigitSigned,t);case 2:return gt(Et.twoDigitsSigned,t);case 3:return gt(Et.threeDigitsSigned,t);case 4:return gt(Et.fourDigitsSigned,t);default:return gt(new RegExp("^-?\\d{1,"+e+"}"),t)}}function pm(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 gw(e,t){let a=t>0,n=a?t:1-t,r;if(n<=50)r=e||100;else{let i=n+50,o=Math.trunc(i/100)*100,l=e>=i%100;r=e+o-(l?100:0)}return a?r:1-r}function vw(e){return e%400===0||e%4===0&&e%100!==0}var Gne=class extends Ge{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,a,n){let r=i=>({year:i,isTwoDigitYear:a==="yy"});switch(a){case"y":return St(yt(4,t),r);case"yo":return St(n.ordinalNumber(t,{unit:"year"}),r);default:return St(yt(a.length,t),r)}}validate(t,a){return a.isTwoDigitYear||a.year>0}set(t,a,n){let r=t.getFullYear();if(n.isTwoDigitYear){let o=gw(n.year,r);return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}let i=!("era"in a)||a.era===1?n.year:1-n.year;return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}},Wne=class extends Ge{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,a,n){let r=i=>({year:i,isTwoDigitYear:a==="YY"});switch(a){case"Y":return St(yt(4,t),r);case"Yo":return St(n.ordinalNumber(t,{unit:"year"}),r);default:return St(yt(a.length,t),r)}}validate(t,a){return a.isTwoDigitYear||a.year>0}set(t,a,n,r){let i=hm(t,r);if(n.isTwoDigitYear){let l=gw(n.year,i);return t.setFullYear(l,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),dr(t,r)}let o=!("era"in a)||a.era===1?n.year:1-n.year;return t.setFullYear(o,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),dr(t,r)}},Zne=class extends Ge{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,a){return Kl(a==="R"?4:a.length,t)}set(t,a,n){let r=Ut(t,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),Fi(r)}},Yne=class extends Ge{constructor(){super(...arguments);s(this,"priority",130);s(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,a){return Kl(a==="u"?4:a.length,t)}set(t,a,n){return t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},Kne=class extends Ge{constructor(){super(...arguments);s(this,"priority",120);s(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,a,n){switch(a){case"Q":case"QQ":return yt(a.length,t);case"Qo":return n.ordinalNumber(t,{unit:"quarter"});case"QQQ":return n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(t,{width:"wide",context:"formatting"})||n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,a){return a>=1&&a<=4}set(t,a,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}},Qne=class extends Ge{constructor(){super(...arguments);s(this,"priority",120);s(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,a,n){switch(a){case"q":case"qq":return yt(a.length,t);case"qo":return n.ordinalNumber(t,{unit:"quarter"});case"qqq":return n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(t,{width:"wide",context:"standalone"})||n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,a){return a>=1&&a<=4}set(t,a,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}},Xne=class extends Ge{constructor(){super(...arguments);s(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);s(this,"priority",110)}parse(t,a,n){let r=i=>i-1;switch(a){case"M":return St(gt(Et.month,t),r);case"MM":return St(yt(2,t),r);case"Mo":return St(n.ordinalNumber(t,{unit:"month"}),r);case"MMM":return n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(t,{width:"wide",context:"formatting"})||n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"})}}validate(t,a){return a>=0&&a<=11}set(t,a,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}},Jne=class extends Ge{constructor(){super(...arguments);s(this,"priority",110);s(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,a,n){let r=i=>i-1;switch(a){case"L":return St(gt(Et.month,t),r);case"LL":return St(yt(2,t),r);case"Lo":return St(n.ordinalNumber(t,{unit:"month"}),r);case"LLL":return n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(t,{width:"wide",context:"standalone"})||n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"})}}validate(t,a){return a>=0&&a<=11}set(t,a,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}};function eae(e,t,a){let n=Vt(e,a==null?void 0:a.in),r=lw(n,a)-t;return n.setDate(n.getDate()-r*7),Vt(n,a==null?void 0:a.in)}var tae=class extends Ge{constructor(){super(...arguments);s(this,"priority",100);s(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,a,n){switch(a){case"w":return gt(Et.week,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return yt(a.length,t)}}validate(t,a){return a>=1&&a<=53}set(t,a,n,r){return dr(eae(t,n,r),r)}};function nae(e,t,a){let n=Vt(e,a==null?void 0:a.in),r=sw(n,a)-t;return n.setDate(n.getDate()-r*7),n}var aae=class extends Ge{constructor(){super(...arguments);s(this,"priority",100);s(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,a,n){switch(a){case"I":return gt(Et.week,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return yt(a.length,t)}}validate(t,a){return a>=1&&a<=53}set(t,a,n){return Fi(nae(t,n))}},rae=[31,28,31,30,31,30,31,31,30,31,30,31],iae=[31,29,31,30,31,30,31,31,30,31,30,31],oae=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"subPriority",1);s(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,a,n){switch(a){case"d":return gt(Et.date,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return yt(a.length,t)}}validate(t,a){let n=t.getFullYear(),r=vw(n),i=t.getMonth();return r?a>=1&&a<=iae[i]:a>=1&&a<=rae[i]}set(t,a,n){return t.setDate(n),t.setHours(0,0,0,0),t}},sae=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"subpriority",1);s(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,a,n){switch(a){case"D":case"DD":return gt(Et.dayOfYear,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return yt(a.length,t)}}validate(t,a){let n=t.getFullYear();return vw(n)?a>=1&&a<=366:a>=1&&a<=365}set(t,a,n){return t.setMonth(0,n),t.setHours(0,0,0,0),t}};function mm(e,t,a){var d,m,v,g;let n=eo(),r=(a==null?void 0:a.weekStartsOn)??((m=(d=a==null?void 0:a.locale)==null?void 0:d.options)==null?void 0:m.weekStartsOn)??n.weekStartsOn??((g=(v=n.locale)==null?void 0:v.options)==null?void 0:g.weekStartsOn)??0,i=Vt(e,a==null?void 0:a.in),o=i.getDay(),l=(t%7+7)%7,u=7-r,c=t<0||t>6?t-(o+u)%7:(l+u)%7-(o+u)%7;return rw(i,c,a)}var lae=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,a,n){switch(a){case"E":case"EE":case"EEE":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,a){return a>=0&&a<=6}set(t,a,n,r){return t=mm(t,n,r),t.setHours(0,0,0,0),t}},uae=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,a,n,r){let i=o=>{let l=Math.floor((o-1)/7)*7;return(o+r.weekStartsOn+6)%7+l};switch(a){case"e":case"ee":return St(yt(a.length,t),i);case"eo":return St(n.ordinalNumber(t,{unit:"day"}),i);case"eee":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeeee":return n.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,a){return a>=0&&a<=6}set(t,a,n,r){return t=mm(t,n,r),t.setHours(0,0,0,0),t}},cae=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,a,n,r){let i=o=>{let l=Math.floor((o-1)/7)*7;return(o+r.weekStartsOn+6)%7+l};switch(a){case"c":case"cc":return St(yt(a.length,t),i);case"co":return St(n.ordinalNumber(t,{unit:"day"}),i);case"ccc":return n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"ccccc":return n.day(t,{width:"narrow",context:"standalone"});case"cccccc":return n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(t,{width:"wide",context:"standalone"})||n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"})}}validate(t,a){return a>=0&&a<=6}set(t,a,n,r){return t=mm(t,n,r),t.setHours(0,0,0,0),t}};function dae(e,t,a){let n=Vt(e,a==null?void 0:a.in),r=Vne(n,a),i=t-r;return rw(n,i,a)}var hae=class extends Ge{constructor(){super(...arguments);s(this,"priority",90);s(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,a,n){let r=i=>i===0?7:i;switch(a){case"i":case"ii":return yt(a.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return St(n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r);case"iiiii":return St(n.day(t,{width:"narrow",context:"formatting"}),r);case"iiiiii":return St(n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r);case"iiii":default:return St(n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r)}}validate(t,a){return a>=1&&a<=7}set(t,a,n){return t=dae(t,n),t.setHours(0,0,0,0),t}},pae=class extends Ge{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,a,n){switch(a){case"a":case"aa":case"aaa":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,a,n){return t.setHours(pm(n),0,0,0),t}},mae=class extends Ge{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,a,n){switch(a){case"b":case"bb":case"bbb":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,a,n){return t.setHours(pm(n),0,0,0),t}},fae=class extends Ge{constructor(){super(...arguments);s(this,"priority",80);s(this,"incompatibleTokens",["a","b","t","T"])}parse(t,a,n){switch(a){case"B":case"BB":case"BBB":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,a,n){return t.setHours(pm(n),0,0,0),t}},gae=class extends Ge{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,a,n){switch(a){case"h":return gt(Et.hour12h,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return yt(a.length,t)}}validate(t,a){return a>=1&&a<=12}set(t,a,n){let r=t.getHours()>=12;return r&&n<12?t.setHours(n+12,0,0,0):!r&&n===12?t.setHours(0,0,0,0):t.setHours(n,0,0,0),t}},vae=class extends Ge{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,a,n){switch(a){case"H":return gt(Et.hour23h,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return yt(a.length,t)}}validate(t,a){return a>=0&&a<=23}set(t,a,n){return t.setHours(n,0,0,0),t}},bae=class extends Ge{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,a,n){switch(a){case"K":return gt(Et.hour11h,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return yt(a.length,t)}}validate(t,a){return a>=0&&a<=11}set(t,a,n){return t.getHours()>=12&&n<12?t.setHours(n+12,0,0,0):t.setHours(n,0,0,0),t}},yae=class extends Ge{constructor(){super(...arguments);s(this,"priority",70);s(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,a,n){switch(a){case"k":return gt(Et.hour24h,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return yt(a.length,t)}}validate(t,a){return a>=1&&a<=24}set(t,a,n){let r=n<=24?n%24:n;return t.setHours(r,0,0,0),t}},_ae=class extends Ge{constructor(){super(...arguments);s(this,"priority",60);s(this,"incompatibleTokens",["t","T"])}parse(t,a,n){switch(a){case"m":return gt(Et.minute,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return yt(a.length,t)}}validate(t,a){return a>=0&&a<=59}set(t,a,n){return t.setMinutes(n,0,0),t}},wae=class extends Ge{constructor(){super(...arguments);s(this,"priority",50);s(this,"incompatibleTokens",["t","T"])}parse(t,a,n){switch(a){case"s":return gt(Et.second,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return yt(a.length,t)}}validate(t,a){return a>=0&&a<=59}set(t,a,n){return t.setSeconds(n,0),t}},xae=class extends Ge{constructor(){super(...arguments);s(this,"priority",30);s(this,"incompatibleTokens",["t","T"])}parse(t,a){let n=r=>Math.trunc(r*Math.pow(10,-a.length+3));return St(yt(a.length,t),n)}set(t,a,n){return t.setMilliseconds(n),t}},Eae=class extends Ge{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","x"])}parse(t,a){switch(a){case"X":return sa(oa.basicOptionalMinutes,t);case"XX":return sa(oa.basic,t);case"XXXX":return sa(oa.basicOptionalSeconds,t);case"XXXXX":return sa(oa.extendedOptionalSeconds,t);case"XXX":default:return sa(oa.extended,t)}}set(t,a,n){return a.timestampIsSet?t:Ut(t,t.getTime()-Yl(t)-n)}},Sae=class extends Ge{constructor(){super(...arguments);s(this,"priority",10);s(this,"incompatibleTokens",["t","T","X"])}parse(t,a){switch(a){case"x":return sa(oa.basicOptionalMinutes,t);case"xx":return sa(oa.basic,t);case"xxxx":return sa(oa.basicOptionalSeconds,t);case"xxxxx":return sa(oa.extendedOptionalSeconds,t);case"xxx":default:return sa(oa.extended,t)}}set(t,a,n){return a.timestampIsSet?t:Ut(t,t.getTime()-Yl(t)-n)}},kae=class extends Ge{constructor(){super(...arguments);s(this,"priority",40);s(this,"incompatibleTokens","*")}parse(t){return fw(t)}set(t,a,n){return[Ut(t,n*1e3),{timestampIsSet:!0}]}},Cae=class extends Ge{constructor(){super(...arguments);s(this,"priority",20);s(this,"incompatibleTokens","*")}parse(t){return fw(t)}set(t,a,n){return[Ut(t,n),{timestampIsSet:!0}]}},Dae={G:new Une,y:new Gne,Y:new Wne,R:new Zne,u:new Yne,Q:new Kne,q:new Qne,M:new Xne,L:new Jne,w:new tae,I:new aae,d:new oae,D:new sae,E:new lae,e:new uae,c:new cae,i:new hae,a:new pae,b:new mae,B:new fae,h:new gae,H:new vae,K:new bae,k:new yae,m:new _ae,s:new wae,S:new xae,X:new Eae,x:new Sae,t:new kae,T:new Cae},Iae=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Tae=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Rae=/^'([^]*?)'?$/,Nae=/''/g,Oae=/\S/,Mae=/[a-zA-Z]/;function Aae(e,t,a,n){var k,D,N,O;let r=()=>Ut(a,NaN),i=pw(),o=i.locale??ow,l=i.firstWeekContainsDate??((D=(k=i.locale)==null?void 0:k.options)==null?void 0:D.firstWeekContainsDate)??1,u=i.weekStartsOn??((O=(N=i.locale)==null?void 0:N.options)==null?void 0:O.weekStartsOn)??0,c={firstWeekContainsDate:l,weekStartsOn:u,locale:o},d=[new $ne(n==null?void 0:n.in,a)],m=t.match(Tae).map(J=>{let le=J[0];if(le in th){let _e=th[le];return _e(J,o.formatLong)}return J}).join("").match(Iae),v=[];for(let J of m){dw(J)&&nh(J,t,e),cw(J)&&nh(J,t,e);let le=J[0],_e=Dae[le];if(_e){let{incompatibleTokens:Ot}=_e;if(Array.isArray(Ot)){let nt=v.find(Ct=>Ot.includes(Ct.token)||Ct.token===le);if(nt)throw new RangeError(`The format string mustn't contain \`${nt.fullToken}\` and \`${J}\` at the same time`)}else if(_e.incompatibleTokens==="*"&&v.length>0)throw new RangeError(`The format string mustn't contain \`${J}\` and any other token at the same time`);v.push({token:le,fullToken:J});let _t=_e.run(e,J,o.match,c);if(!_t)return r();d.push(_t.setter),e=_t.rest}else{if(le.match(Mae))throw new RangeError("Format string contains an unescaped latin alphabet character `"+le+"`");if(J==="''"?J="'":le==="'"&&(J=Pae(J)),e.indexOf(J)===0)e=e.slice(J.length);else return r()}}if(e.length>0&&Oae.test(e))return r();let g=d.map(J=>J.priority).sort((J,le)=>le-J).filter((J,le,_e)=>_e.indexOf(J)===le).map(J=>d.filter(le=>le.priority===J).sort((le,_e)=>_e.subPriority-le.subPriority)).map(J=>J[0]),w=Vt(a,n==null?void 0:n.in);if(isNaN(+w))return r();let x={};for(let J of g){if(!J.validate(w,c))return r();let le=J.set(w,x,c);Array.isArray(le)?(w=le[0],Object.assign(x,le[1])):w=le}return w}function Pae(e){return e.match(Rae)[1].replace(Nae,"'")}var T=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}(T||{}),fm=new K("ngx-mask config"),bw=new K("new ngx-mask config"),yw=new K("initial ngx-mask config"),Lae={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 it,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")}}};T.HOURS_MINUTES_SECONDS,T.HOURS_MINUTES,T.MINUTES_SECONDS;T.PERCENT,T.HOURS_HOUR,T.SECONDS,T.MINUTES,T.SEPARATOR,T.DAYS_MONTHS_YEARS,T.DAYS_MONTHS,T.DAYS,T.MONTHS;var Fae=(()=>{const t=class t{constructor(){s(this,"_config",S(fm));s(this,"dropSpecialCharacters",this._config.dropSpecialCharacters);s(this,"hiddenInput",this._config.hiddenInput);s(this,"showTemplate");s(this,"clearIfNotMatch",this._config.clearIfNotMatch);s(this,"specialCharacters",this._config.specialCharacters);s(this,"patterns",this._config.patterns);s(this,"prefix",this._config.prefix);s(this,"suffix",this._config.suffix);s(this,"thousandSeparator",this._config.thousandSeparator);s(this,"decimalMarker",this._config.decimalMarker);s(this,"customPattern");s(this,"showMaskTyped",this._config.showMaskTyped);s(this,"placeHolderCharacter",this._config.placeHolderCharacter);s(this,"validation",this._config.validation);s(this,"separatorLimit",this._config.separatorLimit);s(this,"allowNegativeNumbers",this._config.allowNegativeNumbers);s(this,"leadZeroDateTime",this._config.leadZeroDateTime);s(this,"leadZero",this._config.leadZero);s(this,"apm",this._config.apm);s(this,"inputTransformFn",this._config.inputTransformFn);s(this,"outputTransformFn",this._config.outputTransformFn);s(this,"keepCharacterPositions",this._config.keepCharacterPositions);s(this,"_shift",new Set);s(this,"plusOnePosition",!1);s(this,"maskExpression","");s(this,"actualValue","");s(this,"showKeepCharacterExp","");s(this,"shownMaskExpression","");s(this,"deletedSpecialCharacter",!1);s(this,"ipError");s(this,"cpfCnpjError");s(this,"_formatWithSeparators",(n,r,i,o)=>{var g;let l=[],u="";if(Array.isArray(i)){let w=new RegExp(i.map(x=>"[\\^$.|?*+()".indexOf(x)>=0?`\\${x}`:x).join("|"));l=n.split(w),u=((g=n.match(w))==null?void 0:g[0])??T.EMPTY_STRING}else l=n.split(i),u=i;let c=l.length>1?`${u}${l[1]}`:T.EMPTY_STRING,d=l[0]??T.EMPTY_STRING,m=this.separatorLimit.replace(/\s/g,T.EMPTY_STRING);m&&+m&&(d[0]===T.MINUS?d=`-${d.slice(1,d.length).slice(0,m.length)}`:d=d.slice(0,m.length));let v=/(\d+)(\d{3})/;for(;r&&v.test(d);)d=d.replace(v,"$1"+r+"$2");return typeof o>"u"?d+c:o===0?d:d+c.substring(0,o+1)});s(this,"percentage",n=>{let r=n.replace(",","."),i=Number(this.allowNegativeNumbers&&n.includes(T.MINUS)?r.slice(1,n.length):r);return!isNaN(i)&&i>=0&&i<=100});s(this,"getPrecision",n=>{let r=n.split(T.DOT);return r.length>1?Number(r[r.length-1]):1/0});s(this,"checkAndRemoveSuffix",n=>{var r,i,o,l;for(let u=((r=this.suffix)==null?void 0:r.length)-1;u>=0;u--){let c=this.suffix.substring(u,(i=this.suffix)==null?void 0:i.length);if(n.includes(c)&&u!==((o=this.suffix)==null?void 0:o.length)-1&&(u-1<0||!n.includes(this.suffix.substring(u-1,(l=this.suffix)==null?void 0:l.length))))return n.replace(c,T.EMPTY_STRING)}return n});s(this,"checkInputPrecision",(n,r,i)=>{var u;let o=n,l=i;if(r<1/0){Array.isArray(l)&&(l=l.find(g=>g!==this.thousandSeparator)||l[0]);let c=new RegExp(this._charToRegExpExpression(l)+`\\d{${r}}.*$`),d=o.match(c),m=(d&&((u=d[0])==null?void 0:u.length))??0;if(m-1>r){let v=m-1-r;o=o.substring(0,o.length-v)}r===0&&this._compareOrIncludes(o[o.length-1],l,this.thousandSeparator)&&(o=o.substring(0,o.length-1))}return o})}applyMaskWithPattern(n,r){let[i,o]=r;return this.customPattern=o,this.applyMask(n,i)}applyMask(n,r,i=0,o=!1,l=!1,u=()=>{}){var _t,nt,Ct;if(!r||typeof n!="string")return T.EMPTY_STRING;let c=0,d="",m=!1,v=!1,g=1,w=!1,x=n,k=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 D=x.toString().split(T.EMPTY_STRING);if(this.allowNegativeNumbers&&x.slice(c,c+1)===T.MINUS&&(d+=x.slice(c,c+1)),r===T.IP){let X=x.split(T.DOT);this.ipError=this._validIP(X),r="099.099.099.099"}let N=[];for(let X=0;X<x.length;X++)(_t=x[X])!=null&&_t.match("\\d")&&N.push(x[X]??T.EMPTY_STRING);if(r===T.CPF_CNPJ&&(this.cpfCnpjError=N.length!==11&&N.length!==14,N.length>11?r="00.000.000/0000-00":r="000.000.000-00"),r.startsWith(T.PERCENT)){if(x.match("[a-z]|[A-Z]")||x.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!l){x=this._stripToDecimal(x);let xe=this.getPrecision(r);x=this.checkInputPrecision(x,xe,this.decimalMarker)}let X=typeof this.decimalMarker=="string"?this.decimalMarker:T.DOT;if(x.indexOf(X)>0&&!this.percentage(x.substring(0,x.indexOf(X)))){let xe=x.substring(0,x.indexOf(X)-1);this.allowNegativeNumbers&&x.slice(c,c+1)===T.MINUS&&!l&&(xe=x.substring(0,x.indexOf(X))),x=`${xe}${x.substring(x.indexOf(X),x.length)}`}let G="";this.allowNegativeNumbers&&x.slice(c,c+1)===T.MINUS?G=`${T.MINUS}${x.slice(c+1,c+x.length)}`:G=x,this.percentage(G)?d=this._splitPercentZero(x):d=this._splitPercentZero(x.substring(0,x.length-1))}else if(r.startsWith(T.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 X=this.getPrecision(r),G=Array.isArray(this.decimalMarker)?this.thousandSeparator===T.DOT?T.COMMA:T.DOT:this.decimalMarker;if(X===0?x=this.allowNegativeNumbers?x.length>2&&x[0]===T.MINUS&&x[1]===T.NUMBER_ZERO&&x[2]!==this.thousandSeparator&&x[2]!==T.COMMA&&x[2]!==T.DOT?"-"+x.slice(2,x.length):x[0]===T.NUMBER_ZERO&&x.length>1&&x[1]!==this.thousandSeparator&&x[1]!==T.COMMA&&x[1]!==T.DOT?x.slice(1,x.length):x:x.length>1&&x[0]===T.NUMBER_ZERO&&x[1]!==this.thousandSeparator&&x[1]!==T.COMMA&&x[1]!==T.DOT?x.slice(1,x.length):x:(x[0]===G&&x.length>1&&(x=T.NUMBER_ZERO+x.slice(0,x.length+1),this.plusOnePosition=!0),x[0]===T.NUMBER_ZERO&&x[1]!==G&&x[1]!==this.thousandSeparator&&(x=x.length>1?x.slice(0,1)+G+x.slice(1,x.length+1):x,this.plusOnePosition=!0),this.allowNegativeNumbers&&x[0]===T.MINUS&&(x[1]===G||x[1]===T.NUMBER_ZERO)&&(x=x[1]===G&&x.length>2?x.slice(0,1)+T.NUMBER_ZERO+x.slice(1,x.length):x[1]===T.NUMBER_ZERO&&x.length>2&&x[2]!==G?x.slice(0,2)+G+x.slice(2,x.length):x,this.plusOnePosition=!0)),l){let Me=x.slice(this._findFirstNonZeroDigitIndex(x),x.length),Ve=x[k]===T.NUMBER_ZERO||x[k]===G,ft=x[0]===T.NUMBER_ZERO,Vn=x[0]===T.MINUS,at=x[0]===this.thousandSeparator,Xt=x[1]===G,Mt=x[1]===T.NUMBER_ZERO,Jn=x[2]===G;ft&&Xt&&Ve&&k<2&&(x=Me),Vn&&Mt&&Jn&&Ve&&k<3&&(x=T.MINUS+Me),Me!==T.MINUS&&(k===0&&(ft||at)||this.allowNegativeNumbers&&k===1&&Vn&&!Mt)&&(x=Vn?T.MINUS+Me:Me)}let xe=this._charToRegExpExpression(this.thousandSeparator),F='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(xe,"");if(Array.isArray(this.decimalMarker))for(let Me of this.decimalMarker)F=F.replace(this._charToRegExpExpression(Me),T.EMPTY_STRING);else F=F.replace(this._charToRegExpExpression(this.decimalMarker),"");let H=new RegExp("["+F+"]");x.match(H)&&(x=x.substring(0,x.length-1)),x=this.checkInputPrecision(x,X,this.decimalMarker);let Y=x.replace(new RegExp(xe,"g"),"");d=this._formatWithSeparators(Y,this.thousandSeparator,this.decimalMarker,X);let Ie=d.indexOf(T.COMMA)-x.indexOf(T.COMMA),Xe=d.length-x.length,Qt=l&&d.length<n.length&&this.separatorLimit;if((d[k-1]===this.thousandSeparator||d[k-this.prefix.length])&&this.prefix&&l)k=k-1;else if(Xe>0&&d[k]!==this.thousandSeparator||Qt){v=!0;let Me=0;do this._shift.add(k+Me),Me++;while(Me<Xe)}else d[k-1]===this.thousandSeparator||Xe===-4||Xe===-3||d[k]===this.thousandSeparator?(this._shift.clear(),this._shift.add(k-1)):Ie!==0&&k>0&&!(d.indexOf(T.COMMA)>=k&&k>3)||!(d.indexOf(T.DOT)>=k&&k>3)&&Xe<=0?(this._shift.clear(),v=!0,g=Xe,k+=Xe,this._shift.add(k)):this._shift.clear()}else for(let X=0,G=D[0];X<D.length&&c!==r.length;X++,G=D[X]??T.EMPTY_STRING){let xe=T.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(G,r[c]??T.EMPTY_STRING)&&r[c+1]===T.SYMBOL_QUESTION)d+=G,c+=2;else if(r[c+1]===T.SYMBOL_STAR&&m&&this._checkSymbolMask(G,r[c+2]??T.EMPTY_STRING))d+=G,c+=3,m=!1;else if(this._checkSymbolMask(G,r[c]??T.EMPTY_STRING)&&r[c+1]===T.SYMBOL_STAR&&!xe)d+=G,m=!0;else if(r[c+1]===T.SYMBOL_QUESTION&&this._checkSymbolMask(G,r[c+2]??T.EMPTY_STRING))d+=G,c+=3;else if(this._checkSymbolMask(G,r[c]??T.EMPTY_STRING)){if(r[c]===T.HOURS&&(this.apm?Number(G)>9:Number(G)>2)){k=this.leadZeroDateTime?k:k+1,c+=1,this._shiftStep(r,c,D.length),X--,this.leadZeroDateTime&&(d+="0");continue}if(r[c]===T.HOUR&&(this.apm?d.length===1&&Number(d)>1||d==="1"&&Number(G)>2||x.slice(c-1,c).length===1&&Number(x.slice(c-1,c))>2||x.slice(c-1,c)==="1"&&Number(G)>2:d==="2"&&Number(G)>3||(d.slice(c-2,c)==="2"||d.slice(c-3,c)==="2"||d.slice(c-4,c)==="2"||d.slice(c-1,c)==="2")&&Number(G)>3&&c>10)){k=k+1,c+=1,X--;continue}if((r[c]===T.MINUTE||r[c]===T.SECOND)&&Number(G)>5){k=this.leadZeroDateTime?k:k+1,c+=1,this._shiftStep(r,c,D.length),X--,this.leadZeroDateTime&&(d+="0");continue}let F=31,H=x[c],Y=x[c+1],Ie=x[c+2],Xe=x[c-1],Qt=x[c-2],Me=x.slice(c-3,c-1),Ve=x.slice(c-1,c+1),ft=x.slice(c,c+2),Vn=x.slice(c-2,c);if(r[c]===T.DAY){let at=r.slice(0,2)===T.MONTHS,Xt=r.slice(0,2)===T.MONTHS&&this.specialCharacters.includes(Qt);if(Number(G)>3&&this.leadZeroDateTime||!at&&(Number(ft)>F||Number(Ve)>F||this.specialCharacters.includes(Y))||(Xt?Number(Ve)>F||!this.specialCharacters.includes(H)&&this.specialCharacters.includes(Ie)||this.specialCharacters.includes(H):Number(ft)>F||this.specialCharacters.includes(Y)&&!l)){k=this.leadZeroDateTime?k:k+1,c+=1,this._shiftStep(r,c,D.length),X--,this.leadZeroDateTime&&(d+="0");continue}}if(r[c]===T.MONTH){let at=c===0&&(Number(G)>2||Number(ft)>12||this.specialCharacters.includes(Y)&&!l),Xt=r.slice(c+2,c+3),Mt=Me.includes(Xt)&&r.includes("d0")&&(this.specialCharacters.includes(Qt)&&Number(Ve)>12&&!this.specialCharacters.includes(H)||this.specialCharacters.includes(H)),Jn=Number(Me)<=F&&!this.specialCharacters.includes(Me)&&this.specialCharacters.includes(Xe)&&(Number(ft)>12||this.specialCharacters.includes(Y)),$a=Number(ft)>12&&c===5||this.specialCharacters.includes(Y)&&c===5,_s=Number(Me)>F&&!this.specialCharacters.includes(Me)&&!this.specialCharacters.includes(Vn)&&Number(Vn)>12&&r.includes("d0"),ws=Number(Me)<=F&&!this.specialCharacters.includes(Me)&&!this.specialCharacters.includes(Xe)&&Number(Ve)>12;if(Number(G)>1&&this.leadZeroDateTime||at||Mt||ws||_s||Jn||$a&&!this.leadZeroDateTime){k=this.leadZeroDateTime?k:k+1,c+=1,this._shiftStep(r,c,D.length),X--,this.leadZeroDateTime&&(d+="0");continue}}d+=G,c++}else this.specialCharacters.includes(G)&&r[c]===G?(d+=G,c++):this.specialCharacters.indexOf(r[c]??T.EMPTY_STRING)!==-1?(d+=r[c],c++,this._shiftStep(r,c,D.length),X--):r[c]===T.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(r,c,D.length):this.patterns[r[c]??T.EMPTY_STRING]&&((nt=this.patterns[r[c]??T.EMPTY_STRING])!=null&&nt.optional)?(D[c]&&r!=="099.099.099.099"&&r!=="000.000.000-00"&&r!=="00.000.000/0000-00"&&!r.match(/^9+\.0+$/)&&!((Ct=this.patterns[r[c]??T.EMPTY_STRING])!=null&&Ct.optional)&&(d+=D[c]),r.includes(T.NUMBER_NINE+T.SYMBOL_STAR)&&r.includes(T.NUMBER_ZERO+T.SYMBOL_STAR)&&c++,c++,X--):this.maskExpression[c+1]===T.SYMBOL_STAR&&this._findSpecialChar(this.maskExpression[c+2]??T.EMPTY_STRING)&&this._findSpecialChar(G)===this.maskExpression[c+2]&&m||this.maskExpression[c+1]===T.SYMBOL_QUESTION&&this._findSpecialChar(this.maskExpression[c+2]??T.EMPTY_STRING)&&this._findSpecialChar(G)===this.maskExpression[c+2]&&m?(c+=3,d+=G):this.showMaskTyped&&this.specialCharacters.indexOf(G)<0&&G!==this.placeHolderCharacter&&this.placeHolderCharacter.length===1&&(w=!0)}d.length+1===r.length&&this.specialCharacters.indexOf(r[r.length-1]??T.EMPTY_STRING)!==-1&&(d+=r[r.length-1]);let O=k+1;for(;this._shift.has(O);)g++,O++;let J=o&&!r.startsWith(T.SEPARATOR)?c:this._shift.has(k)?g:0;w&&J--,u(J,v),g<0&&this._shift.clear();let le=!1;l&&(le=D.every(X=>this.specialCharacters.includes(X)));let _e=`${this.prefix}${le?T.EMPTY_STRING:d}${this.showMaskTyped?"":this.suffix}`;d.length===0&&(_e=this.dropSpecialCharacters?`${d}`:`${this.prefix}${d}`);let Ot=x.length===1&&this.specialCharacters.includes(r[0])&&x!==r[0];if(!this._checkSymbolMask(x,r[1])&&Ot)return"";if(d.includes(T.MINUS)&&this.prefix&&this.allowNegativeNumbers){if(l&&d===T.MINUS)return"";_e=`${T.MINUS}${this.prefix}${d.split(T.MINUS).join(T.EMPTY_STRING)}${this.suffix}`}return _e}_findDropSpecialChar(n){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(r=>r===n):this._findSpecialChar(n)}_findSpecialChar(n){return this.specialCharacters.find(r=>r===n)}_checkSymbolMask(n,r){var i,o;return this.patterns=this.customPattern?this.customPattern:this.patterns,(((i=this.patterns[r])==null?void 0:i.pattern)&&((o=this.patterns[r])==null?void 0:o.pattern.test(n)))??!1}_stripToDecimal(n){return n.split(T.EMPTY_STRING).filter((r,i)=>{let o=typeof this.decimalMarker=="string"?r===this.decimalMarker:this.decimalMarker.includes(r);return r.match("^-?\\d")||r===this.thousandSeparator||o||r===T.MINUS&&i===0&&this.allowNegativeNumbers}).join(T.EMPTY_STRING)}_charToRegExpExpression(n){return n&&(n===" "?"\\s":"[\\^$.|?*+()".indexOf(n)>=0?`\\${n}`:n)}_shiftStep(n,r,i){let o=/[*?]/g.test(n.slice(0,r))?i:r;this._shift.add(o+this.prefix.length||0)}_compareOrIncludes(n,r,i){return Array.isArray(r)?r.filter(o=>o!==i).includes(n):n===r}_validIP(n){return!(n.length===4&&!n.some((r,i)=>n.length!==i+1?r===T.EMPTY_STRING||Number(r)>255:r===T.EMPTY_STRING||Number(r.substring(0,3))>255))}_splitPercentZero(n){if(n===T.MINUS&&this.allowNegativeNumbers)return n;let r=typeof this.decimalMarker=="string"?n.indexOf(this.decimalMarker):n.indexOf(T.DOT),i=this.allowNegativeNumbers&&n.includes(T.MINUS)?"-":"";if(r===-1){let o=parseInt(i?n.slice(1,n.length):n,10);return isNaN(o)?T.EMPTY_STRING:`${i}${o}`}else{let o=parseInt(n.replace("-","").substring(0,r),10),l=n.substring(r+1),u=isNaN(o)?"":o.toString(),c=typeof this.decimalMarker=="string"?this.decimalMarker:T.DOT;return u===T.EMPTY_STRING?T.EMPTY_STRING:`${i}${u}${c}${l}`}}_findFirstNonZeroDigitIndex(n){for(let r=0;r<n.length;r++){let i=n[r];if(i&&i>="1"&&i<="9")return r}return-1}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),jae=(()=>{const t=class t extends Fae{constructor(){super(...arguments);s(this,"isNumberValue",!1);s(this,"maskIsShown","");s(this,"selStart",null);s(this,"selEnd",null);s(this,"writingValue",!1);s(this,"maskChanged",!1);s(this,"_maskExpressionArray",[]);s(this,"triggerOnMaskChange",!1);s(this,"_previousValue","");s(this,"_currentValue","");s(this,"_emitValue",!1);s(this,"_start");s(this,"_end");s(this,"onChange",r=>{});s(this,"_elementRef",S(Qe,{optional:!0}));s(this,"document",S(Fe));s(this,"_config",S(fm));s(this,"_renderer",S(Qr,{optional:!0}))}applyMask(r,i,o=0,l=!1,u=!1,c=()=>{}){if(!i)return r!==this.actualValue?this.actualValue:r;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():T.EMPTY_STRING,this.maskExpression===T.IP&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(r||T.HASH)),this.maskExpression===T.CPF_CNPJ&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(r||T.HASH)),!r&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;let d=r&&typeof this.selStart=="number"?r[this.selStart]??T.EMPTY_STRING:T.EMPTY_STRING,m="",v=o;if(this.hiddenInput!==null&&!this.writingValue){let k=r&&r.length===1?r.split(T.EMPTY_STRING):this.actualValue.split(T.EMPTY_STRING);typeof this.selStart=="object"&&typeof this.selEnd=="object"?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):r!==T.EMPTY_STRING&&k.length?typeof this.selStart=="number"&&typeof this.selEnd=="number"&&(r.length>k.length?k.splice(this.selStart,0,d):r.length<k.length&&(k.length-r.length===1?u?k.splice(this.selStart-1,1):k.splice(r.length-1,1):k.splice(this.selStart,this.selEnd-this.selStart))):k=[],this.showMaskTyped&&!this.hiddenInput&&(m=this.removeMask(r)),m=this.actualValue.length&&k.length<=r.length?this.shiftTypedSymbols(k.join(T.EMPTY_STRING)):r}if(l&&(this.hiddenInput||!this.hiddenInput)&&(m=r),u&&this.specialCharacters.indexOf(this.maskExpression[v]??T.EMPTY_STRING)!==-1&&this.showMaskTyped&&!this.prefix&&(m=this._currentValue),this.deletedSpecialCharacter&&v&&(this.specialCharacters.includes(this.actualValue.slice(v,v+1))?v=v+1:i.slice(v-1,v+1)!==T.MONTHS&&(v=v-2),this.deletedSpecialCharacter=!1),this.showMaskTyped&&this.placeHolderCharacter.length===1&&!this.leadZeroDateTime&&(m=this.removeMask(r)),this.maskChanged?m=r:m=m&&m.length?m:r,this.showMaskTyped&&this.keepCharacterPositions&&this.actualValue&&!l&&!this.writingValue){let k=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(k),this.actualValue?this.actualValue:`${this.prefix}${this.maskIsShown}${this.suffix}`}let g=super.applyMask(m,i,v,l,u,c);if(this.actualValue=this.getActualValue(g),this.thousandSeparator===T.DOT&&this.decimalMarker===T.DOT&&(this.decimalMarker=T.COMMA),this.maskExpression.startsWith(T.SEPARATOR)&&this.dropSpecialCharacters===!0&&(this.specialCharacters=this.specialCharacters.filter(k=>!this._compareOrIncludes(k,this.decimalMarker,this.thousandSeparator))),(g||g==="")&&(this._previousValue=this._currentValue,this._currentValue=g,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this.writingValue||this._previousValue===this._currentValue&&l),this._emitValue&&(this.writingValue&&this.triggerOnMaskChange?requestAnimationFrame(()=>this.formControlResult(g)):this.formControlResult(g)),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?u?this.hideInput(g,this.maskExpression):`${this.hideInput(g,this.maskExpression)}${this.maskIsShown.slice(g.length)}`:g;let w=g.length,x=`${this.prefix}${this.maskIsShown}${this.suffix}`;if(this.maskExpression.includes(T.HOURS)){let k=this._numberSkipedSymbols(g);return`${g}${x.slice(w+k)}`}else if(this.maskExpression===T.IP||this.maskExpression===T.CPF_CNPJ)return`${g}${x}`;return`${g}${x.slice(w)}`}_numberSkipedSymbols(r){let i=/(^|\D)(\d\D)/g,o=i.exec(r),l=0;for(;o!=null;)l+=1,o=i.exec(r);return l}applyValueChanges(r,i,o,l=()=>{}){var c;let u=(c=this._elementRef)==null?void 0:c.nativeElement;u&&(u.value=this.applyMask(u.value,this.maskExpression,r,i,o,l),u!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(r,i){return r.split(T.EMPTY_STRING).map((o,l)=>{var u,c;return this.patterns&&this.patterns[i[l]??T.EMPTY_STRING]&&((u=this.patterns[i[l]??T.EMPTY_STRING])!=null&&u.symbol)?(c=this.patterns[i[l]??T.EMPTY_STRING])==null?void 0:c.symbol:o}).join(T.EMPTY_STRING)}getActualValue(r){let i=r.split(T.EMPTY_STRING).filter((o,l)=>{let u=this.maskExpression[l]??T.EMPTY_STRING;return this._checkSymbolMask(o,u)||this.specialCharacters.includes(u)&&o===u});return i.join(T.EMPTY_STRING)===r?i.join(T.EMPTY_STRING):r}shiftTypedSymbols(r){let i="";return(r&&r.split(T.EMPTY_STRING).map((o,l)=>{if(this.specialCharacters.includes(r[l+1]??T.EMPTY_STRING)&&r[l+1]!==this.maskExpression[l+1])return i=o,r[l+1];if(i.length){let u=i;return i=T.EMPTY_STRING,u}return o})||[]).join(T.EMPTY_STRING)}numberToString(r){return!r&&r!==0||this.maskExpression.startsWith(T.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith(T.SEPARATOR)&&this.separatorLimit.length>14&&String(r).length>14?String(r):Number(r).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace(`/${T.MINUS}/`,T.MINUS)}showMaskInInput(r){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}else if(this.showMaskTyped){if(r){if(this.maskExpression===T.IP)return this._checkForIp(r);if(this.maskExpression===T.CPF_CNPJ)return this._checkForCpfCnpj(r)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){var i;let r=(i=this._elementRef)==null?void 0:i.nativeElement;r&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==r.value.replace(this.placeHolderCharacter,T.EMPTY_STRING).length&&(this.formElementProperty=["value",T.EMPTY_STRING],this.applyMask("",this.maskExpression))}set formElementProperty([r,i]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>{var o,l;return(l=this._renderer)==null?void 0:l.setProperty((o=this._elementRef)==null?void 0:o.nativeElement,r,i)})}checkDropSpecialCharAmount(r){return r.split(T.EMPTY_STRING).filter(i=>this._findDropSpecialChar(i)).length}removeMask(r){return this._removeMask(this._removeSuffix(this._removePrefix(r)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(r){if(r===T.HASH)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;let i=[];for(let o=0;o<r.length;o++){let l=r[o]??T.EMPTY_STRING;l&&l.match("\\d")&&i.push(l)}return i.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:i.length>3&&i.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:i.length>6&&i.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(r){let i=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,o=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if(r===T.HASH)return i;let l=[];for(let u=0;u<r.length;u++){let c=r[u]??T.EMPTY_STRING;c&&c.match("\\d")&&l.push(c)}return l.length<=3?i.slice(l.length,i.length):l.length>3&&l.length<=6?i.slice(l.length+1,i.length):l.length>6&&l.length<=9?i.slice(l.length+2,i.length):l.length>9&&l.length<11?i.slice(l.length+3,i.length):l.length===11?"":l.length===12?r.length===17?o.slice(16,o.length):o.slice(15,o.length):l.length>12&&l.length<=14?o.slice(l.length+4,o.length):""}_getActiveElement(r=this.document){var o;let i=(o=r==null?void 0:r.activeElement)==null?void 0:o.shadowRoot;return i!=null&&i.activeElement?this._getActiveElement(i):r.activeElement}formControlResult(r){if(this.writingValue&&!r){this.onChange("");return}if(this.writingValue||!this.triggerOnMaskChange&&this.maskChanged){this.triggerOnMaskChange&&this.maskChanged&&this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(r)))))),this.maskChanged=!1;return}Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(r)),this.dropSpecialCharacters))))):this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===r?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(r)))))):this.onChange(this.outputTransformFn(this._toNumber(r)))}_toNumber(r){if(!this.isNumberValue||r===T.EMPTY_STRING||this.maskExpression.startsWith(T.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters))return r;if(String(r).length>14&&this.maskExpression.startsWith(T.SEPARATOR))return String(r);let i=Number(r);if(this.maskExpression.startsWith(T.SEPARATOR)&&Number.isNaN(i)){let o=String(r).replace(",",".");return Number(o)}return Number.isNaN(i)?r:i}_removeMask(r,i){return this.maskExpression.startsWith(T.PERCENT)&&r.includes(T.DOT)?r:r&&r.replace(this._regExpForRemove(i),T.EMPTY_STRING)}_removePrefix(r){return this.prefix?r&&r.replace(this.prefix,T.EMPTY_STRING):r}_removeSuffix(r){return this.suffix?r&&r.replace(this.suffix,T.EMPTY_STRING):r}_retrieveSeparatorValue(r){let i=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(o=>this.dropSpecialCharacters.includes(o)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&r.includes(T.WHITE_SPACE)&&this.maskExpression.includes(T.SYMBOL_STAR)&&(i=i.filter(o=>o!==T.WHITE_SPACE)),this._removeMask(r,i)}_regExpForRemove(r){return new RegExp(r.map(i=>`\\${i}`).join("|"),"gi")}_replaceDecimalMarkerToDot(r){let i=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return r.replace(this._regExpForRemove(i),T.DOT)}_checkSymbols(r){let i=r;if(i===T.EMPTY_STRING)return i;this.maskExpression.startsWith(T.PERCENT)&&this.decimalMarker===T.COMMA&&(i=i.replace(T.COMMA,T.DOT));let o=this._retrieveSeparatorPrecision(this.maskExpression),l=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(i));return this.isNumberValue&&o?i===this.decimalMarker?null:l.length>14?String(l):this._checkPrecision(this.maskExpression,l):l}_checkPatternForSpace(){var r,i,o;for(let l in this.patterns)if(this.patterns[l]&&((r=this.patterns[l])!=null&&r.hasOwnProperty("pattern"))){let u=(i=this.patterns[l])==null?void 0:i.pattern.toString(),c=(o=this.patterns[l])==null?void 0:o.pattern;if(u!=null&&u.includes(T.WHITE_SPACE)&&(c!=null&&c.test(this.maskExpression)))return!0}return!1}_retrieveSeparatorPrecision(r){let i=r.match(new RegExp("^separator\\.([^d]*)"));return i?Number(i[1]):null}_checkPrecision(r,i){let o=this.getPrecision(r),l=i;return r.indexOf("2")>0||this.leadZero&&Number(o)>0?(this.decimalMarker===T.COMMA&&this.leadZero&&(l=l.replace(",",".")),this.leadZero?Number(l).toFixed(Number(o)):Number(l).toFixed(2)):this.numberToString(l)}_repeatPatternSymbols(r){return r.match(/{[0-9]+}/)&&r.split(T.EMPTY_STRING).reduce((i,o,l)=>{if(this._start=o===T.CURLY_BRACKETS_LEFT?l:this._start,o!==T.CURLY_BRACKETS_RIGHT)return this._findSpecialChar(o)?i+o:i;this._end=l;let u=Number(r.slice(this._start+1,this._end)),c=new Array(u+1).join(r[this._start-1]);if(r.slice(0,this._start).length>1&&r.includes(T.LETTER_S)){let d=r.slice(0,this._start-1);return d.includes(T.CURLY_BRACKETS_LEFT)?i+c:d+i+c}else return i+c},"")||r}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}};s(t,"ɵfac",(()=>{let r;return function(i){return(r||(r=tt(t)))(i||t)}})()),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})();function Vae(){let e=S(yw),t=S(bw);return t instanceof Function?ue(ue({},e),t()):ue(ue({},e),t)}function zae(e){return[{provide:bw,useValue:e},{provide:yw,useValue:Lae},{provide:fm,useFactory:Vae},jae]}function Bae(e){return Oh(zae(e))}var Vu=(()=>{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=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Hae="4.0",ah=Hae,Ja=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(Ja||{}),qae=(()=>{const t=class t{constructor(){s(this,"version");s(this,"language");s(this,"configName");s(this,"services");s(this,"onPrint",new it);s(this,"_ngInitDone",!1);s(this,"correctlySetup",!1);s(this,"extraRequiredFields",[])}validateVersion(){let n=ah.split(".").map(i=>parseInt(i)),r=(this.version||"").split(".").map(i=>parseInt(i));return r.length!==2?(console.error(`[BaseWebComponent] The given version (${this.version}) has the wrong format <major>.<minor>!`),!1):r[0]!==n[0]?(console.error(`[BaseWebComponent] The given version (${this.version})'s major is not compatible with this component's major version (${ah})!`),!1):!0}validateInputs(){let n=this,r=["language","configName","services","version",...this.extraRequiredFields],{missingFields:i,presentFields:o}=r.reduce((l,u)=>(n[u]===void 0?l.missingFields.push(u):l.presentFields.push(u),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",Oe({type:t,selectors:[["ng-component"]],inputs:{version:"version",language:"language",configName:"configName",services:"services"},outputs:{onPrint:"onPrint"},features:[Gr],decls:0,vars:0,template:function(n,r){},encapsulation:2}));let e=t;return e})(),_w=class{constructor(e,t,a,n,r){s(this,"logId");s(this,"services");s(this,"key");s(this,"cacheFetchingKey");s(this,"offlineDataStorageEnabled");s(this,"isOfflineAuthenticated");this.logId=r,this.services=e,this.key=t,this.cacheFetchingKey=`fetching-${this.key}`,this.offlineDataStorageEnabled=n,this.isOfflineAuthenticated=a}clearStoredDataWhen(e){return Array.isArray(e)&&e.length===0}fetchBackendData(){return Rt(this,null,function*(){let e=yield this.getDataFromBackend();return e&&(yield this.updateStoredData(e)),e})}fetchOfflineData(){return Rt(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 Rt(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 Rt(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 Rt(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 Rt(this,null,function*(){this.storeDataInCache(e),yield this.clearStoredDataWhen(e)?this.clearStoredData():this.storeDataOffline(e)})}clearStoredData(){return Rt(this,null,function*(){this.offlineDataStorageEnabled&&this.services.offlineDataStorage&&(yield this.services.offlineDataStorage.remove(this.key),this.logId&&console.log(`[${this.logId}] Removed all data from "${this.key}" in the offline store`))})}},ww=()=>{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)},Zo=function(e){return e.DIARY_NOTES="diarynotes",e.PRESCRIPTIONS="prescriptions",e.MEDICATION_SCHEME="medicationScheme",e.MEDICATION_SCHEME_PAGE_STATE="medicationSchemePageState",e.DELIVERED_MEDICATIONS="deliveredMedications",e.USER_INFOS="userInfos",e.MANDATE_TYPE="mandateType",e}(Zo||{}),er=function(e){return e.CNK="cnk",e.INN="inn",e.VMP="vmp",e.EAN="ean",e.COMPOUND="compound",e}(er||{}),h=function(e){return e.NL="nl",e.FR="fr",e.DE="de",e.EN="en",e}(h||{});h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE;var Mr={getAuthorizationHeader:e=>`Bearer ${e}`,getUserType:e=>e.isProfessional?"professional":"patient",clientType:{webApp:"webapp",mobileApp:"mobapp"}},Co={authorization:"Authorization",userType:"user-type",clientType:"client-type"},bo=class extends Error{};bo.prototype.name="InvalidTokenError";function $ae(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,a)=>{let n=a.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}function Uae(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 $ae(t)}catch{return atob(t)}}function Gae(e,t){if(typeof e!="string")throw new bo("Invalid token specified: must be a string");t||(t={});let a=t.header===!0?0:1,n=e.split(".")[a];if(typeof n!="string")throw new bo(`Invalid token specified: missing part #${a+1}`);let r;try{r=Uae(n)}catch(i){throw new bo(`Invalid token specified: invalid base64 for part #${a+1} (${i.message})`)}try{return JSON.parse(r)}catch(i){throw new bo(`Invalid token specified: invalid json for part #${a+1} (${i.message})`)}}var Wae=class extends _w{constructor(e,t,a){super(e,Zo.USER_INFOS,t,a,Zo.USER_INFOS),this.getLocalAccessToken=e.getAccessToken}getDataFromBackend(){return Rt(this,null,function*(){return Gae(yield this.getLocalAccessToken("")).userProfile})}},xw=(()=>{const t=class t{get isProfessional(){return this._isProfessional}set isProfessional(n){this._isProfessional=n}get patientSsin(){return this._patientSsin}set patientSsin(n){this._patientSsin=n}get isOfflineDataStorageEnabled(){return this._offlineDataStorageEnabled}set isOfflineDataStorageEnabled(n){this._offlineDataStorageEnabled=n}get isOfflineAuthenticated(){return this._isOfflineAuthenticated}set isOfflineAuthenticated(n){this._isOfflineAuthenticated=n}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function Zae(e){var t,a;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0].ssin:((a=e==null?void 0:e.mandators)==null?void 0:a.length)>0?e.mandators[0].ssin:e.ssin}function Yae(e){var t,a;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0]:((a=e==null?void 0:e.mandators)==null?void 0:a.length)>0?e.mandators[0]:{ssin:e.ssin,lastName:e==null?void 0:e.lastName,firstName:e==null?void 0:e.firstName}}var Kae=(()=>{const t=class t extends xw{constructor(){super(...arguments),this.servicesStore=S(Vu)}resolveSsin(){return Rt(this,null,function*(){if(this.isProfessional===!0)return this.patientSsin;let n=yield this.fetchUserProfileToken();return Zae(n)})}resolvePatientInfo(){return Rt(this,null,function*(){let n=yield this.fetchUserProfileToken();return Yae(n)})}resolveUserInfo(){return Rt(this,null,function*(){var d,m,v,g;let n=yield this.fetchUserProfileToken(),r=n.lastName,i=n.firstName,o=this.extractProfessionalRole(n),l=((d=n==null?void 0:n.organizations)==null?void 0:d.length)>0&&((m=n==null?void 0:n.organizations[0])!=null&&m.pharmacy)?"pharmacist":void 0,u=(v=n==null?void 0:n.organizations)!=null&&v.length&&l!==void 0?n==null?void 0:n.organizations[0]:void 0,c=this.resolveProfessional(n,o)?n[o]:void 0;return{firstName:i,ssin:n.ssin,lastName:r,role:l||o,organization:u&&l?u:void 0,professional:c,mandator:((g=n==null?void 0:n.mandators)==null?void 0:g.length)>0}})}isMandator(){return Rt(this,null,function*(){var n,r;return((r=(n=yield this.fetchUserProfileToken())==null?void 0:n.mandators)==null?void 0:r.length)>0})}resolveProfessional(n,r){return r?n[r]:void 0}extractProfessionalRole(n){let r=["physician","nurse","midwife","dentist"],i="patient";return r.forEach(o=>{n[o]&&(i=o)}),i}fetchUserProfileToken(){return this.accessTokenService.getData(!0)}registerAccessTokenService(n,r){this.isOfflineAuthenticated=n,this.isOfflineDataStorageEnabled=r,this.accessTokenService=new Wae(this.servicesStore.getServices(),n,r)}};t.ɵfac=(()=>{let n;return function(r){return(n||(n=tt(t)))(r||t)}})(),t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Qae=(()=>{const t=class t extends xw{resolveSsin(){return Rt(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 Rt(this,null,function*(){return Promise.resolve(!1)})}registerAccessTokenService(n,r){this.isOfflineAuthenticated=n,this.isOfflineDataStorageEnabled=r}};t.ɵfac=(()=>{let n;return function(r){return(n||(n=tt(t)))(r||t)}})(),t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Xae=(()=>{const t=class t{constructor(){this.http=S(Ji)}get(n,r,i){return Ks()?this.http.get(n,{headers:i}):et(r)}patch(n,r,i){return Ks()?this.http.patch(n,{},{headers:i}):et(r)}post(n,r,i){return Ks()?this.http.post(n,{},{headers:i}):et(r)}delete(n,r,i){return Ks()?this.http.delete(n,{headers:i}):et(r)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Ks=()=>window.Cypress;function Ew(e){return e.firstName&&e.lastName?e.firstName+" "+e.lastName:e.name}var Jae={fr:["fr","nl","de","en"],nl:["nl","fr","de","en"],de:["de","fr","nl","en"],en:["en","nl","fr","de"]};function Ql(e,t){if(e){t=t==null?void 0:t.substring(0,2);for(let a of Jae[t]){let n=e.find(r=>r.lang===a);if(n)return n.value}return e.length>0?e[0].value:"Missing translation"}}var Ei=function(e){return e.INITIAL="INITIAL",e.LOADING="LOADING",e.SUCCESS="SUCCESS",e.UPDATING="UPDATING",e.ERROR="ERROR",e}(Ei||{}),Fa=function(e){return e.NO_DATA="NO_DATA",e.TEMP_UNAVAILABLE="TEMP_UNAVAILABLE",e.NOT_AUTHORIZED="NOT_AUTHORIZED",e.OTHER="OTHER",e}(Fa||{});function ere(e,t){return Rt(this,null,function*(){t.next({status:Ei.LOADING});try{let a=yield e,n={status:Ei.SUCCESS,data:a};return t.next(n),n}catch(a){let n={status:Ei.ERROR,error:are(a)};return t.next(n),n}})}var Xg={[Fa.NO_DATA]:["VIDIS_0140"],[Fa.TEMP_UNAVAILABLE]:["VIDIS_0121","VIDIS_0122","VIDIS_0123","VIDIS_0124","VIDIS_0125","VIDIS_0126","VIDIS_0131","VIDIS_0132","VIDIS_0133","VIDIS_0134","VIDIS_0135","VIDIS_0136"],[Fa.NOT_AUTHORIZED]:["VIDIS_3150","VIDIS_3090","VIDIS_3140","VIDIS_3100","VIDIS_3120","VIDIS_0400","VIDIS_3030","VIDIS_0100","VIDIS_0120","VIDIS_0110","VIDIS_0200","VIDIS_0340","VIDIS_0341"],[Fa.OTHER]:[]};function tre(e){for(let t of Object.keys(Xg))if(Xg[t].includes(e))return t;return Fa.OTHER}function nre(e,t,a){let n=e||"UNKNOWN",r=tre(n);return{code:n,message:a??"An unexpected error occurred",group:r,traceId:t}}function are(e){var r,i,o;let t=((r=e.error)==null?void 0:r.code)??void 0,a=((i=e.error)==null?void 0:i.message)??e.message,n=(o=e.headers)==null?void 0:o.get("trace-id");return nre(t,n,a)}var rre=(()=>{const t=class t{constructor(){this.translate=S(Xn)}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 Ql(n,this.translate.currentLang)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Sw=(()=>{const t=class t{constructor(){this.http=S(Ji),this.snackbarService=S(Cw)}getLeaflet(n,r){this.http.get(`/v2/leaflet/${n}/${r}`,{responseType:"text"}).pipe(pn(1),kh(i=>(this.snackbarService.showError(i.status===404?"error.no-leaflet":"error.fetch-leaflet"),d0(()=>i)))).subscribe(i=>{window.open(i,"_blank")})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),ji=(()=>{const t=class t{constructor(){this.config=S(to),this.injector=S(ht),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(Qae):this.injector.get(Kae)}return this._instance}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),ire={HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)"};function ore(e,t){if(e&1){let a=ba();j(0,"div",1)(1,"button",2),rn("click",function(){gn(a);let n=pe();return vn(n.action())}),ee(2),V()()}if(e&2){let a=pe();P(2),Ue(" ",a.data.action," ")}}var sre=["label"];function lre(e,t){}var ure=Math.pow(2,31)-1,rh=class{constructor(e,t){s(this,"_overlayRef");s(this,"instance");s(this,"containerInstance");s(this,"_afterDismissed",new ge);s(this,"_afterOpened",new ge);s(this,"_onAction",new ge);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,ure))}_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}},kw=new K("MatSnackBarData"),Xl=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")}},cre=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",ye({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}));let e=t;return e})(),dre=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",ye({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}));let e=t;return e})(),hre=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",ye({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}));let e=t;return e})(),pre=(()=>{const t=class t{constructor(){s(this,"snackBarRef",S(rh));s(this,"data",S(kw))}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Oe({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(n,r){n&1&&(j(0,"div",0),ee(1),V(),Ee(2,ore,3,1,"div",1)),n&2&&(P(),Ue(" ",r.data.message,`
30
30
  `),P(),$e(r.hasAction?2:-1))},dependencies:[ys,cre,dre,hre],styles:[`.mat-mdc-simple-snack-bar{display:flex}
31
31
  `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Bc="_mat-snack-bar-enter",Hc="_mat-snack-bar-exit",mre=(()=>{const t=class t extends Fu{constructor(){super();s(this,"_ngZone",S(ze));s(this,"_elementRef",S(Qe));s(this,"_changeDetectorRef",S(ya));s(this,"_platform",S(dn));s(this,"_rendersRef");s(this,"_animationsDisabled",S(mr,{optional:!0})==="NoopAnimations");s(this,"snackBarConfig",S(Xl));s(this,"_document",S(Fe));s(this,"_trackedModals",new Set);s(this,"_enterFallback");s(this,"_exitFallback");s(this,"_renders",new ge);s(this,"_announceDelay",150);s(this,"_announceTimeoutId");s(this,"_destroyed",!1);s(this,"_portalOutlet");s(this,"_onAnnounce",new ge);s(this,"_onExit",new ge);s(this,"_onEnter",new ge);s(this,"_animationState","void");s(this,"_live");s(this,"_label");s(this,"_role");s(this,"_liveElementId",S(Xr).getId("mat-snack-bar-container-live-"));s(this,"attachDomPortal",r=>{this._assertNotAttached();let i=this._portalOutlet.attachDomPortal(r);return this._afterPortalAttached(),i});let r=this.snackBarConfig;r.politeness==="assertive"&&!r.announcementMessage?this._live="assertive":r.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert")),this._rendersRef=qb(()=>this._renders.next(),{manualCleanup:!0})}attachComponentPortal(r){this._assertNotAttached();let i=this._portalOutlet.attachComponentPortal(r);return this._afterPortalAttached(),i}attachTemplatePortal(r){this._assertNotAttached();let i=this._portalOutlet.attachTemplatePortal(r);return this._afterPortalAttached(),i}onAnimationEnd(r){r===Hc?this._completeExit():r===Bc&&(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(pn(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(Bc)))}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(Bc)},200)))}exit(){return this._destroyed?et(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(pn(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(Hc)))}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(Hc),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit(),this._renders.complete(),this._rendersRef.destroy()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let r=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(u=>r.classList.add(u)):r.classList.add(i)),this._exposeToModals();let o=this._label.nativeElement,l="mdc-snackbar__label";o.classList.toggle(l,!o.querySelector(`.${l}`))}_exposeToModals(){let r=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<i.length;o++){let l=i[o],u=l.getAttribute("aria-owns");this._trackedModals.add(l),u?u.indexOf(r)===-1&&l.setAttribute("aria-owns",u+" "+r):l.setAttribute("aria-owns",r)}}_clearFromModals(){this._trackedModals.forEach(r=>{let i=r.getAttribute("aria-owns");if(i){let o=i.replace(this._liveElementId,"").trim();o.length>0?r.setAttribute("aria-owns",o):r.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let r=this._elementRef.nativeElement,i=r.querySelector("[aria-hidden]"),o=r.querySelector("[aria-live]");if(i&&o){let l=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&i.contains(document.activeElement)&&(l=document.activeElement),i.removeAttribute("aria-hidden"),o.appendChild(i),l==null||l.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}};s(t,"ɵfac",function(r){return new(r||t)}),s(t,"ɵcmp",Oe({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(r,i){if(r&1&&(Ai(Li,7),Ai(sre,7)),r&2){let o;ln(o=un())&&(i._portalOutlet=o.first),ln(o=un())&&(i._label=o.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(r,i){r&1&&rn("animationend",function(o){return i.onAnimationEnd(o.animationName)})("animationcancel",function(o){return i.onAnimationEnd(o.animationName)}),r&2&&jt("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:[Ye],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(r,i){r&1&&(j(0,"div",1)(1,"div",2,0)(3,"div",3),Ee(4,lre,0,0,"ng-template",4),V(),lt(5,"div"),V()()),r&2&&(P(5),$t("aria-live",i._live)("role",i._role)("id",i._liveElementId))},dependencies:[Li],styles:[`@keyframes _mat-snack-bar-enter{from{transform:scale(0.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes _mat-snack-bar-exit{from{opacity:1}to{opacity:0}}.mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-snack-bar-container-animations-enabled{opacity:0}.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible{opacity:1}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter{animation:_mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit{animation:_mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}@media(forced-colors: active){.mat-mdc-snackbar-surface{outline:solid 1px}}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mdc-snackbar-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-snackbar-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mdc-snackbar-container-color, var(--mat-sys-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mdc-snackbar-supporting-text-font, var(--mat-sys-body-medium-font));font-size:var(--mdc-snackbar-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mdc-snackbar-supporting-text-weight, var(--mat-sys-body-medium-weight));line-height:var(--mdc-snackbar-supporting-text-line-height, var(--mat-sys-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}
32
32
  `],encapsulation:2}));let e=t;return e})();function fre(){return new Xl}var gre=new K("mat-snack-bar-default-options",{providedIn:"root",factory:fre}),vre=(()=>{const t=class t{constructor(){s(this,"_overlay",S(vr));s(this,"_live",S(PX));s(this,"_injector",S(ht));s(this,"_breakpointObserver",S(i1));s(this,"_parentSnackBar",S(t,{optional:!0,skipSelf:!0}));s(this,"_defaultConfig",S(gre));s(this,"_snackBarRefAtThisLevel",null);s(this,"simpleSnackBarComponent",pre);s(this,"snackBarContainerComponent",mre);s(this,"handsetCssClass","mat-mdc-snack-bar-handset")}get _openedSnackBarRef(){let n=this._parentSnackBar;return n?n._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(n){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=n:this._snackBarRefAtThisLevel=n}openFromComponent(n,r){return this._attach(n,r)}openFromTemplate(n,r){return this._attach(n,r)}open(n,r="",i){let o=ue(ue({},this._defaultConfig),i);return o.data={message:n,action:r},o.announcementMessage===n&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(n,r){let i=r&&r.viewContainerRef&&r.viewContainerRef.injector,o=ht.create({parent:i||this._injector,providers:[{provide:Xl,useValue:r}]}),l=new qo(this.snackBarContainerComponent,r.viewContainerRef,o),u=n.attach(l);return u.instance.snackBarConfig=r,u.instance}_attach(n,r){let i=ue(ue(ue({},new Xl),this._defaultConfig),r),o=this._createOverlay(i),l=this._attachSnackBarContainer(o,i),u=new rh(l,o);if(n instanceof nn){let c=new Lu(n,null,{$implicit:i.data,snackBarRef:u});u.instance=l.attachTemplatePortal(c)}else{let c=this._createInjector(i,u),d=new qo(n,void 0,c),m=l.attachComponentPortal(d);u.instance=m.instance}return this._breakpointObserver.observe(ire.HandsetPortrait).pipe(or(o.detachments())).subscribe(c=>{o.overlayElement.classList.toggle(this.handsetCssClass,c.matches)}),i.announcementMessage&&l._onAnnounce.subscribe(()=>{this._live.announce(i.announcementMessage,i.politeness)}),this._animateSnackBar(u,i),this._openedSnackBarRef=u,this._openedSnackBarRef}_animateSnackBar(n,r){n.afterDismissed().subscribe(()=>{this._openedSnackBarRef==n&&(this._openedSnackBarRef=null),r.announcementMessage&&this._live.clear()}),r.duration&&r.duration>0&&n.afterOpened().subscribe(()=>n._dismissAfter(r.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{n.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):n.containerInstance.enter()}_createOverlay(n){let r=new Xp;r.direction=n.direction;let i=this._overlay.position().global(),o=n.direction==="rtl",l=n.horizontalPosition==="left"||n.horizontalPosition==="start"&&!o||n.horizontalPosition==="end"&&o,u=!l&&n.horizontalPosition!=="center";return l?i.left("0"):u?i.right("0"):i.centerHorizontally(),n.verticalPosition==="top"?i.top("0"):i.bottom("0"),r.positionStrategy=i,this._overlay.create(r)}_createInjector(n,r){let i=n&&n.viewContainerRef&&n.viewContainerRef.injector;return ht.create({parent:i||this._injector,providers:[{provide:rh,useValue:r},{provide:kw,useValue:n.data}]})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Cw=(()=>{const t=class t{constructor(){this.snackbar=S(vre),this.translate=S(Xn)}showSuccess(n,r="commons.close",i=5e3){return this.snackbar.open(this.translate.instant(n),this.translate.instant(r),{duration:i,panelClass:"mh-snackbar--success"})}showError(n,r="commons.close",i=5e3){return this.snackbar.open(this.translate.instant(n),this.translate.instant(r),{duration:i,panelClass:"mh-snackbar--error"})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),bre={demo:{env:Ja.DEMO},dev:{apiUrl:"http://vidis-fake-api.test.paas.vasdc.be",env:Ja.DEV},int:{apiUrl:"https://vidis-api.int.pub.vascloud.be/REST/vidis",env:Ja.INT},acc:{apiUrl:"https://vidis-api.acc.vasha.be/REST/vidis",env:Ja.ACC},prod:{apiUrl:"https://vidis-api.vasha.be/REST/vidis",env:Ja.PROD}},to=(()=>{const t=class t{setEnvironment(n){this.configVariables=bre[Ja[n.toUpperCase()]]||{}}getEnvironmentVariable(n){return this.configVariables[n]}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),yre=(e,t)=>{let a=S(ji).getInstance(),n=S(Vu),r=S(to).getEnvironmentVariable("apiUrl");if(e.url.includes("assets/")||e.url.startsWith("http")||!r)return t(e);if(a.isOfflineAuthenticated)return et();let i=e.headers||new Pi,o=a.isProfessional;return Ur(n.getServices().getAccessToken("")).pipe(Ro(l=>t(e.clone({url:`${r}${e.url}`,headers:i.set(Co.authorization,Mr.getAuthorizationHeader(l)).set(Co.userType,Mr.getUserType({isProfessional:o})).set(Co.clientType,ww()?Mr.clientType.mobileApp:Mr.clientType.webApp)}))))};function _re(e){let t=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&a===0?1:5}var wre=["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",_re];function xre(e){let t=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&a===0?1:5}var Ere=["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",xre];function Sre(e){let t=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length,n=parseInt(e.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return t===0||t===1?1:n===0&&t!==0&&t%1e6===0&&a===0||!(n>=0&&n<=5)?4:5}var kre=["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",Sre];function Cre(e){let t=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&a===0?1:5}var Dre=["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",Cre];Au(wre,"de");Au(Dre,"nl");Au(kre,"fr");Au(Ere,"en");var Ire=class{handleError(e){throw new Error(e)}},Tre=class extends iJ{getFirstDayOfWeek(){return 1}format(e){return hw(e,"dd/MM/yyyy")}parse(e){return Aae(e,"dd/MM/yyyy",new Date)}},Rre={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"}}},Nre=[Pte(),QQ(XQ([yre])),Bae(),{provide:Zn,useClass:Ire},{provide:d1,useClass:Tre,deps:[$d]},{provide:UX,useValue:Rre},{provide:L1,useClass:Lte},{provide:x1,useValue:{panelClass:"mh-dialog-container"}}],Ore=Cv(hq(),1),Mre=new K("MESSAGE_FORMAT_CONFIG"),Are={biDiSupport:!1,formatters:{},strictNumberSign:!1,currency:"USD",strictPluralKeys:!0,throwOnError:!1,fallbackPrefix:void 0},Pre=(()=>{const t=class t extends bs{constructor(n){super(),this.mfCache=new Map;let{formatters:r,biDiSupport:i,strictNumberSign:o,currency:l,strictPluralKeys:u,throwOnError:c,fallbackPrefix:d}=ue(ue({},Are),n);this.messageFormatOptions={customFormatters:r,biDiSupport:i,strict:o,currency:l,strictPluralKeys:u},this.throwOnError=!!c,this.fallbackPrefix=d}compile(n,r){if(this.fallbackPrefix&&n.startsWith(this.fallbackPrefix))return n.slice(this.fallbackPrefix.length);let i;try{i=this.getMessageFormatInstance(r).compile(n)}catch(o){if(this.throwOnError)throw o;console.error(o),console.error(`[ngx-translate-messageformat-compiler] Could not compile message for lang '${r}': '${n}'`),i=Fre(n,r)}return this.throwOnError||(i=Lre(i,n)),i}compileTranslations(n,r){return typeof n=="string"?this.compile(n,r):Object.keys(n).reduce((i,o)=>{let l=n[o];return i[o]=this.compileTranslations(l,r),i},{})}getMessageFormatInstance(n){return this.mfCache.has(n)||this.mfCache.set(n,new Ore.default(n,this.messageFormatOptions)),this.mfCache.get(n)}};t.ɵfac=function(n){return new(n||t)(oe(Mre,8))},t.ɵprov=z({token:t,factory:t.ɵfac});let e=t;return e})();function Lre(e,t){return a=>{let n=t;try{n=e(a)}catch(r){console.error(r),console.error(`[ngx-translate-messageformat-compiler] Could not interpolate '${t}' with params '${a}'`)}return n}}function Fre(e,t){return()=>(console.warn(`[ngx-translate-messageformat-compiler] Falling back to original invalid message: '${e}' ('${t}')`),String(e))}var Dw={};de(Dw,{"00001":()=>Iw,"00002":()=>Tw,"00003":()=>Rw,"00004":()=>Nw,"00005":()=>Ow,"00006":()=>Mw,"00007":()=>Aw,"00008":()=>Pw,"00009":()=>Lw,"00010":()=>Fw,"00011":()=>jw,"00012":()=>Vw,"00013":()=>zw,"00014":()=>Bw,"00015":()=>Hw,"00016":()=>qw,"00017":()=>$w,"00018":()=>Uw,"00019":()=>Gw,"00020":()=>Ww,"00021":()=>Zw,"00022":()=>Yw,"00023":()=>Kw,"00024":()=>Qw,"00025":()=>Xw,"00026":()=>Jw,"00027":()=>ex,"00028":()=>tx,"00029":()=>nx,"00030":()=>ax,ampoule:()=>Tx,bandage:()=>Sx,bottle:()=>Rx,box:()=>Cx,cm:()=>rx,default:()=>jre,dropsperminute:()=>ix,"effervescent-tablet":()=>xx,gm:()=>ox,internationalunits:()=>sx,iu:()=>_x,liter:()=>Dx,"mck/h":()=>lx,"mck/kg/minute":()=>ux,measure:()=>cx,meq:()=>bx,mg:()=>gx,"mg/h":()=>dx,"mg/ml":()=>vx,micrograms:()=>Ex,miu:()=>yx,"ml/h":()=>hx,mmol:()=>wx,piece:()=>kx,syringe:()=>Ix,"syringe-ampoule":()=>Nx,tbl:()=>px,tsp:()=>mx,"unt/h":()=>fx});var Iw="{count, plural, one{kaffeelöffel (5 ml)} other{kaffeelöffellen (5 ml)}}",Tw="{count, plural, one{Ampulle} other{Ampullen}}",Rw="anwenden",Nw="{count, plural, one{Kapsel} other{Kapseln}}",Ow="{count, plural, one{Tablette} other{Tabletten}}",Mw="Dosis",Aw="{count, plural, one{Tropf} other{Tropfen}}",Pw="{count, plural, one{Fläsche} other{Fläschchen}}",Lw="{count, plural, one{Implantat} other{Implantate}}",Fw="{count, plural, one{Infusion} other{Infusionen}}",jw="{count, plural, one{Inhalation} other{Inhalationen}}",Vw="Einstechen",zw="Kaugummi",Bw="{count, plural, one{Kompresse} other{Kompressen}}",Hw="{count, plural, one{Einlauf} other{Einläufe}}",qw="ml",$w="Ov.",Uw="{count, plural, one{Perle} other{Perlen}}",Gw="{count, plural, one{Pastille} other{Pastillen}}",Ww="Pflaster",Zw="cart",Yw="Pen",Kw="{count, plural, one{Puff} other{Puffs}}",Qw="{count, plural, one{Schwamm} other{Schwämme}}",Xw="{count, plural, one{Stift} other{Stifte}}",Jw="Suppo",ex="Tube",tx="{count, plural, one{Docht} other{Dochte}}",nx="Beutel",ax="Beutel",rx="Zentimeter",ix="{count, plural, one{Tropf pro Minute} other{Tropfen pro Minute}}",ox="Gramm",sx="{count, plural, one{Internationale Einheit} other{Internationale Einheiten}}",lx="Mikrogramm pro Stunde",ux="Mikrogramm pro Kilogramm pro Minute",cx="Maß",dx="Miligramm pro Stunde",hx="Milliliter pro Stunde",px="Esslöffel",mx="Kaffeelöffel",fx="{count, plural, one{Einheit pro Stunde} other{Einheiten pro Stunde}}",gx="Milligramm",vx="Milligramm pro Millimeter",bx="meq",yx="miu",_x="iu",wx="mmol",xx="effervescent-tablet",Ex="micrograms",Sx="{count, plural, one{bandage} other{bandagen}}",kx="{count, plural, one{stück} other{stücke}}",Cx="schachteln",Dx="liter",Ix="{count, plural, one{spritze} other{spritzen}}",Tx="{count, plural, one{glühbirn} other{glühbirnen}}",Rx="{count, plural, one{Fläsche} other{Fläschchen}}",Nx="{count, plural, one{spritze-ampulle} other{spritzen-ampulle}}",jre={"00001":Iw,"00002":Tw,"00003":Rw,"00004":Nw,"00005":Ow,"00006":Mw,"00007":Aw,"00008":Pw,"00009":Lw,"00010":Fw,"00011":jw,"00012":Vw,"00013":zw,"00014":Bw,"00015":Hw,"00016":qw,"00017":$w,"00018":Uw,"00019":Gw,"00020":Ww,"00021":Zw,"00022":Yw,"00023":Kw,"00024":Qw,"00025":Xw,"00026":Jw,"00027":ex,"00028":tx,"00029":nx,"00030":ax,cm:rx,dropsperminute:ix,gm:ox,internationalunits:sx,"mck/h":lx,"mck/kg/minute":ux,measure:cx,"mg/h":dx,"ml/h":hx,tbl:px,tsp:mx,"unt/h":fx,mg:gx,"mg/ml":vx,meq:bx,miu:yx,iu:_x,mmol:wx,"effervescent-tablet":xx,micrograms:Ex,bandage:Sx,piece:kx,box:Cx,liter:Dx,syringe:Ix,ampoule:Tx,bottle:Rx,"syringe-ampoule":Nx},Ox={};de(Ox,{"00001":()=>Mx,"00002":()=>Ax,"00003":()=>Px,"00004":()=>Lx,"00005":()=>Fx,"00006":()=>jx,"00007":()=>Vx,"00008":()=>zx,"00009":()=>Bx,"00010":()=>Hx,"00011":()=>qx,"00012":()=>$x,"00013":()=>Ux,"00014":()=>Gx,"00015":()=>Wx,"00016":()=>Zx,"00017":()=>Yx,"00018":()=>Kx,"00019":()=>Qx,"00020":()=>Xx,"00021":()=>Jx,"00022":()=>eE,"00023":()=>tE,"00024":()=>nE,"00025":()=>aE,"00026":()=>rE,"00027":()=>iE,"00028":()=>oE,"00029":()=>sE,"00030":()=>lE,ampoule:()=>AE,bandage:()=>TE,bottle:()=>PE,box:()=>NE,cm:()=>uE,default:()=>Vre,dropsperminute:()=>cE,"effervescent-tablet":()=>DE,gm:()=>dE,internationalunits:()=>hE,iu:()=>kE,liter:()=>OE,"mck/h":()=>pE,"mck/kg/minute":()=>mE,measure:()=>fE,meq:()=>EE,mg:()=>wE,"mg/h":()=>gE,"mg/ml":()=>xE,micrograms:()=>IE,miu:()=>SE,"ml/h":()=>vE,mmol:()=>CE,piece:()=>RE,syringe:()=>ME,"syringe-ampoule":()=>LE,tbl:()=>bE,tsp:()=>yE,"unt/h":()=>_E});var Mx="{count, plural, one{Teaspoon (5 ml)} other{Teaspoons (5 ml)}}",Ax="{count, plural, one{ampoule} other{ampoules}}",Px="applic.",Lx="{count, plural, one{capsule} other{capsules}}",Fx="{count, plural, one{tablet} other{tablets}}",jx="{count, plural, one{dose} other{doses}}",Vx="{count, plural, one{drop} other{drops}}",zx="{count, plural, one{bottle} other{bottles}}",Bx="{count, plural, one{implant} other{implants}}",Hx="{count, plural, one{perfusion} other{perfusions}}",qx="{count, plural, one{inhalation} other{inhalations}}",$x="insert",Ux="{count, plural, one{chewing gum} other{chewing gums}}",Gx="{count, plural, one{compress} other{compresses}}",Wx="enema",Zx="ml",Yx="{count, plural, one{ovule} other{ovules}}",Kx="{count, plural, one{pearl} other{pearls}}",Qx="{count, plural, one{pastille} other{pastilles}}",Xx="{count, plural, one{patch} other{patches}}",Jx="{count, plural, one{cartridge} other{cartridges}}",eE="{count, plural, one{pen} other{pens}}",tE="{count, plural, one{puff} other{puffs}}",nE="{count, plural, one{sponge} other{sponges}}",aE="{count, plural, one{stylo} other{stylos}}",rE="{count, plural, one{supository} other{supositories}}",iE="{count, plural, one{tube} other{tubes}}",oE="{count, plural, one{wick} other{wicks}}",sE="{count, plural, one{bag} other{bags}}",lE="{count, plural, one{small bag} other{small bags}}",uE="centimeter",cE="{count, plural, one{drop per minute} other{drops per minute}}",dE="gram",hE="international units",pE="microgram per hour",mE="microgram per kilogram per minute",fE="{count, plural, one{measure} other{measures}}",gE="milligram per hour",vE="milliliter per hour",bE="{count, plural, one{tablespoon} other{tablespoons}}",yE="{count, plural, one{teaspoon} other{teaspoons}}",_E="{count, plural, one{unit per hour} other{units per hour}}",wE="milligram",xE="milligram per milliliter",EE="milli-equivalent",SE="miu",kE="international units",CE="millimole",DE="{count, plural, one{effervescent tablet} other{effervescent tablets}}",IE="microgram",TE="{count, plural, one{bandage} other{bandages}}",RE="{count, plural, one{piece} other{pieces}}",NE="{count, plural, one{spray} other{sprays}}",OE="liter",ME="{count, plural, one{syringe} other{syringes}}",AE="{count, plural, one{ampoule} other{ampoules}}",PE="{count, plural, one{bottle} other{bottles}}",LE="{count, plural, one{syringe ampoule} other{syringe ampoules}}",Vre={"00001":Mx,"00002":Ax,"00003":Px,"00004":Lx,"00005":Fx,"00006":jx,"00007":Vx,"00008":zx,"00009":Bx,"00010":Hx,"00011":qx,"00012":$x,"00013":Ux,"00014":Gx,"00015":Wx,"00016":Zx,"00017":Yx,"00018":Kx,"00019":Qx,"00020":Xx,"00021":Jx,"00022":eE,"00023":tE,"00024":nE,"00025":aE,"00026":rE,"00027":iE,"00028":oE,"00029":sE,"00030":lE,cm:uE,dropsperminute:cE,gm:dE,internationalunits:hE,"mck/h":pE,"mck/kg/minute":mE,measure:fE,"mg/h":gE,"ml/h":vE,tbl:bE,tsp:yE,"unt/h":_E,mg:wE,"mg/ml":xE,meq:EE,miu:SE,iu:kE,mmol:CE,"effervescent-tablet":DE,micrograms:IE,bandage:TE,piece:RE,box:NE,liter:OE,syringe:ME,ampoule:AE,bottle:PE,"syringe-ampoule":LE},FE={};de(FE,{"00001":()=>jE,"00002":()=>VE,"00003":()=>zE,"00004":()=>BE,"00005":()=>HE,"00006":()=>qE,"00007":()=>$E,"00008":()=>UE,"00009":()=>GE,"00010":()=>WE,"00011":()=>ZE,"00012":()=>YE,"00013":()=>KE,"00014":()=>QE,"00015":()=>XE,"00016":()=>JE,"00017":()=>eS,"00018":()=>tS,"00019":()=>nS,"00020":()=>aS,"00021":()=>rS,"00022":()=>iS,"00023":()=>oS,"00024":()=>sS,"00025":()=>lS,"00026":()=>uS,"00027":()=>cS,"00028":()=>dS,"00029":()=>hS,"00030":()=>pS,ampoule:()=>VS,bandage:()=>AS,bottle:()=>zS,box:()=>LS,cm:()=>mS,default:()=>zre,dropsperminute:()=>fS,"effervescent-tablet":()=>OS,gm:()=>gS,internationalunits:()=>vS,iu:()=>RS,liter:()=>FS,"mck/h":()=>bS,"mck/kg/minute":()=>yS,measure:()=>_S,meq:()=>IS,mg:()=>CS,"mg/h":()=>wS,"mg/ml":()=>DS,micrograms:()=>MS,miu:()=>TS,"ml/h":()=>xS,mmol:()=>NS,piece:()=>PS,syringe:()=>jS,"syringe-ampoule":()=>BS,tbl:()=>ES,tsp:()=>SS,"unt/h":()=>kS});var jE="{count, plural, one{cuillère à café (5 ml)} other{cuillères à café (5 ml)}}",VE="amp.",zE="applic.",BE="caps.",HE="compr.",qE="{count, plural, one{dose} other{doses}}",$E="{count, plural, one{goutte} other{gouttes}}",UE="flac.",GE="{count, plural, one{implant} other{implants}}",WE="{count, plural, one{perfusion} other{perfusions}}",ZE="{count, plural, one{inhalation} other{inhalations}}",YE="insert",KE="{count, plural, one{gomme à mâcher} other{gommes à mâcher}}",QE="{count, plural, one{compres(se)} other{compres(ses)}}",XE="{count, plural, one{lavement} other{lavements}}",JE="ml",eS="ov.",tS="{count, plural, one{perle} other{perles}}",nS="{count, plural, one{pastille} other{pastilles}}",aS="{count, plural, one{patch} other{patchs}}",rS="patr.",iS="{count, plural, one{stylo} other{stylos}}",oS="{count, plural, one{puff} other{puffs}}",sS="{count, plural, one{éponge} other{éponges}}",lS="{count, plural, one{stylo} other{stylos}}",uS="suppo",cS="{count, plural, one{tube} other{tubes}}",dS="{count, plural, one{mèche} other{mèches}}",hS="{count, plural, one{sac} other{sacs}}",pS="{count, plural, one{sachet} other{sachets}}",mS="{count, plural, one{centimètre} other{centimètres}}",fS="{count, plural, one{goute par minute} other{goutes par minute}}",gS="{count, plural, one{gramme} other{grammes}}",vS="{count, plural, one{unité internationales} other{unités internationales}}",bS="{count, plural, one{microgramme par heure} other{microgrammes par heure}}",yS="{count, plural, one{microgramme par kilogramme par minute} other{microgrammes par kilogramme par minute}}",_S="{count, plural, one{mesure} other{mesures}}",wS="{count, plural, one{milligramme par heure} other{milligrammes par heure}}",xS="{count, plural, one{millilitre par heure} other{millilitres par heure}}",ES="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",SS="{count, plural, one{cuillère à café} other{cuillères à café}}",kS="{count, plural, one{unité par heure} other{unités par heure}}",CS="{count, plural, one{miligramme} other{miligrammes}}",DS="{count, plural, one{milligramme par millimètre} other{milligrammes par millimètre}}",IS="milli-équivalent",TS="miu",RS="{count, plural, one{unité internationales} other{unités internationales}}",NS="millimol",OS="{count, plural, one{comprimé effervescent} other{comprimés effervescents}}",MS="{count, plural, one{microgramme} other{microgrammes}}",AS="{count, plural, one{bandage} other{bandages}}",PS="{count, plural, one{pièce} other{pièces}}",LS="{count, plural, one{vaporisateur} other{vaporisateurs}}",FS="{count, plural, one{litre} other{litres}}",jS="{count, plural, one{seringue} other{seringues}}",VS="{count, plural, one{ampoule} other{ampoules}}",zS="{count, plural, one{fiole} other{fioles}}",BS="{count, plural, one{ampoule de seringue} other{ampoules de seringue}}",zre={"00001":jE,"00002":VE,"00003":zE,"00004":BE,"00005":HE,"00006":qE,"00007":$E,"00008":UE,"00009":GE,"00010":WE,"00011":ZE,"00012":YE,"00013":KE,"00014":QE,"00015":XE,"00016":JE,"00017":eS,"00018":tS,"00019":nS,"00020":aS,"00021":rS,"00022":iS,"00023":oS,"00024":sS,"00025":lS,"00026":uS,"00027":cS,"00028":dS,"00029":hS,"00030":pS,cm:mS,dropsperminute:fS,gm:gS,internationalunits:vS,"mck/h":bS,"mck/kg/minute":yS,measure:_S,"mg/h":wS,"ml/h":xS,tbl:ES,tsp:SS,"unt/h":kS,mg:CS,"mg/ml":DS,meq:IS,miu:TS,iu:RS,mmol:NS,"effervescent-tablet":OS,micrograms:MS,bandage:AS,piece:PS,box:LS,liter:FS,syringe:jS,ampoule:VS,bottle:zS,"syringe-ampoule":BS},HS={};de(HS,{"00001":()=>qS,"00002":()=>$S,"00003":()=>US,"00004":()=>GS,"00005":()=>WS,"00006":()=>ZS,"00007":()=>YS,"00008":()=>KS,"00009":()=>QS,"00010":()=>XS,"00011":()=>JS,"00012":()=>ek,"00013":()=>tk,"00014":()=>nk,"00015":()=>ak,"00016":()=>rk,"00017":()=>ik,"00018":()=>ok,"00019":()=>sk,"00020":()=>lk,"00021":()=>uk,"00022":()=>ck,"00023":()=>dk,"00024":()=>hk,"00025":()=>pk,"00026":()=>mk,"00027":()=>fk,"00028":()=>gk,"00029":()=>vk,"00030":()=>bk,ampoule:()=>$k,bandage:()=>Vk,bottle:()=>Uk,box:()=>Bk,cm:()=>yk,default:()=>Bre,dropsperminute:()=>_k,"effervescent-tablet":()=>Fk,gm:()=>wk,internationalunits:()=>xk,iu:()=>Pk,liter:()=>Hk,"mck/h":()=>Ek,"mck/kg/minute":()=>Sk,measure:()=>kk,meq:()=>Mk,mg:()=>Nk,"mg/h":()=>Ck,"mg/ml":()=>Ok,micrograms:()=>jk,miu:()=>Ak,"ml/h":()=>Dk,mmol:()=>Lk,piece:()=>zk,syringe:()=>qk,"syringe-ampoule":()=>Gk,tbl:()=>Ik,tsp:()=>Tk,"unt/h":()=>Rk});var qS="{count, plural, one{Koffielepel (5 ml)} other{Koffielepels (5 ml)}}",$S="{count, plural, one{ampule} other{ampullen}}",US="aanbrengen",GS="{count, plural, one{capsule} other{capsules}}",WS="{count, plural, one{tablet} other{tabletten}}",ZS="{count, plural, one{dose} other{dosissen}}",YS="{count, plural, one{druppel} other{druppels}}",KS="{count, plural, one{flesje} other{flesjes}}",QS="{count, plural, one{implantaat} other{implantaten}}",XS="{count, plural, one{infuus} other{infusen}}",JS="{count, plural, one{inhalatie} other{inhalaties}}",ek="inbrengen",tk="{count, plural, one{kauwgom} other{kauwgommen}}",nk="{count, plural, one{kompres} other{kompressen}}",ak="lavement",rk="ml",ik="{count, plural, one{ovule} other{ovules}}",ok="{count, plural, one{parel} other{parels}}",sk="{count, plural, one{pastille} other{pastilles}}",lk="{count, plural, one{pleister} other{pleisters}}",uk="{count, plural, one{patroon} other{patronen}}",ck="{count, plural, one{pen} other{pennen}}",dk="{count, plural, one{puff} other{puffs}}",hk="{count, plural, one{spons} other{sponsen}}",pk="{count, plural, one{stylo} other{stylos}}",mk="{count, plural, one{zetpil} other{zetpillen}}",fk="{count, plural, one{tube} other{tubes}}",gk="{count, plural, one{wiek} other{wieken}}",vk="{count, plural, one{zak} other{zakken}}",bk="{count, plural, one{zakje} other{zakjes}}",yk="centimeter",_k="{count, plural, one{druppel per minuut} other{druppels per minuut}}",wk="gram",xk="internationale eenheden",Ek="microgram per uur",Sk="microgram per kilogram per minuut",kk="{count, plural, one{maat} other{maten}}",Ck="milligram per uur",Dk="milliliter per uur",Ik="{count, plural, one{eetlepel} other{eetlepels}}",Tk="{count, plural, one{koffielepel} other{koffielepels}}",Rk="{count, plural, one{eenheid per uur} other{eenheden per uur}}",Nk="miligram",Ok="miligram per milimeter",Mk="milli-equivalent",Ak="miu",Pk="internationale eenheden",Lk="millimol",Fk="{count, plural, one{bruistablet} other{bruistabletten}}",jk="microgram",Vk="{count, plural, one{verband} other{verbanden}}",zk="{count, plural, one{stuk} other{stuks}}",Bk="{count, plural, one{verstuiving} other{verstuivingen}}",Hk="liter",qk="{count, plural, one{spuit} other{spuiten}}",$k="{count, plural, one{ampul} other{ampullen}}",Uk="{count, plural, one{fles} other{flessen}}",Gk="{count, plural, one{spuitampul} other{spuitampullen}}",Bre={"00001":qS,"00002":$S,"00003":US,"00004":GS,"00005":WS,"00006":ZS,"00007":YS,"00008":KS,"00009":QS,"00010":XS,"00011":JS,"00012":ek,"00013":tk,"00014":nk,"00015":ak,"00016":rk,"00017":ik,"00018":ok,"00019":sk,"00020":lk,"00021":uk,"00022":ck,"00023":dk,"00024":hk,"00025":pk,"00026":mk,"00027":fk,"00028":gk,"00029":vk,"00030":bk,cm:yk,dropsperminute:_k,gm:wk,internationalunits:xk,"mck/h":Ek,"mck/kg/minute":Sk,measure:kk,"mg/h":Ck,"ml/h":Dk,tbl:Ik,tsp:Tk,"unt/h":Rk,mg:Nk,"mg/ml":Ok,meq:Mk,miu:Ak,iu:Pk,mmol:Lk,"effervescent-tablet":Fk,micrograms:jk,bandage:Vk,piece:zk,box:Bk,liter:Hk,syringe:qk,ampoule:$k,bottle:Uk,"syringe-ampoule":Gk},Hre={nl:HS,fr:FE,de:Dw,en:Ox},Wk={};de(Wk,{default:()=>qre,friday:()=>Xk,monday:()=>Zk,saturday:()=>Jk,sunday:()=>eC,thursday:()=>Qk,tuesday:()=>Yk,wednesday:()=>Kk});var Zk="Montag",Yk="Dienstag",Kk="Mittwoch",Qk="Donnerstag",Xk="Freitag",Jk="Samstag",eC="Sonntag",qre={monday:Zk,tuesday:Yk,wednesday:Kk,thursday:Qk,friday:Xk,saturday:Jk,sunday:eC},tC={};de(tC,{default:()=>$re,friday:()=>oC,monday:()=>nC,saturday:()=>sC,sunday:()=>lC,thursday:()=>iC,tuesday:()=>aC,wednesday:()=>rC});var nC="Monday",aC="Tuesday",rC="Wednesday",iC="Thursday",oC="Friday",sC="Saturday",lC="Sunday",$re={monday:nC,tuesday:aC,wednesday:rC,thursday:iC,friday:oC,saturday:sC,sunday:lC},uC={};de(uC,{default:()=>Ure,friday:()=>mC,monday:()=>cC,saturday:()=>fC,sunday:()=>gC,thursday:()=>pC,tuesday:()=>dC,wednesday:()=>hC});var cC="Lundi",dC="Mardi",hC="Mercredi",pC="Jeudi",mC="Vendredi",fC="Samedi",gC="Dimanche",Ure={monday:cC,tuesday:dC,wednesday:hC,thursday:pC,friday:mC,saturday:fC,sunday:gC},vC={};de(vC,{default:()=>Gre,friday:()=>xC,monday:()=>bC,saturday:()=>EC,sunday:()=>SC,thursday:()=>wC,tuesday:()=>yC,wednesday:()=>_C});var bC="Maandag",yC="Dinsdag",_C="Woensdag",wC="Donderdag",xC="Vrijdag",EC="Zaterdag",SC="Zondag",Gre={monday:bC,tuesday:yC,wednesday:_C,thursday:wC,friday:xC,saturday:EC,sunday:SC},Wre={nl:vC,fr:uC,de:Wk,en:tC},kC={};de(kC,{VIDIS_0035:()=>CC,VIDIS_0050:()=>DC,VIDIS_0090:()=>IC,VIDIS_0100:()=>rD,VIDIS_0110:()=>oD,VIDIS_0120:()=>iD,VIDIS_0121:()=>TC,VIDIS_0122:()=>RC,VIDIS_0123:()=>NC,VIDIS_0124:()=>OC,VIDIS_0125:()=>MC,VIDIS_0126:()=>AC,VIDIS_0131:()=>PC,VIDIS_0132:()=>LC,VIDIS_0133:()=>FC,VIDIS_0134:()=>jC,VIDIS_0135:()=>VC,VIDIS_0136:()=>zC,VIDIS_0190:()=>BC,VIDIS_0200:()=>sD,VIDIS_0210:()=>HC,VIDIS_0211:()=>qC,VIDIS_0230:()=>$C,VIDIS_0290:()=>UC,VIDIS_0330:()=>GC,VIDIS_0340:()=>lD,VIDIS_0341:()=>uD,VIDIS_0400:()=>nD,VIDIS_04001:()=>cD,VIDIS_0435:()=>WC,VIDIS_0440:()=>ZC,VIDIS_3030:()=>aD,VIDIS_3090:()=>XC,VIDIS_3100:()=>eD,VIDIS_3120:()=>tD,VIDIS_3140:()=>JC,VIDIS_3150:()=>QC,VIDIS_5000:()=>YC,VIDIS_7000:()=>KC,"action-not-authorized-close-button":()=>ND,"action-not-authorized-title":()=>RD,"data-not-available-title":()=>TD,default:()=>Zre,general:()=>hD,"has-hidden-prescriptions":()=>_D,invalid_date_format:()=>vD,myHealth:()=>mD,myHealthUrl:()=>fD,network_error:()=>gD,"no-access":()=>pD,prescriptionList:()=>dD,"report-message-confirm-toast":()=>ID,"report-message-content":()=>ED,"report-message-explanation":()=>xD,"report-message-ignore-button":()=>DD,"report-message-link":()=>kD,"report-message-report-button":()=>CD,"report-message-term-use":()=>SD,"report-message-title":()=>wD,"status-message-content":()=>yD,"status-message-title":()=>bD});var CC="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",DC="Die Patienten-INSS fehlt. (VIDIS_0050)",IC="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",TC="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",RC="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",NC="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",OC="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",MC="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",AC="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",PC="Der Zugriff auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",LC="Der Zugriff auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",FC="Der Zugriff eines Elternteils auf die Daten eines Brüsseler Kindes ist derzeit nicht erlaubt.",jC="Der Zugriff eines Elternteils auf die Daten eines wallonischen Kindes ist derzeit nicht erlaubt.",VC="Der Zugriff eines Bevollmächtigten auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",zC="Der Zugriff eines Bevollmächtigten auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",BC="Ungültige INSS-Patientennummer. (VIDIS_0190)",HC="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",qC="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",$C="Der Vorgang ist ungültig (VIDIS_0230)",UC='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',GC="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)",WC="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",ZC="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",YC="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",KC="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",QC="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",XC="Das Rezept ist abgelaufen.",JC="Reservierungen müssen bei derselben Apotheke erfolgen wie die, bei der das Visi-Flag gesetzt wurde. Sie können das Visi-Flag auch offen lassen.",eD="Das Visi-Flag muss auf dieselbe Apotheke gesetzt sein, bei der Sie reserviert haben.",tD="Der Patient in der Sitzung ist nicht derselbe wie der Patient in der Anfrage.",nD="Der Benutzer ist nicht berechtigt, die Anfrage zu stellen.",aD="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",rD="Vorgang nicht erlaubt.",iD="Es besteht keine therapeutische Beziehung zwischen Anfragendem und Patient.",oD="Keine Zustimmung zur Weitergabe von Gesundheitsdaten.",sD="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen.",lD="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.",uD="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.",cD="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später erneut.",dD="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",hD="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",pD="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",mD="Zurück zum Portal Meine Gesundheit",fD="https://wwwint.meinegesundheit.belgien.be/#/",gD="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",vD="Ungültiges Datumsformat.",bD="Dienst vorübergehend nicht verfügbar",yD=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
33
33
  Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.`,_D="Der Patient hat ein oder mehrere Verschreibungen ausgeblendet.",wD="Technisches Problem",xD="Bitte versuchen Sie es später noch einmal.",ED="Helfen Sie uns, das Problem zu identifizieren und zu lösen. Mit dem Melden akzeptieren Sie ",SD="unsere Nutzungsbedingungen",kD="https://www.riziv.fgov.be/nl/pagina/datenschutzerklarung-der-mobilen-anwendung-meinegesundheit",CD="Problem melden",DD="Nicht melden",ID="Das Problem wurde gemeldet",TD="Daten nicht verfügbar",RD="Aktion nicht erlaubt",ND="Schließen",Zre={VIDIS_0035:CC,VIDIS_0050:DC,VIDIS_0090:IC,VIDIS_0121:TC,VIDIS_0122:RC,VIDIS_0123:NC,VIDIS_0124:OC,VIDIS_0125:MC,VIDIS_0126:AC,VIDIS_0131:PC,VIDIS_0132:LC,VIDIS_0133:FC,VIDIS_0134:jC,VIDIS_0135:VC,VIDIS_0136:zC,VIDIS_0190:BC,VIDIS_0210:HC,VIDIS_0211:qC,VIDIS_0230:$C,VIDIS_0290:UC,VIDIS_0330:GC,VIDIS_0435:WC,VIDIS_0440:ZC,VIDIS_5000:YC,VIDIS_7000:KC,VIDIS_3150:QC,VIDIS_3090:XC,VIDIS_3140:JC,VIDIS_3100:eD,VIDIS_3120:tD,VIDIS_0400:nD,VIDIS_3030:aD,VIDIS_0100:rD,VIDIS_0120:iD,VIDIS_0110:oD,VIDIS_0200:sD,VIDIS_0340:lD,VIDIS_0341:uD,VIDIS_04001:cD,prescriptionList:dD,general:hD,"no-access":pD,myHealth:mD,myHealthUrl:fD,network_error:gD,invalid_date_format:vD,"status-message-title":bD,"status-message-content":yD,"has-hidden-prescriptions":_D,"report-message-title":wD,"report-message-explanation":xD,"report-message-content":ED,"report-message-term-use":SD,"report-message-link":kD,"report-message-report-button":CD,"report-message-ignore-button":DD,"report-message-confirm-toast":ID,"data-not-available-title":TD,"action-not-authorized-title":RD,"action-not-authorized-close-button":ND},OD={};de(OD,{VIDIS_0035:()=>MD,VIDIS_0050:()=>AD,VIDIS_0090:()=>PD,VIDIS_0100:()=>d2,VIDIS_0110:()=>p2,VIDIS_0120:()=>h2,VIDIS_0121:()=>LD,VIDIS_0122:()=>FD,VIDIS_0123:()=>jD,VIDIS_0124:()=>VD,VIDIS_0125:()=>zD,VIDIS_0126:()=>BD,VIDIS_0131:()=>HD,VIDIS_0132:()=>qD,VIDIS_0133:()=>$D,VIDIS_0134:()=>UD,VIDIS_0135:()=>GD,VIDIS_0136:()=>WD,VIDIS_0190:()=>ZD,VIDIS_0200:()=>m2,VIDIS_0210:()=>YD,VIDIS_0211:()=>KD,VIDIS_0230:()=>QD,VIDIS_0290:()=>XD,VIDIS_0330:()=>JD,VIDIS_0340:()=>f2,VIDIS_0341:()=>g2,VIDIS_0400:()=>u2,VIDIS_04001:()=>v2,VIDIS_0435:()=>e2,VIDIS_0440:()=>t2,VIDIS_3030:()=>c2,VIDIS_3090:()=>i2,VIDIS_3100:()=>s2,VIDIS_3120:()=>l2,VIDIS_3140:()=>o2,VIDIS_3150:()=>r2,VIDIS_5000:()=>n2,VIDIS_7000:()=>a2,"action-not-authorized-close-button":()=>j2,"action-not-authorized-title":()=>F2,"data-not-available-title":()=>L2,default:()=>Yre,general:()=>y2,"has-hidden-prescriptions":()=>D2,invalid_date_format:()=>S2,myHealth:()=>w2,myHealthUrl:()=>x2,network_error:()=>E2,"no-access":()=>_2,prescriptionList:()=>b2,"report-message-confirm-toast":()=>P2,"report-message-content":()=>R2,"report-message-explanation":()=>T2,"report-message-ignore-button":()=>A2,"report-message-link":()=>O2,"report-message-report-button":()=>M2,"report-message-term-use":()=>N2,"report-message-title":()=>I2,"status-message-content":()=>C2,"status-message-title":()=>k2});var MD="Unfortunately, this did not succeed. Please try again. (VIDIS_0035)",AD="The patient's NISS number is missing (VIDIS_0050)",PD="The personal information provided was not recognised. (VIDIS_0090)",LD="Consulting data of a Brussels patient is currently not authorised.",FD="Consulting data of a Walloon patient is currently not authorised.",jD="Consulting data of a Brussels child by a parent is currently not authorised.",VD="Consulting data of a Walloon child by a parent is currently not authorised.",zD="Consulting data of a Brussels patient by a power of attorney is currently not authorised.",BD="Consulting data of a Walloon patient by a power of attorney is currently not authorised.",HD="Access to the data of a Brussels patient is currently not permitted.",qD="Access to the data of a Walloon patient is currently not permitted.",$D="A parent’s access to the data of a Brussels child is currently not permitted.",UD="A parent’s access to the data of a Walloon child is currently not permitted.",GD="A representative’s access to the data of a Brussels patient is currently not permitted.",WD="A representative’s access to the data of a Walloon patient is currently not permitted.",ZD="The patient's NISS number is invalid. (VIDIS_0190)",YD="The login was unsuccessful. Please try again. (VIDIS_0210)",KD="The login was unsuccessful. Please try again. (VIDIS_0211)",QD="The request is invalid. (VIDIS_0230)",XD="User role must be citizen. (VIDIS_0290)",JD="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)",e2="Cannot determine the storage region of the medication scheme. (VIDIS_0435)",t2="Unfortunately, this did not succeed. Please try again. (VIDIS_0440)",n2="Unfortunately your data could not be retrieved. Please try again. (VIDIS_5000)",a2="Unfortunately, this did not succeed. Please try again. (VIDIS_7000)",r2="No mandate found between patient and mandateholder.",i2="Prescription has expired.",o2="Reservations must be made at the same pharmacy as the pharmacy for which you have set your visi-flag to be able to collect your medication. You can also leave your visi-flag unset or open.",s2="The vision-flag must be set to the same pharmacy as the pharmacy where you have reserved.",l2="The patient in the session is different from the patient in the request.",u2="User is not authorized to make the request.",c2="No mandate found between patient and mandateholder.",d2="Operation is not allowed.",h2="A therapeutic relation between the requester and the patient is not available.",p2="There is no consent to share personal health information.",m2="User is not allowed to perform the operation due to an exclusion between requester and patient.",f2="You are not authorized to consult this patient’s data because your visa is not active. Please contact the FPS Public Health at: visa@health.belgium.be",g2="You are not authorized to consult this patient’s data. - Either your visa is not active. Please contact the FPS Public Health via: visa@health.belgium.be - Or the NIHDI number of the pharmacy is invalid. In that case, please contact NIHDI via: dossierpharma@riziv-inami.fgov.be",v2="Your request is invalid. Please try again later.",b2="Unfortunately the details of the prescription could not be retrieved. Please try again.",y2="An internal technical error has occured. Please try again later.",_2="An internal technical error has occured. Please try again later.",w2="Back to the MyHealth portal.",x2="https://www.myhealth.belgium.be/",E2="A network error unfortunately has occured. Please contact your network manager if the problem persists.",S2="Invalid date format.",k2="Service temporarily unavailable",C2=`We are currently having a problem connecting to the server.
34
34
  Please try again later.`,D2="The patient has hidden one or more prescriptions.",I2="Technical problem",T2="Please try again later.",R2="Help us identify and resolve the issue. By reporting it, you accept ",N2="our terms of use",O2="https://www.riziv.fgov.be/nl/pagina/privacy-statement-for-the-mobile-application-myhealth",M2="Report the problem",A2="Don't report",P2="The problem has been reported",L2="Data not available",F2="Action not authorized",j2="Close",Yre={VIDIS_0035:MD,VIDIS_0050:AD,VIDIS_0090:PD,VIDIS_0121:LD,VIDIS_0122:FD,VIDIS_0123:jD,VIDIS_0124:VD,VIDIS_0125:zD,VIDIS_0126:BD,VIDIS_0131:HD,VIDIS_0132:qD,VIDIS_0133:$D,VIDIS_0134:UD,VIDIS_0135:GD,VIDIS_0136:WD,VIDIS_0190:ZD,VIDIS_0210:YD,VIDIS_0211:KD,VIDIS_0230:QD,VIDIS_0290:XD,VIDIS_0330:JD,VIDIS_0435:e2,VIDIS_0440:t2,VIDIS_5000:n2,VIDIS_7000:a2,VIDIS_3150:r2,VIDIS_3090:i2,VIDIS_3140:o2,VIDIS_3100:s2,VIDIS_3120:l2,VIDIS_0400:u2,VIDIS_3030:c2,VIDIS_0100:d2,VIDIS_0120:h2,VIDIS_0110:p2,VIDIS_0200:m2,VIDIS_0340:f2,VIDIS_0341:g2,VIDIS_04001:v2,prescriptionList:b2,general:y2,"no-access":_2,myHealth:w2,myHealthUrl:x2,network_error:E2,invalid_date_format:S2,"status-message-title":k2,"status-message-content":C2,"has-hidden-prescriptions":D2,"report-message-title":I2,"report-message-explanation":T2,"report-message-content":R2,"report-message-term-use":N2,"report-message-link":O2,"report-message-report-button":M2,"report-message-ignore-button":A2,"report-message-confirm-toast":P2,"data-not-available-title":L2,"action-not-authorized-title":F2,"action-not-authorized-close-button":j2},V2={};de(V2,{VIDIS_0035:()=>z2,VIDIS_0050:()=>B2,VIDIS_0090:()=>H2,VIDIS_0100:()=>bI,VIDIS_0110:()=>_I,VIDIS_0120:()=>yI,VIDIS_0121:()=>q2,VIDIS_0122:()=>$2,VIDIS_0123:()=>U2,VIDIS_0124:()=>G2,VIDIS_0125:()=>W2,VIDIS_0126:()=>Z2,VIDIS_0131:()=>Y2,VIDIS_0132:()=>K2,VIDIS_0133:()=>Q2,VIDIS_0134:()=>X2,VIDIS_0135:()=>J2,VIDIS_0136:()=>eI,VIDIS_0190:()=>tI,VIDIS_0200:()=>wI,VIDIS_0210:()=>nI,VIDIS_0211:()=>aI,VIDIS_0230:()=>rI,VIDIS_0290:()=>iI,VIDIS_0330:()=>oI,VIDIS_0340:()=>xI,VIDIS_0341:()=>EI,VIDIS_0400:()=>gI,VIDIS_04001:()=>SI,VIDIS_0435:()=>sI,VIDIS_0440:()=>lI,VIDIS_3030:()=>vI,VIDIS_3090:()=>hI,VIDIS_3100:()=>mI,VIDIS_3120:()=>fI,VIDIS_3140:()=>pI,VIDIS_3150:()=>dI,VIDIS_5000:()=>uI,VIDIS_7000:()=>cI,"action-not-authorized-close-button":()=>UI,"action-not-authorized-title":()=>$I,"data-not-available-title":()=>qI,default:()=>Kre,general:()=>CI,"has-hidden-prescriptions":()=>AI,invalid_date_format:()=>NI,myHealth:()=>II,myHealthUrl:()=>TI,network_error:()=>RI,"no-access":()=>DI,prescriptionList:()=>kI,"report-message-confirm-toast":()=>HI,"report-message-content":()=>FI,"report-message-explanation":()=>LI,"report-message-ignore-button":()=>BI,"report-message-link":()=>VI,"report-message-report-button":()=>zI,"report-message-term-use":()=>jI,"report-message-title":()=>PI,"status-message-content":()=>MI,"status-message-title":()=>OI});var z2="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0035)",B2="Le NISS du patient est manquant. (VIDIS_0050)",H2="Les informations personnelles fournies n'ont pas été reconnues. (VIDIS_0090)",q2="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",$2="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",U2="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",G2="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",W2="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",Z2="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",Y2="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",K2="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",Q2="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",X2="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",J2="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",eI="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",tI="Le NISS du patient n’est pas valide. (VIDIS_0190)",nI="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0210)",aI="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0211)",rI="L’opération n’est pas valide. (VIDIS_0230)",iI="Le rôle d’utilisateur doit être citoyen (VIDIS_0290)",oI="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)",sI="Impossible de déterminer la région de stockage du schéma de médication. (VIDIS_0435)",lI="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0440)",uI="Malheureusement, nous n'avons pas pu récupérer vos données. Voulez-vous réessayer ? (VIDIS_5000)",cI="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_7000)",dI="Aucun mandat trouvé entre le patient et le mandataire.",hI="L’ordonnance est expirée.",pI="Les réservations doivent être faites auprès de la même pharmacie que celle pour laquelle vous avez défini votre visi-flag. Vous pouvez également laisser le visi-flag vide ou ouvert.",mI="Le visi-flag doit être défini pour la même pharmacie que celle auprès de laquelle vous avez réservé.",fI="Le patient dans la session est différent de celui dans la demande.",gI="L’utilisateur n’est pas autorisé à effectuer la requête.",vI="Aucun mandat trouvé entre le patient et le mandataire.",bI="Opération non autorisée.",yI="Aucune relation thérapeutique entre le demandeur et le patient.",_I="Aucun consentement au partage des données de santé.",wI="L’utilisateur n’est pas autorisé à effectuer l’opération en raison d’une exclusion entre le demandeur et le patient",xI="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",EI="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",SI="Votre requête est invalide. Veuillez réessayer plus tard.",kI="Malheureusement, il n’a pas été possible de retrouver les détails de la prescription. Essayez-vous à nouveau?",CI="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",DI="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",II="Revenir au portail MaSanté",TI="https://wwwint.masante.belgique.be/#/",RI="Désolé, une erreur réseau s'est produite. Veuillez contacter votre administrateur réseau si le problème persiste.",NI="Le format de date est invalide.",OI="Service temporairement indisponible",MI=`Nous rencontrons actuellement un problème de connexion au serveur.
35
35
  Veuillez réessayer plus tard.`,AI="Le patient a masqué une ou plusieurs prescriptions.",PI="Problème technique",LI="Veuillez réessayer plus tard.",FI="Aidez-nous à identifier et résoudre le problème. En le signalant vous acceptez nos ",jI="conditions d'utilisation",VI="https://www.riziv.fgov.be/fr/page/declaration-de-confidentialite-application-mobile-masante",zI="Signaler le problème",BI="Ignorer",HI="Le problème a été signalé",qI="Données non disponibles",$I="Action non autorisée",UI="Fermer",Kre={VIDIS_0035:z2,VIDIS_0050:B2,VIDIS_0090:H2,VIDIS_0121:q2,VIDIS_0122:$2,VIDIS_0123:U2,VIDIS_0124:G2,VIDIS_0125:W2,VIDIS_0126:Z2,VIDIS_0131:Y2,VIDIS_0132:K2,VIDIS_0133:Q2,VIDIS_0134:X2,VIDIS_0135:J2,VIDIS_0136:eI,VIDIS_0190:tI,VIDIS_0210:nI,VIDIS_0211:aI,VIDIS_0230:rI,VIDIS_0290:iI,VIDIS_0330:oI,VIDIS_0435:sI,VIDIS_0440:lI,VIDIS_5000:uI,VIDIS_7000:cI,VIDIS_3150:dI,VIDIS_3090:hI,VIDIS_3140:pI,VIDIS_3100:mI,VIDIS_3120:fI,VIDIS_0400:gI,VIDIS_3030:vI,VIDIS_0100:bI,VIDIS_0120:yI,VIDIS_0110:_I,VIDIS_0200:wI,VIDIS_0340:xI,VIDIS_0341:EI,VIDIS_04001:SI,prescriptionList:kI,general:CI,"no-access":DI,myHealth:II,myHealthUrl:TI,network_error:RI,invalid_date_format:NI,"status-message-title":OI,"status-message-content":MI,"has-hidden-prescriptions":AI,"report-message-title":PI,"report-message-explanation":LI,"report-message-content":FI,"report-message-term-use":jI,"report-message-link":VI,"report-message-report-button":zI,"report-message-ignore-button":BI,"report-message-confirm-toast":HI,"data-not-available-title":qI,"action-not-authorized-title":$I,"action-not-authorized-close-button":UI},GI={};de(GI,{VIDIS_0035:()=>WI,VIDIS_0050:()=>ZI,VIDIS_0090:()=>YI,VIDIS_0100:()=>kT,VIDIS_0110:()=>DT,VIDIS_0120:()=>CT,VIDIS_0121:()=>KI,VIDIS_0122:()=>QI,VIDIS_0123:()=>XI,VIDIS_0124:()=>JI,VIDIS_0125:()=>eT,VIDIS_0126:()=>tT,VIDIS_0131:()=>nT,VIDIS_0132:()=>aT,VIDIS_0133:()=>rT,VIDIS_0134:()=>iT,VIDIS_0135:()=>oT,VIDIS_0136:()=>sT,VIDIS_0190:()=>lT,VIDIS_0200:()=>IT,VIDIS_0210:()=>uT,VIDIS_0211:()=>cT,VIDIS_0230:()=>dT,VIDIS_0290:()=>hT,VIDIS_0330:()=>pT,VIDIS_0340:()=>TT,VIDIS_0341:()=>RT,VIDIS_0400:()=>ET,VIDIS_04001:()=>NT,VIDIS_0435:()=>mT,VIDIS_0440:()=>fT,VIDIS_3030:()=>ST,VIDIS_3090:()=>yT,VIDIS_3100:()=>wT,VIDIS_3120:()=>xT,VIDIS_3140:()=>_T,VIDIS_3150:()=>bT,VIDIS_5000:()=>gT,VIDIS_7000:()=>vT,"action-not-authorized-close-button":()=>XT,"action-not-authorized-title":()=>QT,"data-not-available-title":()=>KT,default:()=>Qre,general:()=>MT,"has-hidden-prescriptions":()=>BT,invalid_date_format:()=>jT,myHealth:()=>PT,myHealthUrl:()=>LT,network_error:()=>FT,"no-access":()=>AT,prescriptionList:()=>OT,"report-message-confirm-toast":()=>YT,"report-message-content":()=>$T,"report-message-explanation":()=>qT,"report-message-ignore-button":()=>ZT,"report-message-link":()=>GT,"report-message-report-button":()=>WT,"report-message-term-use":()=>UT,"report-message-title":()=>HT,"status-message-content":()=>zT,"status-message-title":()=>VT});var WI="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0035)",ZI="Het INSZ-patiëntnummer ontbreekt. (VIDIS_0050)",YI="De persoonlijke informatie verstrekt werd niet herkend. (VIDIS_0090)",KI="Het raadplegen van gegevens van een Brusselse patiënt is momenteel niet toegelaten.",QI="Het raadplegen van gegevens van een Waalse patiënt is op dit moment niet toegelaten.",XI="Het raadplegen van gegevens van een Brusselse kind door een ouder is momenteel niet toegelaten.",JI="Het raadplegen van gegevens van een Waalse kind door een ouder is momenteel niet toegelaten.",eT="Het raadplegen van gegevens van een Brusselse patiënt door een volmacht is momenteel niet toegelaten.",tT="Het raadplegen van gegevens van een Waalse patiënt door een volmacht is momenteel niet toegelaten.",nT="Het raadplegen van de gegevens van een Brusselse patiënt is momenteel niet toegestaan.",aT="Het raadplegen van de gegevens van een Waalse patiënt is momenteel niet toegestaan.",rT="Het raadplegen van de gegevens van een Brussels kind door een ouder is momenteel niet toegestaan.",iT="Het raadplegen van de gegevens van een Waals kind door een ouder is momenteel niet toegestaan.",oT="Het raadplegen van de gegevens van een Brusselse patiënt door een gemachtigde is momenteel niet toegestaan.",sT="Het raadplegen van de gegevens van een Waalse patiënt door een gemachtigde is momenteel niet toegestaan.",lT="Het INSZ-patiëntnummer is ongeldig. (VIDIS_0190)",uT="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0210)",cT="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0211)",dT="Het verzoek is ongeldig. (VIDIS_0230)",hT="Gebruikersrol moet burger zijn. (VIDIS_0290)",pT="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)",mT="Kan de opslagregio van het medicatieschema niet bepalen. (VIDIS_0435)",fT="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0440)",gT="Het is jammer genoeg niet gelukt uw gegevens op te halen. Probeert u het even opnieuw? (VIDIS_5000)",vT="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_7000)",bT="Geen mandaat gevonden tussen patiënt en mandataris.",yT="Voorschrift is verlopen.",_T="Reservaties moeten gebeuren bij dezelfde apotheek als waar de visivlag is ingesteld om medicatie te kunnen afhalen. U kunt de visivlag ook leeg of open laten.",wT="De visivlag moet ingesteld zijn op dezelfde apotheek als waar u gereserveerd heeft.",xT="De patiënt in de sessie is anders dan de patiënt in de aanvraag.",ET="De gebruiker is niet gemachtigd om de aanvraag te doen.",ST="Geen mandaat gevonden tussen patiënt en mandataris.",kT="Bewerking is niet toegestaan.",CT="Er bestaat geen therapeutische relatie tussen aanvrager en patiënt.",DT="Er is geen toestemming om gezondheidsgegevens te delen.",IT="De gebruiker mag de bewerking niet uitvoeren omdat er een uitsluiting bestaat tussen de aanvrager en de patiënt.",TT="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",RT="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",NT="Uw verzoek is ongeldig. Probeer later opnieuw.",OT="Het is jammer genoeg niet gelukt de details van het voorschrift op te halen. Probeert u het even opnieuw?",MT="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",AT="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",PT="Terug naar het MijnGezondheid portaal",LT="http://wwwint.mijngezondheid.belgie.be/",FT="Er is helaas een netwerkfout opgetreden. Neem contact op met uw netwerkbeheerder als het probleem aanhoudt.",jT="Ongeldig datumformaat.",VT="Service tijdelijk niet beschikbaar",zT=`Er is momenteel een probleem met de verbinding met de server.
36
- Probeer het later nog eens.`,BT="De patiënt heeft 1 of meerdere voorschriften verborgen.",HT="Technisch probleem",qT="Probeer het later opnieuw.",$T="Help ons het probleem te identificeren en op te lossen. Door het te melden gaat u akkoord met onze ",UT="gebruiksvoorwaarden",GT="https://www.riziv.fgov.be/nl/pagina/privacyverklaring-mobiele-applicatie-mijngezondheid",WT="Probleem melden",ZT="Niet melden",YT="Het probleem is gemeld",KT="Gegevens niet beschikbaar",QT="Actie niet toegestaan",XT="Sluiten",Qre={VIDIS_0035:WI,VIDIS_0050:ZI,VIDIS_0090:YI,VIDIS_0121:KI,VIDIS_0122:QI,VIDIS_0123:XI,VIDIS_0124:JI,VIDIS_0125:eT,VIDIS_0126:tT,VIDIS_0131:nT,VIDIS_0132:aT,VIDIS_0133:rT,VIDIS_0134:iT,VIDIS_0135:oT,VIDIS_0136:sT,VIDIS_0190:lT,VIDIS_0210:uT,VIDIS_0211:cT,VIDIS_0230:dT,VIDIS_0290:hT,VIDIS_0330:pT,VIDIS_0435:mT,VIDIS_0440:fT,VIDIS_5000:gT,VIDIS_7000:vT,VIDIS_3150:bT,VIDIS_3090:yT,VIDIS_3140:_T,VIDIS_3100:wT,VIDIS_3120:xT,VIDIS_0400:ET,VIDIS_3030:ST,VIDIS_0100:kT,VIDIS_0120:CT,VIDIS_0110:DT,VIDIS_0200:IT,VIDIS_0340:TT,VIDIS_0341:RT,VIDIS_04001:NT,prescriptionList:OT,general:MT,"no-access":AT,myHealth:PT,myHealthUrl:LT,network_error:FT,invalid_date_format:jT,"status-message-title":VT,"status-message-content":zT,"has-hidden-prescriptions":BT,"report-message-title":HT,"report-message-explanation":qT,"report-message-content":$T,"report-message-term-use":UT,"report-message-link":GT,"report-message-report-button":WT,"report-message-ignore-button":ZT,"report-message-confirm-toast":YT,"data-not-available-title":KT,"action-not-authorized-title":QT,"action-not-authorized-close-button":XT},Xre={nl:GI,fr:V2,de:kC,en:OD},JT={};de(JT,{1:()=>eR,10:()=>uR,11:()=>cR,12:()=>dR,13:()=>hR,14:()=>pR,15:()=>mR,16:()=>fR,17:()=>gR,18:()=>vR,19:()=>bR,2:()=>tR,20:()=>yR,21:()=>_R,22:()=>wR,23:()=>xR,24:()=>ER,25:()=>SR,26:()=>kR,27:()=>CR,28:()=>DR,29:()=>IR,3:()=>nR,30:()=>TR,31:()=>RR,32:()=>NR,33:()=>OR,34:()=>MR,4:()=>aR,40:()=>AR,41:()=>PR,5:()=>rR,6:()=>iR,7:()=>oR,71:()=>LR,8:()=>sR,9:()=>lR,90:()=>FR,91:()=>jR,92:()=>VR,93:()=>zR,default:()=>Jre});var eR="Gelatinekapseln",tR="Tabletten",nR="Creme",aR="Gel",rR="Paste",iR="Fette Salbe",oR="Granulat",sR="Zäpfchen für Erwachsene",lR="Zäpfchen für Kinder",uR="Vaginalzäpfchen",cR="Rektiole",dR="nicht gespaltenes Pulver innerliche Anwendung",hR="nicht gespaltenes Pulver äußerliche Anwendung",pR="Inhalation",mR="Pulver Zum Spalten innerliche Anwendung",fR="Pulver Zum Spalten äußerliche Anwendung",gR="Nasentropfen",vR="Nasensalbe",bR="Sirup",yR="Lösung innerliche Anwendung",_R="Lösung äußerliche Anwendung",wR="Tropfen innerliche Anwendung",xR="Tropfen äußerliche Anwendung",ER="Emulsion innerliche Anwendung",SR="Emulsion äußerliche Anwendung",kR="Shampoo",CR="Augentropfen",DR="Augenlotion",IR="Augenbad",TR="Salbe",RR="Augensalbe ",NR="Ohrentropfen",OR="Suspension innerliche Anwendung",MR="Suspension äußerliche Anwendung",AR="Kräutermischung",PR="Tee",LR="enterische Kapseln",FR="derartig",jR="Dermatologie (fest) derartig",VR="Pulver derartig",zR="Lösung derartig",Jre={1:eR,2:tR,3:nR,4:aR,5:rR,6:iR,7:oR,8:sR,9:lR,10:uR,11:cR,12:dR,13:hR,14:pR,15:mR,16:fR,17:gR,18:vR,19:bR,20:yR,21:_R,22:wR,23:xR,24:ER,25:SR,26:kR,27:CR,28:DR,29:IR,30:TR,31:RR,32:NR,33:OR,34:MR,40:AR,41:PR,71:LR,90:FR,91:jR,92:VR,93:zR},BR={};de(BR,{1:()=>HR,10:()=>QR,11:()=>XR,12:()=>JR,13:()=>eN,14:()=>tN,15:()=>nN,16:()=>aN,17:()=>rN,18:()=>iN,19:()=>oN,2:()=>qR,20:()=>sN,21:()=>lN,22:()=>uN,23:()=>cN,24:()=>dN,25:()=>hN,26:()=>pN,27:()=>mN,28:()=>fN,29:()=>gN,3:()=>$R,30:()=>vN,31:()=>bN,32:()=>yN,33:()=>_N,34:()=>wN,4:()=>UR,40:()=>xN,41:()=>EN,5:()=>GR,6:()=>WR,7:()=>ZR,71:()=>SN,8:()=>YR,9:()=>KR,90:()=>kN,91:()=>CN,92:()=>DN,93:()=>IN,default:()=>eie});var HR="Capsules",qR="Tablets",$R="Cream",UR="Gel",GR="Paste",WR="Fatty ointment",ZR="Granulate",YR="Adult suppository",KR="Child suppository",QR="Vaginal ovules",XR="Rectiole",JR="Undivided powder for internal use",eN="Undivided powder for external use",tN="Inhalation",nN="Divided powders for internal use",aN="Divided powders for external use",rN="Nasal drops",iN="Nasal ointment",oN="Syrup",sN="Solution for internal use",lN="Solution for external use",uN="Drops for internal use",cN="Drops for external use",dN="Emulsion for internal use",hN="Emulsion for external use",pN="Shampoo",mN="Eye drops",fN="Eye lotion",gN="Eye bath",vN="Ointment",bN="Eye ointment",yN="Ear drops",_N="Suspension for internal use",wN="Suspension for external use",xN="Herbal mixture",EN="Tea",SN="Enteric-coated capsules",kN="As is",CN="Dermatology (solid) as is",DN="Powder as is",IN="Liquid as is",eie={1:HR,2:qR,3:$R,4:UR,5:GR,6:WR,7:ZR,8:YR,9:KR,10:QR,11:XR,12:JR,13:eN,14:tN,15:nN,16:aN,17:rN,18:iN,19:oN,20:sN,21:lN,22:uN,23:cN,24:dN,25:hN,26:pN,27:mN,28:fN,29:gN,30:vN,31:bN,32:yN,33:_N,34:wN,40:xN,41:EN,71:SN,90:kN,91:CN,92:DN,93:IN},TN={};de(TN,{1:()=>RN,10:()=>VN,11:()=>zN,12:()=>BN,13:()=>HN,14:()=>qN,15:()=>$N,16:()=>UN,17:()=>GN,18:()=>WN,19:()=>ZN,2:()=>NN,20:()=>YN,21:()=>KN,22:()=>QN,23:()=>XN,24:()=>JN,25:()=>eO,26:()=>tO,27:()=>nO,28:()=>aO,29:()=>rO,3:()=>ON,30:()=>iO,31:()=>oO,32:()=>sO,33:()=>lO,34:()=>uO,4:()=>MN,40:()=>cO,41:()=>dO,5:()=>AN,6:()=>PN,7:()=>LN,71:()=>hO,8:()=>FN,9:()=>jN,90:()=>pO,91:()=>mO,92:()=>fO,93:()=>gO,default:()=>tie});var RN="Gélules",NN="Cachets / comprimés",ON="Crème",MN="Gel",AN="Pâte",PN="Pommade grasse",LN="Granulé",FN="Suppo adulte",jN="Suppo enfant",VN="Ovules vaginales",zN="Rectiole",BN="Poudre non-divisée usage interne",HN="Poudre non-divisée usage externe",qN="Inhalation",$N="Poudres à diviser usage interne",UN="Poudres à diviser usage externe",GN="Gouttes nasales",WN="Pommade nasale",ZN="Sirop",YN="Solution usage interne",KN="Solution usage externe",QN="Gouttes usage interne",XN="Gouttes usage externe",JN="Emulsion usage interne",eO="Emulsion usage externe",tO="Shampooing",nO="Gouttes ophtalmiques",aO="Lotion ophtalmique",rO="Bain ophtalmique",iO="Pommade",oO="Pommade ophtalmique",sO="Gouttes auriculaires",lO="Suspension usage interne",uO="Suspension usage externe",cO="Mélange de plantes",dO="Thé",hO="Gélules à enrobage entérique / Gélules entériques",pO="en tant que tel/telle",mO="Dermatologie (solide) en tant que telle",fO="Poudre en tant que telle ",gO="Solution en tant que telle ",tie={1:RN,2:NN,3:ON,4:MN,5:AN,6:PN,7:LN,8:FN,9:jN,10:VN,11:zN,12:BN,13:HN,14:qN,15:$N,16:UN,17:GN,18:WN,19:ZN,20:YN,21:KN,22:QN,23:XN,24:JN,25:eO,26:tO,27:nO,28:aO,29:rO,30:iO,31:oO,32:sO,33:lO,34:uO,40:cO,41:dO,71:hO,90:pO,91:mO,92:fO,93:gO},vO={};de(vO,{1:()=>bO,10:()=>DO,11:()=>IO,12:()=>TO,13:()=>RO,14:()=>NO,15:()=>OO,16:()=>MO,17:()=>AO,18:()=>PO,19:()=>LO,2:()=>yO,20:()=>FO,21:()=>jO,22:()=>VO,23:()=>zO,24:()=>BO,25:()=>HO,26:()=>qO,27:()=>$O,28:()=>UO,29:()=>GO,3:()=>_O,30:()=>WO,31:()=>ZO,32:()=>YO,33:()=>KO,34:()=>QO,4:()=>wO,40:()=>XO,41:()=>JO,5:()=>xO,6:()=>EO,7:()=>SO,71:()=>eM,8:()=>kO,9:()=>CO,90:()=>tM,91:()=>nM,92:()=>aM,93:()=>rM,default:()=>nie});var bO="Capsules",yO="Tabletten",_O="Creme",wO="Gel",xO="Pasta",EO="Vette zalf",SO="Granulaat",kO="Suppo volwassene",CO="Suppo kind",DO="Vaginale zetpillen / vaginale ovules",IO="Rektiool",TO="Niet-verdeeld poeder inwendig gebruik",RO="Niet-verdeeld poeder uitwendig gebruik",NO="Inhalatie",OO="Te verdelen poeders inwendig gebruik",MO="Te verdelen poeders uitwendig gebruik",AO="Neusdruppels",PO="Neuszalf",LO="Siroop",FO="Oplossing inwendig gebruik",jO="Oplossing uitwendig gebruik",VO="Druppels inwendig gebruik",zO="Druppels uitwendig gebruik",BO="Emulsie inwendig gebruik",HO="Emulsie uitwendig gebruik",qO="Shampoo",$O="Oogdruppels",UO="Ooglotion",GO="Oogbad",WO="Zalf",ZO="Oogzalf",YO="Oordruppels",KO="Suspensie inwendig gebruik",QO="Suspensie uitwendig gebruik",XO="Kruidenmengsel",JO="Thee",eM="enterisch omhulde capsules",tM="Als dusdanig",nM="Als dusdanig dermatologie (vast)",aM="Als dusdanig poeder",rM="Als dusdanig vloeistof",nie={1:bO,2:yO,3:_O,4:wO,5:xO,6:EO,7:SO,8:kO,9:CO,10:DO,11:IO,12:TO,13:RO,14:NO,15:OO,16:MO,17:AO,18:PO,19:LO,20:FO,21:jO,22:VO,23:zO,24:BO,25:HO,26:qO,27:$O,28:UO,29:GO,30:WO,31:ZO,32:YO,33:KO,34:QO,40:XO,41:JO,71:eM,90:tM,91:nM,92:aM,93:rM},aie={nl:vO,fr:TN,de:JT,en:BR},iM={};de(iM,{close:()=>oM,default:()=>rie,downloadLeaflet:()=>sM,file:()=>lM});var oM="Schließen",sM="Download Packungsbeilage (pdf)",lM="feile",rie={close:oM,downloadLeaflet:sM,file:lM},uM={};de(uM,{close:()=>cM,default:()=>iie,downloadLeaflet:()=>dM,file:()=>hM});var cM="Close",dM="Download leaflet (pdf)",hM="file",iie={close:cM,downloadLeaflet:dM,file:hM},pM={};de(pM,{close:()=>mM,default:()=>oie,downloadLeaflet:()=>fM,file:()=>gM});var mM="Fermer",fM="Télécharger la notice (pdf)",gM="fichier",oie={close:mM,downloadLeaflet:fM,file:gM},vM={};de(vM,{close:()=>bM,default:()=>sie,downloadLeaflet:()=>yM,file:()=>_M});var bM="Sluiten",yM="Download bijsluiter (pdf)",_M="bestand",sie={close:bM,downloadLeaflet:yM,file:_M},lie={nl:vM,fr:pM,de:iM,en:uM},wM={};de(wM,{afterbreakfast:()=>xM,afterdinner:()=>EM,afterlunch:()=>SM,aftermeal:()=>kM,afternoon:()=>CM,beforebreakfast:()=>DM,beforedinner:()=>IM,beforelunch:()=>TM,betweenbreakfastandlunch:()=>RM,betweendinnerandsleep:()=>NM,betweenlunchanddinner:()=>OM,betweenmeals:()=>MM,breakfast:()=>AM,default:()=>uie,dinner:()=>PM,duringbreakfast:()=>LM,duringdinner:()=>FM,duringlunch:()=>jM,evening:()=>VM,lunch:()=>zM,morning:()=>BM,night:()=>HM,thehourofsleep:()=>qM});var xM="nach dem Frühstück",EM="nach dem Abendessen",SM="nach dem Mittagessen",kM="nach dem Essen",CM="Nachmittag",DM="vor dem Frühstück",IM="vor dem Abendessen",TM="vor dem Mittagessen",RM="zwischen Frühstück und Mittagessen",NM="zwischen Abendessen und Nachtruhe",OM="zwischen Mittagessen und Abendessen",MM="zwischen den Mahlzeiten",AM="Frühstück",PM="Abendessen",LM="zum Frühstück",FM="zum Abendessen",jM="zum Mittagessen",VM="Abend",zM="Mittagessen",BM="Vormittag",HM="Nacht",qM="Nachtruhe",uie={afterbreakfast:xM,afterdinner:EM,afterlunch:SM,aftermeal:kM,afternoon:CM,beforebreakfast:DM,beforedinner:IM,beforelunch:TM,betweenbreakfastandlunch:RM,betweendinnerandsleep:NM,betweenlunchanddinner:OM,betweenmeals:MM,breakfast:AM,dinner:PM,duringbreakfast:LM,duringdinner:FM,duringlunch:jM,evening:VM,lunch:zM,morning:BM,night:HM,thehourofsleep:qM},$M={};de($M,{afterbreakfast:()=>UM,afterdinner:()=>GM,afterlunch:()=>WM,aftermeal:()=>ZM,afternoon:()=>YM,beforebreakfast:()=>KM,beforedinner:()=>QM,beforelunch:()=>XM,betweenbreakfastandlunch:()=>JM,betweendinnerandsleep:()=>eA,betweenlunchanddinner:()=>tA,betweenmeals:()=>nA,breakfast:()=>aA,default:()=>cie,dinner:()=>rA,duringbreakfast:()=>iA,duringdinner:()=>oA,duringlunch:()=>sA,evening:()=>lA,lunch:()=>uA,morning:()=>cA,night:()=>dA,thehourofsleep:()=>hA});var UM="after breakfast",GM="after dinner",WM="after lunch",ZM="after meal",YM="afternoon",KM="before breakfast",QM="before dinner",XM="before lunch",JM="between breakfast and lunch",eA="between dinner and the hour of sleep",tA="between lunch and dinner",nA="between meals",aA="breakfast",rA="dinner",iA="during breakfast",oA="during dinner",sA="during lunch",lA="evening",uA="lunch",cA="morning",dA="night",hA="the hour of sleep",cie={afterbreakfast:UM,afterdinner:GM,afterlunch:WM,aftermeal:ZM,afternoon:YM,beforebreakfast:KM,beforedinner:QM,beforelunch:XM,betweenbreakfastandlunch:JM,betweendinnerandsleep:eA,betweenlunchanddinner:tA,betweenmeals:nA,breakfast:aA,dinner:rA,duringbreakfast:iA,duringdinner:oA,duringlunch:sA,evening:lA,lunch:uA,morning:cA,night:dA,thehourofsleep:hA},pA={};de(pA,{afterbreakfast:()=>mA,afterdinner:()=>fA,afterlunch:()=>gA,aftermeal:()=>vA,afternoon:()=>bA,beforebreakfast:()=>yA,beforedinner:()=>_A,beforelunch:()=>wA,betweenbreakfastandlunch:()=>xA,betweendinnerandsleep:()=>EA,betweenlunchanddinner:()=>SA,betweenmeals:()=>kA,breakfast:()=>CA,default:()=>die,dinner:()=>DA,duringbreakfast:()=>IA,duringdinner:()=>TA,duringlunch:()=>RA,evening:()=>NA,lunch:()=>OA,morning:()=>MA,night:()=>AA,thehourofsleep:()=>PA});var mA="après le petit-déjeuner",fA="après le repas du soir",gA="après le repas du midi",vA="après le repas",bA="après-midi",yA="avant le petit-déjeuner",_A="avant le repas du soir",wA="avant le repas du midi",xA="entre le petit-déjeuner et le repas du midi",EA="entre le repas du soir et l’heure du coucher",SA="entre le repas du midi et le repas du soir",kA="entre les repas",CA="petit-déjeuner",DA="repas du soir",IA="pendant le petit-déjeuner",TA="pendant le repas du soir",RA="pendant le repas du midi",NA="soir",OA="repas du midi",MA="matin",AA="nuit",PA="heure du coucher",die={afterbreakfast:mA,afterdinner:fA,afterlunch:gA,aftermeal:vA,afternoon:bA,beforebreakfast:yA,beforedinner:_A,beforelunch:wA,betweenbreakfastandlunch:xA,betweendinnerandsleep:EA,betweenlunchanddinner:SA,betweenmeals:kA,breakfast:CA,dinner:DA,duringbreakfast:IA,duringdinner:TA,duringlunch:RA,evening:NA,lunch:OA,morning:MA,night:AA,thehourofsleep:PA},LA={};de(LA,{afterbreakfast:()=>FA,afterdinner:()=>jA,afterlunch:()=>VA,aftermeal:()=>zA,afternoon:()=>BA,beforebreakfast:()=>HA,beforedinner:()=>qA,beforelunch:()=>$A,betweenbreakfastandlunch:()=>UA,betweendinnerandsleep:()=>GA,betweenlunchanddinner:()=>WA,betweenmeals:()=>ZA,breakfast:()=>YA,default:()=>hie,dinner:()=>KA,duringbreakfast:()=>QA,duringdinner:()=>XA,duringlunch:()=>JA,evening:()=>eP,lunch:()=>tP,morning:()=>nP,night:()=>aP,thehourofsleep:()=>rP});var FA="na het ontbijt",jA="na het avondmaal",VA="na het middagmaal",zA="na de maaltijd",BA="namiddag",HA="voor het ontbijt",qA="voor het avondmaal",$A="voor het middagmaal",UA="tussen het ontbijt en het middagmaal",GA="tussen het avondmaal en het slapen gaan",WA="tussen het middagmaal en het avondmaal",ZA="tussen de maaltijden",YA="ontbijt",KA="avondmaal",QA="tijdens het ontbijt",XA="tijdens het avondmaal",JA="tijdens het middagmaal",eP="'s avonds",tP="middagmaal",nP="'s ochtends",aP="'s nachts",rP="voor het slapen gaan",hie={afterbreakfast:FA,afterdinner:jA,afterlunch:VA,aftermeal:zA,afternoon:BA,beforebreakfast:HA,beforedinner:qA,beforelunch:$A,betweenbreakfastandlunch:UA,betweendinnerandsleep:GA,betweenlunchanddinner:WA,betweenmeals:ZA,breakfast:YA,dinner:KA,duringbreakfast:QA,duringdinner:XA,duringlunch:JA,evening:eP,lunch:tP,morning:nP,night:aP,thehourofsleep:rP},pie={nl:LA,fr:pA,de:wM,en:$M},iP={};de(iP,{day:()=>oP,default:()=>mie,during:()=>uP,on:()=>lP,week:()=>sP});var oP="Tag",sP="Woche",lP="am",uP="für",mie={day:oP,week:sP,on:lP,during:uP},cP={};de(cP,{day:()=>dP,default:()=>fie,during:()=>mP,on:()=>pP,week:()=>hP});var dP="day",hP="week",pP="on",mP="during",fie={day:dP,week:hP,on:pP,during:mP},fP={};de(fP,{day:()=>gP,default:()=>gie,during:()=>yP,on:()=>bP,week:()=>vP});var gP="jour",vP="semaine",bP="le",yP="durant",gie={day:gP,week:vP,on:bP,during:yP},_P={};de(_P,{day:()=>wP,default:()=>vie,during:()=>SP,on:()=>EP,week:()=>xP});var wP="dag",xP="week",EP="op",SP="gedurende",vie={day:wP,week:xP,on:EP,during:SP},bie={nl:_P,fr:fP,de:iP,en:cP},kP={};de(kP,{a:()=>CP,d:()=>TP,default:()=>yie,hr:()=>RP,min:()=>NP,mo:()=>DP,ms:()=>MP,ns:()=>PP,s:()=>OP,us:()=>AP,wk:()=>IP});var CP="{count} {count, plural, one{Jahr} other{Jahre}}",DP="{count} {count, plural, one{Monat} other{Monate}}",IP="{count} {count, plural, one{Woche} other{Wochen}}",TP="{count} {count, plural, one{Tag} other{Tage}}",RP="{count} {count, plural, one{Stunde} other{Stunden}}",NP="{count} {count, plural, one{Minute} other{Minuten}}",OP="{count} {count, plural, one{Sekunde} other{Sekunden}} ",MP="{count} {count, plural, one{Millisekunde} other{Millisekunden}}",AP="{count} {count, plural, one{Microsekunde} other{Microsekunden}}",PP="{count} {count, plural, one{Nanosekunde} other{Nanosekunden}}",yie={a:CP,mo:DP,wk:IP,d:TP,hr:RP,min:NP,s:OP,ms:MP,us:AP,ns:PP},LP={};de(LP,{a:()=>FP,d:()=>zP,default:()=>_ie,hr:()=>BP,min:()=>HP,mo:()=>jP,ms:()=>$P,ns:()=>GP,s:()=>qP,us:()=>UP,wk:()=>VP});var FP="{count} {count, plural, one{year} other{years}}",jP="{count} {count, plural, one{month} other{months}}",VP="{count} {count, plural, one{week} other{weeks}}",zP="{count} {count, plural, one{day} other{days}}",BP="{count} {count, plural, one{hour} other{hours}}",HP="{count} {count, plural, one{minute} other{minutes}}",qP="{count} {count, plural, one{second} other{seconds}}",$P="{count} {count, plural, one{millisecond} other{millisecondes}}",UP="{count} {count, plural, one{microsecond} other{microsecondes}}",GP="{count} {count, plural, one{nanosecond} other{nanosecondes}}",_ie={a:FP,mo:jP,wk:VP,d:zP,hr:BP,min:HP,s:qP,ms:$P,us:UP,ns:GP},WP={};de(WP,{a:()=>ZP,d:()=>QP,default:()=>wie,hr:()=>XP,min:()=>JP,mo:()=>YP,ms:()=>tL,ns:()=>aL,s:()=>eL,us:()=>nL,wk:()=>KP});var ZP="{count} {count, plural, one{année} other{années}}",YP="{count} {count, plural, one{mois} other{mois}}",KP="{count} {count, plural, one{semaine} other{semaines}}",QP="{count} {count, plural, one{jour} other{jours}}",XP="{count} {count, plural, one{heure} other{heures}}",JP="{count} {count, plural, one{minute} other{minutes}}",eL="{count} {count, plural, one{seconde} other{secondes}}",tL="{count} {count, plural, one{milliseconde} other{millisecondes}}",nL="{count} {count, plural, one{microseconde} other{microsecondes}}",aL="{count} {count, plural, one{nanoseconde} other{nanosecondes}}",wie={a:ZP,mo:YP,wk:KP,d:QP,hr:XP,min:JP,s:eL,ms:tL,us:nL,ns:aL},rL={};de(rL,{a:()=>iL,d:()=>lL,default:()=>xie,hr:()=>uL,min:()=>cL,mo:()=>oL,ms:()=>hL,ns:()=>mL,s:()=>dL,us:()=>pL,wk:()=>sL});var iL="{count} {count, plural, one{jaar} other{jaren}}",oL="{count} {count, plural, one{maand} other{maanden}}",sL="{count} {count, plural, one{week} other{weken}}",lL="{count} {count, plural, one{dag} other{dagen}}",uL="{count} {count, plural, one{uur} other{uren}}",cL="{count} {count, plural, one{minuut} other{minuten}}",dL="{count} {count, plural, one{seconde} other{seconden}}",hL="{count} {count, plural, one{milliseconde} other{milliseconden}}",pL="{count} {count, plural, one{microseconde} other{microseconden}}",mL="{count} {count, plural, one{nanoseconde} other{nanoseconden}}",xie={a:iL,mo:oL,wk:sL,d:lL,hr:uL,min:cL,s:dL,ms:hL,us:pL,ns:mL},Eie={nl:rL,fr:WP,de:kP,en:LP},fL={};de(fL,{"%":()=>gL,"%vv":()=>kF,"%wv":()=>CF,"%ww":()=>DF,"1000/mm3":()=>BL,amp:()=>vL,atptreatment:()=>w3,bag:()=>bL,bitperminute:()=>IF,bol:()=>TF,bot:()=>RF,box:()=>yL,c:()=>s3,can:()=>NF,cap:()=>OF,cc:()=>MF,cm:()=>AF,cmm:()=>HL,cnt:()=>l3,ctg:()=>oF,ctr:()=>PF,daily:()=>o3,day:()=>qL,default:()=>Sie,degree:()=>zL,dis:()=>WL,drm:()=>u3,fl:()=>_L,fld:()=>ZL,flo:()=>YL,ftc:()=>KL,fts:()=>QL,"g/dl":()=>wL,gal:()=>sF,gm:()=>xL,goutte:()=>iF,gr:()=>LF,hour:()=>rF,in:()=>FF,inc:()=>jF,jar:()=>VF,kg:()=>EL,"kg/m2":()=>SL,kit:()=>zF,l:()=>kL,lb:()=>CL,lm:()=>c3,loz:()=>r3,mcg:()=>DL,mcl:()=>IL,mcm:()=>lF,mcn:()=>BF,meq:()=>TL,mg:()=>RL,"mg/dl":()=>NL,"mg/l":()=>OL,"mg/m2":()=>ML,"mg/ml":()=>AL,mgper100ml:()=>cF,mic:()=>HF,mil:()=>qF,millisecond:()=>aF,min:()=>$F,minute:()=>XL,mis:()=>d3,ml:()=>PL,"ml/min":()=>LL,"ml/min/1.73m2":()=>n3,mm:()=>JL,"mm/h":()=>eF,mmhg:()=>tF,mmo:()=>UF,mol:()=>FL,month:()=>GL,nl:()=>GF,nmg:()=>h3,nmo:()=>p3,ns:()=>vF,ondemand:()=>uF,oz:()=>jL,pel:()=>WF,pg:()=>gF,pkg:()=>ZF,pnu:()=>m3,ppm:()=>VL,pt:()=>YF,qs:()=>KF,qt:()=>QF,sap:()=>x3,sat:()=>f3,second:()=>nF,shock:()=>a3,spoon:()=>$L,spr:()=>dF,sqc:()=>XF,stp:()=>g3,sup:()=>bF,syr:()=>pF,tab:()=>yF,tbl:()=>_F,tes:()=>wF,ton:()=>SF,tpn:()=>mF,trc:()=>v3,tro:()=>i3,tsp:()=>EF,tub:()=>fF,umg:()=>JF,unt:()=>xF,vil:()=>hF,vpr:()=>b3,waf:()=>y3,week:()=>UL,x:()=>_3,ydl:()=>e3,yds:()=>t3});var gL="%",vL="{count, plural, one{Glühbirn} other{Glühbirnen}}",bL="Beutel",yL="schachteln",_L="fl",wL="g/dl",xL="g",EL="kg",SL="kg/m²",kL="l",CL="lb",DL="µg",IL="µl",TL="meq",RL="mg",NL="mg/dl",OL="mg/l",ML="mg/m²",AL="mg/ml",PL="ml",LL="ml/min",FL="mol",jL="oz",VL="ppm",zL="°",BL="1000/mm³",HL="mm³",qL="{count, plural, one{Tag} other{Tage}}",$L="Löffel",UL="{count, plural, one{Woche} other{Wochen}}",GL="{count, plural, one{Monat} other{Monate}}",WL="{count, plural, one{Platte} other{Platten}}",ZL="fl dr",YL="fl oz",KL="cu ft",QL="sq ft",XL="{count, plural, one{Minute} other{Minuten}}",JL="mm",eF="mm/h",tF="mmHg",nF="{count, plural, one{Sekunde} other{Sekunden}}",aF="{count, plural, one{Millisekunde} other{Millisekunden}}",rF="{count, plural, one{Stunde} other{Stunden}}",iF="{count, plural, one{Tropf} other{Tropfen}}",oF="{count, plural, one{Kartusche} other{Kartuschen}}",sF="gal",lF="mmol",uF="auf Antrag",cF="mg/100mL",dF="{count, plural, one{Sprühe} other{Sprühen}}",hF="{count, plural, one{Phiole} other{Phiolen}}",pF="{count, plural, one{Spritze} other{Spritzen}}",mF="Tampon",fF="{count, plural, one{Rohr} other{Rohre}}",gF="pg",vF="nicht spezifiziert",bF="{count, plural, one{Zäpfch} other{Zäpfchen}}",yF="{count, plural, one{Tablette} other{Tabletten}}",_F="Esslöffel",wF="Test",xF="{count, plural, one{Einheit} other{Einheiten}}",EF="teelöffel",SF="ton",kF="% v/v",CF="% w/v",DF="% w/w",IF="Schläge pro Minute",TF="Bolus",RF="{count, plural, one{Flasche} other{Fläschchen}}",NF="Dose",OF="{count, plural, one{Kapsel} other{Kapseln}}",MF="cm3",AF="cm",PF="Halter",LF="Körnchen",FF="in",jF="in²",VF="Glas",zF="Kitt",BF="Micron",HF="µCi",qF="mCi",$F="minim",UF="μmol",GF="normal",WF="{count, plural, one{Pille} other{Pillen}}",ZF="{count, plural, one{Paket} other{Pakete}}",YF="Pinte",KF="ausreichende Menge",QF="qt",XF="cm²",JF="{count, plural, one{Einheit / mg} other{Einheiten / mg}}",e3="yd",t3="yd²",n3="mL/min/1.73m²",a3="{count, plural, one{Schock} other{Schocks}}",r3="{count, plural, one{Pastille} other{Pastillen}}",i3="{count, plural, one{Pastille} other{Pastillen}}",o3="täglich",s3="homöopathische Verdünnung (Centesimal 1/100)",l3="cnt",u3="Fass",c3="homöopathische Verdünnung (50 Millisimal im Verhältnis 1:50,000)",d3="verschiedene",h3="ng",p3="nmol",m3="{count, plural, one{Proteineinheit} other{Proteineinheiten}}",f3="gesättigt",g3="Strip",v3="Spur",b3="Therapieschema abhängig",y3="{count, plural, one{Oblate} other{Oblaten}}",_3="homöopathische Verdünnung (dezimal 1/10)",w3="anzahl der antitachykardie-stimulationsbehandlungen",x3="Kumulativer sap wert",Sie={"%":gL,amp:vL,bag:bL,box:yL,fl:_L,"g/dl":wL,gm:xL,kg:EL,"kg/m2":SL,l:kL,lb:CL,mcg:DL,mcl:IL,meq:TL,mg:RL,"mg/dl":NL,"mg/l":OL,"mg/m2":ML,"mg/ml":AL,ml:PL,"ml/min":LL,mol:FL,oz:jL,ppm:VL,degree:zL,"1000/mm3":BL,cmm:HL,day:qL,spoon:$L,week:UL,month:GL,dis:WL,fld:ZL,flo:YL,ftc:KL,fts:QL,minute:XL,mm:JL,"mm/h":eF,mmhg:tF,second:nF,millisecond:aF,hour:rF,goutte:iF,ctg:oF,gal:sF,mcm:lF,ondemand:uF,mgper100ml:cF,spr:dF,vil:hF,syr:pF,tpn:mF,tub:fF,pg:gF,ns:vF,sup:bF,tab:yF,tbl:_F,tes:wF,unt:xF,tsp:EF,ton:SF,"%vv":kF,"%wv":CF,"%ww":DF,bitperminute:IF,bol:TF,bot:RF,can:NF,cap:OF,cc:MF,cm:AF,ctr:PF,gr:LF,in:FF,inc:jF,jar:VF,kit:zF,mcn:BF,mic:HF,mil:qF,min:$F,mmo:UF,nl:GF,pel:WF,pkg:ZF,pt:YF,qs:KF,qt:QF,sqc:XF,umg:JF,ydl:e3,yds:t3,"ml/min/1.73m2":n3,shock:a3,loz:r3,tro:i3,daily:o3,c:s3,cnt:l3,drm:u3,lm:c3,mis:d3,nmg:h3,nmo:p3,pnu:m3,sat:f3,stp:g3,trc:v3,vpr:b3,waf:y3,x:_3,atptreatment:w3,sap:x3},E3={};de(E3,{"%":()=>S3,"%vv":()=>k3,"%wv":()=>C3,"%ww":()=>D3,"1000/mm3":()=>I3,amp:()=>T3,atptreatment:()=>R3,bag:()=>N3,bitperminute:()=>O3,bol:()=>M3,bot:()=>A3,box:()=>P3,c:()=>L3,can:()=>F3,cap:()=>j3,cc:()=>V3,cm:()=>z3,cmm:()=>B3,cnt:()=>H3,ctg:()=>q3,ctr:()=>$3,daily:()=>U3,day:()=>G3,default:()=>kie,degree:()=>W3,dis:()=>Z3,drm:()=>Y3,fl:()=>K3,fld:()=>Q3,flo:()=>X3,ftc:()=>J3,fts:()=>e5,"g/dl":()=>t5,gal:()=>n5,gm:()=>a5,goutte:()=>r5,gr:()=>i5,hour:()=>o5,in:()=>s5,inc:()=>l5,jar:()=>u5,kg:()=>c5,"kg/m2":()=>d5,kit:()=>h5,l:()=>p5,lb:()=>m5,lm:()=>f5,loz:()=>g5,mcg:()=>v5,mcl:()=>b5,mcm:()=>y5,mcn:()=>_5,meq:()=>w5,mg:()=>x5,"mg/dl":()=>E5,"mg/l":()=>S5,"mg/m2":()=>k5,"mg/ml":()=>C5,mgper100ml:()=>D5,mic:()=>I5,mil:()=>T5,millisecond:()=>R5,min:()=>N5,minute:()=>O5,mis:()=>M5,ml:()=>A5,"ml/min":()=>P5,"ml/min/1.73m2":()=>L5,mm:()=>F5,"mm/h":()=>j5,mmhg:()=>V5,mmo:()=>z5,mol:()=>B5,month:()=>H5,nl:()=>q5,nmg:()=>$5,nmo:()=>U5,ns:()=>G5,ondemand:()=>W5,oz:()=>Z5,pel:()=>Y5,pg:()=>K5,pkg:()=>Q5,pnu:()=>X5,ppm:()=>J5,pt:()=>ej,qs:()=>tj,qt:()=>Rj,sap:()=>nj,sat:()=>aj,second:()=>rj,shock:()=>ij,spoon:()=>oj,spr:()=>sj,sqc:()=>lj,stp:()=>uj,sup:()=>cj,syr:()=>dj,tab:()=>hj,tbl:()=>pj,tes:()=>mj,ton:()=>fj,tpn:()=>gj,trc:()=>vj,tro:()=>bj,tsp:()=>yj,tub:()=>_j,umg:()=>wj,unt:()=>xj,vil:()=>Ej,vpr:()=>Sj,waf:()=>kj,week:()=>Cj,x:()=>Dj,ydl:()=>Ij,yds:()=>Tj});var S3="%",k3="% v/v",C3="% w/v",D3="% w/w",I3="1000/mm³",T3="{count, plural, one{ampule} other{ampules}}",R3="Number of treatments by anti-tachycardia pacing",N3="{count, plural, one{bag} other{bags}}",O3="{count, plural, one{bit per minute} other{bits per minute}}",M3="bolus",A3="{count, plural, one{bottle} other{bottles}}",P3="{count, plural, one{box} other{boxes}}",L3="homeopathic dilution (centesimal 1/100)",F3="{count, plural, one{can} other{cans}}",j3="{count, plural, one{capsule} other{capsules}}",V3="cm³",z3="cm",B3="mm³",H3="cnt",q3="{count, plural, one{cartridge} other{cartridges}}",$3="{count, plural, one{container} other{containers}}",U3="daily",G3="{count, plural, one{day} other{days}}",W3="°",Z3="{count, plural, one{disk} other{disks}}",Y3="drum",K3="{count, plural, one{fluid} other{fluids}}",Q3="fl dr",X3="{count, plural, one{fluid ounce} other{fluid ounces}}",J3="cu ft",e5="sq ft",t5="g/dl",n5="{count, plural, one{gallon} other{gallons}}",a5="g",r5="{count, plural, one{drop} other{drops}}",i5="{count, plural, one{grain} other{grains}}",o5="{count, plural, one{hour} other{hours}}",s5="{count, plural, one{inch} other{inches}}",l5="in²",u5="{count, plural, one{jar} other{jars}}",c5="kg",d5="kg/m²",h5="kit",p5="{count, plural, one{liter} other{liters}}",m5="{count, plural, one{pound} other{pounds}}",f5="homeopathic dilution (fifty millesimal 1/50,000)",g5="{count, plural, one{lozenge} other{lozenges}}",v5="µg",b5="µl",y5="mmol",_5="micron",w5="milliequivalent",x5="mg",E5="mg/dl",S5="mg/l",k5="mg/m²",C5="mg/ml",D5="mg/100mL",I5="µCi",T5="mCi",R5="{count, plural, one{millisecond} other{milliseconds}}",N5="minim",O5="{count, plural, one{minute} other{minutes}}",M5="miscellaneous",A5="{count, plural, one{milliliter} other{milliliters}}",P5="ml/min",L5="mL/min/1.73m²",F5="mm",j5="mm/h",V5="mmHg",z5="μmol",B5="mol",H5="{count, plural, one{month} other{months}}",q5="normal",$5="ng",U5="nmol",G5="not stated",W5="on demand",Z5="{count, plural, one{ounce} other{ounces}}",Y5="{count, plural, one{pellet} other{pellets}}",K5="pg",Q5="{count, plural, one{package} other{packages}}",X5="{count, plural, one{protein unit} other{protein unit}}",J5="ppm",ej="{count, plural, one{pint} other{pints}}",tj="quantity sufficient",nj="Cumulative sap value",aj="saturated",rj="{count, plural, one{second} other{seconds}}",ij="shock",oj="{count, plural, one{spoon} other{spoons}}",sj="{count, plural, one{spray} other{sprays}}",lj="cm²",uj="{count, plural, one{strip} other{strips}}",cj="{count, plural, one{suppository} other{suppositories}}",dj="{count, plural, one{syrynge} other{syrynges}}",hj="{count, plural, one{tablet} other{tablets}}",pj="{count, plural, one{tablespoon} other{tablespoons}}",mj="{count, plural, one{test} other{tests}}",fj="{count, plural, one{ton} other{tons}}",gj="{count, plural, one{tampon} other{tampons}}",vj="{count, plural, one{trace} other{traces}}",bj="{count, plural, one{troche} other{troches}}",yj="{count, plural, one{teaspoon} other{teaspoons}}",_j="{count, plural, one{tube} other{tubes}}",wj="UNITS PER MILLIGRAM",xj="{count, plural, one{unit} other{units}}",Ej="{count, plural, one{vial} other{vials}}",Sj="varies per regimen",kj="{count, plural, one{wafer} other{wafers}}",Cj="{count, plural, one{week} other{weeks}}",Dj="homeopathic dilution (decimal 1/10)",Ij="yd",Tj="yd²",Rj="qt",kie={"%":S3,"%vv":k3,"%wv":C3,"%ww":D3,"1000/mm3":I3,amp:T3,atptreatment:R3,bag:N3,bitperminute:O3,bol:M3,bot:A3,box:P3,c:L3,can:F3,cap:j3,cc:V3,cm:z3,cmm:B3,cnt:H3,ctg:q3,ctr:$3,daily:U3,day:G3,degree:W3,dis:Z3,drm:Y3,fl:K3,fld:Q3,flo:X3,ftc:J3,fts:e5,"g/dl":t5,gal:n5,gm:a5,goutte:r5,gr:i5,hour:o5,in:s5,inc:l5,jar:u5,kg:c5,"kg/m2":d5,kit:h5,l:p5,lb:m5,lm:f5,loz:g5,mcg:v5,mcl:b5,mcm:y5,mcn:_5,meq:w5,mg:x5,"mg/dl":E5,"mg/l":S5,"mg/m2":k5,"mg/ml":C5,mgper100ml:D5,mic:I5,mil:T5,millisecond:R5,min:N5,minute:O5,mis:M5,ml:A5,"ml/min":P5,"ml/min/1.73m2":L5,mm:F5,"mm/h":j5,mmhg:V5,mmo:z5,mol:B5,month:H5,nl:q5,nmg:$5,nmo:U5,ns:G5,ondemand:W5,oz:Z5,pel:Y5,pg:K5,pkg:Q5,pnu:X5,ppm:J5,pt:ej,qs:tj,sap:nj,sat:aj,second:rj,shock:ij,spoon:oj,spr:sj,sqc:lj,stp:uj,sup:cj,syr:dj,tab:hj,tbl:pj,tes:mj,ton:fj,tpn:gj,trc:vj,tro:bj,tsp:yj,tub:_j,umg:wj,unt:xj,vil:Ej,vpr:Sj,waf:kj,week:Cj,x:Dj,ydl:Ij,yds:Tj,qt:Rj},Nj={};de(Nj,{"%":()=>Oj,"%vv":()=>BV,"%wv":()=>HV,"%ww":()=>qV,"1000/mm3":()=>aV,amp:()=>Mj,atptreatment:()=>Fz,bag:()=>Aj,bitperminute:()=>$V,bol:()=>UV,bot:()=>GV,box:()=>Pj,c:()=>Ez,can:()=>WV,cap:()=>ZV,cc:()=>YV,cm:()=>KV,cmm:()=>rV,cnt:()=>Sz,ctg:()=>xV,ctr:()=>QV,daily:()=>xz,day:()=>iV,default:()=>Cie,degree:()=>nV,dis:()=>uV,drm:()=>kz,fl:()=>Lj,fld:()=>cV,flo:()=>dV,ftc:()=>hV,fts:()=>pV,"g/dl":()=>Fj,gal:()=>EV,gm:()=>jj,goutte:()=>wV,gr:()=>XV,hour:()=>_V,in:()=>JV,inc:()=>ez,jar:()=>tz,kg:()=>Vj,"kg/m2":()=>zj,kit:()=>nz,l:()=>Bj,lb:()=>Hj,lm:()=>Cz,loz:()=>_z,mcg:()=>qj,mcl:()=>$j,mcm:()=>SV,mcn:()=>az,meq:()=>Uj,mg:()=>Gj,"mg/dl":()=>Wj,"mg/l":()=>Zj,"mg/m2":()=>Yj,"mg/ml":()=>Kj,mgper100ml:()=>CV,mic:()=>rz,mil:()=>iz,millisecond:()=>yV,min:()=>oz,minute:()=>mV,mis:()=>Dz,ml:()=>Qj,"ml/min":()=>Xj,"ml/min/1.73m2":()=>bz,mm:()=>fV,"mm/h":()=>gV,mmhg:()=>vV,mmo:()=>sz,mol:()=>Jj,month:()=>lV,nl:()=>lz,nmg:()=>Iz,nmo:()=>Tz,ns:()=>MV,ondemand:()=>kV,oz:()=>eV,pel:()=>uz,pg:()=>OV,pkg:()=>cz,pnu:()=>Rz,ppm:()=>tV,pt:()=>dz,qs:()=>hz,qt:()=>pz,sap:()=>jz,sat:()=>Nz,second:()=>bV,shock:()=>yz,spoon:()=>oV,spr:()=>DV,sqc:()=>mz,stp:()=>Oz,sup:()=>AV,syr:()=>TV,tab:()=>PV,tbl:()=>LV,tes:()=>FV,ton:()=>zV,tpn:()=>RV,trc:()=>Mz,tro:()=>wz,tsp:()=>VV,tub:()=>NV,umg:()=>fz,unt:()=>jV,vil:()=>IV,vpr:()=>Az,waf:()=>Pz,week:()=>sV,x:()=>Lz,ydl:()=>gz,yds:()=>vz});var Oj="%",Mj="{count, plural, one{ampoule} other{ampoules}}",Aj="{count, plural, one{sac} other{sacs}}",Pj="{count, plural, one{vaporisateur} other{vaporisateurs}}",Lj="fl",Fj="g/dl",jj="g",Vj="kg",zj="kg/m²",Bj="l",Hj="lb",qj="µg",$j="µl",Uj="milli-equivalent",Gj="mg",Wj="mg/dl",Zj="mg/l",Yj="mg/m²",Kj="mg/ml",Qj="ml",Xj="ml/min",Jj="mol",eV="oz",tV="ppm",nV="°",aV="1000/mm³",rV="mm³",iV="{count, plural, one{jour(s)} other{jours}}",oV="{count, plural, one{cuillère} other{cuillères}}",sV="{count, plural, one{semaine} other{semaines}}",lV="mois",uV="{count, plural, one{disque} other{disques}}",cV="fl dr",dV="fl oz",hV="cu ft",pV="sq ft",mV="{count, plural, one{minute} other{minutes}}",fV="mm",gV="mm/h",vV="mmHg",bV="{count, plural, one{seconde} other{secondes}}",yV="{count, plural, one{milliseconde} other{millisecondes}}",_V="{count, plural, one{heure} other{heures}}",wV="{count, plural, one{goutte} other{gouttes}}",xV="{count, plural, one{cartouche} other{cartouches}}",EV="gal",SV="mmol",kV="sur demande",CV="mg/100mL",DV="spray",IV="{count, plural, one{fiole} other{fioles}}",TV="{count, plural, one{seringue} other{seringues}}",RV="{count, plural, one{tampon} other{tampons}}",NV="{count, plural, one{tube} other{tubes}}",OV="pg",MV="non spécifié",AV="{count, plural, one{suppositoire} other{suppositoires}}",PV="{count, plural, one{tablette} other{tablettes}}",LV="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",FV="{count, plural, one{test} other{tests}}",jV="{count, plural, one{unité} other{unités}}",VV="{count, plural, one{cuillère à café} other{cuillères à café}}",zV="{count, plural, one{ton} other{tons}}",BV="% v/v",HV="% w/v",qV="% w/w",$V="{count, plural, one{battement par minute} other{battements par minute}}",UV="{count, plural, one{bolus} other{bolus}}",GV="{count, plural, one{bouteille} other{bouteilles}}",WV="{count, plural, one{canette} other{canettes}}",ZV="{count, plural, one{capsule} other{capsules}}",YV="cm3",KV="cm",QV="{count, plural, one{conteneur} other{conteneurs}}",XV="{count, plural, one{granule} other{granules}}",JV="in",ez="in²",tz="pot",nz="{count, plural, one{kit} other{kits}}",az="micron",rz="µCi",iz="mCi",oz="minim",sz="μmol",lz="normal",uz="{count, plural, one{pilule} other{pilules}}",cz="{count, plural, one{paquet} other{paquets}}",dz="pinte",hz="quantité suffisante",pz="qt",mz="cm²",fz="{count, plural, one{unité / mg} other{unités / mg}}",gz="yd",vz="yd²",bz="mL/min/1.73m²",yz="choc",_z="{count, plural, one{pastille} other{pastilles}}",wz="{count, plural, one{pastille} other{pastilles}}",xz="journalier",Ez="dilution homéopathique (centésimal 1/100)",Sz="cnt",kz="fût",Cz="dilution homéopathique (50 millisimaux au ratio 1:50,000)",Dz="divers",Iz="ng",Tz="nmol",Rz="{count, plural, one{unité protéique} other{unités protéiques}}",Nz="saturé",Oz="strip",Mz="trace",Az="dépendant du schéma thérapeutique",Pz="{count, plural, one{hostie} other{hosties}}",Lz="dilution homéopathique (décimal 1/10)",Fz="{count, plural, one{Nombre de traitements par stimulation antitachycardique} other{Nombres de traitements par stimulation antitachycardique}}",jz="Valeur sap cumulative",Cie={"%":Oj,amp:Mj,bag:Aj,box:Pj,fl:Lj,"g/dl":Fj,gm:jj,kg:Vj,"kg/m2":zj,l:Bj,lb:Hj,mcg:qj,mcl:$j,meq:Uj,mg:Gj,"mg/dl":Wj,"mg/l":Zj,"mg/m2":Yj,"mg/ml":Kj,ml:Qj,"ml/min":Xj,mol:Jj,oz:eV,ppm:tV,degree:nV,"1000/mm3":aV,cmm:rV,day:iV,spoon:oV,week:sV,month:lV,dis:uV,fld:cV,flo:dV,ftc:hV,fts:pV,minute:mV,mm:fV,"mm/h":gV,mmhg:vV,second:bV,millisecond:yV,hour:_V,goutte:wV,ctg:xV,gal:EV,mcm:SV,ondemand:kV,mgper100ml:CV,spr:DV,vil:IV,syr:TV,tpn:RV,tub:NV,pg:OV,ns:MV,sup:AV,tab:PV,tbl:LV,tes:FV,unt:jV,tsp:VV,ton:zV,"%vv":BV,"%wv":HV,"%ww":qV,bitperminute:$V,bol:UV,bot:GV,can:WV,cap:ZV,cc:YV,cm:KV,ctr:QV,gr:XV,in:JV,inc:ez,jar:tz,kit:nz,mcn:az,mic:rz,mil:iz,min:oz,mmo:sz,nl:lz,pel:uz,pkg:cz,pt:dz,qs:hz,qt:pz,sqc:mz,umg:fz,ydl:gz,yds:vz,"ml/min/1.73m2":bz,shock:yz,loz:_z,tro:wz,daily:xz,c:Ez,cnt:Sz,drm:kz,lm:Cz,mis:Dz,nmg:Iz,nmo:Tz,pnu:Rz,sat:Nz,stp:Oz,trc:Mz,vpr:Az,waf:Pz,x:Lz,atptreatment:Fz,sap:jz},Vz={};de(Vz,{"%":()=>zz,"%vv":()=>YB,"%wv":()=>KB,"%ww":()=>QB,"1000/mm3":()=>dB,amp:()=>Bz,atptreatment:()=>U4,bag:()=>Hz,bitperminute:()=>XB,bol:()=>JB,bot:()=>e4,box:()=>qz,c:()=>N4,can:()=>t4,cap:()=>n4,cc:()=>a4,cm:()=>r4,cmm:()=>hB,cnt:()=>O4,ctg:()=>RB,ctr:()=>i4,daily:()=>R4,day:()=>pB,default:()=>Die,degree:()=>cB,dis:()=>vB,drm:()=>M4,fl:()=>$z,fld:()=>bB,flo:()=>yB,ftc:()=>_B,fts:()=>wB,"g/dl":()=>Uz,gal:()=>NB,gm:()=>Gz,goutte:()=>TB,gr:()=>o4,hour:()=>IB,in:()=>s4,inc:()=>l4,jar:()=>u4,kg:()=>Wz,"kg/m2":()=>Zz,kit:()=>c4,l:()=>Yz,lb:()=>Kz,lm:()=>A4,loz:()=>I4,mcg:()=>Qz,mcl:()=>Xz,mcm:()=>OB,mcn:()=>d4,meq:()=>Jz,mg:()=>eB,"mg/dl":()=>tB,"mg/l":()=>nB,"mg/m2":()=>aB,"mg/ml":()=>rB,mgper100ml:()=>AB,mic:()=>h4,mil:()=>p4,millisecond:()=>DB,min:()=>m4,minute:()=>xB,mis:()=>P4,ml:()=>iB,"ml/min":()=>oB,"ml/min/1.73m2":()=>C4,mm:()=>EB,"mm/h":()=>SB,mmhg:()=>kB,mmo:()=>f4,mol:()=>sB,month:()=>gB,nl:()=>g4,nmg:()=>L4,nmo:()=>F4,ns:()=>BB,ondemand:()=>MB,oz:()=>lB,pel:()=>v4,pg:()=>zB,pkg:()=>b4,pnu:()=>j4,ppm:()=>uB,pt:()=>y4,qs:()=>_4,qt:()=>w4,sap:()=>G4,sat:()=>V4,second:()=>CB,shock:()=>D4,spoon:()=>mB,spr:()=>PB,sqc:()=>x4,stp:()=>z4,sup:()=>HB,syr:()=>FB,tab:()=>qB,tbl:()=>$B,tes:()=>UB,ton:()=>ZB,tpn:()=>jB,trc:()=>B4,tro:()=>T4,tsp:()=>WB,tub:()=>VB,umg:()=>E4,unt:()=>GB,vil:()=>LB,vpr:()=>H4,waf:()=>q4,week:()=>fB,x:()=>$4,ydl:()=>S4,yds:()=>k4});var zz="%",Bz="{count, plural, one{ampule} other{ampullen}}",Hz="{count, plural, one{zak} other{zakken}}",qz="{count, plural, one{verstuiver} other{verstuivers}}",$z="fl",Uz="g/dl",Gz="g",Wz="kg",Zz="kg/m²",Yz="l",Kz="lb",Qz="µg",Xz="µl",Jz="{count, plural, one{milli-equivalent} other{milli-equivalenten}}",eB="mg",tB="mg/dl",nB="mg/l",aB="mg/m²",rB="mg/ml",iB="ml",oB="ml/min",sB="mol",lB="oz",uB="ppm",cB="°",dB="1000/mm³",hB="mm³",pB="{count, plural, one{dag} other{dagen}}",mB="{count, plural, one{lepel} other{lepels}}",fB="{count, plural, one{week} other{weken}}",gB="{count, plural, one{maand} other{maanden}}",vB="{count, plural, one{schijf} other{schijven}}",bB="fl dr",yB="fl oz",_B="cu ft",wB="sq ft",xB="{count, plural, one{minuut} other{minuten}}",EB="mm",SB="mm/h",kB="mmHg",CB="{count, plural, one{seconde} other{seconden}}",DB="{count, plural, one{milliseconde} other{milliseconden}}",IB="{count, plural, one{uur} other{uren}}",TB="{count, plural, one{druppel} other{druppels}}",RB="{count, plural, one{patroon} other{patronen}}",NB="gal",OB="mmol",MB="op aanvraag",AB="mg/100mL",PB="{count, plural, one{spray} other{sprays}}",LB="{count, plural, one{flesje} other{flesjes}}",FB="{count, plural, one{spuit} other{spuiten}}",jB="{count, plural, one{tampon} other{tampons}}",VB="{count, plural, one{buis} other{buizen}}",zB="pg",BB="niet gespecificeerd",HB="{count, plural, one{zetpil} other{zetpillen}}",qB="{count, plural, one{tablet} other{tabletten}}",$B="{count, plural, one{eetlepel} other{eetlepels}}",UB="{count, plural, one{test} other{tests}}",GB="{count, plural, one{eenheid} other{eenheden}}",WB="{count, plural, one{theelepel} other{theelepels}}",ZB="{count, plural, one{ton} other{tonnen}}",YB="% v/v",KB="% w/v",QB="% w/w",XB="{count, plural, one{slag per minuut} other{slagen per minuut}}",JB="bolus",e4="{count, plural, one{fles} other{flessen}}",t4="{count, plural, one{blikje} other{blikjes}}",n4="{count, plural, one{capsule} other{capsules}}",a4="cm3",r4="cm",i4="{count, plural, one{houder} other{houders}}",o4="{count, plural, one{korrel} other{korrels}}",s4="in",l4="in²",u4="{count, plural, one{pot} other{potten}}",c4="{count, plural, one{kit} other{kits}}",d4="micron",h4="µCi",p4="mCi",m4="minim",f4="μmol",g4="normaal",v4="{count, plural, one{pil} other{pillen}}",b4="{count, plural, one{pakket} other{pakketten}}",y4="{count, plural, one{pint} other{pinten}}",_4="voldoende hoeveelheid",w4="qt",x4="cm²",E4="{count, plural, one{eenheid / mg} other{eenheden / mg}}",S4="yd",k4="yd²",C4="mL/min/1.73m²",D4="{count, plural, one{schok} other{schokken}}",I4="{count, plural, one{zuigtablet} other{zuigtabletten}}",T4="{count, plural, one{zuigtablet} other{zuigtabletten}}",R4="dagelijks",N4="homeopathische verdunning (centesimal 1/100)",O4="cnt",M4="vat",A4="homeopathische verdunning (50 millesimal in verhouding 1:50,000)",P4="diverse",L4="ng",F4="nmol",j4="{count, plural, one{eiwiteenheid} other{eiwiteenheden}}",V4="verzadigd",z4="{count, plural, one{strip} other{strips}}",B4="{count, plural, one{spoor} other{sporen}}",H4="behandelingsschema-afhankelijk",q4="{count, plural, one{ouwel} other{ouwels}}",$4="homeopathische verdunning (decimaal 1/10)",U4="aantal anti-tachycardie-stimulatiebehandelingen",G4="Cumulatieve sap waarde",Die={"%":zz,amp:Bz,bag:Hz,box:qz,fl:$z,"g/dl":Uz,gm:Gz,kg:Wz,"kg/m2":Zz,l:Yz,lb:Kz,mcg:Qz,mcl:Xz,meq:Jz,mg:eB,"mg/dl":tB,"mg/l":nB,"mg/m2":aB,"mg/ml":rB,ml:iB,"ml/min":oB,mol:sB,oz:lB,ppm:uB,degree:cB,"1000/mm3":dB,cmm:hB,day:pB,spoon:mB,week:fB,month:gB,dis:vB,fld:bB,flo:yB,ftc:_B,fts:wB,minute:xB,mm:EB,"mm/h":SB,mmhg:kB,second:CB,millisecond:DB,hour:IB,goutte:TB,ctg:RB,gal:NB,mcm:OB,ondemand:MB,mgper100ml:AB,spr:PB,vil:LB,syr:FB,tpn:jB,tub:VB,pg:zB,ns:BB,sup:HB,tab:qB,tbl:$B,tes:UB,unt:GB,tsp:WB,ton:ZB,"%vv":YB,"%wv":KB,"%ww":QB,bitperminute:XB,bol:JB,bot:e4,can:t4,cap:n4,cc:a4,cm:r4,ctr:i4,gr:o4,in:s4,inc:l4,jar:u4,kit:c4,mcn:d4,mic:h4,mil:p4,min:m4,mmo:f4,nl:g4,pel:v4,pkg:b4,pt:y4,qs:_4,qt:w4,sqc:x4,umg:E4,ydl:S4,yds:k4,"ml/min/1.73m2":C4,shock:D4,loz:I4,tro:T4,daily:R4,c:N4,cnt:O4,drm:M4,lm:A4,mis:P4,nmg:L4,nmo:F4,pnu:j4,sat:V4,stp:z4,trc:B4,vpr:H4,waf:q4,x:$4,atptreatment:U4,sap:G4},Iie={nl:Vz,fr:Nj,de:fL,en:E3},W4={};de(W4,{default:()=>Tie,header:()=>Z4,patient:()=>Y4,professional:()=>K4});var Z4="Ausgegebene Medikamente?",Y4={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."}},K4={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."}},Tie={header:Z4,patient:Y4,professional:K4},Q4={};de(Q4,{default:()=>Rie,header:()=>X4,patient:()=>J4,professional:()=>e7});var X4="How to interpret the list?",J4={part1:{1:"It is possible that the list",2:"is incomplete",3:": this may happen if the pharmacist did not register the medication in your name at the time of dispensing."},part2:{1:"The list may contain medications",2:"not intended for you.",3:"This can occur if you collect your medication together with medication for someone else at the same time."},part3:{1:"If in doubt, always consult your doctor or pharmacist. This information is provided",2:"for informational purposes and is not a substitute for professional medical advice."}},e7={part1:{1:"It is possible that the list",2:"is incomplete",3:": this may happen if the pharmacist did not register the medication in your name at the time of dispensing."},part2:{1:"The list may contain medications",2:"not intended for you.",3:"This can occur if you collect your medication together with medication for someone else at the same time."}},Rie={header:X4,patient:J4,professional:e7},t7={};de(t7,{default:()=>Nie,header:()=>n7,patient:()=>a7,professional:()=>r7});var n7="Comment interpréter la liste?",a7={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."}},r7={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)."}},Nie={header:n7,patient:a7,professional:r7},i7={};de(i7,{default:()=>Oie,header:()=>o7,patient:()=>s7,professional:()=>l7});var o7="Hoe de lijst interpreteren?",s7={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."}},l7={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)."}},Oie={header:o7,patient:s7,professional:l7},Mie={nl:i7,fr:t7,de:W4,en:Q4},u7={};de(u7,{default:()=>Aie,headers:()=>c7,magisterialPreparation:()=>d7,noContent:()=>h7});var c7={deliveredOn:"Ausgestellt am",medicationName:"Medikation",quantity:"Menge",patient:"Patient",leaflet:"Packungsbeilage"},d7="Verschreibungurarzneimittel",h7="Bei diesem Patienten wurden keine abgegebenen Medikamente wiedergefunden.",Aie={headers:c7,magisterialPreparation:d7,noContent:h7},p7={};de(p7,{default:()=>Pie,headers:()=>m7,magisterialPreparation:()=>f7,noContent:()=>g7});var m7={deliveredOn:"Delivered on",medicationName:"Medication",quantity:"Quantity",patient:"Patient",leaflet:"Leaflet"},f7="Magistral preparation",g7="There is no delivered medication found for this patient.",Pie={headers:m7,magisterialPreparation:f7,noContent:g7},v7={};de(v7,{default:()=>Lie,headers:()=>b7,magisterialPreparation:()=>y7,noContent:()=>_7});var b7={deliveredOn:"Délivré le",medicationName:"Médicament(s)",quantity:"Quantité",patient:"Patient",leaflet:"Leaflet"},y7="Préparation magistrale",_7="Aucun médicament délivré n'a été retrouvé pour ce patient.",Lie={headers:b7,magisterialPreparation:y7,noContent:_7},w7={};de(w7,{default:()=>Fie,headers:()=>x7,magisterialPreparation:()=>E7,noContent:()=>S7});var x7={deliveredOn:"Afgeleverd op",medicationName:"Geneesmiddel(en)",quantity:"Hoeveelheid",patient:"Patiënt",leaflet:"Bijsluiter"},E7="Magistrale bereiding",S7="Er zijn geen afgeleverde geneesmiddelen teruggevonden voor deze patiënt.",Fie={headers:x7,magisterialPreparation:E7,noContent:S7},jie={nl:w7,fr:v7,de:u7,en:p7},k7={};de(k7,{composition:()=>C7,default:()=>Vie,"delivered-by":()=>O7,"delivery-date":()=>N7,dguid:()=>I7,"is-prescribed":()=>T7,leaflet:()=>V7,"magisterial-preparation":()=>j7,medication:()=>B7,"no-pharmacy":()=>L7,noDetails:()=>H7,package:()=>z7,patient:()=>F7,posologie:()=>D7,quantity:()=>R7,"return-delivery-date":()=>A7,"returned-by":()=>P7,"returned-quantity":()=>M7});var C7="Zusammensetzung",D7="Dosierung",I7="ID Ausgabe",T7={title:"Wurde verschrieben",yes:"Ja",no:"Nein"},R7="Gelieferte Menge",N7="Lieferdatum",O7="Geliefert von",M7="Zurückgenommene Menge",A7="Rücknahme am",P7="Rücknahme durch",L7="Apotheke mit LIKIV-Erkennungsnummer",F7="Patient",j7="Verschreibungurarzneimittel",V7="Packungsbeilage",z7="{count, plural, one{Verpackung} other{Verpackungen}}",B7="Arzneimittel",H7="Die angeforderte verschreibung wurde gelöscht oder existiert nicht.",Vie={composition:C7,posologie:D7,dguid:I7,"is-prescribed":T7,quantity:R7,"delivery-date":N7,"delivered-by":O7,"returned-quantity":M7,"return-delivery-date":A7,"returned-by":P7,"no-pharmacy":L7,patient:F7,"magisterial-preparation":j7,leaflet:V7,package:z7,medication:B7,noDetails:H7},q7={};de(q7,{composition:()=>$7,default:()=>zie,"delivered-by":()=>U7,"delivery-date":()=>G7,dguid:()=>W7,"is-prescribed":()=>Z7,leaflet:()=>Y7,"magisterial-preparation":()=>K7,medication:()=>Q7,"no-pharmacy":()=>X7,noDetails:()=>J7,package:()=>eH,patient:()=>tH,posologie:()=>nH,quantity:()=>aH,"return-delivery-date":()=>oH,"returned-by":()=>sH,"returned-quantity":()=>iH,title:()=>rH});var $7="Composition",U7="Dispensed by",G7="Date dispensed",W7="Dispensing ID",Z7={no:"No",title:"Was prescribed",yes:"Yes"},Y7="Package leaflet",K7="Compounded preparation",Q7="Medication",X7="Pharmacy with NIHDI number",J7="The requested information has been deleted or doesn't exist.",eH="{count, plural, one{package} other{packages}}",tH="Patient",nH="Dosage",aH="Dispensed quality",rH="Detail of the dispensed medication",iH="Returned quantity",oH="Return on",sH="Return by",zie={composition:$7,"delivered-by":U7,"delivery-date":G7,dguid:W7,"is-prescribed":Z7,leaflet:Y7,"magisterial-preparation":K7,medication:Q7,"no-pharmacy":X7,noDetails:J7,package:eH,patient:tH,posologie:nH,quantity:aH,title:rH,"returned-quantity":iH,"return-delivery-date":oH,"returned-by":sH},lH={};de(lH,{composition:()=>uH,default:()=>Bie,"delivered-by":()=>fH,"delivery-date":()=>mH,dguid:()=>dH,"is-prescribed":()=>hH,leaflet:()=>xH,"magisterial-preparation":()=>wH,medication:()=>SH,"no-pharmacy":()=>yH,noDetails:()=>kH,package:()=>EH,patient:()=>_H,posologie:()=>cH,quantity:()=>pH,"return-delivery-date":()=>vH,"returned-by":()=>bH,"returned-quantity":()=>gH});var uH="Composition",cH="Posologie",dH="ID délivrance",hH={title:"A été prescrit",yes:"Oui",no:"Non"},pH="Quantité délivrée",mH="Date de délivrance",fH="Délivré par",gH="Quantité retournée",vH="Retour le",bH="Retour par",yH="Pharmacie avec numéro INAMI",_H="Patient",wH="Préparation magistrale",xH="Notice d'information",EH="{count, plural, one{emballage} other{emballages}}",SH="Médicament",kH="La prescription demandée a été supprimée ou n'existe pas.",Bie={composition:uH,posologie:cH,dguid:dH,"is-prescribed":hH,quantity:pH,"delivery-date":mH,"delivered-by":fH,"returned-quantity":gH,"return-delivery-date":vH,"returned-by":bH,"no-pharmacy":yH,patient:_H,"magisterial-preparation":wH,leaflet:xH,package:EH,medication:SH,noDetails:kH},CH={};de(CH,{composition:()=>DH,default:()=>Hie,"delivered-by":()=>MH,"delivery-date":()=>OH,dguid:()=>TH,"is-prescribed":()=>RH,leaflet:()=>zH,"magisterial-preparation":()=>VH,medication:()=>HH,"no-pharmacy":()=>FH,noDetails:()=>qH,package:()=>BH,patient:()=>jH,posologie:()=>IH,quantity:()=>NH,"return-delivery-date":()=>PH,"returned-by":()=>LH,"returned-quantity":()=>AH});var DH="Samenstelling",IH="Posologie",TH="ID aflevering",RH={title:"Werd voorgeschreven",yes:"Ja",no:"Nee"},NH="Afgeleverde hoeveelheid",OH="Datum afgeleverd",MH="Afgeleverd door",AH="Teruggenomen hoeveelheid",PH="Terugname op",LH="Terugname door",FH="Apotheek met RIZIV-nummer",jH="Patiënt",VH="Magistrale bereiding",zH="Bijsluiter",BH="{count, plural, one{verpakking} other{verpakkingen}}",HH="Geneesmiddel(en)",qH="Het gevraagde voorschrift is verwijderd of bestaat niet.",Hie={composition:DH,posologie:IH,dguid:TH,"is-prescribed":RH,quantity:NH,"delivery-date":OH,"delivered-by":MH,"returned-quantity":AH,"return-delivery-date":PH,"returned-by":LH,"no-pharmacy":FH,patient:jH,"magisterial-preparation":VH,leaflet:zH,package:BH,medication:HH,noDetails:qH},qie={nl:CH,fr:lH,de:k7,en:q7},$ie=class extends gs{getTranslation(e){return et({commons:Yt(ue({},lie[e]),{units:Iie[e],galenicFormCodes:aie[e],timeUnits:Eie[e],administrationUnits:Hre[e],periods:pie[e],days:Wre[e],posology:bie[e],errors:Xre[e]}),deliveredMedicationsList:jie[e],deliveredMedicationsDisclaimer:Mie[e],deliveredMedicationDetails:qie[e]})}},Uie=[Nre,oX({defaultLanguage:"fr",loader:{provide:gs,useClass:$ie},compiler:{provide:bs,useClass:Pre}})];function ih(e){return(e==null?void 0:e.medication)!=null}var Gie=(()=>{const t=class t{transform(n){return ih(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=va({name:"canDisplayDeliveredMedication",type:t,pure:!0});let e=t;return e})(),$H=(()=>{const t=class t{constructor(){this.http=S(Ji)}get(n){return this.http.post("/v2/deliveredMedications/findAll",{ssin:n})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Wie={items:[{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000551",name:[{lang:h.FR,value:"Pharmacie Sans Soucis"}]},medication:{identifier:{value:"0589028",type:er.COMPOUND},name:[{value:"ERYTHROMYCINE SOL. HYDRO-ALC. 4% FTM2"}],quantity:{value:1},instructions:[{lang:h.FR,value:"magistralPreparation - formularyReference"}]},deliveryDate:"2025-04-09T13:23:03+02:00",dguid:"5d5b8138-4941-8359-de2f-77d560f6f0ef",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[{texts:[{lang:h.EN,value:"Posology free text"},{lang:h.EN,value:"Posology free text"}]}],isPrescribed:!0},{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000551",name:[{lang:h.FR,value:"Pharmacie Sans Soucis"}]},medication:{quantity:{value:1},ingredients:[{identifier:{value:"1543305",type:er.CNK},name:[{value:"ATROVENT MONODOSE 0,25MG/2ML VIALS 20"}],prefix:"ad",value:10,unit:"ml"},{identifier:{value:"1484229",type:er.CNK},name:[{value:"Panadol 1 g comp. 50"}]},{identifier:{value:"0525337",type:er.CNK},name:[{value:"GLYCEROL"}],value:.2,unit:"gm"}],instructions:[{lang:h.FR,value:"magistralPreparation - compound (all cases)"}]},deliveryDate:"2025-04-09T13:23:03+02:00",dguid:"5715ad8c-d6ab-27b4-83f5-44ca67d5d00a",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[],isPrescribed:!0},{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000552",name:[{lang:h.FR,value:"Pharmacie du Soleil"}]},medication:{identifier:{value:"1727395",type:er.CNK},name:[{lang:h.NL,value:"SINUTAB FORTE 500/60 MG COMP 20"},{lang:h.FR,value:"SINUTAB FORTE 500/60 MG COMP 20"},{value:"SINUTAB FORTE 500/60 MG COMP 20"}],quantity:{value:2},instructions:[{lang:h.FR,value:"productCode"}]},deliveryDate:"2025-04-09T13:23:03+02:00",dguid:"fcec9f35-9d46-995f-e74d-629de7ab40b3",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[{texts:[{lang:h.FR,value:"Posology free text"}]}],isPrescribed:!0},{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000551",name:[{lang:h.FR,value:"Pharmacie Sans Soucis"}]},medication:{name:[{value:"unregisteredProduct"}],quantity:{value:1},instructions:[{lang:h.FR,value:"unregisteredProduct"}]},deliveryDate:"2025-04-09T13:23:03+02:00",dguid:"28a8545b-7e79-4669-1956-67266e46b225",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[{texts:[{lang:h.FR,value:"Posology free text"}]}],isPrescribed:!1}]},UH=(()=>{const t=class t{constructor(){this.demoService=S(Xae)}get(n){return this.demoService.post("/v2/deliveredMedications/findAll",Wie)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),GH=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Zie=(e,t)=>e.getEnvironmentVariable("env")===Ja.DEMO?t.get(UH):t.get($H),Yie={provide:GH,useFactory:Zie,deps:[to,ht]},Jg=(()=>{const t=class t extends _w{constructor(n,r){super(n.getServices(),Zo.DELIVERED_MEDICATIONS,r.getInstance().isOfflineAuthenticated,r.getInstance().isOfflineDataStorageEnabled,Zo.DELIVERED_MEDICATIONS),this.deliveredMedicationsApiService=S(GH),this.authServiceSelector=S(ji),this.deliveredMedicationsStateSubject$=new Ar({status:Ei.INITIAL}),this.deliveredMedicationsState$=this.deliveredMedicationsStateSubject$.asObservable()}getDataFromBackend(){return At(this,null,function*(){let n=yield this.authServiceSelector.getInstance().resolveSsin(),r=this.deliveredMedicationsApiService.get(n);return $$(r)})}getDeliveredMedications(n=!0){return At(this,null,function*(){return ere(this.getData(n),this.deliveredMedicationsStateSubject$)})}};t.ɵfac=function(n){return new(n||t)(oe(Vu),oe(ji))},t.ɵprov=z({token:t,factory:t.ɵfac});let e=t;return e})(),Qs;function Kie(){if(Qs===void 0&&(Qs=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(Qs=e.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Qs}function mo(e){var t;return((t=Kie())==null?void 0:t.createHTML(e))||e}function ev(e){return Error(`Unable to find icon with the name "${e}"`)}function Qie(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function tv(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function nv(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var Cr=class{constructor(e,t,a){s(this,"url");s(this,"svgText");s(this,"options");s(this,"svgElement");this.url=e,this.svgText=t,this.options=a}},Xie=(()=>{const t=class t{constructor(n,r,i,o){s(this,"_httpClient");s(this,"_sanitizer");s(this,"_errorHandler");s(this,"_document");s(this,"_svgIconConfigs",new Map);s(this,"_iconSetConfigs",new Map);s(this,"_cachedIconsByUrl",new Map);s(this,"_inProgressUrlFetches",new Map);s(this,"_fontCssClassesByAlias",new Map);s(this,"_resolvers",[]);s(this,"_defaultFontSetClass",["material-icons","mat-ligature-font"]);this._httpClient=n,this._sanitizer=r,this._errorHandler=o,this._document=i}addSvgIcon(n,r,i){return this.addSvgIconInNamespace("",n,r,i)}addSvgIconLiteral(n,r,i){return this.addSvgIconLiteralInNamespace("",n,r,i)}addSvgIconInNamespace(n,r,i,o){return this._addSvgIconConfig(n,r,new Cr(i,null,o))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,r,i,o){let l=this._sanitizer.sanitize(En.HTML,i);if(!l)throw nv(i);let u=mo(l);return this._addSvgIconConfig(n,r,new Cr("",u,o))}addSvgIconSet(n,r){return this.addSvgIconSetInNamespace("",n,r)}addSvgIconSetLiteral(n,r){return this.addSvgIconSetLiteralInNamespace("",n,r)}addSvgIconSetInNamespace(n,r,i){return this._addSvgIconSetConfig(n,new Cr(r,null,i))}addSvgIconSetLiteralInNamespace(n,r,i){let o=this._sanitizer.sanitize(En.HTML,r);if(!o)throw nv(r);let l=mo(o);return this._addSvgIconSetConfig(n,new Cr("",l,i))}registerFontClassAlias(n,r=n){return this._fontCssClassesByAlias.set(n,r),this}classNameForFontAlias(n){return this._fontCssClassesByAlias.get(n)||n}setDefaultFontSetClass(...n){return this._defaultFontSetClass=n,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(n){let r=this._sanitizer.sanitize(En.RESOURCE_URL,n);if(!r)throw tv(n);let i=this._cachedIconsByUrl.get(r);return i?et(Xs(i)):this._loadSvgIconFromConfig(new Cr(n,null)).pipe(Qu(o=>this._cachedIconsByUrl.set(r,o)),Pt(o=>Xs(o)))}getNamedSvgIcon(n,r=""){let i=av(r,n),o=this._svgIconConfigs.get(i);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(r,n),o)return this._svgIconConfigs.set(i,o),this._getSvgFromConfig(o);let l=this._iconSetConfigs.get(r);return l?this._getSvgFromIconSetConfigs(n,l):d0(ev(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(n){return n.svgText?et(Xs(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(Pt(r=>Xs(r)))}_getSvgFromIconSetConfigs(n,r){let i=this._extractIconWithNameFromAnySet(n,r);if(i)return et(i);let o=r.filter(l=>!l.svgText).map(l=>this._loadSvgIconSetFromConfig(l).pipe(kh(u=>{let c=`Loading icon set URL: ${this._sanitizer.sanitize(En.RESOURCE_URL,l.url)} failed: ${u.message}`;return this._errorHandler.handleError(new Error(c)),et(null)})));return g0(o).pipe(Pt(()=>{let l=this._extractIconWithNameFromAnySet(n,r);if(!l)throw ev(n);return l}))}_extractIconWithNameFromAnySet(n,r){for(let i=r.length-1;i>=0;i--){let o=r[i];if(o.svgText&&o.svgText.toString().indexOf(n)>-1){let l=this._svgElementFromConfig(o),u=this._extractSvgIconFromSet(l,n,o.options);if(u)return u}}return null}_loadSvgIconFromConfig(n){return this._fetchIcon(n).pipe(Qu(r=>n.svgText=r),Pt(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?et(null):this._fetchIcon(n).pipe(Qu(r=>n.svgText=r))}_extractSvgIconFromSet(n,r,i){let o=n.querySelector(`[id="${r}"]`);if(!o)return null;let l=o.cloneNode(!0);if(l.removeAttribute("id"),l.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(l,i);if(l.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(l),i);let u=this._svgElementFromString(mo("<svg></svg>"));return u.appendChild(l),this._setSvgAttributes(u,i)}_svgElementFromString(n){let r=this._document.createElement("DIV");r.innerHTML=n;let i=r.querySelector("svg");if(!i)throw Error("<svg> tag not found");return i}_toSvgElement(n){let r=this._svgElementFromString(mo("<svg></svg>")),i=n.attributes;for(let o=0;o<i.length;o++){let{name:l,value:u}=i[o];l!=="id"&&r.setAttribute(l,u)}for(let o=0;o<n.childNodes.length;o++)n.childNodes[o].nodeType===this._document.ELEMENT_NODE&&r.appendChild(n.childNodes[o].cloneNode(!0));return r}_setSvgAttributes(n,r){return n.setAttribute("fit",""),n.setAttribute("height","100%"),n.setAttribute("width","100%"),n.setAttribute("preserveAspectRatio","xMidYMid meet"),n.setAttribute("focusable","false"),r&&r.viewBox&&n.setAttribute("viewBox",r.viewBox),n}_fetchIcon(n){let{url:r,options:i}=n,o=(i==null?void 0:i.withCredentials)??!1;if(!this._httpClient)throw Qie();if(r==null)throw Error(`Cannot fetch icon from URL "${r}".`);let l=this._sanitizer.sanitize(En.RESOURCE_URL,r);if(!l)throw tv(r);let u=this._inProgressUrlFetches.get(l);if(u)return u;let c=this._httpClient.get(l,{responseType:"text",withCredentials:o}).pipe(Pt(d=>mo(d)),y0(()=>this._inProgressUrlFetches.delete(l)),_0());return this._inProgressUrlFetches.set(l,c),c}_addSvgIconConfig(n,r,i){return this._svgIconConfigs.set(av(n,r),i),this}_addSvgIconSetConfig(n,r){let i=this._iconSetConfigs.get(n);return i?i.push(r):this._iconSetConfigs.set(n,[r]),this}_svgElementFromConfig(n){if(!n.svgElement){let r=this._svgElementFromString(n.svgText);this._setSvgAttributes(r,n.options),n.svgElement=r}return n.svgElement}_getIconConfigFromResolvers(n,r){for(let i=0;i<this._resolvers.length;i++){let o=this._resolvers[i](r,n);if(o)return Jie(o)?new Cr(o.url,null,o.options):new Cr(o,null)}}};s(t,"ɵfac",function(n){return new(n||t)(oe(Ji,8),oe(Z_),oe(Fe,8),oe(Zn))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Xs(e){return e.cloneNode(!0)}function av(e,t){return e+":"+t}function Jie(e){return!!(e.url&&e.options)}var eoe=["*"],toe=new K("MAT_ICON_DEFAULT_OPTIONS"),noe=new K("mat-icon-location",{providedIn:"root",factory:aoe});function aoe(){let e=S(Fe),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var WH=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],roe=WH.map(e=>`[${e}]`).join(", "),ioe=/^url\(['"]?#(.*?)['"]?\)$/,zu=(()=>{const t=class t{constructor(){s(this,"_elementRef",S(Qe));s(this,"_iconRegistry",S(Xie));s(this,"_location",S(noe));s(this,"_errorHandler",S(Zn));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=S(new Xh("aria-hidden"),{optional:!0}),r=S(toe,{optional:!0});r&&(r.color&&(this.color=this._defaultColor=r.color),r.fontSet&&(this.fontSet=r.fontSet)),n||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}get color(){return this._color||this._defaultColor}set color(n){this._color=n}get svgIcon(){return this._svgIcon}set svgIcon(n){n!==this._svgIcon&&(n?this._updateSvgIcon(n):this._svgIcon&&this._clearSvgElement(),this._svgIcon=n)}get fontSet(){return this._fontSet}set fontSet(n){let r=this._cleanupFontValue(n);r!==this._fontSet&&(this._fontSet=r,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(n){let r=this._cleanupFontValue(n);r!==this._fontIcon&&(this._fontIcon=r,this._updateFontIconClasses())}_splitIconName(n){if(!n)return["",""];let r=n.split(":");switch(r.length){case 1:return["",r[0]];case 2:return r;default:throw Error(`Invalid icon name: "${n}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let n=this._elementsWithExternalReferences;if(n&&n.size){let r=this._location.getPathname();r!==this._previousPath&&(this._previousPath=r,this._prependPathToReferences(r))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(n){this._clearSvgElement();let r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(n),this._prependPathToReferences(r),this._elementRef.nativeElement.appendChild(n)}_clearSvgElement(){let n=this._elementRef.nativeElement,r=n.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){let i=n.childNodes[r];(i.nodeType!==1||i.nodeName.toLowerCase()==="svg")&&i.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let n=this._elementRef.nativeElement,r=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(i=>i.length>0);this._previousFontSetClass.forEach(i=>n.classList.remove(i)),r.forEach(i=>n.classList.add(i)),this._previousFontSetClass=r,this.fontIcon!==this._previousFontIconClass&&!r.includes("mat-ligature-font")&&(this._previousFontIconClass&&n.classList.remove(this._previousFontIconClass),this.fontIcon&&n.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(n){return typeof n=="string"?n.trim().split(" ")[0]:n}_prependPathToReferences(n){let r=this._elementsWithExternalReferences;r&&r.forEach((i,o)=>{i.forEach(l=>{o.setAttribute(l.name,`url('${n}#${l.value}')`)})})}_cacheChildrenWithExternalReferences(n){let r=n.querySelectorAll(roe),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<r.length;o++)WH.forEach(l=>{let u=r[o],c=u.getAttribute(l),d=c?c.match(ioe):null;if(d){let m=i.get(u);m||(m=[],i.set(u,m)),m.push({name:l,value:d[1]})}})}_updateSvgIcon(n){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),n){let[r,i]=this._splitIconName(n);r&&(this._svgNamespace=r),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,r).pipe(pn(1)).subscribe(o=>this._setSvgElement(o),o=>{let l=`Error retrieving icon ${r}:${i}! ${o.message}`;this._errorHandler.handleError(new Error(l))})}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Oe({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(n,r){n&2&&($t("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),Ru(r.color?"mat-"+r.color:""),jt("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",Lt],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:eoe,decls:1,vars:0,template:function(n,r){n&1&&(jn(),pt(0))},styles:[`mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}
37
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),ooe=(()=>{const t=class t{constructor(){this.authService=S(ji).getInstance(),this.templateRef=S(nn),this.viewContainer=S(Kn),this.cdRef=S(ya)}ngOnInit(){this.authService.isOfflineAuthenticated?this.viewContainer.clear():this.viewContainer.createEmbeddedView(this.templateRef),this.cdRef.markForCheck()}};t.ɵfac=function(n){return new(n||t)},t.ɵdir=ye({type:t,selectors:[["","hideIfOffline",""]]});let e=t;return e})();function ZH(e){e||(mu(),e=S(pr));let t=new mt(a=>e.onDestroy(a.next.bind(a)));return a=>a.pipe(or(t))}var YH={"application/prs.cww":["cww"],"application/prs.xsf+xml":["xsf"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["*xfdf"],"application/vnd.age":["age"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.autodesk.fbx":["fbx"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dcmp+xml":["dcmp"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["*fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.slides":["ggs"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.drawing":["gdraw"],"application/vnd.google-apps.form":["gform"],"application/vnd.google-apps.jam":["gjam"],"application/vnd.google-apps.map":["gmap"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.script":["gscript"],"application/vnd.google-apps.site":["gsite"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.gov.sk.xmldatacontainer+xml":["xdcf"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["*mpp","mpt"],"application/vnd.ms-visio.viewer":["vdx"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.nato.bindingdataobject+xml":["bdo"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.procrate.brushset":["brushset"],"application/vnd.procreate.brush":["brush"],"application/vnd.procreate.dream":["drm"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.pwg-xhtml-print+xml":["xhtm"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml","uo"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw","vsdx","vtx"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blender":["blend"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-compressed":["*rar"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-ipynb+json":["ipynb"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["*prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["*sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zip-compressed":["*zip"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["*aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif","btf"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.blockfact.facti":["facti"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-adobe-dng":["dng"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.bary":["bary"],"model/vnd.cld":["cld"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["*mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.pytha.pyox":["pyo","pyox"],"model/vnd.sap.vds":["vds"],"model/vnd.usda":["usda"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.familysearch.gedcom":["ged"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]};Object.freeze(YH);var soe=YH,KH={"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(KH);var loe=KH,Nn=function(e,t,a,n){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return a==="m"?n:a==="a"?n.call(e):n?n.value:t.get(e)},li,yo,Tr,uoe=class{constructor(...e){li.set(this,new Map),yo.set(this,new Map),Tr.set(this,new Map);for(let t of e)this.define(t)}define(e,t=!1){for(let[a,n]of Object.entries(e)){a=a.toLowerCase(),n=n.map(o=>o.toLowerCase()),Nn(this,Tr,"f").has(a)||Nn(this,Tr,"f").set(a,new Set);let r=Nn(this,Tr,"f").get(a),i=!0;for(let o of n){let l=o.startsWith("*");if(o=l?o.slice(1):o,r==null||r.add(o),i&&Nn(this,yo,"f").set(a,o),i=!1,l)continue;let u=Nn(this,li,"f").get(o);if(u&&u!=a&&!t)throw new Error(`"${a} -> ${o}" conflicts with "${u} -> ${o}". Pass \`force=true\` to override this definition.`);Nn(this,li,"f").set(o,a)}}return this}getType(e){if(typeof e!="string")return null;let t=e.replace(/^.*[/\\]/s,"").toLowerCase(),a=t.replace(/^.*\./s,"").toLowerCase(),n=t.length<e.length;return!(a.length<t.length-1)&&n?null:Nn(this,li,"f").get(a)??null}getExtension(e){var t;return typeof e!="string"?null:(e=(t=e==null?void 0:e.split)==null?void 0:t.call(e,";")[0],(e&&Nn(this,yo,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:Nn(this,Tr,"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,Tr,"f").values())Object.freeze(e);return this}_getTestState(){return{types:Nn(this,li,"f"),extensions:Nn(this,yo,"f")}}};li=new WeakMap,yo=new WeakMap,Tr=new WeakMap;var coe=uoe;new coe(loe,soe)._freeze();var doe=(()=>{const t=class t{transform(n){return Ew(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=va({name:"fullname",type:t,pure:!0});let e=t;return e})(),gm=(()=>{const t=class t{constructor(){this.ingredientLabelService=S(rre),this.translate=S(Xn),this.destroyRef=S(pr),this.cd=S(ya),this.translate.onLangChange.pipe(ZH(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=va({name:"ingredientLabel",type:t,pure:!0});let e=t;return e})(),hoe=(()=>{const t=class t{transform(n,r){return this.sortFn([...n],r.sortProperty,r.isAscending)}sortFn(n,r,i){return[...n].sort((o,l)=>{var d,m;let u=i?o:l,c=i?l:o;if(r==="deliveryDate"){let v=u[r]?(d=new Date(u[r]))==null?void 0:d.getTime():0,g=c[r]?(m=new Date(c[r]))==null?void 0:m.getTime():0;return this.compareData(v,g,i)}return this.compareData(u[r],c[r],i)})}compareData(n,r,i){return n==null&&r==null||n===r?0:n==null?i?-1:1:r==null?i?1:-1:n>r?1:-1}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=va({name:"sortOn",type:t,pure:!0});let e=t;return e})(),vm=(()=>{const t=class t{constructor(){this.translate=S(Xn)}transform(n){return Ql(n,this.translate.currentLang)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=va({name:"translateValue",type:t,pure:!0});let e=t;return e})(),poe=(()=>{const t=class t{transform(n){return Math.abs(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=va({name:"absolute",type:t,pure:!0});let e=t;return e})(),moe=e=>({count:e});function foe(e,t){e&1&&(j(0,"span",1),ee(1),te(2,"translate"),V()),e&2&&(P(),Pe(ae(2,1,"deliveredMedicationDetails.leaflet")))}function goe(e,t){if(e&1){let a=ba();j(0,"span",2)(1,"a",5),rn("click",function(n){gn(a);let r=pe(3);return vn(r.onDownloadClick(n))}),lt(2,"mat-icon",6),ee(3),te(4,"translate"),V()()}e&2&&(P(3),Ue(" ",ae(4,1,"commons.downloadLeaflet")," "))}function voe(e,t){e&1&&Ee(0,foe,3,3,"span",3)(1,goe,5,3,"span",4)}function boe(e,t){if(e&1&&(j(0,"span",1),ee(1),te(2,"translate"),V(),j(3,"span",2),ee(4),te(5,"translateValue"),V(),Ee(6,voe,2,0)),e&2){let a=pe();P(),Pe(ae(2,3,"deliveredMedicationDetails.medication")),P(3),Pe(ae(5,5,a.item().medication.name)),P(2),$e(a.displayAllDetails()&&a.item().medication.identifier&&a.item().medication.identifier.type===a.identifierType.CNK?6:-1)}}function yoe(e,t){if(e&1&&(ee(0),te(1,"ingredientLabel")),e&2){let a=t.$implicit;Ue(" ",ae(1,1,a)," ")}}function _oe(e,t){if(e&1&&(j(0,"span",1)(1,"strong"),ee(2),te(3,"translate"),V()(),j(4,"span",2),Ki(5,yoe,2,3,null,null,Ip),V()),e&2){let a=pe();P(2),Pe(ae(3,1,"deliveredMedicationsList.magisterialPreparation")),P(3),Qi(a.item().medication.ingredients)}}function woe(e,t){if(e&1&&(j(0,"li"),ee(1),te(2,"translateValue"),V()),e&2){let a=t.$implicit;P(),Ue(" ",ae(2,1,a.texts)," ")}}function xoe(e,t){if(e&1&&(j(0,"span",1),ee(1),te(2,"translate"),V(),j(3,"span",2)(4,"ul"),Ki(5,woe,3,3,"li",null,Ip),V()()),e&2){let a=pe();P(),Pe(ae(2,1,"deliveredMedicationDetails.posologie")),P(4),Qi(a.item().dosageInstructions)}}function Eoe(e,t){if(e&1&&(j(0,"span",1),ee(1),te(2,"translate"),V(),j(3,"span",2),ee(4),te(5,"date"),V()),e&2){let a=pe(),n=pe();P(),Pe(ae(2,2,a<0?"deliveredMedicationDetails.return-delivery-date":"deliveredMedicationDetails.delivery-date")),P(3),Pe(fs(5,4,n.item().deliveryDate,"dd/MM/yyyy"))}}function Soe(e,t){if(e&1&&(j(0,"span",1),ee(1),te(2,"translate"),V(),j(3,"span",2),ee(4),te(5,"absolute"),te(6,"absolute"),te(7,"translate"),V(),Ee(8,Eoe,6,7),j(9,"span",1),ee(10),te(11,"translate"),V()),e&2){let a=t,n=pe();P(),Pe(ae(2,5,a<0?"deliveredMedicationDetails.returned-quantity":"deliveredMedicationDetails.quantity")),P(3),Np("",ae(5,7,a)," ",fs(7,11,"deliveredMedicationDetails.package",c_(16,moe,ae(6,9,a))),""),P(4),$e(n.displayAllDetails()?8:-1),P(2),Pe(ae(11,14,a<0?"deliveredMedicationDetails.returned-by":"deliveredMedicationDetails.delivered-by"))}}function koe(e,t){if(e&1&&(ee(0),te(1,"translateValue"),lt(2,"br"),ee(3)),e&2){let a=pe();Ue(" ",ae(1,2,t)," "),P(3),Ue(" ",a.item().pharmacy.nihdi," ")}}function Coe(e,t){if(e&1&&(ee(0),te(1,"translate")),e&2){let a=pe();Np(" ",ae(1,2,"deliveredMedicationDetails.no-pharmacy"),": ",a.item().pharmacy.nihdi," ")}}function Doe(e,t){if(e&1&&(j(0,"span",1),ee(1),te(2,"translate"),V(),j(3,"span",2),ee(4),te(5,"fullname"),V()),e&2){let a=pe();P(),Pe(ae(2,2,"deliveredMedicationDetails.patient")),P(3),Pe(ae(5,4,a.item().person))}}var Ioe=(()=>{const t=class t{constructor(){this.translate=S(Xn),this.leafletService=S(Sw),this.item=qe.required(),this.displayAllDetails=qe(!1),this.isProfessional=qe.required(),this.identifierType=er}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=Oe({type:t,selectors:[["vidis-delivered-medication-details-row"]],inputs:{item:[1,"item"],displayAllDetails:[1,"displayAllDetails"],isProfessional:[1,"isProfessional"]},decls:20,vars:15,consts:[[1,"details"],[1,"details__label"],[1,"details__value"],["class","details__label",4,"hideIfOffline"],["class","details__value",4,"hideIfOffline"],["mat-button","","target","_blank",3,"click"],["fontIcon","download"]],template:function(n,r){if(n&1&&(j(0,"span",0),Ee(1,boe,7,7)(2,_oe,7,3)(3,xoe,7,3),j(4,"span",1),ee(5),te(6,"translate"),V(),j(7,"span",2),ee(8),te(9,"translate"),V(),Ee(10,Soe,12,18),j(11,"span",2),Ee(12,koe,4,4)(13,Coe,2,4),V(),Ee(14,Doe,6,6),j(15,"span",1),ee(16),te(17,"translate"),V(),j(18,"span",2),ee(19),V()()),n&2){let i,o,l;P(),$e(r.item().medication.name?1:2),P(2),$e((i=r.item().dosageInstructions)!=null&&i.length?3:-1),P(2),Pe(ae(6,9,"deliveredMedicationDetails.is-prescribed.title")),P(3),Pe(ae(9,11,"deliveredMedicationDetails.is-prescribed."+(r.item().isPrescribed?"yes":"no"))),P(2),$e((o=(o=r.item().medication.quantity)==null?null:o.value)?10:-1,o),P(2),$e((l=(l=r.item().pharmacy)==null?null:l.name)?12:13,l),P(2),$e(r.displayAllDetails()&&!r.isProfessional()?14:-1),P(2),Pe(ae(17,13,"deliveredMedicationDetails.dguid")),P(3),Pe(r.item().dguid)}},dependencies:[fr,vm,gm,P1,zu,jp,doe,poe,ooe],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}.details[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding-inline-start:20px;margin-block:0}"]});let e=t;return e})(),Toe=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Oe({type:t,selectors:[["vidis-report-error-dialog"]],decls:24,vars:23,consts:[["mat-dialog-title",""],["target","_blank",3,"href"],["mat-flat-button","","type","button",3,"mat-dialog-close"],["mat-stroked-button","","type","button",3,"mat-dialog-close"]],template:function(n,r){n&1&&(j(0,"h2",0),ee(1),te(2,"translate"),V(),j(3,"mat-dialog-content")(4,"p")(5,"span"),ee(6),te(7,"translate"),V()(),j(8,"p")(9,"span"),ee(10),te(11,"translate"),V(),j(12,"a",1),te(13,"translate"),ee(14),te(15,"translate"),V(),ee(16,"."),V()(),j(17,"mat-dialog-actions")(18,"button",2),ee(19),te(20,"translate"),V(),j(21,"button",3),ee(22),te(23,"translate"),V()()),n&2&&(P(),Pe(ae(2,9,"commons.errors.report-message-title")),P(5),Pe(ae(7,11,"commons.errors.report-message-explanation")),P(4),Pe(ae(11,13,"commons.errors.report-message-content")),P(2),je("href",ae(13,15,"commons.errors.report-message-link"),z8),P(2),Pe(ae(15,17,"commons.errors.report-message-term-use")),P(4),je("mat-dialog-close",!0),P(),Ue(" ",ae(20,19,"commons.errors.report-message-report-button")," "),P(2),je("mat-dialog-close",!1),P(),Ue(" ",ae(23,21,"commons.errors.report-message-ignore-button")," "))},dependencies:[T1,E1,k1,D1,C1,nm,ys,fr],encapsulation:2});let e=t;return e})(),Roe=(()=>{const t=class t{constructor(){this.vidisErrorCode=S(w1)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Oe({type:t,selectors:[["vidis-not-authorized-dialog"]],decls:12,vars:10,consts:[["mat-dialog-title",""],["mat-flat-button","","type","button",3,"mat-dialog-close"]],template:function(n,r){n&1&&(j(0,"h2",0),ee(1),te(2,"translate"),V(),j(3,"mat-dialog-content")(4,"p")(5,"span"),ee(6),te(7,"translate"),V()()(),j(8,"mat-dialog-actions")(9,"button",1),ee(10),te(11,"translate"),V()()),n&2&&(P(),Pe(ae(2,4,"commons.errors.action-not-authorized-title")),P(5),Pe(ae(7,6,"commons.errors."+r.vidisErrorCode)),P(3),je("mat-dialog-close",!1),P(),Ue(" ",ae(11,8,"commons.errors.action-not-authorized-close-button")," "))},dependencies:[T1,E1,k1,D1,C1,nm,ys,fr],encapsulation:2});let e=t;return e})();function rv(e,t,a){let n=pw(),r=Moe(e,a.timeZone,a.locale??n.locale);return"formatToParts"in r?Noe(r,t):Ooe(r,t)}function Noe(e,t){let a=e.formatToParts(t);for(let n=a.length-1;n>=0;--n)if(a[n].type==="timeZoneName")return a[n].value}function Ooe(e,t){let a=e.format(t).replace(/\u200E/g,""),n=/ [\w-+ ]+$/.exec(a);return n?n[0].substr(1):""}function Moe(e,t,a){return new Intl.DateTimeFormat(a?[a.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function Aoe(e,t){let a=Voe(t);return"formatToParts"in a?Loe(a,e):Foe(a,e)}var Poe={year:0,month:1,day:2,hour:3,minute:4,second:5};function Loe(e,t){try{let a=e.formatToParts(t),n=[];for(let r=0;r<a.length;r++){let i=Poe[a[r].type];i!==void 0&&(n[i]=parseInt(a[r].value,10))}return n}catch(a){if(a instanceof RangeError)return[NaN];throw a}}function Foe(e,t){let a=e.format(t),n=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(a);return[parseInt(n[3],10),parseInt(n[1],10),parseInt(n[2],10),parseInt(n[4],10),parseInt(n[5],10),parseInt(n[6],10)]}var qc={},iv=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),joe=iv==="06/25/2014, 00:00:00"||iv==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";function Voe(e){return qc[e]||(qc[e]=joe?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),qc[e]}function QH(e,t,a,n,r,i,o){let l=new Date(0);return l.setUTCFullYear(e,t,a),l.setUTCHours(n,r,i,o),l}var ov=36e5,zoe=6e4,$c={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function XH(e,t,a){if(!e)return 0;let n=$c.timezoneZ.exec(e);if(n)return 0;let r,i;if(n=$c.timezoneHH.exec(e),n)return r=parseInt(n[1],10),sv(r)?-(r*ov):NaN;if(n=$c.timezoneHHMM.exec(e),n){r=parseInt(n[2],10);let o=parseInt(n[3],10);return sv(r,o)?(i=Math.abs(r)*ov+o*zoe,n[1]==="+"?-i:i):NaN}if(qoe(e)){t=new Date(t||Date.now());let o=a?t:Boe(t),l=oh(o,e);return-(a?l:Hoe(t,l,e))}return NaN}function Boe(e){return QH(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function oh(e,t){let a=Aoe(e,t),n=QH(a[0],a[1]-1,a[2],a[3]%24,a[4],a[5],0).getTime(),r=e.getTime(),i=r%1e3;return r-=i>=0?i:1e3+i,n-r}function Hoe(e,t,a){let n=e.getTime()-t,r=oh(new Date(n),a);if(t===r)return t;n-=r-t;let i=oh(new Date(n),a);return r===i?r:Math.max(r,i)}function sv(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var lv={};function qoe(e){if(lv[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),lv[e]=!0,!0}catch{return!1}}var $oe=60*1e3,Uoe={X:function(e,t,a){let n=Uc(a.timeZone,e);if(n===0)return"Z";switch(t){case"X":return uv(n);case"XXXX":case"XX":return ui(n);case"XXXXX":case"XXX":default:return ui(n,":")}},x:function(e,t,a){let n=Uc(a.timeZone,e);switch(t){case"x":return uv(n);case"xxxx":case"xx":return ui(n);case"xxxxx":case"xxx":default:return ui(n,":")}},O:function(e,t,a){let n=Uc(a.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+Goe(n,":");case"OOOO":default:return"GMT"+ui(n,":")}},z:function(e,t,a){switch(t){case"z":case"zz":case"zzz":return rv("short",e,a);case"zzzz":default:return rv("long",e,a)}}};function Uc(e,t){let a=e?XH(e,t,!0)/$oe:(t==null?void 0:t.getTimezoneOffset())??0;if(Number.isNaN(a))throw new RangeError("Invalid time zone specified: "+e);return a}function Jl(e,t){let a=e<0?"-":"",n=Math.abs(e).toString();for(;n.length<t;)n="0"+n;return a+n}function ui(e,t=""){let a=e>0?"-":"+",n=Math.abs(e),r=Jl(Math.floor(n/60),2),i=Jl(Math.floor(n%60),2);return a+r+t+i}function uv(e,t){return e%60===0?(e>0?"-":"+")+Jl(Math.abs(e)/60,2):ui(e,t)}function Goe(e,t=""){let a=e>0?"-":"+",n=Math.abs(e),r=Math.floor(n/60),i=n%60;return i===0?a+String(r):a+String(r)+t+Jl(i,2)}function cv(e){let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),+e-+t}var Woe=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,Gc=36e5,dv=6e4,Zoe=2,cn={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:Woe};function Yoe(e,t={}){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(e===null)return new Date(NaN);let a=t.additionalDigits==null?Zoe:Number(t.additionalDigits);if(a!==2&&a!==1&&a!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]")return new Date(e.getTime());if(typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]")return new Date(e);if(Object.prototype.toString.call(e)!=="[object String]")return new Date(NaN);let n=Koe(e),{year:r,restDateString:i}=Qoe(n.date,a),o=Xoe(i,r);if(o===null||isNaN(o.getTime()))return new Date(NaN);if(o){let l=o.getTime(),u=0,c;if(n.time&&(u=Joe(n.time),u===null||isNaN(u)))return new Date(NaN);if(n.timeZone||t.timeZone){if(c=XH(n.timeZone||t.timeZone,new Date(l+u)),isNaN(c))return new Date(NaN)}else c=cv(new Date(l+u)),c=cv(new Date(l+u+c));return new Date(l+u+c)}else return new Date(NaN)}function Koe(e){let t={},a=cn.dateTimePattern.exec(e),n;if(a?(t.date=a[1],n=a[3]):(a=cn.datePattern.exec(e),a?(t.date=a[1],n=a[2]):(t.date=null,n=e)),n){let r=cn.timeZone.exec(n);r?(t.time=n.replace(r[1],""),t.timeZone=r[1].trim()):t.time=n}return t}function Qoe(e,t){if(e){let a=cn.YYY[t],n=cn.YYYYY[t],r=cn.YYYY.exec(e)||n.exec(e);if(r){let i=r[1];return{year:parseInt(i,10),restDateString:e.slice(i.length)}}if(r=cn.YY.exec(e)||a.exec(e),r){let i=r[1];return{year:parseInt(i,10)*100,restDateString:e.slice(i.length)}}}return{year:null}}function Xoe(e,t){if(t===null)return null;let a,n,r;if(!e||!e.length)return a=new Date(0),a.setUTCFullYear(t),a;let i=cn.MM.exec(e);if(i)return a=new Date(0),n=parseInt(i[1],10)-1,pv(t,n)?(a.setUTCFullYear(t,n),a):new Date(NaN);if(i=cn.DDD.exec(e),i){a=new Date(0);let o=parseInt(i[1],10);return nse(t,o)?(a.setUTCFullYear(t,0,o),a):new Date(NaN)}if(i=cn.MMDD.exec(e),i){a=new Date(0),n=parseInt(i[1],10)-1;let o=parseInt(i[2],10);return pv(t,n,o)?(a.setUTCFullYear(t,n,o),a):new Date(NaN)}if(i=cn.Www.exec(e),i)return r=parseInt(i[1],10)-1,mv(r)?hv(t,r):new Date(NaN);if(i=cn.WwwD.exec(e),i){r=parseInt(i[1],10)-1;let o=parseInt(i[2],10)-1;return mv(r,o)?hv(t,r,o):new Date(NaN)}return null}function Joe(e){let t,a,n=cn.HH.exec(e);if(n)return t=parseFloat(n[1].replace(",",".")),Wc(t)?t%24*Gc:NaN;if(n=cn.HHMM.exec(e),n)return t=parseInt(n[1],10),a=parseFloat(n[2].replace(",",".")),Wc(t,a)?t%24*Gc+a*dv:NaN;if(n=cn.HHMMSS.exec(e),n){t=parseInt(n[1],10),a=parseInt(n[2],10);let r=parseFloat(n[3].replace(",","."));return Wc(t,a,r)?t%24*Gc+a*dv+r*1e3:NaN}return null}function hv(e,t,a){t=t||0,a=a||0;let n=new Date(0);n.setUTCFullYear(e,0,4);let r=n.getUTCDay()||7,i=t*7+a+1-r;return n.setUTCDate(n.getUTCDate()+i),n}var ese=[31,28,31,30,31,30,31,31,30,31,30,31],tse=[31,29,31,30,31,30,31,31,30,31,30,31];function JH(e){return e%400===0||e%4===0&&e%100!==0}function pv(e,t,a){if(t<0||t>11)return!1;if(a!=null){if(a<1)return!1;let n=JH(e);if(n&&a>tse[t]||!n&&a>ese[t])return!1}return!0}function nse(e,t){if(t<1)return!1;let a=JH(e);return!(a&&t>366||!a&&t>365)}function mv(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function Wc(e,t,a){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||a!=null&&(a<0||a>=60))}var ase=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function rse(e,t,a={}){t=String(t);let n=t.match(ase);if(n){let r=Yoe(a.originalDate||e,a);t=n.reduce(function(i,o){if(o[0]==="'")return i;let l=i.indexOf(o),u=i[l-1]==="'",c=i.replace(o,"'"+Uoe[o[0]](r,o,a)+"'");return u?c.substring(0,l-1)+c.substring(l+1):c},t)}return hw(e,t,a)}var ise=(()=>{const t=class t{reportError(n){return et({status:"ok"})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),ose=(()=>{const t=class t{constructor(){this.http=S(Ji),this.authService=S(ji).getInstance(),this.apiUrl=S(to).getEnvironmentVariable("apiUrl")}reportError(n){return this.http.post(`${this.apiUrl}/v2/report/error`,n,{headers:{[Co.userType]:Mr.getUserType({isProfessional:this.authService.isProfessional}),[Co.clientType]:ww()?Mr.clientType.mobileApp:Mr.clientType.webApp}})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),sse=(()=>{const t=class t{constructor(){this.config=S(to),this.injector=S(ht),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(ise):this.injector.get(ose)}return this._instance}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),lse=(()=>{const t=class t extends qae{constructor(){super(...arguments),this.version=ah,this.authServiceSelector=S(ji),this.translateService=S(Xn),this.webComponentConfig=S(to),this.injector=S(ht),this.servicesStore=S(Vu),this.matDialog=S(ju),this.destroyRef=S(pr),this.errorServiceSelector=S(sse),this.snackbarService=S(Cw),this.extraRequiredFields=["offlineDataStorageEnabled","isOfflineAuthenticated","professional","ssin"]}onInitialized(){return At(this,null,function*(){this.webComponentConfig.setEnvironment(this.configName),this.translateService.use(this.language),this.servicesStore.setServices(this.services),this.authServiceSelector.getInstance().isProfessional=this.professional,this.authServiceSelector.getInstance().patientSsin=this.ssin,this.authServiceSelector.getInstance().registerAccessTokenService(this.isOfflineAuthenticated,this.offlineDataStorageEnabled),this.injectService(),yield this.fetchData(!0),this.services.registerRefreshCallback(n=>At(this,null,function*(){yield this.fetchData(!0),n()}))})}onPropsChanged(n){n.language&&this.translateService.use(this.language)}checkError(n){(n==null?void 0:n.group)===Fa.NOT_AUTHORIZED?this.showNotAuthorizedErrorPopup(n.code):(n==null?void 0:n.group)===Fa.OTHER&&this.showTechnicalErrorPopup(n)}showTechnicalErrorPopup(n){this.matDialog.open(Toe,{data:{error:n}}).beforeClosed().pipe(kn(r=>r),ZH(this.destroyRef)).subscribe(()=>{this.reportVidisError(n)})}reportVidisError(n){let r={backendTraceId:"",errorMessage:n.message,pageUrl:window.location.href,timestamp:this.formatDateWithZone()};this.errorServiceSelector.getInstance().reportError(r).subscribe({next:i=>{i.status==="ok"?this.snackbarService.showSuccess("commons.errors.report-message-confirm-toast"):this.snackbarService.showError("commons.errors..general")},error:()=>{this.snackbarService.showError("commons.errors.general")}})}showNotAuthorizedErrorPopup(n){this.matDialog.open(Roe,{data:n})}formatDateWithZone(){return rse(new Date,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:"Europe/Brussels"})}};t.ɵfac=(()=>{let n;return function(r){return(n||(n=tt(t)))(r||t)}})(),t.ɵcmp=Oe({type:t,selectors:[["ng-component"]],inputs:{isOfflineAuthenticated:"isOfflineAuthenticated",offlineDataStorageEnabled:"offlineDataStorageEnabled",professional:"professional",ssin:"ssin"},features:[Ye],decls:0,vars:0,template:function(n,r){},encapsulation:2});let e=t;return e})(),fv=new K("CdkAccordion"),use=(()=>{const t=class t{constructor(){s(this,"accordion",S(fv,{optional:!0,skipSelf:!0}));s(this,"_changeDetectorRef",S(ya));s(this,"_expansionDispatcher",S(R1));s(this,"_openCloseAllSubscription",Zt.EMPTY);s(this,"closed",new it);s(this,"opened",new it);s(this,"destroyed",new it);s(this,"expandedChange",new it);s(this,"id",S(Xr).getId("cdk-accordion-child-"));s(this,"_expanded",!1);s(this,"disabled",!1);s(this,"_removeUniqueSelectionListener",()=>{})}get expanded(){return this._expanded}set expanded(n){if(this._expanded!==n){if(this._expanded=n,this.expandedChange.emit(n),n){this.opened.emit();let r=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,r)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}ngOnInit(){this._removeUniqueSelectionListener=this._expansionDispatcher.listen((n,r)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===r&&this.id!==n&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(n=>{this.disabled||(this.expanded=n)})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",ye({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",Lt],disabled:[2,"disabled","disabled",Lt]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Tn([{provide:fv,useValue:void 0}])]}));let e=t;return e})(),cse=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({}));let e=t;return e})(),dse=["body"],hse=["bodyWrapper"],pse=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],mse=["mat-expansion-panel-header","*","mat-action-row"];function fse(e,t){}var gse=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],vse=["mat-panel-title","mat-panel-description","*"];function bse(e,t){e&1&&(j(0,"span",1),hb(),j(1,"svg",2),lt(2,"path",3),V()())}var gv=new K("MAT_ACCORDION"),e9=new K("MAT_EXPANSION_PANEL"),yse=(()=>{const t=class t{constructor(){s(this,"_template",S(nn));s(this,"_expansionPanel",S(e9,{optional:!0}))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",ye({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}));let e=t;return e})(),t9=new K("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),n9=(()=>{const t=class t extends use{constructor(){super();s(this,"_viewContainerRef",S(Kn));s(this,"_animationsDisabled",S(mr,{optional:!0})==="NoopAnimations");s(this,"_document",S(Fe));s(this,"_ngZone",S(ze));s(this,"_elementRef",S(Qe));s(this,"_renderer",S(Qr));s(this,"_cleanupTransitionEnd");s(this,"_hideToggle",!1);s(this,"_togglePosition");s(this,"afterExpand",new it);s(this,"afterCollapse",new it);s(this,"_inputChanges",new ge);s(this,"accordion",S(gv,{optional:!0,skipSelf:!0}));s(this,"_lazyContent");s(this,"_body");s(this,"_bodyWrapper");s(this,"_portal");s(this,"_headerId",S(Xr).getId("mat-expansion-panel-header-"));s(this,"_transitionEndListener",({target:r,propertyName:i})=>{var o;r===((o=this._bodyWrapper)==null?void 0:o.nativeElement)&&i==="grid-template-rows"&&this._ngZone.run(()=>{this.expanded?this.afterExpand.emit():this.afterCollapse.emit()})});let r=S(t9,{optional:!0});this._expansionDispatcher=S(R1),r&&(this.hideToggle=r.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(r){this._hideToggle=r}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(r){this._togglePosition=r}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(cu(null),kn(()=>this.expanded&&!this._portal),pn(1)).subscribe(()=>{this._portal=new Lu(this._lazyContent._template,this._viewContainerRef)}),this._setupAnimationEvents()}ngOnChanges(r){this._inputChanges.next(r)}ngOnDestroy(){var r;super.ngOnDestroy(),(r=this._cleanupTransitionEnd)==null||r.call(this),this._inputChanges.complete()}_containsFocus(){if(this._body){let r=this._document.activeElement,i=this._body.nativeElement;return r===i||i.contains(r)}return!1}_setupAnimationEvents(){this._ngZone.runOutsideAngular(()=>{this._animationsDisabled?(this.opened.subscribe(()=>this._ngZone.run(()=>this.afterExpand.emit())),this.closed.subscribe(()=>this._ngZone.run(()=>this.afterCollapse.emit()))):setTimeout(()=>{let r=this._elementRef.nativeElement;this._cleanupTransitionEnd=this._renderer.listen(r,"transitionend",this._transitionEndListener),r.classList.add("mat-expansion-panel-animations-enabled")},200)})}};s(t,"ɵfac",function(r){return new(r||t)}),s(t,"ɵcmp",Oe({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(r,i,o){if(r&1&&Ma(o,yse,5),r&2){let l;ln(l=un())&&(i._lazyContent=l.first)}},viewQuery:function(r,i){if(r&1&&(Ai(dse,5),Ai(hse,5)),r&2){let o;ln(o=un())&&(i._body=o.first),ln(o=un())&&(i._bodyWrapper=o.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:4,hostBindings:function(r,i){r&2&&jt("mat-expanded",i.expanded)("mat-expansion-panel-spacing",i._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",Lt],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[Tn([{provide:gv,useValue:void 0},{provide:e9,useExisting:t}]),Ye,Gr],ngContentSelectors:mse,decls:9,vars:4,consts:[["bodyWrapper",""],["body",""],[1,"mat-expansion-panel-content-wrapper"],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(r,i){r&1&&(jn(pse),pt(0),j(1,"div",2,0)(3,"div",3,1)(5,"div",4),pt(6,1),Ee(7,fse,0,0,"ng-template",5),V(),pt(8,2),V()()),r&2&&(P(),$t("inert",i.expanded?null:""),P(2),je("id",i.id),$t("aria-labelledby",i._headerId),P(4),je("cdkPortalOutlet",i._portal))},dependencies:[Li],styles:[`.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;position:relative;background:var(--mat-expansion-container-background-color, var(--mat-sys-surface));color:var(--mat-expansion-container-text-color, var(--mat-sys-on-surface));border-radius:var(--mat-expansion-container-shape, 12px)}.mat-expansion-panel.mat-expansion-panel-animations-enabled{transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape, 12px);border-top-left-radius:var(--mat-expansion-container-shape, 12px)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape, 12px);border-bottom-left-radius:var(--mat-expansion-container-shape, 12px)}@media(forced-colors: active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel-content-wrapper{display:grid;grid-template-rows:0fr;grid-template-columns:100%}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content-wrapper{transition:grid-template-rows 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{grid-template-rows:1fr}@supports not (grid-template-rows: 0fr){.mat-expansion-panel-content-wrapper{height:0}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{height:auto}}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;min-height:0;visibility:hidden;font-family:var(--mat-expansion-container-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-expansion-container-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-expansion-container-text-weight, var(--mat-sys-body-large-weight));line-height:var(--mat-expansion-container-text-line-height, var(--mat-sys-body-large-line-height));letter-spacing:var(--mat-expansion-container-text-tracking, var(--mat-sys-body-large-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content{transition:visibility 190ms linear}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper>.mat-expansion-panel-content{visibility:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color, var(--mat-sys-outline))}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}
36
+ Probeer het later nog eens.`,BT="De patiënt heeft 1 of meerdere voorschriften verborgen.",HT="Technisch probleem",qT="Probeer het later opnieuw.",$T="Help ons het probleem te identificeren en op te lossen. Door het te melden gaat u akkoord met onze ",UT="gebruiksvoorwaarden",GT="https://www.riziv.fgov.be/nl/pagina/privacyverklaring-mobiele-applicatie-mijngezondheid",WT="Probleem melden",ZT="Niet melden",YT="Het probleem is gemeld",KT="Gegevens niet beschikbaar",QT="Actie niet toegestaan",XT="Sluiten",Qre={VIDIS_0035:WI,VIDIS_0050:ZI,VIDIS_0090:YI,VIDIS_0121:KI,VIDIS_0122:QI,VIDIS_0123:XI,VIDIS_0124:JI,VIDIS_0125:eT,VIDIS_0126:tT,VIDIS_0131:nT,VIDIS_0132:aT,VIDIS_0133:rT,VIDIS_0134:iT,VIDIS_0135:oT,VIDIS_0136:sT,VIDIS_0190:lT,VIDIS_0210:uT,VIDIS_0211:cT,VIDIS_0230:dT,VIDIS_0290:hT,VIDIS_0330:pT,VIDIS_0435:mT,VIDIS_0440:fT,VIDIS_5000:gT,VIDIS_7000:vT,VIDIS_3150:bT,VIDIS_3090:yT,VIDIS_3140:_T,VIDIS_3100:wT,VIDIS_3120:xT,VIDIS_0400:ET,VIDIS_3030:ST,VIDIS_0100:kT,VIDIS_0120:CT,VIDIS_0110:DT,VIDIS_0200:IT,VIDIS_0340:TT,VIDIS_0341:RT,VIDIS_04001:NT,prescriptionList:OT,general:MT,"no-access":AT,myHealth:PT,myHealthUrl:LT,network_error:FT,invalid_date_format:jT,"status-message-title":VT,"status-message-content":zT,"has-hidden-prescriptions":BT,"report-message-title":HT,"report-message-explanation":qT,"report-message-content":$T,"report-message-term-use":UT,"report-message-link":GT,"report-message-report-button":WT,"report-message-ignore-button":ZT,"report-message-confirm-toast":YT,"data-not-available-title":KT,"action-not-authorized-title":QT,"action-not-authorized-close-button":XT},Xre={nl:GI,fr:V2,de:kC,en:OD},JT={};de(JT,{1:()=>eR,10:()=>uR,11:()=>cR,12:()=>dR,13:()=>hR,14:()=>pR,15:()=>mR,16:()=>fR,17:()=>gR,18:()=>vR,19:()=>bR,2:()=>tR,20:()=>yR,21:()=>_R,22:()=>wR,23:()=>xR,24:()=>ER,25:()=>SR,26:()=>kR,27:()=>CR,28:()=>DR,29:()=>IR,3:()=>nR,30:()=>TR,31:()=>RR,32:()=>NR,33:()=>OR,34:()=>MR,4:()=>aR,40:()=>AR,41:()=>PR,5:()=>rR,6:()=>iR,7:()=>oR,71:()=>LR,8:()=>sR,9:()=>lR,90:()=>FR,91:()=>jR,92:()=>VR,93:()=>zR,default:()=>Jre});var eR="Gelatinekapseln",tR="Tabletten",nR="Creme",aR="Gel",rR="Paste",iR="Fette Salbe",oR="Granulat",sR="Zäpfchen für Erwachsene",lR="Zäpfchen für Kinder",uR="Vaginalzäpfchen",cR="Rektiole",dR="nicht gespaltenes Pulver innerliche Anwendung",hR="nicht gespaltenes Pulver äußerliche Anwendung",pR="Inhalation",mR="Pulver Zum Spalten innerliche Anwendung",fR="Pulver Zum Spalten äußerliche Anwendung",gR="Nasentropfen",vR="Nasensalbe",bR="Sirup",yR="Lösung innerliche Anwendung",_R="Lösung äußerliche Anwendung",wR="Tropfen innerliche Anwendung",xR="Tropfen äußerliche Anwendung",ER="Emulsion innerliche Anwendung",SR="Emulsion äußerliche Anwendung",kR="Shampoo",CR="Augentropfen",DR="Augenlotion",IR="Augenbad",TR="Salbe",RR="Augensalbe ",NR="Ohrentropfen",OR="Suspension innerliche Anwendung",MR="Suspension äußerliche Anwendung",AR="Kräutermischung",PR="Tee",LR="enterische Kapseln",FR="derartig",jR="Dermatologie (fest) derartig",VR="Pulver derartig",zR="Lösung derartig",Jre={1:eR,2:tR,3:nR,4:aR,5:rR,6:iR,7:oR,8:sR,9:lR,10:uR,11:cR,12:dR,13:hR,14:pR,15:mR,16:fR,17:gR,18:vR,19:bR,20:yR,21:_R,22:wR,23:xR,24:ER,25:SR,26:kR,27:CR,28:DR,29:IR,30:TR,31:RR,32:NR,33:OR,34:MR,40:AR,41:PR,71:LR,90:FR,91:jR,92:VR,93:zR},BR={};de(BR,{1:()=>HR,10:()=>QR,11:()=>XR,12:()=>JR,13:()=>eN,14:()=>tN,15:()=>nN,16:()=>aN,17:()=>rN,18:()=>iN,19:()=>oN,2:()=>qR,20:()=>sN,21:()=>lN,22:()=>uN,23:()=>cN,24:()=>dN,25:()=>hN,26:()=>pN,27:()=>mN,28:()=>fN,29:()=>gN,3:()=>$R,30:()=>vN,31:()=>bN,32:()=>yN,33:()=>_N,34:()=>wN,4:()=>UR,40:()=>xN,41:()=>EN,5:()=>GR,6:()=>WR,7:()=>ZR,71:()=>SN,8:()=>YR,9:()=>KR,90:()=>kN,91:()=>CN,92:()=>DN,93:()=>IN,default:()=>eie});var HR="Capsules",qR="Tablets",$R="Cream",UR="Gel",GR="Paste",WR="Fatty ointment",ZR="Granulate",YR="Adult suppository",KR="Child suppository",QR="Vaginal ovules",XR="Rectiole",JR="Undivided powder for internal use",eN="Undivided powder for external use",tN="Inhalation",nN="Divided powders for internal use",aN="Divided powders for external use",rN="Nasal drops",iN="Nasal ointment",oN="Syrup",sN="Solution for internal use",lN="Solution for external use",uN="Drops for internal use",cN="Drops for external use",dN="Emulsion for internal use",hN="Emulsion for external use",pN="Shampoo",mN="Eye drops",fN="Eye lotion",gN="Eye bath",vN="Ointment",bN="Eye ointment",yN="Ear drops",_N="Suspension for internal use",wN="Suspension for external use",xN="Herbal mixture",EN="Tea",SN="Enteric-coated capsules",kN="As is",CN="Dermatology (solid) as is",DN="Powder as is",IN="Liquid as is",eie={1:HR,2:qR,3:$R,4:UR,5:GR,6:WR,7:ZR,8:YR,9:KR,10:QR,11:XR,12:JR,13:eN,14:tN,15:nN,16:aN,17:rN,18:iN,19:oN,20:sN,21:lN,22:uN,23:cN,24:dN,25:hN,26:pN,27:mN,28:fN,29:gN,30:vN,31:bN,32:yN,33:_N,34:wN,40:xN,41:EN,71:SN,90:kN,91:CN,92:DN,93:IN},TN={};de(TN,{1:()=>RN,10:()=>VN,11:()=>zN,12:()=>BN,13:()=>HN,14:()=>qN,15:()=>$N,16:()=>UN,17:()=>GN,18:()=>WN,19:()=>ZN,2:()=>NN,20:()=>YN,21:()=>KN,22:()=>QN,23:()=>XN,24:()=>JN,25:()=>eO,26:()=>tO,27:()=>nO,28:()=>aO,29:()=>rO,3:()=>ON,30:()=>iO,31:()=>oO,32:()=>sO,33:()=>lO,34:()=>uO,4:()=>MN,40:()=>cO,41:()=>dO,5:()=>AN,6:()=>PN,7:()=>LN,71:()=>hO,8:()=>FN,9:()=>jN,90:()=>pO,91:()=>mO,92:()=>fO,93:()=>gO,default:()=>tie});var RN="Gélules",NN="Cachets / comprimés",ON="Crème",MN="Gel",AN="Pâte",PN="Pommade grasse",LN="Granulé",FN="Suppo adulte",jN="Suppo enfant",VN="Ovules vaginales",zN="Rectiole",BN="Poudre non-divisée usage interne",HN="Poudre non-divisée usage externe",qN="Inhalation",$N="Poudres à diviser usage interne",UN="Poudres à diviser usage externe",GN="Gouttes nasales",WN="Pommade nasale",ZN="Sirop",YN="Solution usage interne",KN="Solution usage externe",QN="Gouttes usage interne",XN="Gouttes usage externe",JN="Emulsion usage interne",eO="Emulsion usage externe",tO="Shampooing",nO="Gouttes ophtalmiques",aO="Lotion ophtalmique",rO="Bain ophtalmique",iO="Pommade",oO="Pommade ophtalmique",sO="Gouttes auriculaires",lO="Suspension usage interne",uO="Suspension usage externe",cO="Mélange de plantes",dO="Thé",hO="Gélules à enrobage entérique / Gélules entériques",pO="en tant que tel/telle",mO="Dermatologie (solide) en tant que telle",fO="Poudre en tant que telle ",gO="Solution en tant que telle ",tie={1:RN,2:NN,3:ON,4:MN,5:AN,6:PN,7:LN,8:FN,9:jN,10:VN,11:zN,12:BN,13:HN,14:qN,15:$N,16:UN,17:GN,18:WN,19:ZN,20:YN,21:KN,22:QN,23:XN,24:JN,25:eO,26:tO,27:nO,28:aO,29:rO,30:iO,31:oO,32:sO,33:lO,34:uO,40:cO,41:dO,71:hO,90:pO,91:mO,92:fO,93:gO},vO={};de(vO,{1:()=>bO,10:()=>DO,11:()=>IO,12:()=>TO,13:()=>RO,14:()=>NO,15:()=>OO,16:()=>MO,17:()=>AO,18:()=>PO,19:()=>LO,2:()=>yO,20:()=>FO,21:()=>jO,22:()=>VO,23:()=>zO,24:()=>BO,25:()=>HO,26:()=>qO,27:()=>$O,28:()=>UO,29:()=>GO,3:()=>_O,30:()=>WO,31:()=>ZO,32:()=>YO,33:()=>KO,34:()=>QO,4:()=>wO,40:()=>XO,41:()=>JO,5:()=>xO,6:()=>EO,7:()=>SO,71:()=>eM,8:()=>kO,9:()=>CO,90:()=>tM,91:()=>nM,92:()=>aM,93:()=>rM,default:()=>nie});var bO="Capsules",yO="Tabletten",_O="Creme",wO="Gel",xO="Pasta",EO="Vette zalf",SO="Granulaat",kO="Suppo volwassene",CO="Suppo kind",DO="Vaginale zetpillen / vaginale ovules",IO="Rektiool",TO="Niet-verdeeld poeder inwendig gebruik",RO="Niet-verdeeld poeder uitwendig gebruik",NO="Inhalatie",OO="Te verdelen poeders inwendig gebruik",MO="Te verdelen poeders uitwendig gebruik",AO="Neusdruppels",PO="Neuszalf",LO="Siroop",FO="Oplossing inwendig gebruik",jO="Oplossing uitwendig gebruik",VO="Druppels inwendig gebruik",zO="Druppels uitwendig gebruik",BO="Emulsie inwendig gebruik",HO="Emulsie uitwendig gebruik",qO="Shampoo",$O="Oogdruppels",UO="Ooglotion",GO="Oogbad",WO="Zalf",ZO="Oogzalf",YO="Oordruppels",KO="Suspensie inwendig gebruik",QO="Suspensie uitwendig gebruik",XO="Kruidenmengsel",JO="Thee",eM="enterisch omhulde capsules",tM="Als dusdanig",nM="Als dusdanig dermatologie (vast)",aM="Als dusdanig poeder",rM="Als dusdanig vloeistof",nie={1:bO,2:yO,3:_O,4:wO,5:xO,6:EO,7:SO,8:kO,9:CO,10:DO,11:IO,12:TO,13:RO,14:NO,15:OO,16:MO,17:AO,18:PO,19:LO,20:FO,21:jO,22:VO,23:zO,24:BO,25:HO,26:qO,27:$O,28:UO,29:GO,30:WO,31:ZO,32:YO,33:KO,34:QO,40:XO,41:JO,71:eM,90:tM,91:nM,92:aM,93:rM},aie={nl:vO,fr:TN,de:JT,en:BR},iM={};de(iM,{close:()=>oM,default:()=>rie,downloadLeaflet:()=>sM,file:()=>lM});var oM="Schließen",sM="Download Packungsbeilage (pdf)",lM="feile",rie={close:oM,downloadLeaflet:sM,file:lM},uM={};de(uM,{close:()=>cM,default:()=>iie,downloadLeaflet:()=>dM,file:()=>hM});var cM="Close",dM="Download leaflet (pdf)",hM="file",iie={close:cM,downloadLeaflet:dM,file:hM},pM={};de(pM,{close:()=>mM,default:()=>oie,downloadLeaflet:()=>fM,file:()=>gM});var mM="Fermer",fM="Télécharger la notice (pdf)",gM="fichier",oie={close:mM,downloadLeaflet:fM,file:gM},vM={};de(vM,{close:()=>bM,default:()=>sie,downloadLeaflet:()=>yM,file:()=>_M});var bM="Sluiten",yM="Download bijsluiter (pdf)",_M="bestand",sie={close:bM,downloadLeaflet:yM,file:_M},lie={nl:vM,fr:pM,de:iM,en:uM},wM={};de(wM,{afterbreakfast:()=>xM,afterdinner:()=>EM,afterlunch:()=>SM,aftermeal:()=>kM,afternoon:()=>CM,beforebreakfast:()=>DM,beforedinner:()=>IM,beforelunch:()=>TM,betweenbreakfastandlunch:()=>RM,betweendinnerandsleep:()=>NM,betweenlunchanddinner:()=>OM,betweenmeals:()=>MM,breakfast:()=>AM,default:()=>uie,dinner:()=>PM,duringbreakfast:()=>LM,duringdinner:()=>FM,duringlunch:()=>jM,evening:()=>VM,lunch:()=>zM,morning:()=>BM,night:()=>HM,thehourofsleep:()=>qM});var xM="nach dem Frühstück",EM="nach dem Abendessen",SM="nach dem Mittagessen",kM="nach dem Essen",CM="Nachmittag",DM="vor dem Frühstück",IM="vor dem Abendessen",TM="vor dem Mittagessen",RM="zwischen Frühstück und Mittagessen",NM="zwischen Abendessen und Nachtruhe",OM="zwischen Mittagessen und Abendessen",MM="zwischen den Mahlzeiten",AM="Frühstück",PM="Abendessen",LM="zum Frühstück",FM="zum Abendessen",jM="zum Mittagessen",VM="Abend",zM="Mittagessen",BM="Vormittag",HM="Nacht",qM="Nachtruhe",uie={afterbreakfast:xM,afterdinner:EM,afterlunch:SM,aftermeal:kM,afternoon:CM,beforebreakfast:DM,beforedinner:IM,beforelunch:TM,betweenbreakfastandlunch:RM,betweendinnerandsleep:NM,betweenlunchanddinner:OM,betweenmeals:MM,breakfast:AM,dinner:PM,duringbreakfast:LM,duringdinner:FM,duringlunch:jM,evening:VM,lunch:zM,morning:BM,night:HM,thehourofsleep:qM},$M={};de($M,{afterbreakfast:()=>UM,afterdinner:()=>GM,afterlunch:()=>WM,aftermeal:()=>ZM,afternoon:()=>YM,beforebreakfast:()=>KM,beforedinner:()=>QM,beforelunch:()=>XM,betweenbreakfastandlunch:()=>JM,betweendinnerandsleep:()=>eA,betweenlunchanddinner:()=>tA,betweenmeals:()=>nA,breakfast:()=>aA,default:()=>cie,dinner:()=>rA,duringbreakfast:()=>iA,duringdinner:()=>oA,duringlunch:()=>sA,evening:()=>lA,lunch:()=>uA,morning:()=>cA,night:()=>dA,thehourofsleep:()=>hA});var UM="after breakfast",GM="after dinner",WM="after lunch",ZM="after meal",YM="afternoon",KM="before breakfast",QM="before dinner",XM="before lunch",JM="between breakfast and lunch",eA="between dinner and the hour of sleep",tA="between lunch and dinner",nA="between meals",aA="breakfast",rA="dinner",iA="during breakfast",oA="during dinner",sA="during lunch",lA="evening",uA="lunch",cA="morning",dA="night",hA="the hour of sleep",cie={afterbreakfast:UM,afterdinner:GM,afterlunch:WM,aftermeal:ZM,afternoon:YM,beforebreakfast:KM,beforedinner:QM,beforelunch:XM,betweenbreakfastandlunch:JM,betweendinnerandsleep:eA,betweenlunchanddinner:tA,betweenmeals:nA,breakfast:aA,dinner:rA,duringbreakfast:iA,duringdinner:oA,duringlunch:sA,evening:lA,lunch:uA,morning:cA,night:dA,thehourofsleep:hA},pA={};de(pA,{afterbreakfast:()=>mA,afterdinner:()=>fA,afterlunch:()=>gA,aftermeal:()=>vA,afternoon:()=>bA,beforebreakfast:()=>yA,beforedinner:()=>_A,beforelunch:()=>wA,betweenbreakfastandlunch:()=>xA,betweendinnerandsleep:()=>EA,betweenlunchanddinner:()=>SA,betweenmeals:()=>kA,breakfast:()=>CA,default:()=>die,dinner:()=>DA,duringbreakfast:()=>IA,duringdinner:()=>TA,duringlunch:()=>RA,evening:()=>NA,lunch:()=>OA,morning:()=>MA,night:()=>AA,thehourofsleep:()=>PA});var mA="après le petit-déjeuner",fA="après le repas du soir",gA="après le repas du midi",vA="après le repas",bA="après-midi",yA="avant le petit-déjeuner",_A="avant le repas du soir",wA="avant le repas du midi",xA="entre le petit-déjeuner et le repas du midi",EA="entre le repas du soir et l’heure du coucher",SA="entre le repas du midi et le repas du soir",kA="entre les repas",CA="petit-déjeuner",DA="repas du soir",IA="pendant le petit-déjeuner",TA="pendant le repas du soir",RA="pendant le repas du midi",NA="soir",OA="repas du midi",MA="matin",AA="nuit",PA="heure du coucher",die={afterbreakfast:mA,afterdinner:fA,afterlunch:gA,aftermeal:vA,afternoon:bA,beforebreakfast:yA,beforedinner:_A,beforelunch:wA,betweenbreakfastandlunch:xA,betweendinnerandsleep:EA,betweenlunchanddinner:SA,betweenmeals:kA,breakfast:CA,dinner:DA,duringbreakfast:IA,duringdinner:TA,duringlunch:RA,evening:NA,lunch:OA,morning:MA,night:AA,thehourofsleep:PA},LA={};de(LA,{afterbreakfast:()=>FA,afterdinner:()=>jA,afterlunch:()=>VA,aftermeal:()=>zA,afternoon:()=>BA,beforebreakfast:()=>HA,beforedinner:()=>qA,beforelunch:()=>$A,betweenbreakfastandlunch:()=>UA,betweendinnerandsleep:()=>GA,betweenlunchanddinner:()=>WA,betweenmeals:()=>ZA,breakfast:()=>YA,default:()=>hie,dinner:()=>KA,duringbreakfast:()=>QA,duringdinner:()=>XA,duringlunch:()=>JA,evening:()=>eP,lunch:()=>tP,morning:()=>nP,night:()=>aP,thehourofsleep:()=>rP});var FA="na het ontbijt",jA="na het avondmaal",VA="na het middagmaal",zA="na de maaltijd",BA="namiddag",HA="voor het ontbijt",qA="voor het avondmaal",$A="voor het middagmaal",UA="tussen het ontbijt en het middagmaal",GA="tussen het avondmaal en het slapen gaan",WA="tussen het middagmaal en het avondmaal",ZA="tussen de maaltijden",YA="ontbijt",KA="avondmaal",QA="tijdens het ontbijt",XA="tijdens het avondmaal",JA="tijdens het middagmaal",eP="'s avonds",tP="middagmaal",nP="'s ochtends",aP="'s nachts",rP="voor het slapen gaan",hie={afterbreakfast:FA,afterdinner:jA,afterlunch:VA,aftermeal:zA,afternoon:BA,beforebreakfast:HA,beforedinner:qA,beforelunch:$A,betweenbreakfastandlunch:UA,betweendinnerandsleep:GA,betweenlunchanddinner:WA,betweenmeals:ZA,breakfast:YA,dinner:KA,duringbreakfast:QA,duringdinner:XA,duringlunch:JA,evening:eP,lunch:tP,morning:nP,night:aP,thehourofsleep:rP},pie={nl:LA,fr:pA,de:wM,en:$M},iP={};de(iP,{day:()=>oP,default:()=>mie,during:()=>uP,on:()=>lP,week:()=>sP});var oP="Tag",sP="Woche",lP="am",uP="für",mie={day:oP,week:sP,on:lP,during:uP},cP={};de(cP,{day:()=>dP,default:()=>fie,during:()=>mP,on:()=>pP,week:()=>hP});var dP="day",hP="week",pP="on",mP="during",fie={day:dP,week:hP,on:pP,during:mP},fP={};de(fP,{day:()=>gP,default:()=>gie,during:()=>yP,on:()=>bP,week:()=>vP});var gP="jour",vP="semaine",bP="le",yP="durant",gie={day:gP,week:vP,on:bP,during:yP},_P={};de(_P,{day:()=>wP,default:()=>vie,during:()=>SP,on:()=>EP,week:()=>xP});var wP="dag",xP="week",EP="op",SP="gedurende",vie={day:wP,week:xP,on:EP,during:SP},bie={nl:_P,fr:fP,de:iP,en:cP},kP={};de(kP,{a:()=>CP,d:()=>TP,default:()=>yie,hr:()=>RP,min:()=>NP,mo:()=>DP,ms:()=>MP,ns:()=>PP,s:()=>OP,us:()=>AP,wk:()=>IP});var CP="{count} {count, plural, one{Jahr} other{Jahre}}",DP="{count} {count, plural, one{Monat} other{Monate}}",IP="{count} {count, plural, one{Woche} other{Wochen}}",TP="{count} {count, plural, one{Tag} other{Tage}}",RP="{count} {count, plural, one{Stunde} other{Stunden}}",NP="{count} {count, plural, one{Minute} other{Minuten}}",OP="{count} {count, plural, one{Sekunde} other{Sekunden}} ",MP="{count} {count, plural, one{Millisekunde} other{Millisekunden}}",AP="{count} {count, plural, one{Microsekunde} other{Microsekunden}}",PP="{count} {count, plural, one{Nanosekunde} other{Nanosekunden}}",yie={a:CP,mo:DP,wk:IP,d:TP,hr:RP,min:NP,s:OP,ms:MP,us:AP,ns:PP},LP={};de(LP,{a:()=>FP,d:()=>zP,default:()=>_ie,hr:()=>BP,min:()=>HP,mo:()=>jP,ms:()=>$P,ns:()=>GP,s:()=>qP,us:()=>UP,wk:()=>VP});var FP="{count} {count, plural, one{year} other{years}}",jP="{count} {count, plural, one{month} other{months}}",VP="{count} {count, plural, one{week} other{weeks}}",zP="{count} {count, plural, one{day} other{days}}",BP="{count} {count, plural, one{hour} other{hours}}",HP="{count} {count, plural, one{minute} other{minutes}}",qP="{count} {count, plural, one{second} other{seconds}}",$P="{count} {count, plural, one{millisecond} other{millisecondes}}",UP="{count} {count, plural, one{microsecond} other{microsecondes}}",GP="{count} {count, plural, one{nanosecond} other{nanosecondes}}",_ie={a:FP,mo:jP,wk:VP,d:zP,hr:BP,min:HP,s:qP,ms:$P,us:UP,ns:GP},WP={};de(WP,{a:()=>ZP,d:()=>QP,default:()=>wie,hr:()=>XP,min:()=>JP,mo:()=>YP,ms:()=>tL,ns:()=>aL,s:()=>eL,us:()=>nL,wk:()=>KP});var ZP="{count} {count, plural, one{année} other{années}}",YP="{count} {count, plural, one{mois} other{mois}}",KP="{count} {count, plural, one{semaine} other{semaines}}",QP="{count} {count, plural, one{jour} other{jours}}",XP="{count} {count, plural, one{heure} other{heures}}",JP="{count} {count, plural, one{minute} other{minutes}}",eL="{count} {count, plural, one{seconde} other{secondes}}",tL="{count} {count, plural, one{milliseconde} other{millisecondes}}",nL="{count} {count, plural, one{microseconde} other{microsecondes}}",aL="{count} {count, plural, one{nanoseconde} other{nanosecondes}}",wie={a:ZP,mo:YP,wk:KP,d:QP,hr:XP,min:JP,s:eL,ms:tL,us:nL,ns:aL},rL={};de(rL,{a:()=>iL,d:()=>lL,default:()=>xie,hr:()=>uL,min:()=>cL,mo:()=>oL,ms:()=>hL,ns:()=>mL,s:()=>dL,us:()=>pL,wk:()=>sL});var iL="{count} {count, plural, one{jaar} other{jaren}}",oL="{count} {count, plural, one{maand} other{maanden}}",sL="{count} {count, plural, one{week} other{weken}}",lL="{count} {count, plural, one{dag} other{dagen}}",uL="{count} {count, plural, one{uur} other{uren}}",cL="{count} {count, plural, one{minuut} other{minuten}}",dL="{count} {count, plural, one{seconde} other{seconden}}",hL="{count} {count, plural, one{milliseconde} other{milliseconden}}",pL="{count} {count, plural, one{microseconde} other{microseconden}}",mL="{count} {count, plural, one{nanoseconde} other{nanoseconden}}",xie={a:iL,mo:oL,wk:sL,d:lL,hr:uL,min:cL,s:dL,ms:hL,us:pL,ns:mL},Eie={nl:rL,fr:WP,de:kP,en:LP},fL={};de(fL,{"%":()=>gL,"%vv":()=>kF,"%wv":()=>CF,"%ww":()=>DF,"1000/mm3":()=>BL,amp:()=>vL,atptreatment:()=>w3,bag:()=>bL,bitperminute:()=>IF,bol:()=>TF,bot:()=>RF,box:()=>yL,c:()=>s3,can:()=>NF,cap:()=>OF,cc:()=>MF,cm:()=>AF,cmm:()=>HL,cnt:()=>l3,ctg:()=>oF,ctr:()=>PF,daily:()=>o3,day:()=>qL,default:()=>Sie,degree:()=>zL,dis:()=>WL,drm:()=>u3,fl:()=>_L,fld:()=>ZL,flo:()=>YL,ftc:()=>KL,fts:()=>QL,"g/dl":()=>wL,gal:()=>sF,gm:()=>xL,goutte:()=>iF,gr:()=>LF,hour:()=>rF,in:()=>FF,inc:()=>jF,jar:()=>VF,kg:()=>EL,"kg/m2":()=>SL,kit:()=>zF,l:()=>kL,lb:()=>CL,lm:()=>c3,loz:()=>r3,mcg:()=>DL,mcl:()=>IL,mcm:()=>lF,mcn:()=>BF,meq:()=>TL,mg:()=>RL,"mg/dl":()=>NL,"mg/l":()=>OL,"mg/m2":()=>ML,"mg/ml":()=>AL,mgper100ml:()=>cF,mic:()=>HF,mil:()=>qF,millisecond:()=>aF,min:()=>$F,minute:()=>XL,mis:()=>d3,ml:()=>PL,"ml/min":()=>LL,"ml/min/1.73m2":()=>n3,mm:()=>JL,"mm/h":()=>eF,mmhg:()=>tF,mmo:()=>UF,mol:()=>FL,month:()=>GL,nl:()=>GF,nmg:()=>h3,nmo:()=>p3,ns:()=>vF,ondemand:()=>uF,oz:()=>jL,pel:()=>WF,pg:()=>gF,pkg:()=>ZF,pnu:()=>m3,ppm:()=>VL,pt:()=>YF,qs:()=>KF,qt:()=>QF,sap:()=>x3,sat:()=>f3,second:()=>nF,shock:()=>a3,spoon:()=>$L,spr:()=>dF,sqc:()=>XF,stp:()=>g3,sup:()=>bF,syr:()=>pF,tab:()=>yF,tbl:()=>_F,tes:()=>wF,ton:()=>SF,tpn:()=>mF,trc:()=>v3,tro:()=>i3,tsp:()=>EF,tub:()=>fF,umg:()=>JF,unt:()=>xF,vil:()=>hF,vpr:()=>b3,waf:()=>y3,week:()=>UL,x:()=>_3,ydl:()=>e3,yds:()=>t3});var gL="%",vL="{count, plural, one{Glühbirn} other{Glühbirnen}}",bL="Beutel",yL="schachteln",_L="fl",wL="g/dl",xL="g",EL="kg",SL="kg/m²",kL="l",CL="lb",DL="µg",IL="µl",TL="meq",RL="mg",NL="mg/dl",OL="mg/l",ML="mg/m²",AL="mg/ml",PL="ml",LL="ml/min",FL="mol",jL="oz",VL="ppm",zL="°",BL="1000/mm³",HL="mm³",qL="{count, plural, one{Tag} other{Tage}}",$L="Löffel",UL="{count, plural, one{Woche} other{Wochen}}",GL="{count, plural, one{Monat} other{Monate}}",WL="{count, plural, one{Platte} other{Platten}}",ZL="fl dr",YL="fl oz",KL="cu ft",QL="sq ft",XL="{count, plural, one{Minute} other{Minuten}}",JL="mm",eF="mm/h",tF="mmHg",nF="{count, plural, one{Sekunde} other{Sekunden}}",aF="{count, plural, one{Millisekunde} other{Millisekunden}}",rF="{count, plural, one{Stunde} other{Stunden}}",iF="{count, plural, one{Tropf} other{Tropfen}}",oF="{count, plural, one{Kartusche} other{Kartuschen}}",sF="gal",lF="mmol",uF="auf Antrag",cF="mg/100mL",dF="{count, plural, one{Sprühe} other{Sprühen}}",hF="{count, plural, one{Phiole} other{Phiolen}}",pF="{count, plural, one{Spritze} other{Spritzen}}",mF="Tampon",fF="{count, plural, one{Rohr} other{Rohre}}",gF="pg",vF="nicht spezifiziert",bF="{count, plural, one{Zäpfch} other{Zäpfchen}}",yF="{count, plural, one{Tablette} other{Tabletten}}",_F="Esslöffel",wF="Test",xF="{count, plural, one{Einheit} other{Einheiten}}",EF="teelöffel",SF="ton",kF="% v/v",CF="% w/v",DF="% w/w",IF="Schläge pro Minute",TF="Bolus",RF="{count, plural, one{Flasche} other{Fläschchen}}",NF="Dose",OF="{count, plural, one{Kapsel} other{Kapseln}}",MF="cm3",AF="cm",PF="Halter",LF="Körnchen",FF="in",jF="in²",VF="Glas",zF="Kitt",BF="Micron",HF="µCi",qF="mCi",$F="minim",UF="μmol",GF="normal",WF="{count, plural, one{Pille} other{Pillen}}",ZF="{count, plural, one{Paket} other{Pakete}}",YF="Pinte",KF="ausreichende Menge",QF="qt",XF="cm²",JF="{count, plural, one{Einheit / mg} other{Einheiten / mg}}",e3="yd",t3="yd²",n3="mL/min/1.73m²",a3="{count, plural, one{Schock} other{Schocks}}",r3="{count, plural, one{Pastille} other{Pastillen}}",i3="{count, plural, one{Pastille} other{Pastillen}}",o3="täglich",s3="homöopathische Verdünnung (Centesimal 1/100)",l3="cnt",u3="Fass",c3="homöopathische Verdünnung (50 Millisimal im Verhältnis 1:50,000)",d3="verschiedene",h3="ng",p3="nmol",m3="{count, plural, one{Proteineinheit} other{Proteineinheiten}}",f3="gesättigt",g3="Strip",v3="Spur",b3="Therapieschema abhängig",y3="{count, plural, one{Oblate} other{Oblaten}}",_3="homöopathische Verdünnung (dezimal 1/10)",w3="anzahl der antitachykardie-stimulationsbehandlungen",x3="Kumulativer sap wert",Sie={"%":gL,amp:vL,bag:bL,box:yL,fl:_L,"g/dl":wL,gm:xL,kg:EL,"kg/m2":SL,l:kL,lb:CL,mcg:DL,mcl:IL,meq:TL,mg:RL,"mg/dl":NL,"mg/l":OL,"mg/m2":ML,"mg/ml":AL,ml:PL,"ml/min":LL,mol:FL,oz:jL,ppm:VL,degree:zL,"1000/mm3":BL,cmm:HL,day:qL,spoon:$L,week:UL,month:GL,dis:WL,fld:ZL,flo:YL,ftc:KL,fts:QL,minute:XL,mm:JL,"mm/h":eF,mmhg:tF,second:nF,millisecond:aF,hour:rF,goutte:iF,ctg:oF,gal:sF,mcm:lF,ondemand:uF,mgper100ml:cF,spr:dF,vil:hF,syr:pF,tpn:mF,tub:fF,pg:gF,ns:vF,sup:bF,tab:yF,tbl:_F,tes:wF,unt:xF,tsp:EF,ton:SF,"%vv":kF,"%wv":CF,"%ww":DF,bitperminute:IF,bol:TF,bot:RF,can:NF,cap:OF,cc:MF,cm:AF,ctr:PF,gr:LF,in:FF,inc:jF,jar:VF,kit:zF,mcn:BF,mic:HF,mil:qF,min:$F,mmo:UF,nl:GF,pel:WF,pkg:ZF,pt:YF,qs:KF,qt:QF,sqc:XF,umg:JF,ydl:e3,yds:t3,"ml/min/1.73m2":n3,shock:a3,loz:r3,tro:i3,daily:o3,c:s3,cnt:l3,drm:u3,lm:c3,mis:d3,nmg:h3,nmo:p3,pnu:m3,sat:f3,stp:g3,trc:v3,vpr:b3,waf:y3,x:_3,atptreatment:w3,sap:x3},E3={};de(E3,{"%":()=>S3,"%vv":()=>k3,"%wv":()=>C3,"%ww":()=>D3,"1000/mm3":()=>I3,amp:()=>T3,atptreatment:()=>R3,bag:()=>N3,bitperminute:()=>O3,bol:()=>M3,bot:()=>A3,box:()=>P3,c:()=>L3,can:()=>F3,cap:()=>j3,cc:()=>V3,cm:()=>z3,cmm:()=>B3,cnt:()=>H3,ctg:()=>q3,ctr:()=>$3,daily:()=>U3,day:()=>G3,default:()=>kie,degree:()=>W3,dis:()=>Z3,drm:()=>Y3,fl:()=>K3,fld:()=>Q3,flo:()=>X3,ftc:()=>J3,fts:()=>e5,"g/dl":()=>t5,gal:()=>n5,gm:()=>a5,goutte:()=>r5,gr:()=>i5,hour:()=>o5,in:()=>s5,inc:()=>l5,jar:()=>u5,kg:()=>c5,"kg/m2":()=>d5,kit:()=>h5,l:()=>p5,lb:()=>m5,lm:()=>f5,loz:()=>g5,mcg:()=>v5,mcl:()=>b5,mcm:()=>y5,mcn:()=>_5,meq:()=>w5,mg:()=>x5,"mg/dl":()=>E5,"mg/l":()=>S5,"mg/m2":()=>k5,"mg/ml":()=>C5,mgper100ml:()=>D5,mic:()=>I5,mil:()=>T5,millisecond:()=>R5,min:()=>N5,minute:()=>O5,mis:()=>M5,ml:()=>A5,"ml/min":()=>P5,"ml/min/1.73m2":()=>L5,mm:()=>F5,"mm/h":()=>j5,mmhg:()=>V5,mmo:()=>z5,mol:()=>B5,month:()=>H5,nl:()=>q5,nmg:()=>$5,nmo:()=>U5,ns:()=>G5,ondemand:()=>W5,oz:()=>Z5,pel:()=>Y5,pg:()=>K5,pkg:()=>Q5,pnu:()=>X5,ppm:()=>J5,pt:()=>ej,qs:()=>tj,qt:()=>Rj,sap:()=>nj,sat:()=>aj,second:()=>rj,shock:()=>ij,spoon:()=>oj,spr:()=>sj,sqc:()=>lj,stp:()=>uj,sup:()=>cj,syr:()=>dj,tab:()=>hj,tbl:()=>pj,tes:()=>mj,ton:()=>fj,tpn:()=>gj,trc:()=>vj,tro:()=>bj,tsp:()=>yj,tub:()=>_j,umg:()=>wj,unt:()=>xj,vil:()=>Ej,vpr:()=>Sj,waf:()=>kj,week:()=>Cj,x:()=>Dj,ydl:()=>Ij,yds:()=>Tj});var S3="%",k3="% v/v",C3="% w/v",D3="% w/w",I3="1000/mm³",T3="{count, plural, one{ampule} other{ampules}}",R3="Number of treatments by anti-tachycardia pacing",N3="{count, plural, one{bag} other{bags}}",O3="{count, plural, one{bit per minute} other{bits per minute}}",M3="bolus",A3="{count, plural, one{bottle} other{bottles}}",P3="{count, plural, one{box} other{boxes}}",L3="homeopathic dilution (centesimal 1/100)",F3="{count, plural, one{can} other{cans}}",j3="{count, plural, one{capsule} other{capsules}}",V3="cm³",z3="cm",B3="mm³",H3="cnt",q3="{count, plural, one{cartridge} other{cartridges}}",$3="{count, plural, one{container} other{containers}}",U3="daily",G3="{count, plural, one{day} other{days}}",W3="°",Z3="{count, plural, one{disk} other{disks}}",Y3="drum",K3="{count, plural, one{fluid} other{fluids}}",Q3="fl dr",X3="{count, plural, one{fluid ounce} other{fluid ounces}}",J3="cu ft",e5="sq ft",t5="g/dl",n5="{count, plural, one{gallon} other{gallons}}",a5="g",r5="{count, plural, one{drop} other{drops}}",i5="{count, plural, one{grain} other{grains}}",o5="{count, plural, one{hour} other{hours}}",s5="{count, plural, one{inch} other{inches}}",l5="in²",u5="{count, plural, one{jar} other{jars}}",c5="kg",d5="kg/m²",h5="kit",p5="{count, plural, one{liter} other{liters}}",m5="{count, plural, one{pound} other{pounds}}",f5="homeopathic dilution (fifty millesimal 1/50,000)",g5="{count, plural, one{lozenge} other{lozenges}}",v5="µg",b5="µl",y5="mmol",_5="micron",w5="milliequivalent",x5="mg",E5="mg/dl",S5="mg/l",k5="mg/m²",C5="mg/ml",D5="mg/100mL",I5="µCi",T5="mCi",R5="{count, plural, one{millisecond} other{milliseconds}}",N5="minim",O5="{count, plural, one{minute} other{minutes}}",M5="miscellaneous",A5="{count, plural, one{milliliter} other{milliliters}}",P5="ml/min",L5="mL/min/1.73m²",F5="mm",j5="mm/h",V5="mmHg",z5="μmol",B5="mol",H5="{count, plural, one{month} other{months}}",q5="normal",$5="ng",U5="nmol",G5="not stated",W5="on demand",Z5="{count, plural, one{ounce} other{ounces}}",Y5="{count, plural, one{pellet} other{pellets}}",K5="pg",Q5="{count, plural, one{package} other{packages}}",X5="{count, plural, one{protein unit} other{protein unit}}",J5="ppm",ej="{count, plural, one{pint} other{pints}}",tj="quantity sufficient",nj="Cumulative sap value",aj="saturated",rj="{count, plural, one{second} other{seconds}}",ij="shock",oj="{count, plural, one{spoon} other{spoons}}",sj="{count, plural, one{spray} other{sprays}}",lj="cm²",uj="{count, plural, one{strip} other{strips}}",cj="{count, plural, one{suppository} other{suppositories}}",dj="{count, plural, one{syrynge} other{syrynges}}",hj="{count, plural, one{tablet} other{tablets}}",pj="{count, plural, one{tablespoon} other{tablespoons}}",mj="{count, plural, one{test} other{tests}}",fj="{count, plural, one{ton} other{tons}}",gj="{count, plural, one{tampon} other{tampons}}",vj="{count, plural, one{trace} other{traces}}",bj="{count, plural, one{troche} other{troches}}",yj="{count, plural, one{teaspoon} other{teaspoons}}",_j="{count, plural, one{tube} other{tubes}}",wj="UNITS PER MILLIGRAM",xj="{count, plural, one{unit} other{units}}",Ej="{count, plural, one{vial} other{vials}}",Sj="varies per regimen",kj="{count, plural, one{wafer} other{wafers}}",Cj="{count, plural, one{week} other{weeks}}",Dj="homeopathic dilution (decimal 1/10)",Ij="yd",Tj="yd²",Rj="qt",kie={"%":S3,"%vv":k3,"%wv":C3,"%ww":D3,"1000/mm3":I3,amp:T3,atptreatment:R3,bag:N3,bitperminute:O3,bol:M3,bot:A3,box:P3,c:L3,can:F3,cap:j3,cc:V3,cm:z3,cmm:B3,cnt:H3,ctg:q3,ctr:$3,daily:U3,day:G3,degree:W3,dis:Z3,drm:Y3,fl:K3,fld:Q3,flo:X3,ftc:J3,fts:e5,"g/dl":t5,gal:n5,gm:a5,goutte:r5,gr:i5,hour:o5,in:s5,inc:l5,jar:u5,kg:c5,"kg/m2":d5,kit:h5,l:p5,lb:m5,lm:f5,loz:g5,mcg:v5,mcl:b5,mcm:y5,mcn:_5,meq:w5,mg:x5,"mg/dl":E5,"mg/l":S5,"mg/m2":k5,"mg/ml":C5,mgper100ml:D5,mic:I5,mil:T5,millisecond:R5,min:N5,minute:O5,mis:M5,ml:A5,"ml/min":P5,"ml/min/1.73m2":L5,mm:F5,"mm/h":j5,mmhg:V5,mmo:z5,mol:B5,month:H5,nl:q5,nmg:$5,nmo:U5,ns:G5,ondemand:W5,oz:Z5,pel:Y5,pg:K5,pkg:Q5,pnu:X5,ppm:J5,pt:ej,qs:tj,sap:nj,sat:aj,second:rj,shock:ij,spoon:oj,spr:sj,sqc:lj,stp:uj,sup:cj,syr:dj,tab:hj,tbl:pj,tes:mj,ton:fj,tpn:gj,trc:vj,tro:bj,tsp:yj,tub:_j,umg:wj,unt:xj,vil:Ej,vpr:Sj,waf:kj,week:Cj,x:Dj,ydl:Ij,yds:Tj,qt:Rj},Nj={};de(Nj,{"%":()=>Oj,"%vv":()=>BV,"%wv":()=>HV,"%ww":()=>qV,"1000/mm3":()=>aV,amp:()=>Mj,atptreatment:()=>Fz,bag:()=>Aj,bitperminute:()=>$V,bol:()=>UV,bot:()=>GV,box:()=>Pj,c:()=>Ez,can:()=>WV,cap:()=>ZV,cc:()=>YV,cm:()=>KV,cmm:()=>rV,cnt:()=>Sz,ctg:()=>xV,ctr:()=>QV,daily:()=>xz,day:()=>iV,default:()=>Cie,degree:()=>nV,dis:()=>uV,drm:()=>kz,fl:()=>Lj,fld:()=>cV,flo:()=>dV,ftc:()=>hV,fts:()=>pV,"g/dl":()=>Fj,gal:()=>EV,gm:()=>jj,goutte:()=>wV,gr:()=>XV,hour:()=>_V,in:()=>JV,inc:()=>ez,jar:()=>tz,kg:()=>Vj,"kg/m2":()=>zj,kit:()=>nz,l:()=>Bj,lb:()=>Hj,lm:()=>Cz,loz:()=>_z,mcg:()=>qj,mcl:()=>$j,mcm:()=>SV,mcn:()=>az,meq:()=>Uj,mg:()=>Gj,"mg/dl":()=>Wj,"mg/l":()=>Zj,"mg/m2":()=>Yj,"mg/ml":()=>Kj,mgper100ml:()=>CV,mic:()=>rz,mil:()=>iz,millisecond:()=>yV,min:()=>oz,minute:()=>mV,mis:()=>Dz,ml:()=>Qj,"ml/min":()=>Xj,"ml/min/1.73m2":()=>bz,mm:()=>fV,"mm/h":()=>gV,mmhg:()=>vV,mmo:()=>sz,mol:()=>Jj,month:()=>lV,nl:()=>lz,nmg:()=>Iz,nmo:()=>Tz,ns:()=>MV,ondemand:()=>kV,oz:()=>eV,pel:()=>uz,pg:()=>OV,pkg:()=>cz,pnu:()=>Rz,ppm:()=>tV,pt:()=>dz,qs:()=>hz,qt:()=>pz,sap:()=>jz,sat:()=>Nz,second:()=>bV,shock:()=>yz,spoon:()=>oV,spr:()=>DV,sqc:()=>mz,stp:()=>Oz,sup:()=>AV,syr:()=>TV,tab:()=>PV,tbl:()=>LV,tes:()=>FV,ton:()=>zV,tpn:()=>RV,trc:()=>Mz,tro:()=>wz,tsp:()=>VV,tub:()=>NV,umg:()=>fz,unt:()=>jV,vil:()=>IV,vpr:()=>Az,waf:()=>Pz,week:()=>sV,x:()=>Lz,ydl:()=>gz,yds:()=>vz});var Oj="%",Mj="{count, plural, one{ampoule} other{ampoules}}",Aj="{count, plural, one{sac} other{sacs}}",Pj="{count, plural, one{vaporisateur} other{vaporisateurs}}",Lj="fl",Fj="g/dl",jj="g",Vj="kg",zj="kg/m²",Bj="l",Hj="lb",qj="µg",$j="µl",Uj="milli-equivalent",Gj="mg",Wj="mg/dl",Zj="mg/l",Yj="mg/m²",Kj="mg/ml",Qj="ml",Xj="ml/min",Jj="mol",eV="oz",tV="ppm",nV="°",aV="1000/mm³",rV="mm³",iV="{count, plural, one{jour(s)} other{jours}}",oV="{count, plural, one{cuillère} other{cuillères}}",sV="{count, plural, one{semaine} other{semaines}}",lV="mois",uV="{count, plural, one{disque} other{disques}}",cV="fl dr",dV="fl oz",hV="cu ft",pV="sq ft",mV="{count, plural, one{minute} other{minutes}}",fV="mm",gV="mm/h",vV="mmHg",bV="{count, plural, one{seconde} other{secondes}}",yV="{count, plural, one{milliseconde} other{millisecondes}}",_V="{count, plural, one{heure} other{heures}}",wV="{count, plural, one{goutte} other{gouttes}}",xV="{count, plural, one{cartouche} other{cartouches}}",EV="gal",SV="mmol",kV="sur demande",CV="mg/100mL",DV="spray",IV="{count, plural, one{fiole} other{fioles}}",TV="{count, plural, one{seringue} other{seringues}}",RV="{count, plural, one{tampon} other{tampons}}",NV="{count, plural, one{tube} other{tubes}}",OV="pg",MV="non spécifié",AV="{count, plural, one{suppositoire} other{suppositoires}}",PV="{count, plural, one{tablette} other{tablettes}}",LV="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",FV="{count, plural, one{test} other{tests}}",jV="{count, plural, one{unité} other{unités}}",VV="{count, plural, one{cuillère à café} other{cuillères à café}}",zV="{count, plural, one{ton} other{tons}}",BV="% v/v",HV="% w/v",qV="% w/w",$V="{count, plural, one{battement par minute} other{battements par minute}}",UV="{count, plural, one{bolus} other{bolus}}",GV="{count, plural, one{bouteille} other{bouteilles}}",WV="{count, plural, one{canette} other{canettes}}",ZV="{count, plural, one{capsule} other{capsules}}",YV="cm3",KV="cm",QV="{count, plural, one{conteneur} other{conteneurs}}",XV="{count, plural, one{granule} other{granules}}",JV="in",ez="in²",tz="pot",nz="{count, plural, one{kit} other{kits}}",az="micron",rz="µCi",iz="mCi",oz="minim",sz="μmol",lz="normal",uz="{count, plural, one{pilule} other{pilules}}",cz="{count, plural, one{paquet} other{paquets}}",dz="pinte",hz="quantité suffisante",pz="qt",mz="cm²",fz="{count, plural, one{unité / mg} other{unités / mg}}",gz="yd",vz="yd²",bz="mL/min/1.73m²",yz="choc",_z="{count, plural, one{pastille} other{pastilles}}",wz="{count, plural, one{pastille} other{pastilles}}",xz="journalier",Ez="dilution homéopathique (centésimal 1/100)",Sz="cnt",kz="fût",Cz="dilution homéopathique (50 millisimaux au ratio 1:50,000)",Dz="divers",Iz="ng",Tz="nmol",Rz="{count, plural, one{unité protéique} other{unités protéiques}}",Nz="saturé",Oz="strip",Mz="trace",Az="dépendant du schéma thérapeutique",Pz="{count, plural, one{hostie} other{hosties}}",Lz="dilution homéopathique (décimal 1/10)",Fz="{count, plural, one{Nombre de traitements par stimulation antitachycardique} other{Nombres de traitements par stimulation antitachycardique}}",jz="Valeur sap cumulative",Cie={"%":Oj,amp:Mj,bag:Aj,box:Pj,fl:Lj,"g/dl":Fj,gm:jj,kg:Vj,"kg/m2":zj,l:Bj,lb:Hj,mcg:qj,mcl:$j,meq:Uj,mg:Gj,"mg/dl":Wj,"mg/l":Zj,"mg/m2":Yj,"mg/ml":Kj,ml:Qj,"ml/min":Xj,mol:Jj,oz:eV,ppm:tV,degree:nV,"1000/mm3":aV,cmm:rV,day:iV,spoon:oV,week:sV,month:lV,dis:uV,fld:cV,flo:dV,ftc:hV,fts:pV,minute:mV,mm:fV,"mm/h":gV,mmhg:vV,second:bV,millisecond:yV,hour:_V,goutte:wV,ctg:xV,gal:EV,mcm:SV,ondemand:kV,mgper100ml:CV,spr:DV,vil:IV,syr:TV,tpn:RV,tub:NV,pg:OV,ns:MV,sup:AV,tab:PV,tbl:LV,tes:FV,unt:jV,tsp:VV,ton:zV,"%vv":BV,"%wv":HV,"%ww":qV,bitperminute:$V,bol:UV,bot:GV,can:WV,cap:ZV,cc:YV,cm:KV,ctr:QV,gr:XV,in:JV,inc:ez,jar:tz,kit:nz,mcn:az,mic:rz,mil:iz,min:oz,mmo:sz,nl:lz,pel:uz,pkg:cz,pt:dz,qs:hz,qt:pz,sqc:mz,umg:fz,ydl:gz,yds:vz,"ml/min/1.73m2":bz,shock:yz,loz:_z,tro:wz,daily:xz,c:Ez,cnt:Sz,drm:kz,lm:Cz,mis:Dz,nmg:Iz,nmo:Tz,pnu:Rz,sat:Nz,stp:Oz,trc:Mz,vpr:Az,waf:Pz,x:Lz,atptreatment:Fz,sap:jz},Vz={};de(Vz,{"%":()=>zz,"%vv":()=>YB,"%wv":()=>KB,"%ww":()=>QB,"1000/mm3":()=>dB,amp:()=>Bz,atptreatment:()=>U4,bag:()=>Hz,bitperminute:()=>XB,bol:()=>JB,bot:()=>e4,box:()=>qz,c:()=>N4,can:()=>t4,cap:()=>n4,cc:()=>a4,cm:()=>r4,cmm:()=>hB,cnt:()=>O4,ctg:()=>RB,ctr:()=>i4,daily:()=>R4,day:()=>pB,default:()=>Die,degree:()=>cB,dis:()=>vB,drm:()=>M4,fl:()=>$z,fld:()=>bB,flo:()=>yB,ftc:()=>_B,fts:()=>wB,"g/dl":()=>Uz,gal:()=>NB,gm:()=>Gz,goutte:()=>TB,gr:()=>o4,hour:()=>IB,in:()=>s4,inc:()=>l4,jar:()=>u4,kg:()=>Wz,"kg/m2":()=>Zz,kit:()=>c4,l:()=>Yz,lb:()=>Kz,lm:()=>A4,loz:()=>I4,mcg:()=>Qz,mcl:()=>Xz,mcm:()=>OB,mcn:()=>d4,meq:()=>Jz,mg:()=>eB,"mg/dl":()=>tB,"mg/l":()=>nB,"mg/m2":()=>aB,"mg/ml":()=>rB,mgper100ml:()=>AB,mic:()=>h4,mil:()=>p4,millisecond:()=>DB,min:()=>m4,minute:()=>xB,mis:()=>P4,ml:()=>iB,"ml/min":()=>oB,"ml/min/1.73m2":()=>C4,mm:()=>EB,"mm/h":()=>SB,mmhg:()=>kB,mmo:()=>f4,mol:()=>sB,month:()=>gB,nl:()=>g4,nmg:()=>L4,nmo:()=>F4,ns:()=>BB,ondemand:()=>MB,oz:()=>lB,pel:()=>v4,pg:()=>zB,pkg:()=>b4,pnu:()=>j4,ppm:()=>uB,pt:()=>y4,qs:()=>_4,qt:()=>w4,sap:()=>G4,sat:()=>V4,second:()=>CB,shock:()=>D4,spoon:()=>mB,spr:()=>PB,sqc:()=>x4,stp:()=>z4,sup:()=>HB,syr:()=>FB,tab:()=>qB,tbl:()=>$B,tes:()=>UB,ton:()=>ZB,tpn:()=>jB,trc:()=>B4,tro:()=>T4,tsp:()=>WB,tub:()=>VB,umg:()=>E4,unt:()=>GB,vil:()=>LB,vpr:()=>H4,waf:()=>q4,week:()=>fB,x:()=>$4,ydl:()=>S4,yds:()=>k4});var zz="%",Bz="{count, plural, one{ampule} other{ampullen}}",Hz="{count, plural, one{zak} other{zakken}}",qz="{count, plural, one{verstuiver} other{verstuivers}}",$z="fl",Uz="g/dl",Gz="g",Wz="kg",Zz="kg/m²",Yz="l",Kz="lb",Qz="µg",Xz="µl",Jz="{count, plural, one{milli-equivalent} other{milli-equivalenten}}",eB="mg",tB="mg/dl",nB="mg/l",aB="mg/m²",rB="mg/ml",iB="ml",oB="ml/min",sB="mol",lB="oz",uB="ppm",cB="°",dB="1000/mm³",hB="mm³",pB="{count, plural, one{dag} other{dagen}}",mB="{count, plural, one{lepel} other{lepels}}",fB="{count, plural, one{week} other{weken}}",gB="{count, plural, one{maand} other{maanden}}",vB="{count, plural, one{schijf} other{schijven}}",bB="fl dr",yB="fl oz",_B="cu ft",wB="sq ft",xB="{count, plural, one{minuut} other{minuten}}",EB="mm",SB="mm/h",kB="mmHg",CB="{count, plural, one{seconde} other{seconden}}",DB="{count, plural, one{milliseconde} other{milliseconden}}",IB="{count, plural, one{uur} other{uren}}",TB="{count, plural, one{druppel} other{druppels}}",RB="{count, plural, one{patroon} other{patronen}}",NB="gal",OB="mmol",MB="op aanvraag",AB="mg/100mL",PB="{count, plural, one{spray} other{sprays}}",LB="{count, plural, one{flesje} other{flesjes}}",FB="{count, plural, one{spuit} other{spuiten}}",jB="{count, plural, one{tampon} other{tampons}}",VB="{count, plural, one{buis} other{buizen}}",zB="pg",BB="niet gespecificeerd",HB="{count, plural, one{zetpil} other{zetpillen}}",qB="{count, plural, one{tablet} other{tabletten}}",$B="{count, plural, one{eetlepel} other{eetlepels}}",UB="{count, plural, one{test} other{tests}}",GB="{count, plural, one{eenheid} other{eenheden}}",WB="{count, plural, one{theelepel} other{theelepels}}",ZB="{count, plural, one{ton} other{tonnen}}",YB="% v/v",KB="% w/v",QB="% w/w",XB="{count, plural, one{slag per minuut} other{slagen per minuut}}",JB="bolus",e4="{count, plural, one{fles} other{flessen}}",t4="{count, plural, one{blikje} other{blikjes}}",n4="{count, plural, one{capsule} other{capsules}}",a4="cm3",r4="cm",i4="{count, plural, one{houder} other{houders}}",o4="{count, plural, one{korrel} other{korrels}}",s4="in",l4="in²",u4="{count, plural, one{pot} other{potten}}",c4="{count, plural, one{kit} other{kits}}",d4="micron",h4="µCi",p4="mCi",m4="minim",f4="μmol",g4="normaal",v4="{count, plural, one{pil} other{pillen}}",b4="{count, plural, one{pakket} other{pakketten}}",y4="{count, plural, one{pint} other{pinten}}",_4="voldoende hoeveelheid",w4="qt",x4="cm²",E4="{count, plural, one{eenheid / mg} other{eenheden / mg}}",S4="yd",k4="yd²",C4="mL/min/1.73m²",D4="{count, plural, one{schok} other{schokken}}",I4="{count, plural, one{zuigtablet} other{zuigtabletten}}",T4="{count, plural, one{zuigtablet} other{zuigtabletten}}",R4="dagelijks",N4="homeopathische verdunning (centesimal 1/100)",O4="cnt",M4="vat",A4="homeopathische verdunning (50 millesimal in verhouding 1:50,000)",P4="diverse",L4="ng",F4="nmol",j4="{count, plural, one{eiwiteenheid} other{eiwiteenheden}}",V4="verzadigd",z4="{count, plural, one{strip} other{strips}}",B4="{count, plural, one{spoor} other{sporen}}",H4="behandelingsschema-afhankelijk",q4="{count, plural, one{ouwel} other{ouwels}}",$4="homeopathische verdunning (decimaal 1/10)",U4="aantal anti-tachycardie-stimulatiebehandelingen",G4="Cumulatieve sap waarde",Die={"%":zz,amp:Bz,bag:Hz,box:qz,fl:$z,"g/dl":Uz,gm:Gz,kg:Wz,"kg/m2":Zz,l:Yz,lb:Kz,mcg:Qz,mcl:Xz,meq:Jz,mg:eB,"mg/dl":tB,"mg/l":nB,"mg/m2":aB,"mg/ml":rB,ml:iB,"ml/min":oB,mol:sB,oz:lB,ppm:uB,degree:cB,"1000/mm3":dB,cmm:hB,day:pB,spoon:mB,week:fB,month:gB,dis:vB,fld:bB,flo:yB,ftc:_B,fts:wB,minute:xB,mm:EB,"mm/h":SB,mmhg:kB,second:CB,millisecond:DB,hour:IB,goutte:TB,ctg:RB,gal:NB,mcm:OB,ondemand:MB,mgper100ml:AB,spr:PB,vil:LB,syr:FB,tpn:jB,tub:VB,pg:zB,ns:BB,sup:HB,tab:qB,tbl:$B,tes:UB,unt:GB,tsp:WB,ton:ZB,"%vv":YB,"%wv":KB,"%ww":QB,bitperminute:XB,bol:JB,bot:e4,can:t4,cap:n4,cc:a4,cm:r4,ctr:i4,gr:o4,in:s4,inc:l4,jar:u4,kit:c4,mcn:d4,mic:h4,mil:p4,min:m4,mmo:f4,nl:g4,pel:v4,pkg:b4,pt:y4,qs:_4,qt:w4,sqc:x4,umg:E4,ydl:S4,yds:k4,"ml/min/1.73m2":C4,shock:D4,loz:I4,tro:T4,daily:R4,c:N4,cnt:O4,drm:M4,lm:A4,mis:P4,nmg:L4,nmo:F4,pnu:j4,sat:V4,stp:z4,trc:B4,vpr:H4,waf:q4,x:$4,atptreatment:U4,sap:G4},Iie={nl:Vz,fr:Nj,de:fL,en:E3},W4={};de(W4,{default:()=>Tie,header:()=>Z4,patient:()=>Y4,professional:()=>K4});var Z4="Ausgegebene Medikamente?",Y4={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."}},K4={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."}},Tie={header:Z4,patient:Y4,professional:K4},Q4={};de(Q4,{default:()=>Rie,header:()=>X4,patient:()=>J4,professional:()=>e7});var X4="How to interpret the list?",J4={part1:{1:"It is possible that the list",2:"is incomplete",3:": this may happen if the pharmacist did not register the medication in your name at the time of dispensing."},part2:{1:"The list may contain medications",2:"not intended for you.",3:"This can occur if you collect your medication together with medication for someone else at the same time."},part3:{1:"If in doubt, always consult your doctor or pharmacist. This information is provided",2:"for informational purposes and is not a substitute for professional medical advice."}},e7={part1:{1:"It is possible that the list",2:"is incomplete",3:": this may happen if the pharmacist did not register the medication in your name at the time of dispensing."},part2:{1:"The list may contain medications",2:"not intended for you.",3:"This can occur if you collect your medication together with medication for someone else at the same time."}},Rie={header:X4,patient:J4,professional:e7},t7={};de(t7,{default:()=>Nie,header:()=>n7,patient:()=>a7,professional:()=>r7});var n7="Comment interpréter la liste?",a7={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."}},r7={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)."}},Nie={header:n7,patient:a7,professional:r7},i7={};de(i7,{default:()=>Oie,header:()=>o7,patient:()=>s7,professional:()=>l7});var o7="Hoe de lijst interpreteren?",s7={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."}},l7={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)."}},Oie={header:o7,patient:s7,professional:l7},Mie={nl:i7,fr:t7,de:W4,en:Q4},u7={};de(u7,{default:()=>Aie,headers:()=>c7,magisterialPreparation:()=>d7,noContent:()=>h7});var c7={deliveredOn:"Ausgestellt am",medicationName:"Medikation",quantity:"Menge",patient:"Patient",leaflet:"Packungsbeilage"},d7="Verschreibungurarzneimittel",h7="Bei diesem Patienten wurden keine abgegebenen Medikamente wiedergefunden.",Aie={headers:c7,magisterialPreparation:d7,noContent:h7},p7={};de(p7,{default:()=>Pie,headers:()=>m7,magisterialPreparation:()=>f7,noContent:()=>g7});var m7={deliveredOn:"Delivered on",medicationName:"Medication",quantity:"Quantity",patient:"Patient",leaflet:"Leaflet"},f7="Magistral preparation",g7="There is no delivered medication found for this patient.",Pie={headers:m7,magisterialPreparation:f7,noContent:g7},v7={};de(v7,{default:()=>Lie,headers:()=>b7,magisterialPreparation:()=>y7,noContent:()=>_7});var b7={deliveredOn:"Délivré le",medicationName:"Médicament(s)",quantity:"Quantité",patient:"Patient",leaflet:"Leaflet"},y7="Préparation magistrale",_7="Aucun médicament délivré n'a été retrouvé pour ce patient.",Lie={headers:b7,magisterialPreparation:y7,noContent:_7},w7={};de(w7,{default:()=>Fie,headers:()=>x7,magisterialPreparation:()=>E7,noContent:()=>S7});var x7={deliveredOn:"Afgeleverd op",medicationName:"Geneesmiddel(en)",quantity:"Hoeveelheid",patient:"Patiënt",leaflet:"Bijsluiter"},E7="Magistrale bereiding",S7="Er zijn geen afgeleverde geneesmiddelen teruggevonden voor deze patiënt.",Fie={headers:x7,magisterialPreparation:E7,noContent:S7},jie={nl:w7,fr:v7,de:u7,en:p7},k7={};de(k7,{composition:()=>C7,default:()=>Vie,"delivered-by":()=>O7,"delivery-date":()=>N7,dguid:()=>I7,"is-prescribed":()=>T7,leaflet:()=>V7,"magisterial-preparation":()=>j7,medication:()=>B7,"no-pharmacy":()=>L7,noDetails:()=>H7,package:()=>z7,patient:()=>F7,posologie:()=>D7,quantity:()=>R7,"return-delivery-date":()=>A7,"returned-by":()=>P7,"returned-quantity":()=>M7});var C7="Zusammensetzung",D7="Dosierung",I7="ID Ausgabe",T7={title:"Wurde verschrieben",yes:"Ja",no:"Nein"},R7="Gelieferte Menge",N7="Lieferdatum",O7="Geliefert von",M7="Zurückgenommene Menge",A7="Rücknahme am",P7="Rücknahme durch",L7="Apotheke mit LIKIV-Erkennungsnummer",F7="Patient",j7="Verschreibungurarzneimittel",V7="Packungsbeilage",z7="{count, plural, one{Verpackung} other{Verpackungen}}",B7="Arzneimittel",H7="Die angeforderte verschreibung wurde gelöscht oder existiert nicht.",Vie={composition:C7,posologie:D7,dguid:I7,"is-prescribed":T7,quantity:R7,"delivery-date":N7,"delivered-by":O7,"returned-quantity":M7,"return-delivery-date":A7,"returned-by":P7,"no-pharmacy":L7,patient:F7,"magisterial-preparation":j7,leaflet:V7,package:z7,medication:B7,noDetails:H7},q7={};de(q7,{composition:()=>$7,default:()=>zie,"delivered-by":()=>U7,"delivery-date":()=>G7,dguid:()=>W7,"is-prescribed":()=>Z7,leaflet:()=>Y7,"magisterial-preparation":()=>K7,medication:()=>Q7,"no-pharmacy":()=>X7,noDetails:()=>J7,package:()=>eH,patient:()=>tH,posologie:()=>nH,quantity:()=>aH,"return-delivery-date":()=>oH,"returned-by":()=>sH,"returned-quantity":()=>iH,title:()=>rH});var $7="Composition",U7="Dispensed by",G7="Date dispensed",W7="Dispensing ID",Z7={no:"No",title:"Was prescribed",yes:"Yes"},Y7="Package leaflet",K7="Compounded preparation",Q7="Medication",X7="Pharmacy with NIHDI number",J7="The requested information has been deleted or doesn't exist.",eH="{count, plural, one{package} other{packages}}",tH="Patient",nH="Dosage",aH="Dispensed quality",rH="Detail of the dispensed medication",iH="Returned quantity",oH="Return on",sH="Return by",zie={composition:$7,"delivered-by":U7,"delivery-date":G7,dguid:W7,"is-prescribed":Z7,leaflet:Y7,"magisterial-preparation":K7,medication:Q7,"no-pharmacy":X7,noDetails:J7,package:eH,patient:tH,posologie:nH,quantity:aH,title:rH,"returned-quantity":iH,"return-delivery-date":oH,"returned-by":sH},lH={};de(lH,{composition:()=>uH,default:()=>Bie,"delivered-by":()=>fH,"delivery-date":()=>mH,dguid:()=>dH,"is-prescribed":()=>hH,leaflet:()=>xH,"magisterial-preparation":()=>wH,medication:()=>SH,"no-pharmacy":()=>yH,noDetails:()=>kH,package:()=>EH,patient:()=>_H,posologie:()=>cH,quantity:()=>pH,"return-delivery-date":()=>vH,"returned-by":()=>bH,"returned-quantity":()=>gH});var uH="Composition",cH="Posologie",dH="ID délivrance",hH={title:"A été prescrit",yes:"Oui",no:"Non"},pH="Quantité délivrée",mH="Date de délivrance",fH="Délivré par",gH="Quantité retournée",vH="Retour le",bH="Retour par",yH="Pharmacie avec numéro INAMI",_H="Patient",wH="Préparation magistrale",xH="Notice d'information",EH="{count, plural, one{emballage} other{emballages}}",SH="Médicament",kH="La prescription demandée a été supprimée ou n'existe pas.",Bie={composition:uH,posologie:cH,dguid:dH,"is-prescribed":hH,quantity:pH,"delivery-date":mH,"delivered-by":fH,"returned-quantity":gH,"return-delivery-date":vH,"returned-by":bH,"no-pharmacy":yH,patient:_H,"magisterial-preparation":wH,leaflet:xH,package:EH,medication:SH,noDetails:kH},CH={};de(CH,{composition:()=>DH,default:()=>Hie,"delivered-by":()=>MH,"delivery-date":()=>OH,dguid:()=>TH,"is-prescribed":()=>RH,leaflet:()=>zH,"magisterial-preparation":()=>VH,medication:()=>HH,"no-pharmacy":()=>FH,noDetails:()=>qH,package:()=>BH,patient:()=>jH,posologie:()=>IH,quantity:()=>NH,"return-delivery-date":()=>PH,"returned-by":()=>LH,"returned-quantity":()=>AH});var DH="Samenstelling",IH="Posologie",TH="ID aflevering",RH={title:"Werd voorgeschreven",yes:"Ja",no:"Nee"},NH="Afgeleverde hoeveelheid",OH="Datum afgeleverd",MH="Afgeleverd door",AH="Teruggenomen hoeveelheid",PH="Terugname op",LH="Terugname door",FH="Apotheek met RIZIV-nummer",jH="Patiënt",VH="Magistrale bereiding",zH="Bijsluiter",BH="{count, plural, one{verpakking} other{verpakkingen}}",HH="Geneesmiddel(en)",qH="Het gevraagde voorschrift is verwijderd of bestaat niet.",Hie={composition:DH,posologie:IH,dguid:TH,"is-prescribed":RH,quantity:NH,"delivery-date":OH,"delivered-by":MH,"returned-quantity":AH,"return-delivery-date":PH,"returned-by":LH,"no-pharmacy":FH,patient:jH,"magisterial-preparation":VH,leaflet:zH,package:BH,medication:HH,noDetails:qH},qie={nl:CH,fr:lH,de:k7,en:q7},$ie=class extends gs{getTranslation(e){return et({commons:Yt(ue({},lie[e]),{units:Iie[e],galenicFormCodes:aie[e],timeUnits:Eie[e],administrationUnits:Hre[e],periods:pie[e],days:Wre[e],posology:bie[e],errors:Xre[e]}),deliveredMedicationsList:jie[e],deliveredMedicationsDisclaimer:Mie[e],deliveredMedicationDetails:qie[e]})}},Uie=[Nre,oX({defaultLanguage:"fr",loader:{provide:gs,useClass:$ie},compiler:{provide:bs,useClass:Pre}})];function ih(e){return(e==null?void 0:e.medication)!=null}var Gie=(()=>{const t=class t{transform(n){return ih(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=va({name:"canDisplayDeliveredMedication",type:t,pure:!0});let e=t;return e})(),$H=(()=>{const t=class t{constructor(){this.http=S(Ji)}get(n){return this.http.post("/v2/deliveredMedications/findAll",{ssin:n})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Wie={items:[{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000551",name:[{lang:h.FR,value:"Pharmacie Sans Soucis"}]},medication:{identifier:{value:"0589028",type:er.COMPOUND},name:[{value:"ERYTHROMYCINE SOL. HYDRO-ALC. 4% FTM2"}],quantity:{value:1},instructions:[{lang:h.FR,value:"magistralPreparation - formularyReference"}]},deliveryDate:"2025-04-09T13:23:03+02:00",dguid:"5d5b8138-4941-8359-de2f-77d560f6f0ef",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[{texts:[{lang:h.EN,value:"Posology free text"},{lang:h.EN,value:"Posology free text"}]}],isPrescribed:!0},{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000551",name:[{lang:h.FR,value:"Pharmacie Sans Soucis"}]},medication:{quantity:{value:1},ingredients:[{identifier:{value:"1543305",type:er.CNK},name:[{value:"ATROVENT MONODOSE 0,25MG/2ML VIALS 20"}],prefix:"ad",value:10,unit:"ml"},{identifier:{value:"1484229",type:er.CNK},name:[{value:"Panadol 1 g comp. 50"}]},{identifier:{value:"0525337",type:er.CNK},name:[{value:"GLYCEROL"}],value:.2,unit:"gm"}],instructions:[{lang:h.FR,value:"magistralPreparation - compound (all cases)"}]},deliveryDate:"2025-04-09T13:23:03+02:00",dguid:"5715ad8c-d6ab-27b4-83f5-44ca67d5d00a",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[],isPrescribed:!0},{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000552",name:[{lang:h.FR,value:"Pharmacie du Soleil"}]},medication:{identifier:{value:"1727395",type:er.CNK},name:[{lang:h.NL,value:"SINUTAB FORTE 500/60 MG COMP 20"},{lang:h.FR,value:"SINUTAB FORTE 500/60 MG COMP 20"},{value:"SINUTAB FORTE 500/60 MG COMP 20"}],quantity:{value:2},instructions:[{lang:h.FR,value:"productCode"}]},deliveryDate:"2025-04-09T13:23:03+02:00",dguid:"fcec9f35-9d46-995f-e74d-629de7ab40b3",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[{texts:[{lang:h.FR,value:"Posology free text"}]}],isPrescribed:!0},{person:{ssin:"00000000097 ",name:"John Doe"},pharmacy:{nihdi:"80000551",name:[{lang:h.FR,value:"Pharmacie Sans Soucis"}]},medication:{name:[{value:"unregisteredProduct"}],quantity:{value:1},instructions:[{lang:h.FR,value:"unregisteredProduct"}]},deliveryDate:"2025-04-09T13:23:03+02:00",dguid:"28a8545b-7e79-4669-1956-67266e46b225",sguid:"85facbfb-5f24-2b4f-4568-e671a81855a7",dosageInstructions:[{texts:[{lang:h.FR,value:"Posology free text"}]}],isPrescribed:!1}]},UH=(()=>{const t=class t{constructor(){this.demoService=S(Xae)}get(n){return this.demoService.post("/v2/deliveredMedications/findAll",Wie)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),GH=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Zie=(e,t)=>e.getEnvironmentVariable("env")===Ja.DEMO?t.get(UH):t.get($H),Yie={provide:GH,useFactory:Zie,deps:[to,ht]},Jg=(()=>{const t=class t extends _w{constructor(n,r){super(n.getServices(),Zo.DELIVERED_MEDICATIONS,r.getInstance().isOfflineAuthenticated,r.getInstance().isOfflineDataStorageEnabled,Zo.DELIVERED_MEDICATIONS),this.deliveredMedicationsApiService=S(GH),this.authServiceSelector=S(ji),this.deliveredMedicationsStateSubject$=new Ar({status:Ei.INITIAL}),this.deliveredMedicationsState$=this.deliveredMedicationsStateSubject$.asObservable()}getDataFromBackend(){return Rt(this,null,function*(){let n=yield this.authServiceSelector.getInstance().resolveSsin(),r=this.deliveredMedicationsApiService.get(n);return $$(r)})}getDeliveredMedications(n=!0){return Rt(this,null,function*(){return ere(this.getData(n),this.deliveredMedicationsStateSubject$)})}};t.ɵfac=function(n){return new(n||t)(oe(Vu),oe(ji))},t.ɵprov=z({token:t,factory:t.ɵfac});let e=t;return e})(),Qs;function Kie(){if(Qs===void 0&&(Qs=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(Qs=e.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Qs}function mo(e){var t;return((t=Kie())==null?void 0:t.createHTML(e))||e}function ev(e){return Error(`Unable to find icon with the name "${e}"`)}function Qie(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function tv(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function nv(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var Cr=class{constructor(e,t,a){s(this,"url");s(this,"svgText");s(this,"options");s(this,"svgElement");this.url=e,this.svgText=t,this.options=a}},Xie=(()=>{const t=class t{constructor(n,r,i,o){s(this,"_httpClient");s(this,"_sanitizer");s(this,"_errorHandler");s(this,"_document");s(this,"_svgIconConfigs",new Map);s(this,"_iconSetConfigs",new Map);s(this,"_cachedIconsByUrl",new Map);s(this,"_inProgressUrlFetches",new Map);s(this,"_fontCssClassesByAlias",new Map);s(this,"_resolvers",[]);s(this,"_defaultFontSetClass",["material-icons","mat-ligature-font"]);this._httpClient=n,this._sanitizer=r,this._errorHandler=o,this._document=i}addSvgIcon(n,r,i){return this.addSvgIconInNamespace("",n,r,i)}addSvgIconLiteral(n,r,i){return this.addSvgIconLiteralInNamespace("",n,r,i)}addSvgIconInNamespace(n,r,i,o){return this._addSvgIconConfig(n,r,new Cr(i,null,o))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,r,i,o){let l=this._sanitizer.sanitize(En.HTML,i);if(!l)throw nv(i);let u=mo(l);return this._addSvgIconConfig(n,r,new Cr("",u,o))}addSvgIconSet(n,r){return this.addSvgIconSetInNamespace("",n,r)}addSvgIconSetLiteral(n,r){return this.addSvgIconSetLiteralInNamespace("",n,r)}addSvgIconSetInNamespace(n,r,i){return this._addSvgIconSetConfig(n,new Cr(r,null,i))}addSvgIconSetLiteralInNamespace(n,r,i){let o=this._sanitizer.sanitize(En.HTML,r);if(!o)throw nv(r);let l=mo(o);return this._addSvgIconSetConfig(n,new Cr("",l,i))}registerFontClassAlias(n,r=n){return this._fontCssClassesByAlias.set(n,r),this}classNameForFontAlias(n){return this._fontCssClassesByAlias.get(n)||n}setDefaultFontSetClass(...n){return this._defaultFontSetClass=n,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(n){let r=this._sanitizer.sanitize(En.RESOURCE_URL,n);if(!r)throw tv(n);let i=this._cachedIconsByUrl.get(r);return i?et(Xs(i)):this._loadSvgIconFromConfig(new Cr(n,null)).pipe(Qu(o=>this._cachedIconsByUrl.set(r,o)),Pt(o=>Xs(o)))}getNamedSvgIcon(n,r=""){let i=av(r,n),o=this._svgIconConfigs.get(i);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(r,n),o)return this._svgIconConfigs.set(i,o),this._getSvgFromConfig(o);let l=this._iconSetConfigs.get(r);return l?this._getSvgFromIconSetConfigs(n,l):d0(ev(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(n){return n.svgText?et(Xs(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(Pt(r=>Xs(r)))}_getSvgFromIconSetConfigs(n,r){let i=this._extractIconWithNameFromAnySet(n,r);if(i)return et(i);let o=r.filter(l=>!l.svgText).map(l=>this._loadSvgIconSetFromConfig(l).pipe(kh(u=>{let c=`Loading icon set URL: ${this._sanitizer.sanitize(En.RESOURCE_URL,l.url)} failed: ${u.message}`;return this._errorHandler.handleError(new Error(c)),et(null)})));return g0(o).pipe(Pt(()=>{let l=this._extractIconWithNameFromAnySet(n,r);if(!l)throw ev(n);return l}))}_extractIconWithNameFromAnySet(n,r){for(let i=r.length-1;i>=0;i--){let o=r[i];if(o.svgText&&o.svgText.toString().indexOf(n)>-1){let l=this._svgElementFromConfig(o),u=this._extractSvgIconFromSet(l,n,o.options);if(u)return u}}return null}_loadSvgIconFromConfig(n){return this._fetchIcon(n).pipe(Qu(r=>n.svgText=r),Pt(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?et(null):this._fetchIcon(n).pipe(Qu(r=>n.svgText=r))}_extractSvgIconFromSet(n,r,i){let o=n.querySelector(`[id="${r}"]`);if(!o)return null;let l=o.cloneNode(!0);if(l.removeAttribute("id"),l.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(l,i);if(l.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(l),i);let u=this._svgElementFromString(mo("<svg></svg>"));return u.appendChild(l),this._setSvgAttributes(u,i)}_svgElementFromString(n){let r=this._document.createElement("DIV");r.innerHTML=n;let i=r.querySelector("svg");if(!i)throw Error("<svg> tag not found");return i}_toSvgElement(n){let r=this._svgElementFromString(mo("<svg></svg>")),i=n.attributes;for(let o=0;o<i.length;o++){let{name:l,value:u}=i[o];l!=="id"&&r.setAttribute(l,u)}for(let o=0;o<n.childNodes.length;o++)n.childNodes[o].nodeType===this._document.ELEMENT_NODE&&r.appendChild(n.childNodes[o].cloneNode(!0));return r}_setSvgAttributes(n,r){return n.setAttribute("fit",""),n.setAttribute("height","100%"),n.setAttribute("width","100%"),n.setAttribute("preserveAspectRatio","xMidYMid meet"),n.setAttribute("focusable","false"),r&&r.viewBox&&n.setAttribute("viewBox",r.viewBox),n}_fetchIcon(n){let{url:r,options:i}=n,o=(i==null?void 0:i.withCredentials)??!1;if(!this._httpClient)throw Qie();if(r==null)throw Error(`Cannot fetch icon from URL "${r}".`);let l=this._sanitizer.sanitize(En.RESOURCE_URL,r);if(!l)throw tv(r);let u=this._inProgressUrlFetches.get(l);if(u)return u;let c=this._httpClient.get(l,{responseType:"text",withCredentials:o}).pipe(Pt(d=>mo(d)),y0(()=>this._inProgressUrlFetches.delete(l)),_0());return this._inProgressUrlFetches.set(l,c),c}_addSvgIconConfig(n,r,i){return this._svgIconConfigs.set(av(n,r),i),this}_addSvgIconSetConfig(n,r){let i=this._iconSetConfigs.get(n);return i?i.push(r):this._iconSetConfigs.set(n,[r]),this}_svgElementFromConfig(n){if(!n.svgElement){let r=this._svgElementFromString(n.svgText);this._setSvgAttributes(r,n.options),n.svgElement=r}return n.svgElement}_getIconConfigFromResolvers(n,r){for(let i=0;i<this._resolvers.length;i++){let o=this._resolvers[i](r,n);if(o)return Jie(o)?new Cr(o.url,null,o.options):new Cr(o,null)}}};s(t,"ɵfac",function(n){return new(n||t)(oe(Ji,8),oe(Z_),oe(Fe,8),oe(Zn))}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Xs(e){return e.cloneNode(!0)}function av(e,t){return e+":"+t}function Jie(e){return!!(e.url&&e.options)}var eoe=["*"],toe=new K("MAT_ICON_DEFAULT_OPTIONS"),noe=new K("mat-icon-location",{providedIn:"root",factory:aoe});function aoe(){let e=S(Fe),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var WH=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],roe=WH.map(e=>`[${e}]`).join(", "),ioe=/^url\(['"]?#(.*?)['"]?\)$/,zu=(()=>{const t=class t{constructor(){s(this,"_elementRef",S(Qe));s(this,"_iconRegistry",S(Xie));s(this,"_location",S(noe));s(this,"_errorHandler",S(Zn));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=S(new Xh("aria-hidden"),{optional:!0}),r=S(toe,{optional:!0});r&&(r.color&&(this.color=this._defaultColor=r.color),r.fontSet&&(this.fontSet=r.fontSet)),n||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}get color(){return this._color||this._defaultColor}set color(n){this._color=n}get svgIcon(){return this._svgIcon}set svgIcon(n){n!==this._svgIcon&&(n?this._updateSvgIcon(n):this._svgIcon&&this._clearSvgElement(),this._svgIcon=n)}get fontSet(){return this._fontSet}set fontSet(n){let r=this._cleanupFontValue(n);r!==this._fontSet&&(this._fontSet=r,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(n){let r=this._cleanupFontValue(n);r!==this._fontIcon&&(this._fontIcon=r,this._updateFontIconClasses())}_splitIconName(n){if(!n)return["",""];let r=n.split(":");switch(r.length){case 1:return["",r[0]];case 2:return r;default:throw Error(`Invalid icon name: "${n}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let n=this._elementsWithExternalReferences;if(n&&n.size){let r=this._location.getPathname();r!==this._previousPath&&(this._previousPath=r,this._prependPathToReferences(r))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(n){this._clearSvgElement();let r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(n),this._prependPathToReferences(r),this._elementRef.nativeElement.appendChild(n)}_clearSvgElement(){let n=this._elementRef.nativeElement,r=n.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){let i=n.childNodes[r];(i.nodeType!==1||i.nodeName.toLowerCase()==="svg")&&i.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let n=this._elementRef.nativeElement,r=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(i=>i.length>0);this._previousFontSetClass.forEach(i=>n.classList.remove(i)),r.forEach(i=>n.classList.add(i)),this._previousFontSetClass=r,this.fontIcon!==this._previousFontIconClass&&!r.includes("mat-ligature-font")&&(this._previousFontIconClass&&n.classList.remove(this._previousFontIconClass),this.fontIcon&&n.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(n){return typeof n=="string"?n.trim().split(" ")[0]:n}_prependPathToReferences(n){let r=this._elementsWithExternalReferences;r&&r.forEach((i,o)=>{i.forEach(l=>{o.setAttribute(l.name,`url('${n}#${l.value}')`)})})}_cacheChildrenWithExternalReferences(n){let r=n.querySelectorAll(roe),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<r.length;o++)WH.forEach(l=>{let u=r[o],c=u.getAttribute(l),d=c?c.match(ioe):null;if(d){let m=i.get(u);m||(m=[],i.set(u,m)),m.push({name:l,value:d[1]})}})}_updateSvgIcon(n){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),n){let[r,i]=this._splitIconName(n);r&&(this._svgNamespace=r),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,r).pipe(pn(1)).subscribe(o=>this._setSvgElement(o),o=>{let l=`Error retrieving icon ${r}:${i}! ${o.message}`;this._errorHandler.handleError(new Error(l))})}}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Oe({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(n,r){n&2&&($t("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),Ru(r.color?"mat-"+r.color:""),jt("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",Lt],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:eoe,decls:1,vars:0,template:function(n,r){n&1&&(jn(),pt(0))},styles:[`mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}
37
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),ooe=(()=>{const t=class t{constructor(){this.authService=S(ji).getInstance(),this.templateRef=S(nn),this.viewContainer=S(Kn),this.cdRef=S(ya)}ngOnInit(){this.authService.isOfflineAuthenticated?this.viewContainer.clear():this.viewContainer.createEmbeddedView(this.templateRef),this.cdRef.markForCheck()}};t.ɵfac=function(n){return new(n||t)},t.ɵdir=ye({type:t,selectors:[["","hideIfOffline",""]]});let e=t;return e})();function ZH(e){e||(mu(),e=S(pr));let t=new mt(a=>e.onDestroy(a.next.bind(a)));return a=>a.pipe(or(t))}var YH={"application/prs.cww":["cww"],"application/prs.xsf+xml":["xsf"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["*xfdf"],"application/vnd.age":["age"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.autodesk.fbx":["fbx"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dcmp+xml":["dcmp"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["*fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.slides":["ggs"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.drawing":["gdraw"],"application/vnd.google-apps.form":["gform"],"application/vnd.google-apps.jam":["gjam"],"application/vnd.google-apps.map":["gmap"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.script":["gscript"],"application/vnd.google-apps.site":["gsite"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.gov.sk.xmldatacontainer+xml":["xdcf"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["*mpp","mpt"],"application/vnd.ms-visio.viewer":["vdx"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.nato.bindingdataobject+xml":["bdo"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.procrate.brushset":["brushset"],"application/vnd.procreate.brush":["brush"],"application/vnd.procreate.dream":["drm"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.pwg-xhtml-print+xml":["xhtm"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml","uo"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw","vsdx","vtx"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blender":["blend"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-compressed":["*rar"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-ipynb+json":["ipynb"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["*prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["*sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zip-compressed":["*zip"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["*aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif","btf"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.blockfact.facti":["facti"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-adobe-dng":["dng"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.bary":["bary"],"model/vnd.cld":["cld"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["*mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.pytha.pyox":["pyo","pyox"],"model/vnd.sap.vds":["vds"],"model/vnd.usda":["usda"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.familysearch.gedcom":["ged"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]};Object.freeze(YH);var soe=YH,KH={"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(KH);var loe=KH,Nn=function(e,t,a,n){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return a==="m"?n:a==="a"?n.call(e):n?n.value:t.get(e)},li,yo,Tr,uoe=class{constructor(...e){li.set(this,new Map),yo.set(this,new Map),Tr.set(this,new Map);for(let t of e)this.define(t)}define(e,t=!1){for(let[a,n]of Object.entries(e)){a=a.toLowerCase(),n=n.map(o=>o.toLowerCase()),Nn(this,Tr,"f").has(a)||Nn(this,Tr,"f").set(a,new Set);let r=Nn(this,Tr,"f").get(a),i=!0;for(let o of n){let l=o.startsWith("*");if(o=l?o.slice(1):o,r==null||r.add(o),i&&Nn(this,yo,"f").set(a,o),i=!1,l)continue;let u=Nn(this,li,"f").get(o);if(u&&u!=a&&!t)throw new Error(`"${a} -> ${o}" conflicts with "${u} -> ${o}". Pass \`force=true\` to override this definition.`);Nn(this,li,"f").set(o,a)}}return this}getType(e){if(typeof e!="string")return null;let t=e.replace(/^.*[/\\]/s,"").toLowerCase(),a=t.replace(/^.*\./s,"").toLowerCase(),n=t.length<e.length;return!(a.length<t.length-1)&&n?null:Nn(this,li,"f").get(a)??null}getExtension(e){var t;return typeof e!="string"?null:(e=(t=e==null?void 0:e.split)==null?void 0:t.call(e,";")[0],(e&&Nn(this,yo,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:Nn(this,Tr,"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,Tr,"f").values())Object.freeze(e);return this}_getTestState(){return{types:Nn(this,li,"f"),extensions:Nn(this,yo,"f")}}};li=new WeakMap,yo=new WeakMap,Tr=new WeakMap;var coe=uoe;new coe(loe,soe)._freeze();var doe=(()=>{const t=class t{transform(n){return Ew(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=va({name:"fullname",type:t,pure:!0});let e=t;return e})(),gm=(()=>{const t=class t{constructor(){this.ingredientLabelService=S(rre),this.translate=S(Xn),this.destroyRef=S(pr),this.cd=S(ya),this.translate.onLangChange.pipe(ZH(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=va({name:"ingredientLabel",type:t,pure:!0});let e=t;return e})(),hoe=(()=>{const t=class t{transform(n,r){return this.sortFn([...n],r.sortProperty,r.isAscending)}sortFn(n,r,i){return[...n].sort((o,l)=>{var d,m;let u=i?o:l,c=i?l:o;if(r==="deliveryDate"){let v=u[r]?(d=new Date(u[r]))==null?void 0:d.getTime():0,g=c[r]?(m=new Date(c[r]))==null?void 0:m.getTime():0;return this.compareData(v,g,i)}return this.compareData(u[r],c[r],i)})}compareData(n,r,i){return n==null&&r==null||n===r?0:n==null?i?-1:1:r==null?i?1:-1:n>r?1:-1}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=va({name:"sortOn",type:t,pure:!0});let e=t;return e})(),vm=(()=>{const t=class t{constructor(){this.translate=S(Xn)}transform(n){return Ql(n,this.translate.currentLang)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=va({name:"translateValue",type:t,pure:!0});let e=t;return e})(),poe=(()=>{const t=class t{transform(n){return Math.abs(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵpipe=va({name:"absolute",type:t,pure:!0});let e=t;return e})(),moe=e=>({count:e});function foe(e,t){e&1&&(j(0,"span",1),ee(1),te(2,"translate"),V()),e&2&&(P(),Pe(ae(2,1,"deliveredMedicationDetails.leaflet")))}function goe(e,t){if(e&1){let a=ba();j(0,"span",2)(1,"a",5),rn("click",function(n){gn(a);let r=pe(3);return vn(r.onDownloadClick(n))}),lt(2,"mat-icon",6),ee(3),te(4,"translate"),V()()}e&2&&(P(3),Ue(" ",ae(4,1,"commons.downloadLeaflet")," "))}function voe(e,t){e&1&&Ee(0,foe,3,3,"span",3)(1,goe,5,3,"span",4)}function boe(e,t){if(e&1&&(j(0,"span",1),ee(1),te(2,"translate"),V(),j(3,"span",2),ee(4),te(5,"translateValue"),V(),Ee(6,voe,2,0)),e&2){let a=pe();P(),Pe(ae(2,3,"deliveredMedicationDetails.medication")),P(3),Pe(ae(5,5,a.item().medication.name)),P(2),$e(a.displayAllDetails()&&a.item().medication.identifier&&a.item().medication.identifier.type===a.identifierType.CNK?6:-1)}}function yoe(e,t){if(e&1&&(ee(0),te(1,"ingredientLabel")),e&2){let a=t.$implicit;Ue(" ",ae(1,1,a)," ")}}function _oe(e,t){if(e&1&&(j(0,"span",1)(1,"strong"),ee(2),te(3,"translate"),V()(),j(4,"span",2),Ki(5,yoe,2,3,null,null,Ip),V()),e&2){let a=pe();P(2),Pe(ae(3,1,"deliveredMedicationsList.magisterialPreparation")),P(3),Qi(a.item().medication.ingredients)}}function woe(e,t){if(e&1&&(j(0,"li"),ee(1),te(2,"translateValue"),V()),e&2){let a=t.$implicit;P(),Ue(" ",ae(2,1,a.texts)," ")}}function xoe(e,t){if(e&1&&(j(0,"span",1),ee(1),te(2,"translate"),V(),j(3,"span",2)(4,"ul"),Ki(5,woe,3,3,"li",null,Ip),V()()),e&2){let a=pe();P(),Pe(ae(2,1,"deliveredMedicationDetails.posologie")),P(4),Qi(a.item().dosageInstructions)}}function Eoe(e,t){if(e&1&&(j(0,"span",1),ee(1),te(2,"translate"),V(),j(3,"span",2),ee(4),te(5,"date"),V()),e&2){let a=pe(),n=pe();P(),Pe(ae(2,2,a<0?"deliveredMedicationDetails.return-delivery-date":"deliveredMedicationDetails.delivery-date")),P(3),Pe(fs(5,4,n.item().deliveryDate,"dd/MM/yyyy"))}}function Soe(e,t){if(e&1&&(j(0,"span",1),ee(1),te(2,"translate"),V(),j(3,"span",2),ee(4),te(5,"absolute"),te(6,"absolute"),te(7,"translate"),V(),Ee(8,Eoe,6,7),j(9,"span",1),ee(10),te(11,"translate"),V()),e&2){let a=t,n=pe();P(),Pe(ae(2,5,a<0?"deliveredMedicationDetails.returned-quantity":"deliveredMedicationDetails.quantity")),P(3),Np("",ae(5,7,a)," ",fs(7,11,"deliveredMedicationDetails.package",c_(16,moe,ae(6,9,a))),""),P(4),$e(n.displayAllDetails()?8:-1),P(2),Pe(ae(11,14,a<0?"deliveredMedicationDetails.returned-by":"deliveredMedicationDetails.delivered-by"))}}function koe(e,t){if(e&1&&(ee(0),te(1,"translateValue"),lt(2,"br"),ee(3)),e&2){let a=pe();Ue(" ",ae(1,2,t)," "),P(3),Ue(" ",a.item().pharmacy.nihdi," ")}}function Coe(e,t){if(e&1&&(ee(0),te(1,"translate")),e&2){let a=pe();Np(" ",ae(1,2,"deliveredMedicationDetails.no-pharmacy"),": ",a.item().pharmacy.nihdi," ")}}function Doe(e,t){if(e&1&&(j(0,"span",1),ee(1),te(2,"translate"),V(),j(3,"span",2),ee(4),te(5,"fullname"),V()),e&2){let a=pe();P(),Pe(ae(2,2,"deliveredMedicationDetails.patient")),P(3),Pe(ae(5,4,a.item().person))}}var Ioe=(()=>{const t=class t{constructor(){this.translate=S(Xn),this.leafletService=S(Sw),this.item=qe.required(),this.displayAllDetails=qe(!1),this.isProfessional=qe.required(),this.identifierType=er}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=Oe({type:t,selectors:[["vidis-delivered-medication-details-row"]],inputs:{item:[1,"item"],displayAllDetails:[1,"displayAllDetails"],isProfessional:[1,"isProfessional"]},decls:20,vars:15,consts:[[1,"details"],[1,"details__label"],[1,"details__value"],["class","details__label",4,"hideIfOffline"],["class","details__value",4,"hideIfOffline"],["mat-button","","target","_blank",3,"click"],["fontIcon","download"]],template:function(n,r){if(n&1&&(j(0,"span",0),Ee(1,boe,7,7)(2,_oe,7,3)(3,xoe,7,3),j(4,"span",1),ee(5),te(6,"translate"),V(),j(7,"span",2),ee(8),te(9,"translate"),V(),Ee(10,Soe,12,18),j(11,"span",2),Ee(12,koe,4,4)(13,Coe,2,4),V(),Ee(14,Doe,6,6),j(15,"span",1),ee(16),te(17,"translate"),V(),j(18,"span",2),ee(19),V()()),n&2){let i,o,l;P(),$e(r.item().medication.name?1:2),P(2),$e((i=r.item().dosageInstructions)!=null&&i.length?3:-1),P(2),Pe(ae(6,9,"deliveredMedicationDetails.is-prescribed.title")),P(3),Pe(ae(9,11,"deliveredMedicationDetails.is-prescribed."+(r.item().isPrescribed?"yes":"no"))),P(2),$e((o=(o=r.item().medication.quantity)==null?null:o.value)?10:-1,o),P(2),$e((l=(l=r.item().pharmacy)==null?null:l.name)?12:13,l),P(2),$e(r.displayAllDetails()&&!r.isProfessional()?14:-1),P(2),Pe(ae(17,13,"deliveredMedicationDetails.dguid")),P(3),Pe(r.item().dguid)}},dependencies:[fr,vm,gm,P1,zu,jp,doe,poe,ooe],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}.details[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding-inline-start:20px;margin-block:0}"]});let e=t;return e})(),Toe=(()=>{const t=class t{};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Oe({type:t,selectors:[["vidis-report-error-dialog"]],decls:24,vars:23,consts:[["mat-dialog-title",""],["target","_blank",3,"href"],["mat-flat-button","","type","button",3,"mat-dialog-close"],["mat-stroked-button","","type","button",3,"mat-dialog-close"]],template:function(n,r){n&1&&(j(0,"h2",0),ee(1),te(2,"translate"),V(),j(3,"mat-dialog-content")(4,"p")(5,"span"),ee(6),te(7,"translate"),V()(),j(8,"p")(9,"span"),ee(10),te(11,"translate"),V(),j(12,"a",1),te(13,"translate"),ee(14),te(15,"translate"),V(),ee(16,"."),V()(),j(17,"mat-dialog-actions")(18,"button",2),ee(19),te(20,"translate"),V(),j(21,"button",3),ee(22),te(23,"translate"),V()()),n&2&&(P(),Pe(ae(2,9,"commons.errors.report-message-title")),P(5),Pe(ae(7,11,"commons.errors.report-message-explanation")),P(4),Pe(ae(11,13,"commons.errors.report-message-content")),P(2),je("href",ae(13,15,"commons.errors.report-message-link"),z8),P(2),Pe(ae(15,17,"commons.errors.report-message-term-use")),P(4),je("mat-dialog-close",!0),P(),Ue(" ",ae(20,19,"commons.errors.report-message-report-button")," "),P(2),je("mat-dialog-close",!1),P(),Ue(" ",ae(23,21,"commons.errors.report-message-ignore-button")," "))},dependencies:[T1,E1,k1,D1,C1,nm,ys,fr],encapsulation:2});let e=t;return e})(),Roe=(()=>{const t=class t{constructor(){this.vidisErrorCode=S(w1)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Oe({type:t,selectors:[["vidis-not-authorized-dialog"]],decls:12,vars:10,consts:[["mat-dialog-title",""],["mat-flat-button","","type","button",3,"mat-dialog-close"]],template:function(n,r){n&1&&(j(0,"h2",0),ee(1),te(2,"translate"),V(),j(3,"mat-dialog-content")(4,"p")(5,"span"),ee(6),te(7,"translate"),V()()(),j(8,"mat-dialog-actions")(9,"button",1),ee(10),te(11,"translate"),V()()),n&2&&(P(),Pe(ae(2,4,"commons.errors.action-not-authorized-title")),P(5),Pe(ae(7,6,"commons.errors."+r.vidisErrorCode)),P(3),je("mat-dialog-close",!1),P(),Ue(" ",ae(11,8,"commons.errors.action-not-authorized-close-button")," "))},dependencies:[T1,E1,k1,D1,C1,nm,ys,fr],encapsulation:2});let e=t;return e})();function rv(e,t,a){let n=pw(),r=Moe(e,a.timeZone,a.locale??n.locale);return"formatToParts"in r?Noe(r,t):Ooe(r,t)}function Noe(e,t){let a=e.formatToParts(t);for(let n=a.length-1;n>=0;--n)if(a[n].type==="timeZoneName")return a[n].value}function Ooe(e,t){let a=e.format(t).replace(/\u200E/g,""),n=/ [\w-+ ]+$/.exec(a);return n?n[0].substr(1):""}function Moe(e,t,a){return new Intl.DateTimeFormat(a?[a.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function Aoe(e,t){let a=Voe(t);return"formatToParts"in a?Loe(a,e):Foe(a,e)}var Poe={year:0,month:1,day:2,hour:3,minute:4,second:5};function Loe(e,t){try{let a=e.formatToParts(t),n=[];for(let r=0;r<a.length;r++){let i=Poe[a[r].type];i!==void 0&&(n[i]=parseInt(a[r].value,10))}return n}catch(a){if(a instanceof RangeError)return[NaN];throw a}}function Foe(e,t){let a=e.format(t),n=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(a);return[parseInt(n[3],10),parseInt(n[1],10),parseInt(n[2],10),parseInt(n[4],10),parseInt(n[5],10),parseInt(n[6],10)]}var qc={},iv=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),joe=iv==="06/25/2014, 00:00:00"||iv==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";function Voe(e){return qc[e]||(qc[e]=joe?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),qc[e]}function QH(e,t,a,n,r,i,o){let l=new Date(0);return l.setUTCFullYear(e,t,a),l.setUTCHours(n,r,i,o),l}var ov=36e5,zoe=6e4,$c={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function XH(e,t,a){if(!e)return 0;let n=$c.timezoneZ.exec(e);if(n)return 0;let r,i;if(n=$c.timezoneHH.exec(e),n)return r=parseInt(n[1],10),sv(r)?-(r*ov):NaN;if(n=$c.timezoneHHMM.exec(e),n){r=parseInt(n[2],10);let o=parseInt(n[3],10);return sv(r,o)?(i=Math.abs(r)*ov+o*zoe,n[1]==="+"?-i:i):NaN}if(qoe(e)){t=new Date(t||Date.now());let o=a?t:Boe(t),l=oh(o,e);return-(a?l:Hoe(t,l,e))}return NaN}function Boe(e){return QH(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function oh(e,t){let a=Aoe(e,t),n=QH(a[0],a[1]-1,a[2],a[3]%24,a[4],a[5],0).getTime(),r=e.getTime(),i=r%1e3;return r-=i>=0?i:1e3+i,n-r}function Hoe(e,t,a){let n=e.getTime()-t,r=oh(new Date(n),a);if(t===r)return t;n-=r-t;let i=oh(new Date(n),a);return r===i?r:Math.max(r,i)}function sv(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var lv={};function qoe(e){if(lv[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),lv[e]=!0,!0}catch{return!1}}var $oe=60*1e3,Uoe={X:function(e,t,a){let n=Uc(a.timeZone,e);if(n===0)return"Z";switch(t){case"X":return uv(n);case"XXXX":case"XX":return ui(n);case"XXXXX":case"XXX":default:return ui(n,":")}},x:function(e,t,a){let n=Uc(a.timeZone,e);switch(t){case"x":return uv(n);case"xxxx":case"xx":return ui(n);case"xxxxx":case"xxx":default:return ui(n,":")}},O:function(e,t,a){let n=Uc(a.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+Goe(n,":");case"OOOO":default:return"GMT"+ui(n,":")}},z:function(e,t,a){switch(t){case"z":case"zz":case"zzz":return rv("short",e,a);case"zzzz":default:return rv("long",e,a)}}};function Uc(e,t){let a=e?XH(e,t,!0)/$oe:(t==null?void 0:t.getTimezoneOffset())??0;if(Number.isNaN(a))throw new RangeError("Invalid time zone specified: "+e);return a}function Jl(e,t){let a=e<0?"-":"",n=Math.abs(e).toString();for(;n.length<t;)n="0"+n;return a+n}function ui(e,t=""){let a=e>0?"-":"+",n=Math.abs(e),r=Jl(Math.floor(n/60),2),i=Jl(Math.floor(n%60),2);return a+r+t+i}function uv(e,t){return e%60===0?(e>0?"-":"+")+Jl(Math.abs(e)/60,2):ui(e,t)}function Goe(e,t=""){let a=e>0?"-":"+",n=Math.abs(e),r=Math.floor(n/60),i=n%60;return i===0?a+String(r):a+String(r)+t+Jl(i,2)}function cv(e){let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),+e-+t}var Woe=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,Gc=36e5,dv=6e4,Zoe=2,cn={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:Woe};function Yoe(e,t={}){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(e===null)return new Date(NaN);let a=t.additionalDigits==null?Zoe:Number(t.additionalDigits);if(a!==2&&a!==1&&a!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]")return new Date(e.getTime());if(typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]")return new Date(e);if(Object.prototype.toString.call(e)!=="[object String]")return new Date(NaN);let n=Koe(e),{year:r,restDateString:i}=Qoe(n.date,a),o=Xoe(i,r);if(o===null||isNaN(o.getTime()))return new Date(NaN);if(o){let l=o.getTime(),u=0,c;if(n.time&&(u=Joe(n.time),u===null||isNaN(u)))return new Date(NaN);if(n.timeZone||t.timeZone){if(c=XH(n.timeZone||t.timeZone,new Date(l+u)),isNaN(c))return new Date(NaN)}else c=cv(new Date(l+u)),c=cv(new Date(l+u+c));return new Date(l+u+c)}else return new Date(NaN)}function Koe(e){let t={},a=cn.dateTimePattern.exec(e),n;if(a?(t.date=a[1],n=a[3]):(a=cn.datePattern.exec(e),a?(t.date=a[1],n=a[2]):(t.date=null,n=e)),n){let r=cn.timeZone.exec(n);r?(t.time=n.replace(r[1],""),t.timeZone=r[1].trim()):t.time=n}return t}function Qoe(e,t){if(e){let a=cn.YYY[t],n=cn.YYYYY[t],r=cn.YYYY.exec(e)||n.exec(e);if(r){let i=r[1];return{year:parseInt(i,10),restDateString:e.slice(i.length)}}if(r=cn.YY.exec(e)||a.exec(e),r){let i=r[1];return{year:parseInt(i,10)*100,restDateString:e.slice(i.length)}}}return{year:null}}function Xoe(e,t){if(t===null)return null;let a,n,r;if(!e||!e.length)return a=new Date(0),a.setUTCFullYear(t),a;let i=cn.MM.exec(e);if(i)return a=new Date(0),n=parseInt(i[1],10)-1,pv(t,n)?(a.setUTCFullYear(t,n),a):new Date(NaN);if(i=cn.DDD.exec(e),i){a=new Date(0);let o=parseInt(i[1],10);return nse(t,o)?(a.setUTCFullYear(t,0,o),a):new Date(NaN)}if(i=cn.MMDD.exec(e),i){a=new Date(0),n=parseInt(i[1],10)-1;let o=parseInt(i[2],10);return pv(t,n,o)?(a.setUTCFullYear(t,n,o),a):new Date(NaN)}if(i=cn.Www.exec(e),i)return r=parseInt(i[1],10)-1,mv(r)?hv(t,r):new Date(NaN);if(i=cn.WwwD.exec(e),i){r=parseInt(i[1],10)-1;let o=parseInt(i[2],10)-1;return mv(r,o)?hv(t,r,o):new Date(NaN)}return null}function Joe(e){let t,a,n=cn.HH.exec(e);if(n)return t=parseFloat(n[1].replace(",",".")),Wc(t)?t%24*Gc:NaN;if(n=cn.HHMM.exec(e),n)return t=parseInt(n[1],10),a=parseFloat(n[2].replace(",",".")),Wc(t,a)?t%24*Gc+a*dv:NaN;if(n=cn.HHMMSS.exec(e),n){t=parseInt(n[1],10),a=parseInt(n[2],10);let r=parseFloat(n[3].replace(",","."));return Wc(t,a,r)?t%24*Gc+a*dv+r*1e3:NaN}return null}function hv(e,t,a){t=t||0,a=a||0;let n=new Date(0);n.setUTCFullYear(e,0,4);let r=n.getUTCDay()||7,i=t*7+a+1-r;return n.setUTCDate(n.getUTCDate()+i),n}var ese=[31,28,31,30,31,30,31,31,30,31,30,31],tse=[31,29,31,30,31,30,31,31,30,31,30,31];function JH(e){return e%400===0||e%4===0&&e%100!==0}function pv(e,t,a){if(t<0||t>11)return!1;if(a!=null){if(a<1)return!1;let n=JH(e);if(n&&a>tse[t]||!n&&a>ese[t])return!1}return!0}function nse(e,t){if(t<1)return!1;let a=JH(e);return!(a&&t>366||!a&&t>365)}function mv(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function Wc(e,t,a){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||a!=null&&(a<0||a>=60))}var ase=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function rse(e,t,a={}){t=String(t);let n=t.match(ase);if(n){let r=Yoe(a.originalDate||e,a);t=n.reduce(function(i,o){if(o[0]==="'")return i;let l=i.indexOf(o),u=i[l-1]==="'",c=i.replace(o,"'"+Uoe[o[0]](r,o,a)+"'");return u?c.substring(0,l-1)+c.substring(l+1):c},t)}return hw(e,t,a)}var ise=(()=>{const t=class t{reportError(n){return et({status:"ok"})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),ose=(()=>{const t=class t{constructor(){this.http=S(Ji),this.authService=S(ji).getInstance(),this.apiUrl=S(to).getEnvironmentVariable("apiUrl")}reportError(n){return this.http.post(`${this.apiUrl}/v2/report/error`,n,{headers:{[Co.userType]:Mr.getUserType({isProfessional:this.authService.isProfessional}),[Co.clientType]:ww()?Mr.clientType.mobileApp:Mr.clientType.webApp}})}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),sse=(()=>{const t=class t{constructor(){this.config=S(to),this.injector=S(ht),this._instance=null}getInstance(){if(!this._instance){let n=this.config.getEnvironmentVariable("env")==="demo";this._instance=n?this.injector.get(ise):this.injector.get(ose)}return this._instance}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),lse=(()=>{const t=class t extends qae{constructor(){super(...arguments),this.version=ah,this.authServiceSelector=S(ji),this.translateService=S(Xn),this.webComponentConfig=S(to),this.injector=S(ht),this.servicesStore=S(Vu),this.matDialog=S(ju),this.destroyRef=S(pr),this.errorServiceSelector=S(sse),this.snackbarService=S(Cw),this.extraRequiredFields=["offlineDataStorageEnabled","isOfflineAuthenticated","professional","ssin"]}onInitialized(){return Rt(this,null,function*(){this.webComponentConfig.setEnvironment(this.configName),this.translateService.use(this.language),this.servicesStore.setServices(this.services),this.authServiceSelector.getInstance().isProfessional=this.professional,this.authServiceSelector.getInstance().patientSsin=this.ssin,this.authServiceSelector.getInstance().registerAccessTokenService(this.isOfflineAuthenticated,this.offlineDataStorageEnabled),this.injectService(),yield this.fetchData(!0),this.services.registerRefreshCallback(n=>Rt(this,null,function*(){yield this.fetchData(!0),n()}))})}onPropsChanged(n){n.language&&this.translateService.use(this.language)}checkError(n){(n==null?void 0:n.group)===Fa.NOT_AUTHORIZED?this.showNotAuthorizedErrorPopup(n.code):(n==null?void 0:n.group)===Fa.OTHER&&this.showTechnicalErrorPopup(n)}showTechnicalErrorPopup(n){this.matDialog.open(Toe,{data:{error:n}}).beforeClosed().pipe(kn(r=>r),ZH(this.destroyRef)).subscribe(()=>{this.reportVidisError(n)})}reportVidisError(n){let r={backendTraceId:"",errorMessage:n.message,pageUrl:window.location.href,timestamp:this.formatDateWithZone()};this.errorServiceSelector.getInstance().reportError(r).subscribe({next:i=>{i.status==="ok"?this.snackbarService.showSuccess("commons.errors.report-message-confirm-toast"):this.snackbarService.showError("commons.errors..general")},error:()=>{this.snackbarService.showError("commons.errors.general")}})}showNotAuthorizedErrorPopup(n){this.matDialog.open(Roe,{data:n})}formatDateWithZone(){return rse(new Date,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:"Europe/Brussels"})}};t.ɵfac=(()=>{let n;return function(r){return(n||(n=tt(t)))(r||t)}})(),t.ɵcmp=Oe({type:t,selectors:[["ng-component"]],inputs:{isOfflineAuthenticated:"isOfflineAuthenticated",offlineDataStorageEnabled:"offlineDataStorageEnabled",professional:"professional",ssin:"ssin"},features:[Ye],decls:0,vars:0,template:function(n,r){},encapsulation:2});let e=t;return e})(),fv=new K("CdkAccordion"),use=(()=>{const t=class t{constructor(){s(this,"accordion",S(fv,{optional:!0,skipSelf:!0}));s(this,"_changeDetectorRef",S(ya));s(this,"_expansionDispatcher",S(R1));s(this,"_openCloseAllSubscription",Zt.EMPTY);s(this,"closed",new it);s(this,"opened",new it);s(this,"destroyed",new it);s(this,"expandedChange",new it);s(this,"id",S(Xr).getId("cdk-accordion-child-"));s(this,"_expanded",!1);s(this,"disabled",!1);s(this,"_removeUniqueSelectionListener",()=>{})}get expanded(){return this._expanded}set expanded(n){if(this._expanded!==n){if(this._expanded=n,this.expandedChange.emit(n),n){this.opened.emit();let r=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,r)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}ngOnInit(){this._removeUniqueSelectionListener=this._expansionDispatcher.listen((n,r)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===r&&this.id!==n&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(n=>{this.disabled||(this.expanded=n)})}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",ye({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",Lt],disabled:[2,"disabled","disabled",Lt]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Tn([{provide:fv,useValue:void 0}])]}));let e=t;return e})(),cse=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({}));let e=t;return e})(),dse=["body"],hse=["bodyWrapper"],pse=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],mse=["mat-expansion-panel-header","*","mat-action-row"];function fse(e,t){}var gse=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],vse=["mat-panel-title","mat-panel-description","*"];function bse(e,t){e&1&&(j(0,"span",1),hb(),j(1,"svg",2),lt(2,"path",3),V()())}var gv=new K("MAT_ACCORDION"),e9=new K("MAT_EXPANSION_PANEL"),yse=(()=>{const t=class t{constructor(){s(this,"_template",S(nn));s(this,"_expansionPanel",S(e9,{optional:!0}))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",ye({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}));let e=t;return e})(),t9=new K("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),n9=(()=>{const t=class t extends use{constructor(){super();s(this,"_viewContainerRef",S(Kn));s(this,"_animationsDisabled",S(mr,{optional:!0})==="NoopAnimations");s(this,"_document",S(Fe));s(this,"_ngZone",S(ze));s(this,"_elementRef",S(Qe));s(this,"_renderer",S(Qr));s(this,"_cleanupTransitionEnd");s(this,"_hideToggle",!1);s(this,"_togglePosition");s(this,"afterExpand",new it);s(this,"afterCollapse",new it);s(this,"_inputChanges",new ge);s(this,"accordion",S(gv,{optional:!0,skipSelf:!0}));s(this,"_lazyContent");s(this,"_body");s(this,"_bodyWrapper");s(this,"_portal");s(this,"_headerId",S(Xr).getId("mat-expansion-panel-header-"));s(this,"_transitionEndListener",({target:r,propertyName:i})=>{var o;r===((o=this._bodyWrapper)==null?void 0:o.nativeElement)&&i==="grid-template-rows"&&this._ngZone.run(()=>{this.expanded?this.afterExpand.emit():this.afterCollapse.emit()})});let r=S(t9,{optional:!0});this._expansionDispatcher=S(R1),r&&(this.hideToggle=r.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(r){this._hideToggle=r}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(r){this._togglePosition=r}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(cu(null),kn(()=>this.expanded&&!this._portal),pn(1)).subscribe(()=>{this._portal=new Lu(this._lazyContent._template,this._viewContainerRef)}),this._setupAnimationEvents()}ngOnChanges(r){this._inputChanges.next(r)}ngOnDestroy(){var r;super.ngOnDestroy(),(r=this._cleanupTransitionEnd)==null||r.call(this),this._inputChanges.complete()}_containsFocus(){if(this._body){let r=this._document.activeElement,i=this._body.nativeElement;return r===i||i.contains(r)}return!1}_setupAnimationEvents(){this._ngZone.runOutsideAngular(()=>{this._animationsDisabled?(this.opened.subscribe(()=>this._ngZone.run(()=>this.afterExpand.emit())),this.closed.subscribe(()=>this._ngZone.run(()=>this.afterCollapse.emit()))):setTimeout(()=>{let r=this._elementRef.nativeElement;this._cleanupTransitionEnd=this._renderer.listen(r,"transitionend",this._transitionEndListener),r.classList.add("mat-expansion-panel-animations-enabled")},200)})}};s(t,"ɵfac",function(r){return new(r||t)}),s(t,"ɵcmp",Oe({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(r,i,o){if(r&1&&Ma(o,yse,5),r&2){let l;ln(l=un())&&(i._lazyContent=l.first)}},viewQuery:function(r,i){if(r&1&&(Ai(dse,5),Ai(hse,5)),r&2){let o;ln(o=un())&&(i._body=o.first),ln(o=un())&&(i._bodyWrapper=o.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:4,hostBindings:function(r,i){r&2&&jt("mat-expanded",i.expanded)("mat-expansion-panel-spacing",i._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",Lt],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[Tn([{provide:gv,useValue:void 0},{provide:e9,useExisting:t}]),Ye,Gr],ngContentSelectors:mse,decls:9,vars:4,consts:[["bodyWrapper",""],["body",""],[1,"mat-expansion-panel-content-wrapper"],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(r,i){r&1&&(jn(pse),pt(0),j(1,"div",2,0)(3,"div",3,1)(5,"div",4),pt(6,1),Ee(7,fse,0,0,"ng-template",5),V(),pt(8,2),V()()),r&2&&(P(),$t("inert",i.expanded?null:""),P(2),je("id",i.id),$t("aria-labelledby",i._headerId),P(4),je("cdkPortalOutlet",i._portal))},dependencies:[Li],styles:[`.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;position:relative;background:var(--mat-expansion-container-background-color, var(--mat-sys-surface));color:var(--mat-expansion-container-text-color, var(--mat-sys-on-surface));border-radius:var(--mat-expansion-container-shape, 12px)}.mat-expansion-panel.mat-expansion-panel-animations-enabled{transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape, 12px);border-top-left-radius:var(--mat-expansion-container-shape, 12px)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape, 12px);border-bottom-left-radius:var(--mat-expansion-container-shape, 12px)}@media(forced-colors: active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel-content-wrapper{display:grid;grid-template-rows:0fr;grid-template-columns:100%}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content-wrapper{transition:grid-template-rows 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{grid-template-rows:1fr}@supports not (grid-template-rows: 0fr){.mat-expansion-panel-content-wrapper{height:0}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{height:auto}}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;min-height:0;visibility:hidden;font-family:var(--mat-expansion-container-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-expansion-container-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-expansion-container-text-weight, var(--mat-sys-body-large-weight));line-height:var(--mat-expansion-container-text-line-height, var(--mat-sys-body-large-line-height));letter-spacing:var(--mat-expansion-container-text-tracking, var(--mat-sys-body-large-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content{transition:visibility 190ms linear}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper>.mat-expansion-panel-content{visibility:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color, var(--mat-sys-outline))}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}
38
38
  `],encapsulation:2,changeDetection:0}));let e=t;return e})(),_se=(()=>{const t=class t{constructor(){s(this,"panel",S(n9,{host:!0}));s(this,"_element",S(Qe));s(this,"_focusMonitor",S(Pu));s(this,"_changeDetectorRef",S(ya));s(this,"_parentChangeSubscription",Zt.EMPTY);s(this,"expandedHeight");s(this,"collapsedHeight");s(this,"tabIndex",0);S(gr).load(Yp);let n=this.panel,r=S(t9,{optional:!0}),i=S(new Xh("tabindex"),{optional:!0}),o=n.accordion?n.accordion._stateChanges.pipe(kn(l=>!!(l.hideToggle||l.togglePosition))):Eh;this.tabIndex=parseInt(i||"")||0,this._parentChangeSubscription=Lr(n.opened,n.closed,o,n._inputChanges.pipe(kn(l=>!!(l.hideToggle||l.disabled||l.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),n.closed.pipe(kn(()=>n._containsFocus())).subscribe(()=>this._focusMonitor.focusVia(this._element,"program")),r&&(this.expandedHeight=r.expandedHeight,this.collapsedHeight=r.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){let n=this._isExpanded();return n&&this.expandedHeight?this.expandedHeight:!n&&this.collapsedHeight?this.collapsedHeight:null}_keydown(n){switch(n.keyCode){case 32:case 13:Zp(n)||(n.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(n);return}}focus(n,r){n?this._focusMonitor.focusVia(this._element,n,r):this._element.nativeElement.focus(r)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(n=>{n&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Oe({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:13,hostBindings:function(n,r){n&1&&rn("click",function(){return r._toggle()})("keydown",function(i){return r._keydown(i)}),n&2&&($t("id",r.panel._headerId)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r._getPanelId())("aria-expanded",r._isExpanded())("aria-disabled",r.panel.disabled),Qy("height",r._getHeaderHeight()),jt("mat-expanded",r._isExpanded())("mat-expansion-toggle-indicator-after",r._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",r._getTogglePosition()==="before"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",n=>n==null?0:Ap(n)]},ngContentSelectors:vse,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(n,r){n&1&&(jn(gse),j(0,"span",0),pt(1),pt(2,1),pt(3,2),V(),Ee(4,bse,3,0,"span",1)),n&2&&(jt("mat-content-hide-toggle",!r._showToggle()),P(4),$e(r._showToggle()?4:-1))},styles:[`.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;height:var(--mat-expansion-header-collapsed-state-height, 48px);font-family:var(--mat-expansion-header-text-font, var(--mat-sys-title-medium-font));font-size:var(--mat-expansion-header-text-size, var(--mat-sys-title-medium-size));font-weight:var(--mat-expansion-header-text-weight, var(--mat-sys-title-medium-weight));line-height:var(--mat-expansion-header-text-line-height, var(--mat-sys-title-medium-line-height));letter-spacing:var(--mat-expansion-header-text-tracking, var(--mat-sys-title-medium-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-header{transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header::before{border-radius:inherit}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height, 64px)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color, var(--mat-sys-surface))}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color, var(--mat-sys-on-surface))}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color, var(--mat-sys-on-surface-variant))}.mat-expansion-panel-animations-enabled .mat-expansion-indicator{transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header.mat-expanded .mat-expansion-indicator{transform:rotate(180deg)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-legacy-header-indicator-display, none)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-header-indicator-display, inline-block)}@media(forced-colors: active){.mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}}
39
39
  `],encapsulation:2,changeDetection:0}));let e=t;return e})(),wse=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",ye({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}));let e=t;return e})(),xse=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({imports:[ma,cse,$o]}));let e=t;return e})(),Ese=(()=>{const t=class t{constructor(){this.disclaimer=tp(!1)}get disclaimerRead(){return this.disclaimer}setDisclaimer(n){this.disclaimer.set(n)}};t.ɵfac=function(n){return new(n||t)},t.ɵprov=z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function Sse(e,t){e&1&&(j(0,"p",3),ee(1),te(2,"translate"),j(3,"strong"),ee(4),te(5,"translate"),V()()),e&2&&(P(),Ue(" ",ae(2,2,"deliveredMedicationsDisclaimer.patient.part3.1")," "),P(3),Pe(ae(5,4,"deliveredMedicationsDisclaimer.patient.part3.2")))}var kse=(()=>{const t=class t{constructor(){this.deliveredMedicationsDisclaimerService=S(Ese),this.isProfessional=qe.required(),this.hideDisclaimer=this.deliveredMedicationsDisclaimerService.disclaimerRead}get prefix(){return"deliveredMedicationsDisclaimer."+(this.isProfessional()?"professional":"patient")}toggleDisclaimer(){this.deliveredMedicationsDisclaimerService.setDisclaimer(!this.hideDisclaimer())}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Oe({type:t,selectors:[["vidis-delivered-medications-disclaimer"]],inputs:{isProfessional:[1,"isProfessional"]},decls:22,vars:23,consts:[["togglePosition","before",3,"click","expanded"],["data-cy","delivered-medications-disclaimer-body-patient-part1"],["data-cy","delivered-medications-disclaimer-body-patient-part2"],["data-cy","delivered-medications-disclaimer-body-patient-part3"]],template:function(n,r){n&1&&(j(0,"mat-expansion-panel",0),rn("click",function(){return r.toggleDisclaimer()}),j(1,"mat-expansion-panel-header")(2,"mat-panel-title"),ee(3),te(4,"translate"),V()(),j(5,"p",1),ee(6),te(7,"translate"),j(8,"strong"),ee(9),te(10,"translate"),V(),ee(11),te(12,"translate"),V(),j(13,"p",2),ee(14),te(15,"translate"),j(16,"strong"),ee(17),te(18,"translate"),V(),ee(19),te(20,"translate"),V(),Ee(21,Sse,6,6,"p",3),V()),n&2&&(je("expanded",!r.hideDisclaimer()),P(3),Pe(ae(4,9,"deliveredMedicationsDisclaimer.header")),P(3),Ue(" ",ae(7,11,r.prefix+".part1.1")," "),P(3),Pe(ae(10,13,r.prefix+".part1.2")),P(2),Ue(" ",ae(12,15,r.prefix+".part1.3")," "),P(3),Ue(" ",ae(15,17,r.prefix+".part2.1")," "),P(3),Pe(ae(18,19,r.prefix+".part2.2")),P(2),Ue(" ",ae(20,21,r.prefix+".part2.3")," "),P(2),$e(r.isProfessional()?-1:21))},dependencies:[xse,n9,_se,wse,fr],styles:["mat-expansion-panel[_ngcontent-%COMP%]{--mat-expansion-container-background-color: #ffeee0}"],changeDetection:0});let e=t;return e})(),Cse=["*"];function Dse(e,t){e&1&&(j(0,"div",2),hb(),j(1,"svg",3),lt(2,"path",4),V()())}var a9=new K("MAT_SORT_DEFAULT_OPTIONS"),sh=(()=>{const t=class t{constructor(n){s(this,"_defaultOptions");s(this,"_initializedStream",new wh(1));s(this,"sortables",new Map);s(this,"_stateChanges",new ge);s(this,"active");s(this,"start","asc");s(this,"_direction","");s(this,"disableClear");s(this,"disabled",!1);s(this,"sortChange",new it);s(this,"initialized",this._initializedStream);this._defaultOptions=n}get direction(){return this._direction}set direction(n){this._direction=n}register(n){this.sortables.set(n.id,n)}deregister(n){this.sortables.delete(n.id)}sort(n){this.active!=n.id?(this.active=n.id,this.direction=n.start?n.start:this.start):this.direction=this.getNextSortDirection(n),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(n){var l;if(!n)return"";let r=(n==null?void 0:n.disableClear)??this.disableClear??!!((l=this._defaultOptions)!=null&&l.disableClear),i=Ise(n.start||this.start,r),o=i.indexOf(this.direction)+1;return o>=i.length&&(o=0),i[o]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}};s(t,"ɵfac",function(n){return new(n||t)(en(a9,8))}),s(t,"ɵdir",ye({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",Lt],disabled:[2,"matSortDisabled","disabled",Lt]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[Gr]}));let e=t;return e})();function Ise(e,t){let a=["asc","desc"];return e=="desc"&&a.reverse(),t||a.push(""),a}var eu=(()=>{const t=class t{constructor(){s(this,"changes",new ge)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Tse(e){return e||new eu}var Rse={provide:eu,deps:[[new Ih,new Th,eu]],useFactory:Tse},Nse=(()=>{const t=class t{constructor(){s(this,"_intl",S(eu));s(this,"_sort",S(sh,{optional:!0}));s(this,"_columnDef",S("MAT_SORT_HEADER_COLUMN_DEF",{optional:!0}));s(this,"_changeDetectorRef",S(ya));s(this,"_focusMonitor",S(Pu));s(this,"_elementRef",S(Qe));s(this,"_ariaDescriber",S(VX,{optional:!0}));s(this,"_renderChanges");s(this,"_animationModule",S(mr,{optional:!0}));s(this,"_recentlyCleared",tp(null));s(this,"_sortButton");s(this,"id");s(this,"arrowPosition","after");s(this,"start");s(this,"disabled",!1);s(this,"_sortActionDescription","Sort");s(this,"disableClear");S(gr).load(Yp);let n=S(a9,{optional:!0});this._sort,n!=null&&n.arrowPosition&&(this.arrowPosition=n==null?void 0:n.arrowPosition)}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(n){this._updateSortActionDescription(n)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._sort.register(this),this._renderChanges=Lr(this._sort._stateChanges,this._sort.sortChange).subscribe(()=>this._changeDetectorRef.markForCheck()),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(()=>this._recentlyCleared.set(null))}ngOnDestroy(){var n,r;this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),(n=this._renderChanges)==null||n.unsubscribe(),this._sortButton&&((r=this._ariaDescriber)==null||r.removeDescription(this._sortButton,this._sortActionDescription))}_toggleOnInteraction(){if(!this._isDisabled()){let n=this._isSorted(),r=this._sort.direction;this._sort.sort(this),this._recentlyCleared.set(n&&!this._isSorted()?r:null)}}_handleKeydown(n){(n.keyCode===32||n.keyCode===13)&&(n.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&(this._sort.direction==="asc"||this._sort.direction==="desc")}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?this._sort.direction=="asc"?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(n){var r,i;this._sortButton&&((r=this._ariaDescriber)==null||r.removeDescription(this._sortButton,this._sortActionDescription),(i=this._ariaDescriber)==null||i.describe(this._sortButton,n)),this._sortActionDescription=n}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Oe({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(n,r){n&1&&rn("click",function(){return r._toggleOnInteraction()})("keydown",function(i){return r._handleKeydown(i)})("mouseleave",function(){return r._recentlyCleared.set(null)}),n&2&&($t("aria-sort",r._getAriaSortAttribute()),jt("mat-sort-header-disabled",r._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",Lt],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",Lt]},exportAs:["matSortHeader"],ngContentSelectors:Cse,decls:4,vars:17,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],["viewBox","0 -960 960 960","focusable","false","aria-hidden","true"],["d","M440-240v-368L296-464l-56-56 240-240 240 240-56 56-144-144v368h-80Z"]],template:function(n,r){n&1&&(jn(),j(0,"div",0)(1,"div",1),pt(2),V(),Ee(3,Dse,3,0,"div",2),V()),n&2&&(jt("mat-sort-header-sorted",r._isSorted())("mat-sort-header-position-before",r.arrowPosition==="before")("mat-sort-header-descending",r._sort.direction==="desc")("mat-sort-header-ascending",r._sort.direction==="asc")("mat-sort-header-recently-cleared-ascending",r._recentlyCleared()==="asc")("mat-sort-header-recently-cleared-descending",r._recentlyCleared()==="desc")("mat-sort-header-animations-disabled",r._animationModule==="NoopAnimations"),$t("tabindex",r._isDisabled()?null:0)("role",r._isDisabled()?null:"button"),P(3),$e(r._renderArrow()?3:-1))},styles:[`.mat-sort-header{cursor:pointer}.mat-sort-header-disabled{cursor:default}.mat-sort-header-container{display:flex;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}@keyframes _mat-sort-header-recently-cleared-ascending{from{transform:translateY(0);opacity:1}to{transform:translateY(-25%);opacity:0}}@keyframes _mat-sort-header-recently-cleared-descending{from{transform:translateY(0) rotate(180deg);opacity:1}to{transform:translateY(25%) rotate(180deg);opacity:0}}.mat-sort-header-arrow{height:12px;width:12px;position:relative;transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1),opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;overflow:visible;color:var(--mat-sort-arrow-color, var(--mat-sys-on-surface))}.mat-sort-header.cdk-keyboard-focused .mat-sort-header-arrow,.mat-sort-header.cdk-program-focused .mat-sort-header-arrow,.mat-sort-header:hover .mat-sort-header-arrow{opacity:.54}.mat-sort-header .mat-sort-header-sorted .mat-sort-header-arrow{opacity:1}.mat-sort-header-descending .mat-sort-header-arrow{transform:rotate(180deg)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transform:translateY(-25%)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-ascending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-recently-cleared-descending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-descending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-animations-disabled .mat-sort-header-arrow{transition-duration:0ms;animation-duration:0ms}.mat-sort-header-arrow svg{width:24px;height:24px;fill:currentColor;position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px;transform:translateZ(0)}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}
40
40
  `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Ose=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({providers:[Rse],imports:[ma]}));let e=t;return e})(),Mse=[[["caption"]],[["colgroup"],["col"]],"*"],Ase=["caption","colgroup, col","*"];function Pse(e,t){e&1&&pt(0,2)}function Lse(e,t){e&1&&(j(0,"thead",0),Cn(1,1),V(),j(2,"tbody",0),Cn(3,2)(4,3),V(),j(5,"tfoot",0),Cn(6,4),V())}function Fse(e,t){e&1&&Cn(0,1)(1,2)(2,3)(3,4)}var _a=new K("CDK_TABLE"),lh=(()=>{const t=class t{constructor(){s(this,"template",S(nn))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",ye({type:t,selectors:[["","cdkCellDef",""]]}));let e=t;return e})(),uh=(()=>{const t=class t{constructor(){s(this,"template",S(nn))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",ye({type:t,selectors:[["","cdkHeaderCellDef",""]]}));let e=t;return e})(),jse=(()=>{const t=class t{constructor(){s(this,"template",S(nn))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",ye({type:t,selectors:[["","cdkFooterCellDef",""]]}));let e=t;return e})(),Yo=(()=>{const t=class t{constructor(){s(this,"_table",S(_a,{optional:!0}));s(this,"_hasStickyChanged",!1);s(this,"_name");s(this,"_sticky",!1);s(this,"_stickyEnd",!1);s(this,"cell");s(this,"headerCell");s(this,"footerCell");s(this,"cssClassFriendlyName");s(this,"_columnCssClassName")}get name(){return this._name}set name(n){this._setNameInput(n)}get sticky(){return this._sticky}set sticky(n){n!==this._sticky&&(this._sticky=n,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(n){n!==this._stickyEnd&&(this._stickyEnd=n,this._hasStickyChanged=!0)}hasStickyChanged(){let n=this._hasStickyChanged;return this.resetStickyChanged(),n}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(n){n&&(this._name=n,this.cssClassFriendlyName=n.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",ye({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(n,r,i){if(n&1&&(Ma(i,lh,5),Ma(i,uh,5),Ma(i,jse,5)),n&2){let o;ln(o=un())&&(r.cell=o.first),ln(o=un())&&(r.headerCell=o.first),ln(o=un())&&(r.footerCell=o.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",Lt],stickyEnd:[2,"stickyEnd","stickyEnd",Lt]},features:[Tn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}])]}));let e=t;return e})(),r9=class{constructor(e,t){t.nativeElement.classList.add(...e._columnCssClassName)}},Vse=(()=>{const t=class t extends r9{constructor(){super(S(Yo),S(Qe))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",ye({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[Ye]}));let e=t;return e})(),zse=(()=>{const t=class t extends r9{constructor(){var o;let n=S(Yo),r=S(Qe);super(n,r);let i=(o=n._table)==null?void 0:o._getCellRole();i&&r.nativeElement.setAttribute("role",i)}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",ye({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[Ye]}));let e=t;return e})(),vv=class{constructor(){s(this,"tasks",[]);s(this,"endTasks",[])}},ch=new K("_COALESCED_STYLE_SCHEDULER"),i9=(()=>{const t=class t{constructor(){s(this,"_currentSchedule",null);s(this,"_ngZone",S(ze))}schedule(n){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(n)}scheduleEnd(n){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(n)}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new vv,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let n=this._currentSchedule;this._currentSchedule=new vv;for(let r of n.tasks)r();for(let r of n.endTasks)r()}this._currentSchedule=null})))}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵprov",z({token:t,factory:t.ɵfac}));let e=t;return e})(),bm=(()=>{const t=class t{constructor(){s(this,"template",S(nn));s(this,"_differs",S(Xi));s(this,"columns");s(this,"_columnsDiffer")}ngOnChanges(n){if(!this._columnsDiffer){let r=n.columns&&n.columns.currentValue||[];this._columnsDiffer=this._differs.find(r).create(),this._columnsDiffer.diff(r)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(n){return this instanceof tu?n.headerCell.template:this instanceof o9?n.footerCell.template:n.cell.template}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",ye({type:t,features:[Gr]}));let e=t;return e})(),tu=(()=>{const t=class t extends bm{constructor(){super(S(nn),S(Xi));s(this,"_table",S(_a,{optional:!0}));s(this,"_hasStickyChanged",!1);s(this,"_sticky",!1)}get sticky(){return this._sticky}set sticky(r){r!==this._sticky&&(this._sticky=r,this._hasStickyChanged=!0)}ngOnChanges(r){super.ngOnChanges(r)}hasStickyChanged(){let r=this._hasStickyChanged;return this.resetStickyChanged(),r}resetStickyChanged(){this._hasStickyChanged=!1}};s(t,"ɵfac",function(r){return new(r||t)}),s(t,"ɵdir",ye({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",Lt]},features:[Ye,Gr]}));let e=t;return e})(),o9=(()=>{const t=class t extends bm{constructor(){super(S(nn),S(Xi));s(this,"_table",S(_a,{optional:!0}));s(this,"_hasStickyChanged",!1);s(this,"_sticky",!1)}get sticky(){return this._sticky}set sticky(r){r!==this._sticky&&(this._sticky=r,this._hasStickyChanged=!0)}ngOnChanges(r){super.ngOnChanges(r)}hasStickyChanged(){let r=this._hasStickyChanged;return this.resetStickyChanged(),r}resetStickyChanged(){this._hasStickyChanged=!1}};s(t,"ɵfac",function(r){return new(r||t)}),s(t,"ɵdir",ye({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",Lt]},features:[Ye,Gr]}));let e=t;return e})(),dh=(()=>{const t=class t extends bm{constructor(){super(S(nn),S(Xi));s(this,"_table",S(_a,{optional:!0}));s(this,"when")}};s(t,"ɵfac",function(r){return new(r||t)}),s(t,"ɵdir",ye({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[Ye]}));let e=t;return e})(),Vi=(()=>{const t=class t{constructor(){s(this,"_viewContainer",S(Kn));s(this,"cells");s(this,"context");t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}};s(t,"mostRecentCellOutlet",null),s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",ye({type:t,selectors:[["","cdkCellOutlet",""]]}));let e=t;return e})(),bv=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Oe({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,r){n&1&&Cn(0,0)},dependencies:[Vi],encapsulation:2}));let e=t;return e})(),yv=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Oe({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,r){n&1&&Cn(0,0)},dependencies:[Vi],encapsulation:2}));let e=t;return e})(),Bse=(()=>{const t=class t{constructor(){s(this,"templateRef",S(nn));s(this,"_contentClassName","cdk-no-data-row")}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",ye({type:t,selectors:[["ng-template","cdkNoDataRow",""]]}));let e=t;return e})(),_v=["top","bottom","left","right"],Hse=class{constructor(e,t,a,n,r=!0,i=!0,o,l){s(this,"_isNativeHtmlTable");s(this,"_stickCellCss");s(this,"direction");s(this,"_coalescedStyleScheduler");s(this,"_isBrowser");s(this,"_needsPositionStickyOnElement");s(this,"_positionListener");s(this,"_tableInjector");s(this,"_elemSizeCache",new WeakMap);s(this,"_resizeObserver",globalThis!=null&&globalThis.ResizeObserver?new globalThis.ResizeObserver(e=>this._updateCachedSizes(e)):null);s(this,"_updatedStickyColumnsParamsToReplay",[]);s(this,"_stickyColumnsReplayTimeout",null);s(this,"_cachedCellWidths",[]);s(this,"_borderCellCss");s(this,"_destroyed",!1);this._isNativeHtmlTable=e,this._stickCellCss=t,this.direction=a,this._coalescedStyleScheduler=n,this._isBrowser=r,this._needsPositionStickyOnElement=i,this._positionListener=o,this._tableInjector=l,this._borderCellCss={top:`${t}-border-elem-top`,bottom:`${t}-border-elem-bottom`,left:`${t}-border-elem-left`,right:`${t}-border-elem-right`}}clearStickyPositioning(e,t){(t.includes("left")||t.includes("right"))&&this._removeFromStickyColumnReplayQueue(e);let a=[];for(let n of e)n.nodeType===n.ELEMENT_NODE&&a.push(n,...Array.from(n.children));this._afterNextRender({write:()=>{for(let n of a)this._removeStickyStyle(n,t)}})}updateStickyColumns(e,t,a,n=!0,r=!0){var x,k;if(!e.length||!this._isBrowser||!(t.some(D=>D)||a.some(D=>D))){(x=this._positionListener)==null||x.stickyColumnsUpdated({sizes:[]}),(k=this._positionListener)==null||k.stickyEndColumnsUpdated({sizes:[]});return}let i=e[0],o=i.children.length,l=this.direction==="rtl",u=l?"right":"left",c=l?"left":"right",d=t.lastIndexOf(!0),m=a.indexOf(!0),v,g,w;r&&this._updateStickyColumnReplayQueue({rows:[...e],stickyStartStates:[...t],stickyEndStates:[...a]}),this._afterNextRender({earlyRead:()=>{v=this._getCellWidths(i,n),g=this._getStickyStartColumnPositions(v,t),w=this._getStickyEndColumnPositions(v,a)},write:()=>{for(let D of e)for(let N=0;N<o;N++){let O=D.children[N];t[N]&&this._addStickyStyle(O,u,g[N],N===d),a[N]&&this._addStickyStyle(O,c,w[N],N===m)}this._positionListener&&v.some(D=>!!D)&&(this._positionListener.stickyColumnsUpdated({sizes:d===-1?[]:v.slice(0,d+1).map((D,N)=>t[N]?D:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:m===-1?[]:v.slice(m).map((D,N)=>a[N+m]?D:null).reverse()}))}})}stickRows(e,t,a){if(!this._isBrowser)return;let n=a==="bottom"?e.slice().reverse():e,r=a==="bottom"?t.slice().reverse():t,i=[],o=[],l=[];this._afterNextRender({earlyRead:()=>{for(let u=0,c=0;u<n.length;u++){if(!r[u])continue;i[u]=c;let d=n[u];l[u]=this._isNativeHtmlTable?Array.from(d.children):[d];let m=this._retrieveElementSize(d).height;c+=m,o[u]=m}},write:()=>{var c,d;let u=r.lastIndexOf(!0);for(let m=0;m<n.length;m++){if(!r[m])continue;let v=i[m],g=m===u;for(let w of l[m])this._addStickyStyle(w,a,v,g)}a==="top"?(c=this._positionListener)==null||c.stickyHeaderRowsUpdated({sizes:o,offsets:i,elements:l}):(d=this._positionListener)==null||d.stickyFooterRowsUpdated({sizes:o,offsets:i,elements:l})}})}updateStickyFooterContainer(e,t){this._isNativeHtmlTable&&this._afterNextRender({write:()=>{let a=e.querySelector("tfoot");a&&(t.some(n=>!n)?this._removeStickyStyle(a,["bottom"]):this._addStickyStyle(a,"bottom",0,!1))}})}destroy(){var e;this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),(e=this._resizeObserver)==null||e.disconnect(),this._destroyed=!0}_removeStickyStyle(e,t){if(e.classList.contains(this._stickCellCss)){for(let a of t)e.style[a]="",e.classList.remove(this._borderCellCss[a]);_v.some(a=>t.indexOf(a)===-1&&e.style[a])?e.style.zIndex=this._getCalculatedZIndex(e):(e.style.zIndex="",this._needsPositionStickyOnElement&&(e.style.position=""),e.classList.remove(this._stickCellCss))}}_addStickyStyle(e,t,a,n){e.classList.add(this._stickCellCss),n&&e.classList.add(this._borderCellCss[t]),e.style[t]=`${a}px`,e.style.zIndex=this._getCalculatedZIndex(e),this._needsPositionStickyOnElement&&(e.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(e){let t={top:100,bottom:10,left:1,right:1},a=0;for(let n of _v)e.style[n]&&(a+=t[n]);return a?`${a}`:""}_getCellWidths(e,t=!0){if(!t&&this._cachedCellWidths.length)return this._cachedCellWidths;let a=[],n=e.children;for(let r=0;r<n.length;r++){let i=n[r];a.push(this._retrieveElementSize(i).width)}return this._cachedCellWidths=a,a}_getStickyStartColumnPositions(e,t){let a=[],n=0;for(let r=0;r<e.length;r++)t[r]&&(a[r]=n,n+=e[r]);return a}_getStickyEndColumnPositions(e,t){let a=[],n=0;for(let r=e.length;r>0;r--)t[r]&&(a[r]=n,n+=e[r]);return a}_retrieveElementSize(e){let t=this._elemSizeCache.get(e);if(t)return t;let a=e.getBoundingClientRect(),n={width:a.width,height:a.height};return this._resizeObserver&&(this._elemSizeCache.set(e,n),this._resizeObserver.observe(e,{box:"border-box"})),n}_updateStickyColumnReplayQueue(e){this._removeFromStickyColumnReplayQueue(e.rows),this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(e)}_removeFromStickyColumnReplayQueue(e){let t=new Set(e);for(let a of this._updatedStickyColumnsParamsToReplay)a.rows=a.rows.filter(n=>!t.has(n));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(a=>!!a.rows.length)}_updateCachedSizes(e){var a,n;let t=!1;for(let r of e){let i=(a=r.borderBoxSize)!=null&&a.length?{width:r.borderBoxSize[0].inlineSize,height:r.borderBoxSize[0].blockSize}:{width:r.contentRect.width,height:r.contentRect.height};i.width!==((n=this._elemSizeCache.get(r.target))==null?void 0:n.width)&&qse(r.target)&&(t=!0),this._elemSizeCache.set(r.target,i)}t&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{if(!this._destroyed){for(let r of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(r.rows,r.stickyStartStates,r.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null}},0))}_afterNextRender(e){this._tableInjector?Eu(e,{injector:this._tableInjector}):this._coalescedStyleScheduler.schedule(()=>{var t;(t=e.earlyRead)==null||t.call(e),e.write()})}};function qse(e){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(t=>e.classList.contains(t))}var hh=new K("CDK_SPL"),s9=(()=>{const t=class t{constructor(){s(this,"viewContainer",S(Kn));s(this,"elementRef",S(Qe));let n=S(_a);n._rowOutlet=this,n._outletAssigned()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",ye({type:t,selectors:[["","rowOutlet",""]]}));let e=t;return e})(),l9=(()=>{const t=class t{constructor(){s(this,"viewContainer",S(Kn));s(this,"elementRef",S(Qe));let n=S(_a);n._headerRowOutlet=this,n._outletAssigned()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",ye({type:t,selectors:[["","headerRowOutlet",""]]}));let e=t;return e})(),u9=(()=>{const t=class t{constructor(){s(this,"viewContainer",S(Kn));s(this,"elementRef",S(Qe));let n=S(_a);n._footerRowOutlet=this,n._outletAssigned()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",ye({type:t,selectors:[["","footerRowOutlet",""]]}));let e=t;return e})(),c9=(()=>{const t=class t{constructor(){s(this,"viewContainer",S(Kn));s(this,"elementRef",S(Qe));let n=S(_a);n._noDataRowOutlet=this,n._outletAssigned()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",ye({type:t,selectors:[["","noDataRowOutlet",""]]}));let e=t;return e})(),wv=(()=>{const t=class t{constructor(){s(this,"_differs",S(Xi));s(this,"_changeDetectorRef",S(ya));s(this,"_elementRef",S(Qe));s(this,"_dir",S(Bo,{optional:!0}));s(this,"_platform",S(dn));s(this,"_viewRepeater",S(Ud));s(this,"_coalescedStyleScheduler",S(ch));s(this,"_viewportRuler",S(Qp));s(this,"_stickyPositioningListener",S(hh,{optional:!0,skipSelf:!0}));s(this,"_document",S(Fe));s(this,"_data");s(this,"_onDestroy",new ge);s(this,"_renderRows");s(this,"_renderChangeSubscription");s(this,"_columnDefsByName",new Map);s(this,"_rowDefs");s(this,"_headerRowDefs");s(this,"_footerRowDefs");s(this,"_dataDiffer");s(this,"_defaultRowDef");s(this,"_customColumnDefs",new Set);s(this,"_customRowDefs",new Set);s(this,"_customHeaderRowDefs",new Set);s(this,"_customFooterRowDefs",new Set);s(this,"_customNoDataRow");s(this,"_headerRowDefChanged",!0);s(this,"_footerRowDefChanged",!0);s(this,"_stickyColumnStylesNeedReset",!0);s(this,"_forceRecalculateCellWidths",!0);s(this,"_cachedRenderRowsMap",new Map);s(this,"_isNativeHtmlTable");s(this,"_stickyStyler");s(this,"stickyCssClass","cdk-table-sticky");s(this,"needsPositionStickyOnElement",!0);s(this,"_isServer");s(this,"_isShowingNoDataRow",!1);s(this,"_hasAllOutlets",!1);s(this,"_hasInitialized",!1);s(this,"_cellRoleInternal");s(this,"_trackByFn");s(this,"_dataSource");s(this,"_multiTemplateDataRows",!1);s(this,"_fixedLayout",!1);s(this,"contentChanged",new it);s(this,"viewChange",new Ar({start:0,end:Number.MAX_VALUE}));s(this,"_rowOutlet");s(this,"_headerRowOutlet");s(this,"_footerRowOutlet");s(this,"_noDataRowOutlet");s(this,"_contentColumnDefs");s(this,"_contentRowDefs");s(this,"_contentHeaderRowDefs");s(this,"_contentFooterRowDefs");s(this,"_noDataRow");s(this,"_injector",S(ht));S(new Xh("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE",this._dataDiffer=this._differs.find([]).create((n,r)=>this.trackBy?this.trackBy(r.dataIndex,r.data):r)}_getCellRole(){if(this._cellRoleInternal===void 0){let n=this._elementRef.nativeElement.getAttribute("role");return n==="grid"||n==="treegrid"?"gridcell":"cell"}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(n){this._trackByFn=n}get dataSource(){return this._dataSource}set dataSource(n){this._dataSource!==n&&this._switchDataSource(n)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(n){this._multiTemplateDataRows=n,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(n){this._fixedLayout=n,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._viewportRuler.change().pipe(or(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){var n,r,i,o;(n=this._stickyStyler)==null||n.destroy(),[(r=this._rowOutlet)==null?void 0:r.viewContainer,(i=this._headerRowOutlet)==null?void 0:i.viewContainer,(o=this._footerRowOutlet)==null?void 0:o.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(l=>{l==null||l.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Rc(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let n=this._dataDiffer.diff(this._renderRows);if(!n){this._updateNoDataRow(),this.contentChanged.next();return}let r=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(n,r,(i,o,l)=>this._getEmbeddedViewArgs(i.item,l),i=>i.item.data,i=>{i.operation===So.INSERTED&&i.context&&this._renderCellTemplateForItem(i.record.item.rowDef,i.context)}),this._updateRowIndexContext(),n.forEachIdentityChange(i=>{let o=r.get(i.currentIndex);o.context.$implicit=i.item.data}),this._updateNoDataRow(),this.contentChanged.next(),this.updateStickyColumnStyles()}addColumnDef(n){this._customColumnDefs.add(n)}removeColumnDef(n){this._customColumnDefs.delete(n)}addRowDef(n){this._customRowDefs.add(n)}removeRowDef(n){this._customRowDefs.delete(n)}addHeaderRowDef(n){this._customHeaderRowDefs.add(n),this._headerRowDefChanged=!0}removeHeaderRowDef(n){this._customHeaderRowDefs.delete(n),this._headerRowDefChanged=!0}addFooterRowDef(n){this._customFooterRowDefs.add(n),this._footerRowDefChanged=!0}removeFooterRowDef(n){this._customFooterRowDefs.delete(n),this._footerRowDefChanged=!0}setNoDataRow(n){this._customNoDataRow=n}updateStickyHeaderRowStyles(){let n=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let i=xv(this._headerRowOutlet,"thead");i&&(i.style.display=n.length?"":"none")}let r=this._headerRowDefs.map(i=>i.sticky);this._stickyStyler.clearStickyPositioning(n,["top"]),this._stickyStyler.stickRows(n,r,"top"),this._headerRowDefs.forEach(i=>i.resetStickyChanged())}updateStickyFooterRowStyles(){let n=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let i=xv(this._footerRowOutlet,"tfoot");i&&(i.style.display=n.length?"":"none")}let r=this._footerRowDefs.map(i=>i.sticky);this._stickyStyler.clearStickyPositioning(n,["bottom"]),this._stickyStyler.stickRows(n,r,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,r),this._footerRowDefs.forEach(i=>i.resetStickyChanged())}updateStickyColumnStyles(){let n=this._getRenderedRows(this._headerRowOutlet),r=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...n,...r,...i],["left","right"]),this._stickyColumnStylesNeedReset=!1),n.forEach((o,l)=>{this._addStickyColumnStyles([o],this._headerRowDefs[l])}),this._rowDefs.forEach(o=>{let l=[];for(let u=0;u<r.length;u++)this._renderRows[u].rowDef===o&&l.push(r[u]);this._addStickyColumnStyles(l,o)}),i.forEach((o,l)=>{this._addStickyColumnStyles([o],this._footerRowDefs[l])}),Array.from(this._columnDefsByName.values()).forEach(o=>o.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let n=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||n,this._forceRecalculateCellWidths=n,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let n=[],r=this._cachedRenderRowsMap;if(this._cachedRenderRowsMap=new Map,!this._data)return n;for(let i=0;i<this._data.length;i++){let o=this._data[i],l=this._getRenderRowsForData(o,i,r.get(o));this._cachedRenderRowsMap.has(o)||this._cachedRenderRowsMap.set(o,new WeakMap);for(let u=0;u<l.length;u++){let c=l[u],d=this._cachedRenderRowsMap.get(c.data);d.has(c.rowDef)?d.get(c.rowDef).push(c):d.set(c.rowDef,[c]),n.push(c)}}return n}_getRenderRowsForData(n,r,i){return this._getRowDefs(n,r).map(o=>{let l=i&&i.has(o)?i.get(o):[];if(l.length){let u=l.shift();return u.dataIndex=r,u}else return{data:n,rowDef:o,dataIndex:r}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Js(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(n=>{this._columnDefsByName.has(n.name),this._columnDefsByName.set(n.name,n)})}_cacheRowDefs(){this._headerRowDefs=Js(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Js(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Js(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let n=this._rowDefs.filter(r=>!r.when);!this.multiTemplateDataRows&&n.length>1,this._defaultRowDef=n[0]}_renderUpdatedColumns(){let n=(l,u)=>{let c=!!u.getColumnsDiff();return l||c},r=this._rowDefs.reduce(n,!1);r&&this._forceRenderDataRows();let i=this._headerRowDefs.reduce(n,!1);i&&this._forceRenderHeaderRows();let o=this._footerRowDefs.reduce(n,!1);return o&&this._forceRenderFooterRows(),r||i||o}_switchDataSource(n){this._data=[],Rc(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),n||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=n}_observeRenderChanges(){if(!this.dataSource)return;let n;Rc(this.dataSource)?n=this.dataSource.connect(this):vi(this.dataSource)?n=this.dataSource:Array.isArray(this.dataSource)&&(n=et(this.dataSource)),this._renderChangeSubscription=n.pipe(or(this._onDestroy)).subscribe(r=>{this._data=r||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((n,r)=>this._renderRow(this._headerRowOutlet,n,r)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((n,r)=>this._renderRow(this._footerRowOutlet,n,r)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(n,r){let i=Array.from((r==null?void 0:r.columns)||[]).map(u=>this._columnDefsByName.get(u)),o=i.map(u=>u.sticky),l=i.map(u=>u.stickyEnd);this._stickyStyler.updateStickyColumns(n,o,l,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(n){let r=[];for(let i=0;i<n.viewContainer.length;i++){let o=n.viewContainer.get(i);r.push(o.rootNodes[0])}return r}_getRowDefs(n,r){if(this._rowDefs.length==1)return[this._rowDefs[0]];let i=[];if(this.multiTemplateDataRows)i=this._rowDefs.filter(o=>!o.when||o.when(r,n));else{let o=this._rowDefs.find(l=>l.when&&l.when(r,n))||this._defaultRowDef;o&&i.push(o)}return i.length,i}_getEmbeddedViewArgs(n,r){let i=n.rowDef,o={$implicit:n.data};return{templateRef:i.template,context:o,index:r}}_renderRow(n,r,i,o={}){let l=n.viewContainer.createEmbeddedView(r.template,o,i);return this._renderCellTemplateForItem(r,o),l}_renderCellTemplateForItem(n,r){for(let i of this._getCellTemplates(n))Vi.mostRecentCellOutlet&&Vi.mostRecentCellOutlet._viewContainer.createEmbeddedView(i,r);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let n=this._rowOutlet.viewContainer;for(let r=0,i=n.length;r<i;r++){let o=n.get(r).context;o.count=i,o.first=r===0,o.last=r===i-1,o.even=r%2===0,o.odd=!o.even,this.multiTemplateDataRows?(o.dataIndex=this._renderRows[r].dataIndex,o.renderIndex=r):o.index=this._renderRows[r].dataIndex}}_getCellTemplates(n){return!n||!n.columns?[]:Array.from(n.columns,r=>{let i=this._columnDefsByName.get(r);return n.extractCellTemplate(i)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let n=(r,i)=>r||i.hasStickyChanged();this._headerRowDefs.reduce(n,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(n,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(n,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let n=this._dir?this._dir.value:"ltr";this._stickyStyler=new Hse(this._isNativeHtmlTable,this.stickyCssClass,n,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener,this._injector),(this._dir?this._dir.change:et()).pipe(or(this._onDestroy)).subscribe(r=>{this._stickyStyler.direction=r,this.updateStickyColumnStyles()})}_getOwnDefs(n){return n.filter(r=>!r._table||r._table===this)}_updateNoDataRow(){let n=this._customNoDataRow||this._noDataRow;if(!n)return;let r=this._rowOutlet.viewContainer.length===0;if(r===this._isShowingNoDataRow)return;let i=this._noDataRowOutlet.viewContainer;if(r){let o=i.createEmbeddedView(n.templateRef),l=o.rootNodes[0];o.rootNodes.length===1&&(l==null?void 0:l.nodeType)===this._document.ELEMENT_NODE&&(l.setAttribute("role","row"),l.classList.add(n._contentClassName))}else i.clear();this._isShowingNoDataRow=r,this._changeDetectorRef.markForCheck()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Oe({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(n,r,i){if(n&1&&(Ma(i,Bse,5),Ma(i,Yo,5),Ma(i,dh,5),Ma(i,tu,5),Ma(i,o9,5)),n&2){let o;ln(o=un())&&(r._noDataRow=o.first),ln(o=un())&&(r._contentColumnDefs=o),ln(o=un())&&(r._contentRowDefs=o),ln(o=un())&&(r._contentHeaderRowDefs=o),ln(o=un())&&(r._contentFooterRowDefs=o)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(n,r){n&2&&jt("cdk-table-fixed-layout",r.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",Lt],fixedLayout:[2,"fixedLayout","fixedLayout",Lt]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[Tn([{provide:_a,useExisting:t},{provide:Ud,useClass:N1},{provide:ch,useClass:i9},{provide:hh,useValue:null}])],ngContentSelectors:Ase,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,r){n&1&&(jn(Mse),pt(0),pt(1,1),Ee(2,Pse,1,0)(3,Lse,7,0)(4,Fse,4,0)),n&2&&(P(2),$e(r._isServer?2:-1),P(),$e(r._isNativeHtmlTable?3:4))},dependencies:[l9,s9,c9,u9],styles:[`.cdk-table-fixed-layout{table-layout:fixed}
41
41
  `],encapsulation:2}));let e=t;return e})();function Js(e,t){return e.concat(Array.from(t))}function xv(e,t){let a=t.toUpperCase(),n=e.viewContainer.element.nativeElement;for(;n;){let r=n.nodeType===1?n.nodeName:null;if(r===a)return n;if(r==="TABLE")break;n=n.parentNode}return null}var $se=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({imports:[Gd]}));let e=t;return e})(),Use=[[["caption"]],[["colgroup"],["col"]],"*"],Gse=["caption","colgroup, col","*"];function Wse(e,t){e&1&&pt(0,2)}function Zse(e,t){e&1&&(j(0,"thead",0),Cn(1,1),V(),j(2,"tbody",2),Cn(3,3)(4,4),V(),j(5,"tfoot",0),Cn(6,5),V())}function Yse(e,t){e&1&&Cn(0,1)(1,3)(2,4)(3,5)}var Kse=(()=>{const t=class t extends wv{constructor(){super(...arguments);s(this,"stickyCssClass","mat-mdc-table-sticky");s(this,"needsPositionStickyOnElement",!1)}};s(t,"ɵfac",(()=>{let r;return function(i){return(r||(r=tt(t)))(i||t)}})()),s(t,"ɵcmp",Oe({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(r,i){r&2&&jt("mdc-table-fixed-layout",i.fixedLayout)},exportAs:["matTable"],features:[Tn([{provide:wv,useExisting:t},{provide:_a,useExisting:t},{provide:ch,useClass:i9},{provide:Ud,useClass:N1},{provide:hh,useValue:null}]),Ye],ngContentSelectors:Gse,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(r,i){r&1&&(jn(Use),pt(0),pt(1,1),Ee(2,Wse,1,0)(3,Zse,7,0)(4,Yse,4,0)),r&2&&(P(2),$e(i._isServer?2:-1),P(),$e(i._isNativeHtmlTable?3:4))},dependencies:[l9,s9,c9,u9],styles:[`.mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:var(--mat-table-header-container-height, 56px)}mat-row{min-height:var(--mat-table-row-item-container-height, 52px)}mat-footer-row{min-height:var(--mat-table-footer-container-height, 52px)}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-sys-surface))}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500))}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking, var(--mat-sys-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mdc-data-table__row:last-child>.mat-mdc-header-cell{border-bottom:none}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));line-height:inherit}.mdc-data-table__row:last-child>.mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking))}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}
42
42
  `],encapsulation:2}));let e=t;return e})(),Qse=(()=>{const t=class t extends lh{};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=tt(t)))(r||t)}})()),s(t,"ɵdir",ye({type:t,selectors:[["","matCellDef",""]],features:[Tn([{provide:lh,useExisting:t}]),Ye]}));let e=t;return e})(),Xse=(()=>{const t=class t extends uh{};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=tt(t)))(r||t)}})()),s(t,"ɵdir",ye({type:t,selectors:[["","matHeaderCellDef",""]],features:[Tn([{provide:uh,useExisting:t}]),Ye]}));let e=t;return e})(),Jse=(()=>{const t=class t extends Yo{get name(){return this._name}set name(n){this._setNameInput(n)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=tt(t)))(r||t)}})()),s(t,"ɵdir",ye({type:t,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[Tn([{provide:Yo,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),Ye]}));let e=t;return e})(),ele=(()=>{const t=class t extends Vse{};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=tt(t)))(r||t)}})()),s(t,"ɵdir",ye({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[Ye]}));let e=t;return e})(),tle=(()=>{const t=class t extends zse{};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=tt(t)))(r||t)}})()),s(t,"ɵdir",ye({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[Ye]}));let e=t;return e})(),nle=(()=>{const t=class t extends tu{};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=tt(t)))(r||t)}})()),s(t,"ɵdir",ye({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",Lt]},features:[Tn([{provide:tu,useExisting:t}]),Ye]}));let e=t;return e})(),ale=(()=>{const t=class t extends dh{};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=tt(t)))(r||t)}})()),s(t,"ɵdir",ye({type:t,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[Tn([{provide:dh,useExisting:t}]),Ye]}));let e=t;return e})(),rle=(()=>{const t=class t extends bv{};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=tt(t)))(r||t)}})()),s(t,"ɵcmp",Oe({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[Tn([{provide:bv,useExisting:t}]),Ye],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,r){n&1&&Cn(0,0)},dependencies:[Vi],encapsulation:2}));let e=t;return e})(),ile=(()=>{const t=class t extends yv{};s(t,"ɵfac",(()=>{let n;return function(r){return(n||(n=tt(t)))(r||t)}})()),s(t,"ɵcmp",Oe({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[Tn([{provide:yv,useExisting:t}]),Ye],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,r){n&1&&Cn(0,0)},dependencies:[Vi],encapsulation:2}));let e=t;return e})(),ole=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵmod",Bt({type:t})),s(t,"ɵinj",zt({imports:[ma,$se,ma]}));let e=t;return e})(),sle=9007199254740991,lle=class extends lJ{constructor(t=[]){super();s(this,"_data");s(this,"_renderData",new Ar([]));s(this,"_filter",new Ar(""));s(this,"_internalPageChanges",new ge);s(this,"_renderChangesSubscription",null);s(this,"filteredData");s(this,"_sort");s(this,"_paginator");s(this,"sortingDataAccessor",(t,a)=>{let n=t[a];if(n1(n)){let r=Number(n);return r<sle?r:n}return n});s(this,"sortData",(t,a)=>{let n=a.active,r=a.direction;return!n||r==""?t:t.sort((i,o)=>{let l=this.sortingDataAccessor(i,n),u=this.sortingDataAccessor(o,n),c=typeof l,d=typeof u;c!==d&&(c==="number"&&(l+=""),d==="number"&&(u+=""));let m=0;return l!=null&&u!=null?l>u?m=1:l<u&&(m=-1):l!=null?m=1:u!=null&&(m=-1),m*(r=="asc"?1:-1)})});s(this,"filterPredicate",(t,a)=>{let n=a.trim().toLowerCase();return Object.values(t).some(r=>`${r}`.toLowerCase().includes(n))});this._data=new Ar(t),this._updateChangeSubscription()}get data(){return this._data.value}set data(t){t=Array.isArray(t)?t:[],this._data.next(t),this._renderChangesSubscription||this._filterData(t)}get filter(){return this._filter.value}set filter(t){this._filter.next(t),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(t){this._sort=t,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(t){this._paginator=t,this._updateChangeSubscription()}_updateChangeSubscription(){var l;let t=this._sort?Lr(this._sort.sortChange,this._sort.initialized):et(null),a=this._paginator?Lr(this._paginator.page,this._internalPageChanges,this._paginator.initialized):et(null),n=this._data,r=al([n,this._filter]).pipe(Pt(([u])=>this._filterData(u))),i=al([r,t]).pipe(Pt(([u])=>this._orderData(u))),o=al([i,a]).pipe(Pt(([u])=>this._pageData(u)));(l=this._renderChangesSubscription)==null||l.unsubscribe(),this._renderChangesSubscription=o.subscribe(u=>this._renderData.next(u))}_filterData(t){return this.filteredData=this.filter==null||this.filter===""?t:t.filter(a=>this.filterPredicate(a,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(t){return this.sort?this.sortData(t.slice(),this.sort):t}_pageData(t){if(!this.paginator)return t;let a=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(a,a+this.paginator.pageSize)}_updatePaginator(t){Promise.resolve().then(()=>{let a=this.paginator;if(a&&(a.length=t,a.pageIndex>0)){let n=Math.ceil(a.length/a.pageSize)-1||0,r=Math.min(a.pageIndex,n);r!==a.pageIndex&&(a.pageIndex=r,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var t;(t=this._renderChangesSubscription)==null||t.unsubscribe(),this._renderChangesSubscription=null}};Cv(Kq());var ule=[[["","alert-details",""]]],cle=["[alert-details]"];function dle(e,t){if(e&1&&(j(0,"h2"),ee(1),V()),e&2){let a=pe();P(),Ue(" ",a.alertTitle()," ")}}function hle(e,t){if(e&1){let a=ba();j(0,"button",7),rn("click",function(){gn(a);let n=pe(2);return vn(n.onActionButtonClicked())}),ee(1),V()}if(e&2){let a=pe(2);je("disabled",a.buttonDisabled()),P(),Ue(" ",a.buttonLabel()," ")}}function ple(e,t){if(e&1&&(j(0,"span",5),pt(1),V(),Ee(2,hle,2,2,"button",6)),e&2){let a=pe();P(2),$e(a.actionButton()?2:-1)}}function mle(e,t){if(e&1){let a=ba();j(0,"mat-icon",8),rn("click",function(){gn(a);let n=pe();return vn(n.onCloseButtonClick())})("keydown.enter",function(){gn(a);let n=pe();return vn(n.onCloseButtonClick())})("keydown.space",function(){gn(a);let n=pe();return vn(n.onCloseButtonClick())}),V()}if(e&2){let a=pe();$t("aria-label",a.closeButtonAriaLabel())}}function fle(e,t){if(e&1){let a=ba();j(0,"mat-icon",9),rn("click",function(){gn(a);let n=pe();return vn(n.toggleExpanded())})("keydown.enter",function(){gn(a);let n=pe();return vn(n.toggleExpanded())})("keydown.space",function(){gn(a);let n=pe();return vn(n.toggleExpanded())}),V()}if(e&2){let a=pe();je("fontIcon",a.expanded()?"keyboard_arrow_up":"keyboard_arrow_down"),$t("aria-label",a.currentExpandIconAriaLabel)}}var gle=(()=>{const t=class t{constructor(){s(this,"usage",qe("info"));s(this,"backgroundColor",qe("color"));s(this,"alertTitle",qe());s(this,"actionButton",qe(!1));s(this,"buttonDisabled",qe(!1));s(this,"buttonLabel",qe());s(this,"dismissMode",qe("pinned"));s(this,"closeButtonAriaLabel",qe(""));s(this,"startExpanded",qe(!1));s(this,"expandedButtonAriaLabel",qe(""));s(this,"collapsedButtonAriaLabel",qe(""));s(this,"closeButtonClicked",Al());s(this,"actionButtonClicked",Al());s(this,"expanded",aK(()=>this.startExpanded()));s(this,"currentExpandIconAriaLabel",Vl(()=>this.expanded()?this.expandedButtonAriaLabel():this.collapsedButtonAriaLabel()));s(this,"toggleExpanded",()=>{this.expanded.update(n=>!n)});s(this,"onActionButtonClicked",()=>{this.actionButtonClicked.emit()});s(this,"fontIcon",Vl(()=>({info:"info",success:"check_circle",warning:"warning",error:"emergency_home",notification:"notifications"})[this.usage()]??"info"))}onCloseButtonClick(){this.closeButtonClicked.emit()}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Oe({type:t,selectors:[["mh-alert"]],inputs:{usage:[1,"usage"],backgroundColor:[1,"backgroundColor"],alertTitle:[1,"alertTitle"],actionButton:[1,"actionButton"],buttonDisabled:[1,"buttonDisabled"],buttonLabel:[1,"buttonLabel"],dismissMode:[1,"dismissMode"],closeButtonAriaLabel:[1,"closeButtonAriaLabel"],startExpanded:[1,"startExpanded"],expandedButtonAriaLabel:[1,"expandedButtonAriaLabel"],collapsedButtonAriaLabel:[1,"collapsedButtonAriaLabel"]},outputs:{closeButtonClicked:"closeButtonClicked",actionButtonClicked:"actionButtonClicked"},ngContentSelectors:cle,decls:7,vars:8,consts:[["role","alert","aria-live","assertive"],[3,"fontIcon"],[1,"flex-grow"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon"],["type","button","tabindex","0",1,"top-right-icon",3,"fontIcon"],[1,"alert-details"],["type","button","mat-flat-button","",3,"disabled"],["type","button","mat-flat-button","",3,"click","disabled"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon",3,"click","keydown.enter","keydown.space"],["type","button","tabindex","0",1,"top-right-icon",3,"click","keydown.enter","keydown.space","fontIcon"]],template:function(n,r){n&1&&(jn(ule),j(0,"div",0),lt(1,"mat-icon",1),j(2,"div",2),Ee(3,dle,2,1,"h2")(4,ple,3,1),V(),Ee(5,mle,1,1,"mat-icon",3)(6,fle,1,2,"mat-icon",4),V()),n&2&&(Ru(r.usage()),jt("white",r.backgroundColor()==="white"),P(),je("fontIcon",r.fontIcon()),P(2),$e(r.alertTitle()?3:-1),P(),$e(r.dismissMode()!=="expandable"||r.expanded()?4:-1),P(),$e(r.dismissMode()==="closable"?5:r.dismissMode()==="expandable"?6:-1))},dependencies:[k_,zu,ys],styles:[".info[_ngcontent-%COMP%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#f2f7fd}.info[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.info[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em;color:#1d5caf;margin:0}.info[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em;color:#1d5caf;margin:0}.info[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#1d5caf;flex-shrink:0}.info[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%]{cursor:pointer}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#2473db;width:max-content}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#1d5caf}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#1d5caf}.success[_ngcontent-%COMP%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#f2fcf8}.success[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.success[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em;color:#1d8657;margin:0}.success[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em;color:#1d8657;margin:0}.success[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#1d8657;flex-shrink:0}.success[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%]{cursor:pointer}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#1d8657;width:max-content}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#145c3c}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#145c3c}.warning[_ngcontent-%COMP%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#ffeee0}.warning[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.warning[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em;color:#662e00;margin:0}.warning[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em;color:#662e00;margin:0}.warning[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#662e00;flex-shrink:0}.warning[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%]{cursor:pointer}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#994500;width:max-content}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#662e00}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#662e00}.error[_ngcontent-%COMP%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#fff6f5}.error[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.error[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em;color:#c41c0d;margin:0}.error[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em;color:#c41c0d;margin:0}.error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#c41c0d;flex-shrink:0}.error[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%]{cursor:pointer}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#c41c0d;width:max-content}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#8f0c00}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#8f0c00}.notification[_ngcontent-%COMP%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#f5f5f5}.notification[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.notification[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;font-size:1rem;line-height:1.375rem;letter-spacing:0em;color:#0d0d0d;margin:0}.notification[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;font-size:.875rem;line-height:normal;letter-spacing:0em;color:#0d0d0d;margin:0}.notification[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#c41c0d;flex-shrink:0}.notification[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%]{cursor:pointer}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#2473db;width:max-content}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#1d5caf}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#1d5caf}.notification[_ngcontent-%COMP%] mat-icon.close[_ngcontent-%COMP%]{color:#0d0d0d}.white[_ngcontent-%COMP%]{background:#fff}.white[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .white[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#0d0d0d}"]}));let e=t;return e})();function vle(e,t){if(e&1&&(j(0,"mh-alert",0),te(1,"translate"),j(2,"div",1),ee(3),te(4,"translate"),V()()),e&2){let a=pe();je("alertTitle",ae(1,2,"commons.errors.data-not-available-title")),P(3),Pe(ae(4,4,"commons.errors."+a.error().code))}}var ble=(()=>{const t=class t{constructor(){this.error=qe.required(),this.vidisErrorGroup=Fa}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Oe({type:t,selectors:[["vidis-status-message"]],inputs:{error:[1,"error"]},decls:1,vars:1,consts:[["usage","info",3,"alertTitle"],["alert-details",""]],template:function(n,r){n&1&&Ee(0,vle,5,6,"mh-alert",0),n&2&&$e(r.error().group===r.vidisErrorGroup.TEMP_UNAVAILABLE?0:-1)},dependencies:[fr,gle],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})(),yle=["*"],_le=(()=>{const t=class t{constructor(){this.item=qe.required(),this.expandedElement=QW.required()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Oe({type:t,selectors:[["vidis-table-detail-button"]],inputs:{item:[1,"item"],expandedElement:[1,"expandedElement"]},outputs:{expandedElement:"expandedElementChange"},ngContentSelectors:yle,decls:3,vars:1,consts:[["mat-button","",1,"font",3,"click"],[3,"fontIcon"]],template:function(n,r){n&1&&(jn(),j(0,"button",0),rn("click",function(){return r.expandedElement.set(r.expandedElement()===r.item()?null:r.item())}),lt(1,"mat-icon",1),pt(2),V()),n&2&&(P(),je("fontIcon",r.item()===r.expandedElement()?"keyboard_arrow_up":"keyboard_arrow_down"))},dependencies:[nm,ys,zu],styles:[".font[_ngcontent-%COMP%]{font-size:1rem}"]});let e=t;return e})(),wle=["*"],xle=(e,t,a,n,r)=>({"custom-content":e,circle:t,progress:a,"progress-dark":n,pulse:r});function Ele(e,t){e&1&&pt(0)}function Sle(e,t){if(e&1&&(j(0,"div",0),Ee(1,Ele,1,0),V()),e&2){let a=pe(),n=Mf(0),r=Mf(1);je("ngClass",wY(5,xle,n==="custom-content",n==="circle",r==="progress",r==="progress-dark",r==="pulse"))("ngStyle",a.styles()),$t("aria-label",a.ariaLabel())("aria-valuetext",a.loadingText()),P(),$e(n==="custom-content"?1:-1)}}var d9=new K("ngx-skeleton-loader.config"),h9=(()=>{var t;const a=class a{constructor(){Mm(this,t);var r,i,o,l,u,c;Am(this,t,S(d9,{optional:!0})),this.count=qe(((r=Ra(this,t))==null?void 0:r.count)||1,{transform:Ap}),this.loadingText=qe(((i=Ra(this,t))==null?void 0:i.loadingText)||"Loading..."),this.appearance=qe(((o=Ra(this,t))==null?void 0:o.appearance)||"line"),this.animation=qe(((l=Ra(this,t))==null?void 0:l.animation)||"progress"),this.ariaLabel=qe(((u=Ra(this,t))==null?void 0:u.ariaLabel)||"loading"),this.theme=qe(((c=Ra(this,t))==null?void 0:c.theme)||null),this.items=Vl(()=>{let d=this.count()||1;return this.appearance()==="custom-content"&&jY(),[...Array(d)].map((m,v)=>v)}),this.styles=Vl(()=>{var m,v,g;let d=this.theme();return(v=(m=Ra(this,t))==null?void 0:m.theme)!=null&&v.extendsFromRoot?ue(ue({},(g=Ra(this,t))==null?void 0:g.theme),d):d})}};t=new WeakMap,a.ɵfac=function(r){return new(r||a)},a.ɵcmp=Oe({type:a,selectors:[["ngx-skeleton-loader"]],inputs:{count:[1,"count"],loadingText:[1,"loadingText"],appearance:[1,"appearance"],animation:[1,"animation"],ariaLabel:[1,"ariaLabel"],theme:[1,"theme"]},ngContentSelectors:wle,decls:4,vars:2,consts:[["aria-busy","true","aria-valuemin","0","aria-valuemax","100","role","progressbar","tabindex","-1",1,"skeleton-loader",3,"ngClass","ngStyle"]],template:function(r,i){r&1&&(jn(),l_(0)(1),Ki(2,Sle,2,11,"div",0,Tp)),r&2&&(Of(i.appearance()),P(),Of(i.animation()),P(),Qi(i.items()))},dependencies:[Lp,UK],styles:['.skeleton-loader[_ngcontent-%COMP%]{box-sizing:border-box;overflow:hidden;position:relative;background:#eff1f6 no-repeat;border-radius:4px;width:100%;height:20px;display:inline-block;margin-bottom:10px;will-change:transform}.skeleton-loader[_ngcontent-%COMP%]:after, .skeleton-loader[_ngcontent-%COMP%]:before{box-sizing:border-box}.skeleton-loader.circle[_ngcontent-%COMP%]{width:40px;height:40px;margin:5px;border-radius:50%}.skeleton-loader.progress[_ngcontent-%COMP%], .skeleton-loader.progress-dark[_ngcontent-%COMP%]{transform:translateZ(0)}.skeleton-loader.progress[_ngcontent-%COMP%]:after, .skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:after, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{box-sizing:border-box}.skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{animation:_ngcontent-%COMP%_progress 2s ease-in-out infinite;background-size:200px 100%;position:absolute;z-index:1;top:0;left:0;width:200px;height:100%;content:""}.skeleton-loader.progress[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,#fff0,#fff9,#fff0)}.skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,transparent,rgba(0,0,0,.2),transparent)}.skeleton-loader.pulse[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse 1.5s cubic-bezier(.4,0,.2,1) infinite;animation-delay:.5s}.skeleton-loader.custom-content[_ngcontent-%COMP%]{height:100%;background:none}@media (prefers-reduced-motion: reduce){.skeleton-loader.pulse[_ngcontent-%COMP%], .skeleton-loader.progress-dark[_ngcontent-%COMP%], .skeleton-loader.custom-content[_ngcontent-%COMP%], .skeleton-loader.progress[_ngcontent-%COMP%]:before{animation:none}.skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%], .skeleton-loader.custom-content[_ngcontent-%COMP%]{background-image:none}}@media screen and (min-device-width: 1200px){.skeleton-loader[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none;cursor:wait}}@keyframes _ngcontent-%COMP%_progress{0%{transform:translate3d(-200px,0,0)}to{transform:translate3d(calc(200px + 100vw),0,0)}}@keyframes _ngcontent-%COMP%_pulse{0%{opacity:1}50%{opacity:.4}to{opacity:1}}'],changeDetection:0});let e=a;return e})(),p9=(()=>{const t=class t{static forRoot(n){return{ngModule:t,providers:[{provide:d9,useValue:n}]}}};t.ɵfac=function(n){return new(n||t)},t.ɵmod=Bt({type:t}),t.ɵinj=zt({imports:[k_]});let e=t;return e})();function kle(e,t){if(e&1){let a=ba();j(0,"a",1),rn("click",function(n){gn(a);let r=pe();return vn(r.onDownloadClick(n))}),lt(1,"mat-icon",2),V()}}var Cle=(()=>{const t=class t{constructor(){this.translateService=S(Xn),this.leafletService=S(Sw),this.item=qe(),this.identifierType=er}onDownloadClick(n){n.preventDefault(),this.leafletService.getLeaflet(this.translateService.currentLang,this.item().medication.identifier.value)}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Oe({type:t,selectors:[["vidis-leaflet-download"]],inputs:{item:[1,"item"]},decls:1,vars:1,consts:[["mat-button","","target","_blank"],["mat-button","","target","_blank",3,"click"],["fontIcon","menu_book"]],template:function(n,r){n&1&&Ee(0,kle,2,0,"a",0),n&2&&$e(r.item().medication.identifier&&r.item().medication.identifier.type===r.identifierType.CNK?0:-1)},dependencies:[zu,P1],encapsulation:2});let e=t;return e})(),Dle=()=>["error"],Ile=()=>["expandDetails"],Tle=(e,t)=>({"more-than-one-quantity":e,"negative-quantity":t}),Rle=()=>({height:"47px",margin:"0px"});function Nle(e,t){e&1&&(j(0,"th",23),ee(1),te(2,"translate"),V()),e&2&&(P(),Ue(" ",ae(2,1,"deliveredMedicationsList.headers.medicationName")," "))}function Ole(e,t){if(e&1&&(j(0,"div",26),ee(1),te(2,"translateValue"),V()),e&2){let a=pe().$implicit;P(),Pe(ae(2,1,a.medication.name))}}function Mle(e,t){if(e&1&&(j(0,"div",28),ee(1),te(2,"ingredientLabel"),V()),e&2){let a=t.$implicit;P(),Ue(" ",ae(2,1,a)," ")}}function Ale(e,t){if(e&1&&(j(0,"div",27)(1,"strong"),ee(2),te(3,"translate"),V()(),Ki(4,Mle,3,3,"div",28,Ip),te(6,"slice")),e&2){let a=pe().$implicit;P(2),Pe(ae(3,1,"deliveredMedicationsList.magisterialPreparation")),P(2),Qi(p_(6,3,a.medication.ingredients,0,2))}}function Ple(e,t){if(e&1){let a=ba();j(0,"td",24)(1,"vidis-table-detail-button",25),o_("expandedElementChange",function(n){gn(a);let r=pe();return fY(r.expandedElement,n)||(r.expandedElement=n),vn(n)}),Ee(2,Ole,3,3,"div",26)(3,Ale,7,7),V()()}if(e&2){let a=t.$implicit,n=pe();P(),je("item",a),i_("expandedElement",n.expandedElement),P(),$e(a.medication.name?2:3)}}function Lle(e,t){e&1&&(j(0,"th",29),ee(1),te(2,"translate"),V()),e&2&&(P(),Ue(" ",ae(2,1,"deliveredMedicationsList.headers.deliveredOn")," "))}function Fle(e,t){if(e&1&&(j(0,"td",30),ee(1),te(2,"date"),V()),e&2){let a=t.$implicit;P(),Ue(" ",fs(2,1,a.deliveryDate," dd/MM/yyy")," ")}}function jle(e,t){e&1&&(j(0,"th",31),ee(1),te(2,"translate"),V()),e&2&&(P(),Ue(" ",ae(2,1,"deliveredMedicationsList.headers.quantity")," "))}function Vle(e,t){if(e&1&&(j(0,"td",32)(1,"span",33),ee(2),V()()),e&2){let a=t.$implicit;P(),je("ngClass",_Y(2,Tle,(a.medication.quantity==null?null:a.medication.quantity.value)>1,(a.medication.quantity==null?null:a.medication.quantity.value)<0)),P(),Ue(" ",a.medication.quantity.value," ")}}function zle(e,t){e&1&&(j(0,"th",34),ee(1),te(2,"translate"),V()),e&2&&(P(),Ue(" ",ae(2,1,"deliveredMedicationsList.headers.leaflet")," "))}function Ble(e,t){if(e&1&&(j(0,"td",35),lt(1,"vidis-leaflet-download",36),V()),e&2){let a=t.$implicit;P(),je("item",a)}}function Hle(e,t){if(e&1&&(j(0,"td",37),ee(1),te(2,"translate"),lt(3,"br"),ee(4),V()),e&2){let a=t.$implicit;$t("colspan",4),P(),Ue(" ",ae(2,3,"error.deliveredMedication")," "),P(3),Ue(" ( ",a.dguid," ) ")}}function qle(e,t){if(e&1&&(j(0,"td",38)(1,"div"),lt(2,"vidis-delivered-medication-details-row",36),V()()),e&2){let a=t.$implicit,n=pe();jt("mh-detail-row--expanded",a===n.expandedElement()),je("colSpan",n.columns.length),P(2),je("item",a)}}function $le(e,t){e&1&&lt(0,"tr",39)}function Ule(e,t){if(e&1&&lt(0,"tr",40),e&2){let a=pe();je("hidden",a.isLoading())}}function Gle(e,t){e&1&&lt(0,"tr",41)}function Wle(e,t){e&1&&lt(0,"tr",42)}function Zle(e,t){e&1&&lt(0,"ngx-skeleton-loader",21),e&2&&je("count",3)("theme",zo(2,Rle))}function Yle(e,t){e&1&&(j(0,"p",22),ee(1),te(2,"translate"),V()),e&2&&(P(),Pe(ae(2,1,"deliveredMedicationsList.noContent")))}var Kle=(()=>{const t=class t{set sort(n){this.dataSource.sort=n,this.dataSource.sortingDataAccessor=(r,i)=>this.getSortingAccessor(r,i)}constructor(){this.translateService=S(Xn),this.data=qe(),this.isLoading=qe(),this.isProfessional=qe.required(),this.expandedElement=tp(null),this.dataSource=new lle,this.columns=["medicationName","deliveryDate","quantity","leaflet"],this.canDisplayDeliveredMedication=(n,r)=>ih(r),this.canNotDisplayDeliveredMedication=(n,r)=>!ih(r),QY(()=>{var n;return this.dataSource.data=(n=this.data())==null?void 0:n.items})}getSortingAccessor(n,r){var i;switch(r){case"medicationName":return n.medication?n.medication.name?Ql(n.medication.name,this.translateService.currentLang):Ql(n.medication.ingredients[0].name,this.translateService.currentLang):"";case"quantity":return((i=n.medication.quantity)==null?void 0:i.value)||0;case"patientName":return Ew(n.person);default:return n[r]}}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Oe({type:t,selectors:[["vidis-delivered-medications-table"]],viewQuery:function(n,r){if(n&1&&Ai(sh,7),n&2){let i;ln(i=un())&&(r.sort=i.first)}},inputs:{data:[1,"data"],isLoading:[1,"isLoading"],isProfessional:[1,"isProfessional"]},decls:24,vars:13,consts:[["mat-table","","matSort","","matSortActive","deliveryDate","matSortDirection","desc","matSortDisableClear","","multiTemplateDataRows","",3,"dataSource"],["matColumnDef","medicationName"],["mat-header-cell","","mat-sort-header","","data-cy","delivered-medications-overview-table-medication-name-title",4,"matHeaderCellDef"],["mat-cell","","data-cy","delivered-medications-overview-table-medication-name",4,"matCellDef"],["matColumnDef","deliveryDate"],["mat-header-cell","","mat-sort-header","","data-cy","delivered-medications-overview-table-delivered-on-title",4,"matHeaderCellDef"],["mat-cell","","data-cy","delivered-medications-overview-table-delivered-on",4,"matCellDef"],["matColumnDef","quantity"],["mat-header-cell","","mat-sort-header","","data-cy","delivered-medications-overview-table-quantity-title",4,"matHeaderCellDef"],["mat-cell","","data-cy","delivered-medications-overview-table-quantity",4,"matCellDef"],["matColumnDef","leaflet"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","error"],["mat-cell","","class","error-text",4,"matCellDef"],["matColumnDef","expandDetails"],["mat-cell","",3,"mh-detail-row--expanded","colSpan",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"hidden",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row","",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["class","mh-detail-row","mat-row","",4,"matRowDef","matRowDefColumns"],["appearance","line",3,"count","theme"],[1,"no-content"],["mat-header-cell","","mat-sort-header","","data-cy","delivered-medications-overview-table-medication-name-title"],["mat-cell","","data-cy","delivered-medications-overview-table-medication-name"],[3,"expandedElementChange","item","expandedElement"],[1,"textOverflow","align-left"],["data-cy","delivered-medications-overview-table-magistral-preparation-label",1,"align-left"],["data-cy","delivered-medications-overview-table-ingredient",1,"textOverflow","align-left"],["mat-header-cell","","mat-sort-header","","data-cy","delivered-medications-overview-table-delivered-on-title"],["mat-cell","","data-cy","delivered-medications-overview-table-delivered-on"],["mat-header-cell","","mat-sort-header","","data-cy","delivered-medications-overview-table-quantity-title"],["mat-cell","","data-cy","delivered-medications-overview-table-quantity"],[3,"ngClass"],["mat-header-cell",""],["mat-cell",""],[3,"item"],["mat-cell","",1,"error-text"],["mat-cell","",3,"colSpan"],["mat-header-row",""],["mat-row","",3,"hidden"],["mat-row",""],["mat-row","",1,"mh-detail-row"]],template:function(n,r){n&1&&(j(0,"table",0),te(1,"translate"),Ya(2,1),Ee(3,Nle,3,3,"th",2)(4,Ple,4,3,"td",3),Ka(),Ya(5,4),Ee(6,Lle,3,3,"th",5)(7,Fle,3,4,"td",6),Ka(),Ya(8,7),Ee(9,jle,3,3,"th",8)(10,Vle,3,5,"td",9),Ka(),Ya(11,10),Ee(12,zle,3,3,"th",11)(13,Ble,2,1,"td",12),Ka(),Ya(14,13),Ee(15,Hle,5,5,"td",14),Ka(),Ya(16,15),Ee(17,qle,3,4,"td",16),Ka(),Ee(18,$le,1,0,"tr",17)(19,Ule,1,1,"tr",18)(20,Gle,1,0,"tr",19)(21,Wle,1,0,"tr",20),V(),Ee(22,Zle,1,3,"ngx-skeleton-loader",21)(23,Yle,3,3,"p",22)),n&2&&(je("dataSource",r.dataSource),$t("aria-label",ae(1,9,"deliveredMedicationsList.title")),P(18),je("matHeaderRowDef",r.columns),P(),je("matRowDefColumns",r.columns)("matRowDefWhen",r.canDisplayDeliveredMedication),P(),je("matRowDefColumns",zo(11,Dle))("matRowDefWhen",r.canNotDisplayDeliveredMedication),P(),je("matRowDefColumns",zo(12,Ile)),P(),$e(r.isLoading()?22:r.dataSource.data.length<=0?23:-1))},dependencies:[ole,Kse,Xse,nle,Jse,Qse,ale,ele,tle,rle,ile,Ose,sh,Nse,vm,jp,gm,fr,p9,h9,S_,Ioe,_le,Cle,Lp],styles:["table[_ngcontent-%COMP%]{width:100%}.font[_ngcontent-%COMP%]{font-size:1rem}.negative-quantity[_ngcontent-%COMP%]{background-color:#e68619}.more-than-one-quantity[_ngcontent-%COMP%], .different-patient-name[_ngcontent-%COMP%]{font-weight:bolder}"],changeDetection:0});let e=t;return e})(),Qle=["*"],Xle=new K("MAT_CARD_CONFIG"),Jle=(()=>{const t=class t{constructor(){s(this,"appearance");let n=S(Xle,{optional:!0});this.appearance=(n==null?void 0:n.appearance)||"raised"}};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵcmp",Oe({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(n,r){n&2&&jt("mat-mdc-card-outlined",r.appearance==="outlined")("mdc-card--outlined",r.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:Qle,decls:1,vars:0,template:function(n,r){n&1&&(jn(),pt(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}
43
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),eue=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",ye({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}));let e=t;return e})(),tue=e=>({"negative-quantity":e});function nue(e,t){e&1&&(j(0,"strong",3),ee(1),te(2,"translateValue"),V()),e&2&&(P(),Pe(ae(2,1,t)))}function aue(e,t){if(e&1&&(j(0,"div",3),ee(1),te(2,"ingredientLabel"),V()),e&2){let a=t.$implicit;P(),Pe(ae(2,1,a))}}function rue(e,t){if(e&1&&(j(0,"div")(1,"strong"),ee(2),te(3,"translate"),V()(),Ki(4,aue,3,3,"div",3,Tp),te(6,"slice")),e&2){let a=pe(2);P(2),Pe(ae(3,1,"deliveredMedicationsList.magisterialPreparation")),P(2),Qi(p_(6,3,a.item().medication.ingredients,0,2))}}function iue(e,t){if(e&1){let a=ba();j(0,"mat-card",1),rn("click",function(){gn(a);let n=pe();return vn(n.clickDetails.emit(null))}),j(1,"mat-card-content")(2,"div",2)(3,"div"),ee(4),te(5,"date"),V()(),j(6,"div"),Ee(7,nue,3,3,"strong",3)(8,rue,7,7),V(),j(9,"div",4)(10,"span",5),ee(11),V()()()()}if(e&2){let a,n,r,i=pe();P(4),Pe(fs(5,4,i.item().deliveryDate,"dd/MM/yyyy")),P(3),$e((a=i.item().medication.name)?7:8,a),P(3),je("ngClass",c_(7,tue,((n=i.item().medication.quantity)==null?null:n.value)<0)),P(),Ue(" ",(r=i.item().medication.quantity)==null?null:r.value," ")}}function oue(e,t){if(e&1&&(j(0,"mat-card")(1,"mat-card-content",6)(2,"div"),ee(3),te(4,"translate"),V(),j(5,"div"),ee(6),V()()()),e&2){let a,n=pe();P(3),Pe(ae(4,2,"error.deliveredMedication")),P(3),Ue("( ",(a=n.item())==null?null:a.dguid," )")}}var sue=(()=>{const t=class t{constructor(){this.item=qe(),this.clickDetails=Al()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Oe({type:t,selectors:[["vidis-delivered-medications-card"]],inputs:{item:[1,"item"]},outputs:{clickDetails:"clickDetails"},decls:3,vars:3,consts:[["role","button"],["role","button",3,"click"],[1,"card__top"],[1,"textOverflow"],[1,"quantity"],[3,"ngClass"],[1,"error-text"]],template:function(n,r){n&1&&(Ee(0,iue,12,9,"mat-card",0),te(1,"canDisplayDeliveredMedication"),Ee(2,oue,7,4,"mat-card")),n&2&&$e(ae(1,1,r.item())?0:2)},dependencies:[Jle,eue,jp,Gie,gm,vm,fr,S_,Lp],styles:["mat-card[_ngcontent-%COMP%]{margin-bottom:10px}.card__top[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding-bottom:8px;color:#8f8f8f}.card__top[_ngcontent-%COMP%] .bold[_ngcontent-%COMP%]{font-weight:700}.quantity[_ngcontent-%COMP%]{display:flex;justify-content:end}.negative-quantity[_ngcontent-%COMP%]{background-color:#e68619}.patient-name[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:70%}.error-text[_ngcontent-%COMP%]{color:#c41c0d}.different-patient-name[_ngcontent-%COMP%]{border:2px solid #245bb4;padding:6px 8px;border-radius:6px;display:inline-block;font-weight:700}"]});let e=t;return e})(),lue=()=>({sortProperty:"deliveryDate",isAscending:!1}),uue=()=>({height:"47px",margin:"0px"});function cue(e,t){if(e&1){let a=ba();j(0,"vidis-delivered-medications-card",1),rn("clickDetails",function(){let n=gn(a).$implicit,r=pe(2);return vn(r.clickDetails.emit(n.dguid))}),V()}if(e&2){let a=t.$implicit;je("item",a)}}function due(e,t){if(e&1&&(Ki(0,cue,1,1,"vidis-delivered-medications-card",0,Tp),te(2,"sortOn")),e&2){let a=pe();Qi(fs(2,0,a.data().items,zo(3,lue)))}}function hue(e,t){e&1&&lt(0,"ngx-skeleton-loader",2),e&2&&je("count",10)("theme",zo(2,uue))}function pue(e,t){e&1&&(j(0,"div",3),ee(1),te(2,"translate"),V()),e&2&&(P(),Ue(" ",ae(2,1,"deliveredMedicationsList.noContent")," "))}function mue(e,t){if(e&1&&Ee(0,hue,1,3,"ngx-skeleton-loader",2)(1,pue,3,3,"div",3),e&2){let a=pe();$e(a.isLoading?0:1)}}var fue=(()=>{const t=class t{constructor(){this.data=qe(),this.isLoading=qe(),this.isProfessional=qe.required(),this.clickDetails=Al()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Oe({type:t,selectors:[["vidis-delivered-medications-mobile"]],inputs:{data:[1,"data"],isLoading:[1,"isLoading"],isProfessional:[1,"isProfessional"]},outputs:{clickDetails:"clickDetails"},decls:2,vars:1,consts:[[3,"item"],[3,"clickDetails","item"],["appearance","line",3,"count","theme"],["data-cy","no-deliverd-medications",1,"no-deliverd-medications"]],template:function(n,r){if(n&1&&Ee(0,due,3,4)(1,mue,2,1),n&2){let i;$e(((i=r.data())==null||i.items==null?null:i.items.length)>0?0:1)}},dependencies:[sue,fr,hoe,p9,h9],styles:[".delivered-medications-title[_ngcontent-%COMP%]{font-size:1.467rem;font-weight:700;margin:0!important}.no-deliverd-medications[_ngcontent-%COMP%]{font-size:1.3rem;text-align:center;padding:3rem 0}"],changeDetection:0});let e=t;return e})();function gue(e,t){e&1&&(j(0,"div"),ee(1,"Component not properly initialized!"),V())}function vue(e,t){if(e&1&&lt(0,"vidis-status-message",0),e&2){let a=pe();je("error",a.error)}}function bue(e,t){if(e&1){let a=ba();j(0,"div",1),lt(1,"vidis-delivered-medications-disclaimer",2),V(),lt(2,"vidis-delivered-medications-table",3),j(3,"vidis-delivered-medications-mobile",4),rn("clickDetails",function(n){gn(a);let r=pe(3);return vn(r.onSelectMedication.emit(n))}),V()}if(e&2){let a=pe(),n=pe(2);P(),je("isProfessional",n.professional),P(),je("isLoading",a.status===n.loadingStatus.LOADING)("data",a==null?null:a.data)("isProfessional",n.professional),P(),je("isLoading",a.status===n.loadingStatus.LOADING)("data",a==null?null:a.data)("isProfessional",n.professional)}}function yue(e,t){if(e&1&&Ee(0,vue,1,1,"vidis-status-message",0)(1,bue,4,7),e&2){let a=pe(2);$e(t.status===a.loadingStatus.ERROR?0:1)}}function _ue(e,t){if(e&1&&(Ee(0,yue,2,1),te(1,"async")),e&2){let a,n=pe();$e((a=ae(1,1,n.deliveredMedicationsState$))?0:-1,a)}}var wue=(()=>{const t=class t extends lse{constructor(){super(...arguments),this.onSelectMedication=new it,this.loadingStatus=Ei}fetchData(n){return At(this,null,function*(){return yield this.deliveredMedicationsService.getDeliveredMedications(n)})}injectService(){this.deliveredMedicationsService=this.injector.get(Jg),this.deliveredMedicationsState$=this.deliveredMedicationsService.deliveredMedicationsState$,this.deliveredMedicationsState$.subscribe(n=>{n.status===this.loadingStatus.ERROR&&this.checkError(n.error)})}};t.ɵfac=(()=>{let n;return function(r){return(n||(n=tt(t)))(r||t)}})(),t.ɵcmp=Oe({type:t,selectors:[["ng-component"]],outputs:{onSelectMedication:"onSelectMedication"},features:[Tn([Jg,$H,UH,Yie]),Ye],decls:2,vars:1,consts:[[3,"error"],[1,"disclaimer"],[3,"isProfessional"],[3,"isLoading","data","isProfessional"],[3,"clickDetails","isLoading","data","isProfessional"]],template:function(n,r){n&1&&Ee(0,gue,2,0,"div")(1,_ue,2,3),n&2&&$e(r.isCorrectlySetup()?1:0)},dependencies:[Kle,fue,kse,KK,ble],styles:[".disclaimer[_ngcontent-%COMP%]{padding-bottom:16px}@media only screen and (max-width: 960px){vidis-delivered-medications-table[_ngcontent-%COMP%]{display:none}}@media only screen and (min-width: 960px){vidis-delivered-medications-mobile[_ngcontent-%COMP%]{display:none}}"],changeDetection:0});let e=t;return e})();bQ({providers:[Uie]}).then(e=>{let t=gK(wue,{injector:e.injector});customElements.define("vidis-delivered-medication-list",t)}).catch(e=>console.error(e));
43
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),eue=(()=>{const t=class t{};s(t,"ɵfac",function(n){return new(n||t)}),s(t,"ɵdir",ye({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}));let e=t;return e})(),tue=e=>({"negative-quantity":e});function nue(e,t){e&1&&(j(0,"strong",3),ee(1),te(2,"translateValue"),V()),e&2&&(P(),Pe(ae(2,1,t)))}function aue(e,t){if(e&1&&(j(0,"div",3),ee(1),te(2,"ingredientLabel"),V()),e&2){let a=t.$implicit;P(),Pe(ae(2,1,a))}}function rue(e,t){if(e&1&&(j(0,"div")(1,"strong"),ee(2),te(3,"translate"),V()(),Ki(4,aue,3,3,"div",3,Tp),te(6,"slice")),e&2){let a=pe(2);P(2),Pe(ae(3,1,"deliveredMedicationsList.magisterialPreparation")),P(2),Qi(p_(6,3,a.item().medication.ingredients,0,2))}}function iue(e,t){if(e&1){let a=ba();j(0,"mat-card",1),rn("click",function(){gn(a);let n=pe();return vn(n.clickDetails.emit(null))}),j(1,"mat-card-content")(2,"div",2)(3,"div"),ee(4),te(5,"date"),V()(),j(6,"div"),Ee(7,nue,3,3,"strong",3)(8,rue,7,7),V(),j(9,"div",4)(10,"span",5),ee(11),V()()()()}if(e&2){let a,n,r,i=pe();P(4),Pe(fs(5,4,i.item().deliveryDate,"dd/MM/yyyy")),P(3),$e((a=i.item().medication.name)?7:8,a),P(3),je("ngClass",c_(7,tue,((n=i.item().medication.quantity)==null?null:n.value)<0)),P(),Ue(" ",(r=i.item().medication.quantity)==null?null:r.value," ")}}function oue(e,t){if(e&1&&(j(0,"mat-card")(1,"mat-card-content",6)(2,"div"),ee(3),te(4,"translate"),V(),j(5,"div"),ee(6),V()()()),e&2){let a,n=pe();P(3),Pe(ae(4,2,"error.deliveredMedication")),P(3),Ue("( ",(a=n.item())==null?null:a.dguid," )")}}var sue=(()=>{const t=class t{constructor(){this.item=qe(),this.clickDetails=Al()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Oe({type:t,selectors:[["vidis-delivered-medications-card"]],inputs:{item:[1,"item"]},outputs:{clickDetails:"clickDetails"},decls:3,vars:3,consts:[["role","button"],["role","button",3,"click"],[1,"card__top"],[1,"textOverflow"],[1,"quantity"],[3,"ngClass"],[1,"error-text"]],template:function(n,r){n&1&&(Ee(0,iue,12,9,"mat-card",0),te(1,"canDisplayDeliveredMedication"),Ee(2,oue,7,4,"mat-card")),n&2&&$e(ae(1,1,r.item())?0:2)},dependencies:[Jle,eue,jp,Gie,gm,vm,fr,S_,Lp],styles:["mat-card[_ngcontent-%COMP%]{margin-bottom:10px}.card__top[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding-bottom:8px;color:#8f8f8f}.card__top[_ngcontent-%COMP%] .bold[_ngcontent-%COMP%]{font-weight:700}.quantity[_ngcontent-%COMP%]{display:flex;justify-content:end}.negative-quantity[_ngcontent-%COMP%]{background-color:#e68619}.patient-name[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:70%}.error-text[_ngcontent-%COMP%]{color:#c41c0d}.different-patient-name[_ngcontent-%COMP%]{border:2px solid #245bb4;padding:6px 8px;border-radius:6px;display:inline-block;font-weight:700}"]});let e=t;return e})(),lue=()=>({sortProperty:"deliveryDate",isAscending:!1}),uue=()=>({height:"47px",margin:"0px"});function cue(e,t){if(e&1){let a=ba();j(0,"vidis-delivered-medications-card",1),rn("clickDetails",function(){let n=gn(a).$implicit,r=pe(2);return vn(r.clickDetails.emit(n.dguid))}),V()}if(e&2){let a=t.$implicit;je("item",a)}}function due(e,t){if(e&1&&(Ki(0,cue,1,1,"vidis-delivered-medications-card",0,Tp),te(2,"sortOn")),e&2){let a=pe();Qi(fs(2,0,a.data().items,zo(3,lue)))}}function hue(e,t){e&1&&lt(0,"ngx-skeleton-loader",2),e&2&&je("count",10)("theme",zo(2,uue))}function pue(e,t){e&1&&(j(0,"div",3),ee(1),te(2,"translate"),V()),e&2&&(P(),Ue(" ",ae(2,1,"deliveredMedicationsList.noContent")," "))}function mue(e,t){if(e&1&&Ee(0,hue,1,3,"ngx-skeleton-loader",2)(1,pue,3,3,"div",3),e&2){let a=pe();$e(a.isLoading?0:1)}}var fue=(()=>{const t=class t{constructor(){this.data=qe(),this.isLoading=qe(),this.isProfessional=qe.required(),this.clickDetails=Al()}};t.ɵfac=function(n){return new(n||t)},t.ɵcmp=Oe({type:t,selectors:[["vidis-delivered-medications-mobile"]],inputs:{data:[1,"data"],isLoading:[1,"isLoading"],isProfessional:[1,"isProfessional"]},outputs:{clickDetails:"clickDetails"},decls:2,vars:1,consts:[[3,"item"],[3,"clickDetails","item"],["appearance","line",3,"count","theme"],["data-cy","no-deliverd-medications",1,"no-deliverd-medications"]],template:function(n,r){if(n&1&&Ee(0,due,3,4)(1,mue,2,1),n&2){let i;$e(((i=r.data())==null||i.items==null?null:i.items.length)>0?0:1)}},dependencies:[sue,fr,hoe,p9,h9],styles:[".delivered-medications-title[_ngcontent-%COMP%]{font-size:1.467rem;font-weight:700;margin:0!important}.no-deliverd-medications[_ngcontent-%COMP%]{font-size:1.3rem;text-align:center;padding:3rem 0}"],changeDetection:0});let e=t;return e})();function gue(e,t){e&1&&(j(0,"div"),ee(1,"Component not properly initialized!"),V())}function vue(e,t){if(e&1&&lt(0,"vidis-status-message",0),e&2){let a=pe();je("error",a.error)}}function bue(e,t){if(e&1){let a=ba();j(0,"div",1),lt(1,"vidis-delivered-medications-disclaimer",2),V(),lt(2,"vidis-delivered-medications-table",3),j(3,"vidis-delivered-medications-mobile",4),rn("clickDetails",function(n){gn(a);let r=pe(3);return vn(r.onSelectMedication.emit(n))}),V()}if(e&2){let a=pe(),n=pe(2);P(),je("isProfessional",n.professional),P(),je("isLoading",a.status===n.loadingStatus.LOADING)("data",a==null?null:a.data)("isProfessional",n.professional),P(),je("isLoading",a.status===n.loadingStatus.LOADING)("data",a==null?null:a.data)("isProfessional",n.professional)}}function yue(e,t){if(e&1&&Ee(0,vue,1,1,"vidis-status-message",0)(1,bue,4,7),e&2){let a=pe(2);$e(t.status===a.loadingStatus.ERROR?0:1)}}function _ue(e,t){if(e&1&&(Ee(0,yue,2,1),te(1,"async")),e&2){let a,n=pe();$e((a=ae(1,1,n.deliveredMedicationsState$))?0:-1,a)}}var wue=(()=>{const t=class t extends lse{constructor(){super(...arguments),this.onSelectMedication=new it,this.loadingStatus=Ei}fetchData(n){return Rt(this,null,function*(){return yield this.deliveredMedicationsService.getDeliveredMedications(n)})}injectService(){this.deliveredMedicationsService=this.injector.get(Jg),this.deliveredMedicationsState$=this.deliveredMedicationsService.deliveredMedicationsState$,this.deliveredMedicationsState$.subscribe(n=>{n.status===this.loadingStatus.ERROR&&this.checkError(n.error)})}};t.ɵfac=(()=>{let n;return function(r){return(n||(n=tt(t)))(r||t)}})(),t.ɵcmp=Oe({type:t,selectors:[["ng-component"]],outputs:{onSelectMedication:"onSelectMedication"},features:[Tn([Jg,$H,UH,Yie]),Ye],decls:2,vars:1,consts:[[3,"error"],[1,"disclaimer"],[3,"isProfessional"],[3,"isLoading","data","isProfessional"],[3,"clickDetails","isLoading","data","isProfessional"]],template:function(n,r){n&1&&Ee(0,gue,2,0,"div")(1,_ue,2,3),n&2&&$e(r.isCorrectlySetup()?1:0)},dependencies:[Kle,fue,kse,KK,ble],styles:[".disclaimer[_ngcontent-%COMP%]{padding-bottom:16px}@media only screen and (max-width: 960px){vidis-delivered-medications-table[_ngcontent-%COMP%]{display:none}}@media only screen and (min-width: 960px){vidis-delivered-medications-mobile[_ngcontent-%COMP%]{display:none}}"],changeDetection:0});let e=t;return e})();bQ({providers:[Uie]}).then(e=>{let t=gK(wue,{injector:e.injector});customElements.define("vidis-delivered-medication-list",t)}).catch(e=>console.error(e));