@smals-belgium-shared/vidis-diarynote 3.4.4-snapshot.16 → 3.4.4-snapshot.18

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,64 +0,0 @@
1
- var VZ=Object.defineProperty;var pg=e=>{throw TypeError(e)};var LZ=(e,t,n)=>t in e?VZ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var o=(e,t,n)=>LZ(e,typeof t!="symbol"?t+"":t,n),mg=(e,t,n)=>t.has(e)||pg("Cannot "+n);var ln=(e,t,n)=>(mg(e,t,"read from private field"),n?n.call(e):t.get(e)),fg=(e,t,n)=>t.has(e)?pg("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),gg=(e,t,n,i)=>(mg(e,t,"write to private field"),i?i.call(e,n):t.set(e,n),n);var zZ=Object.create,dd=Object.defineProperty,jZ=Object.defineProperties,BZ=Object.getOwnPropertyDescriptor,HZ=Object.getOwnPropertyDescriptors,$Z=Object.getOwnPropertyNames,_c=Object.getOwnPropertySymbols,qZ=Object.getPrototypeOf,Lp=Object.prototype.hasOwnProperty,Dy=Object.prototype.propertyIsEnumerable,vg=(e,t,n)=>t in e?dd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,J=(e,t)=>{for(var n in t||(t={}))Lp.call(t,n)&&vg(e,n,t[n]);if(_c)for(var n of _c(t))Dy.call(t,n)&&vg(e,n,t[n]);return e},tt=(e,t)=>jZ(e,HZ(t)),GZ=(e,t)=>{var n={};for(var i in e)Lp.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&_c)for(var i of _c(e))t.indexOf(i)<0&&Dy.call(e,i)&&(n[i]=e[i]);return n},_e=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Te=(e,t)=>{for(var n in t)dd(e,n,{get:t[n],enumerable:!0})},UZ=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of $Z(t))!Lp.call(e,a)&&a!==n&&dd(e,a,{get:()=>t[a],enumerable:!(i=BZ(t,a))||i.enumerable});return e},Iy=(e,t,n)=>(n=e!=null?zZ(qZ(e)):{},UZ(t||!e||!e.__esModule?dd(n,"default",{value:e,enumerable:!0}):n,e)),kt=(e,t,n)=>new Promise((i,a)=>{var r=c=>{try{l(n.next(c))}catch(d){a(d)}},s=c=>{try{l(n.throw(c))}catch(d){a(d)}},l=c=>c.done?i(c.value):Promise.resolve(c.value).then(r,s);l((n=n.apply(e,t)).next())}),YZ=_e((e,t)=>{(function(n,i){typeof e=="object"&&typeof t<"u"?t.exports=i():typeof define=="function"&&define.amd?define(i):(n=typeof globalThis<"u"?globalThis:n||self,n.MessageFormat=i())})(e,function(){var n=function(){return n=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},n.apply(this,arguments)};function i(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 a(p,f){var b=typeof Symbol=="function"&&p[Symbol.iterator];if(!b)return p;var y=b.call(p),_,k=[],C;try{for(;(f===void 0||f-- >0)&&!(_=y.next()).done;)k.push(_.value)}catch(O){C={error:O}}finally{try{_&&!_.done&&(b=y.return)&&b.call(y)}finally{if(C)throw C.error}}return k}function r(p,f,b){if(arguments.length===2)for(var y=0,_=f.length,k;y<_;y++)(k||!(y in f))&&(k||(k=Array.prototype.slice.call(f,0,y)),k[y]=f[y]);return p.concat(k||Array.prototype.slice.call(f))}typeof SuppressedError=="function"&&SuppressedError;class s 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",c=p=>p%2===0?"2-digit":"numeric";function d(p,f){switch(p.char){case"y":return{year:c(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`,s.WARNING),{year:"numeric"}}}function u(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 c(_);f(`${y} is not supported`)}function v(p,f){let{char:b,desc:y,width:_}=p;if((b==="c"||b==="e")&&_<3){let k=`Numeric value is not supported for ${y}; falling back to weekday:short`;f(k,s.WARNING)}return l(_)}function g(p){let f=c(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 x(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 S(p,f){switch(p.field){case"era":return{era:l(p.width)};case"year":return d(p,f);case"month":return{month:u(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:c(p.width)};case"sec":return{second:c(p.width)};case"tz":return{timeZoneName:x(p,f)};case"quarter":case"week":case"sec-frac":case"ms":f(`${p.desc} is not supported`)}}function E(p,f){let b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:k=>{throw k},y={timeZone:f},_=[];for(let k of p){let{error:C,field:O,str:P}=k;if(C){let be=new s(C.message,k);be.stack=C.stack,b(be)}if(P){let be=`Ignoring string part: ${P}`;b(new s(be,k,s.WARNING))}O&&(_.indexOf(O)===-1?_.push(O):b(new s(`Duplicate ${O} token`,k)));let Y=S(k,(be,Ie)=>b(new s(be,k,Ie)));Y&&Object.assign(y,Y)}return y}let M={G:{field:"era",desc:"Era"},y:{field:"year",desc:"Year"},Y:{field:"year",desc:'Year of "Week of Year"'},u:{field:"year",desc:"Extended year"},U:{field:"year",desc:"Cyclic year name"},r:{field:"year",desc:"Related Gregorian year"},Q:{field:"quarter",desc:"Quarter"},q:{field:"quarter",desc:"Stand-alone quarter"},M:{field:"month",desc:"Month in year"},L:{field:"month",desc:"Stand-alone month in year"},w:{field:"week",desc:"Week of year"},W:{field:"week",desc:"Week of month"},d:{field:"day",desc:"Day in month"},D:{field:"day",desc:"Day of year"},F:{field:"day",desc:"Day of week in month"},g:{field:"day",desc:"Modified julian day"},E:{field:"weekday",desc:"Day of week"},e:{field:"weekday",desc:"Local day of week"},c:{field:"weekday",desc:"Stand-alone local day of week"},a:{field:"period",desc:"AM/PM marker"},b:{field:"period",desc:"AM/PM/noon/midnight marker"},B:{field:"period",desc:"Flexible day period"},h:{field:"hour",desc:"Hour in AM/PM (1~12)"},H:{field:"hour",desc:"Hour in day (0~23)"},k:{field:"hour",desc:"Hour in day (1~24)"},K:{field:"hour",desc:"Hour in AM/PM (0~11)"},j:{field:"hour",desc:"Hour in preferred cycle"},J:{field:"hour",desc:"Hour in preferred cycle without marker"},C:{field:"hour",desc:"Hour in preferred cycle with flexible marker"},m:{field:"min",desc:"Minute in hour"},s:{field:"sec",desc:"Second in minute"},S:{field:"sec-frac",desc:"Fractional second"},A:{field:"ms",desc:"Milliseconds in day"},z:{field:"tz",desc:"Time Zone: specific non-location"},Z:{field:"tz",desc:"Time Zone"},O:{field:"tz",desc:"Time Zone: localized"},v:{field:"tz",desc:"Time Zone: generic non-location"},V:{field:"tz",desc:"Time Zone: ID"},X:{field:"tz",desc:"Time Zone: ISO8601 with Z"},x:{field:"tz",desc:"Time Zone: ISO8601"}},L=p=>p>="A"&&p<="Z"||p>="a"&&p<="z";function R(p,f){let b=p[f],y=1;for(;p[++f]===b;)++y;let _=M[b];if(!_){let k=`The letter ${b} is not a valid field identifier`;return{char:b,error:new Error(k),width:y}}return{char:b,field:_.field,desc:_.desc,width:y}}function le(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 k=`Unterminated quoted literal in pattern: ${b||p}`;return{char:"'",error:new Error(k),str:b,width:y}}else if(_==="'"){if(p[++f]!=="'")return{char:"'",str:b,width:y};++y}b+=_}}function ke(p,f){let b=p[f];if(!b)return null;if(L(b))return R(p,f);if(b==="'")return le(p,f);let y=b,_=1;for(;;){let k=p[++f];if(!k||L(k)||k==="'")return{char:b,str:y,width:_};y+=k,_+=1}}function Ve(p){let f=[],b=0;for(;;){let y=ke(p,b);if(!y)return f;f.push(y),b+=y.width}}function ii(p,f,b,y){typeof f=="string"&&(f=Ve(f)),typeof b=="function"&&(y=b,b=void 0);let _=E(f,b,y),k=new Intl.DateTimeFormat(p,_);return C=>k.format(C)}function Bt(p,f,b,y){typeof f=="string"&&(f=Ve(f)),typeof b=="function"&&(y=b,b=void 0);let _=E(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
- `)+`
3
- })()`}class xt extends Error{constructor(f,b){super(b),this.code=f}}class Zt extends xt{constructor(f,b){super("BAD_OPTION",`Unknown ${f} option: ${b}`),this.stem=f,this.option=b}}class oe extends xt{constructor(f){super("BAD_STEM",`Unknown stem: ${f}`),this.stem=f}}class ee extends xt{constructor(f,b){super("MASKED_VALUE",`Value for ${f} is set multiple times`),this.type=f,this.prev=b}}class Be extends xt{constructor(f){super("MISSING_OPTION",`Required option missing for ${f}`),this.stem=f}}class H extends xt{constructor(f,b){super("BAD_PATTERN",b),this.char=f}}class W extends xt{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 ne(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 Ye(p,f){let b=+p+f/2;return b-b%+f}function gt(p){let{scale:f,unit:b}=p,y=typeof f=="number"&&f>=0?f:1;return b&&b.style==="percent"&&(y*=.01),y}function pi(p){let f=gt(p),{precision:b}=p;return b&&b.style==="precision-increment"?y=>Ye(y,b.increment)*f:y=>y*f}function Je(p){let f=gt(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 nt(p,f){let{decimal:b,group:y,integerWidth:_,notation:k,precision:C,roundingMode:O,sign:P,unit:Y,unitPer:be,unitWidth:Ie}=p,Ze=(St,Ht)=>{},re={};if(Y)switch(Y.style){case"base-unit":re.style="decimal";break;case"currency":re.style="currency",re.currency=Y.currency;break;case"measure-unit":re.style="unit",re.unit=Y.unit.replace(/.*-/,""),be&&(re.unit+="-per-"+be.replace(/.*-/,""));break;case"percent":re.style="percent";break}switch(Ie){case"unit-width-full-name":re.currencyDisplay="name",re.unitDisplay="long";break;case"unit-width-hidden":break;case"unit-width-iso-code":re.currencyDisplay="code";break;case"unit-width-narrow":re.currencyDisplay="narrowSymbol",re.unitDisplay="narrow";break;case"unit-width-short":re.currencyDisplay="symbol",re.unitDisplay="short";break}switch(y){case"group-off":re.useGrouping=!1;break;case"group-auto":re.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":re.useGrouping=!0;break}if(C)switch(C.style){case"precision-fraction":{let{minFraction:St,maxFraction:Ht,minSignificant:ni,maxSignificant:Ci,source:ha}=C;typeof St=="number"&&(re.minimumFractionDigits=St,typeof ni=="number"&&Ze()),typeof Ht=="number"&&(re.maximumFractionDigits=Ht),typeof ni=="number"&&(re.minimumSignificantDigits=ni),typeof Ci=="number"&&(re.maximumSignificantDigits=Ci);break}case"precision-integer":re.maximumFractionDigits=0;break;case"precision-unlimited":re.maximumFractionDigits=20;break;case"precision-increment":break;case"precision-currency-standard":re.trailingZeroDisplay=C.trailingZero;break;case"precision-currency-cash":Ze(C.style);break}if(k)switch(k.style){case"compact-short":re.notation="compact",re.compactDisplay="short";break;case"compact-long":re.notation="compact",re.compactDisplay="long";break;case"notation-simple":re.notation="standard";break;case"scientific":case"engineering":{let{expDigits:St,expSign:Ht,source:ni,style:Ci}=k;re.notation=Ci;break}}if(_){let{min:St,max:Ht,source:ni}=_;if(St>0&&(re.minimumIntegerDigits=St),Number(Ht)>0){let Ci=re.notation==="engineering"||re.notation==="scientific";Ht===3&&Ci?re.notation="engineering":Ze()}}switch(P){case"sign-auto":re.signDisplay="auto";break;case"sign-always":re.signDisplay="always";break;case"sign-except-zero":re.signDisplay="exceptZero";break;case"sign-never":re.signDisplay="never";break;case"sign-accounting":re.currencySign="accounting";break;case"sign-accounting-always":re.currencySign="accounting",re.signDisplay="always";break;case"sign-accounting-except-zero":re.currencySign="accounting",re.signDisplay="exceptZero";break}return re}function Nt(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 k=`Invalid number (${_}) of ¤ chars in pattern`;return b(new H("¤",k)),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],k=2;if(_==="'")return{char:y,str:_,width:k};for(;;){let C=p[++f];if(++k,C===void 0){let O=`Unterminated quoted literal in pattern: ${_}`;return b(new H("'",O)),{char:y,str:_,width:k}}else if(C==="'"){if(p[++f]!=="'")return{char:y,str:_,width:k};++k}_+=C}}}return null}let ua=p=>p>="0"&&p<="9";function wt(p,f){let b=p[f];if(ua(b)){let y=b;for(;;){let _=p[++f];if(ua(_))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 k=(y?2:1)+_;if(_)return{char:b,expDigits:_,plus:y,width:k};break}case".":case",":return{char:b,width:1}}return null}function mi(p,f,b){let y;(function(Y){Y[Y.Prefix=0]="Prefix",Y[Y.Number=1]="Number",Y[Y.Suffix=2]="Suffix"})(y||(y={}));let _=[],k=[],C=[],O=y.Prefix,P="";for(;f<p.length;){let Y=p[f];if(Y===";"){f+=1;break}switch(O){case y.Prefix:{let be=Nt(p,f,b);if(be)P&&(_.push({char:"'",str:P,width:P.length}),P=""),_.push(be),f+=be.width;else{let Ie=wt(p,f);Ie?(P&&(_.push({char:"'",str:P,width:P.length}),P=""),O=y.Number,k.push(Ie),f+=Ie.width):(P+=Y,f+=1)}break}case y.Number:{let be=wt(p,f);be?(k.push(be),f+=be.width):O=y.Suffix;break}case y.Suffix:{let be=Nt(p,f,b);be?(P&&(C.push({char:"'",str:P,width:P.length}),P=""),C.push(be),f+=be.width):(P+=Y,f+=1);break}}}return P&&C.push({char:"'",str:P,width:P.length}),{pattern:{prefix:_,number:k,suffix:C},pos:f}}function ai(p,f){let{pattern:b,pos:y}=mi(p,0,f);if(y<p.length){let{pattern:_}=mi(p,y,f);return{tokens:b,negative:_}}return{tokens:b}}function Ia(p,f){let b={},y=!1,_=!1,k=0,C="",O=-1,P="",Y=0;for(let Ie=0;Ie<p.length;++Ie){let Ze=p[Ie];switch(Ze.char){case"#":{if(O===-1){if(C){let re="Pattern has # after integer digits";f(new H("#",re))}k+=Ze.width}else Y+=Ze.width;break}case"0":{if(O===-1)C+=Ze.digits;else{if(Y){let re="Pattern has digits after # in fraction";f(new H("0",re))}P+=Ze.digits}break}case"@":{b.precision&&f(new ee("precision",b.precision)),b.precision={style:"precision-fraction",minSignificant:Ze.min,maxSignificant:Ze.width};break}case",":y=!0;break;case".":if(O===1){let re="Pattern has more than one decimal separator";f(new H(".",re))}O=Ie;break;case"E":{if(_&&f(new ee("exponent",b.notation)),y){let re="Exponential patterns may not contain grouping separators";f(new H("E",re))}b.notation={style:"scientific"},Ze.expDigits>1&&(b.notation.expDigits=Ze.expDigits),Ze.plus&&(b.notation.expSign="sign-always"),_=!0}}}y?b.group="group-auto":k+C.length>3&&(b.group="group-off");let be=+`${C||"0"}.${P}`;if(be&&(b.precision={style:"precision-increment",increment:be}),!_)C.length>1&&(b.integerWidth={min:C.length}),!b.precision&&(P.length||Y)&&(b.precision={style:"precision-fraction",minFraction:P.length,maxFraction:P.length+Y});else if((!b.precision||be)&&(b.integerWidth=k?{min:1,max:k+C.length}:{min:Math.max(1,C.length)}),b.precision)be||(b.integerWidth={min:1,max:1});else{let Ie=C.length+P.length;O===-1?Ie>0&&(b.precision={style:"precision-fraction",maxSignificant:Ie}):(b.precision={style:"precision-fraction",maxSignificant:Math.max(1,Ie)+Y},Ie>1&&(b.precision.minSignificant=Ie))}return b}function En(p,f,b,y,_){let k=!1,C="";for(let O of p)switch(O.char){case"%":f.unit={style:O.style},_?k=!0:C="";break;case"¤":if(!b){let P="The ¤ pattern requires a currency";y(new H("¤",P));break}switch(f.unit={style:"currency",currency:b},O.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}_?k=!0:C="";break;case"*":break;case"+":k||(C+="+");break;case"'":k||(C+=O.str);break}return C}function bl(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 yl(p,f){let b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:P=>{throw P},{tokens:y,negative:_}=ai(p,b),k=Ia(y.number,b),C=En(y.prefix,k,f,b,!0),O=En(y.suffix,k,f,b,!1);if(_){let P=bl(_.prefix,!0),Y=bl(_.suffix,!1);k.affix={pos:[C,O],neg:[P,Y]},k.sign="sign-never"}else(C||O)&&(k.affix={pos:[C,O]});return k}function ZW(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 tg(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 ig={"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},ag={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function KW(p){return p in ig}function XW(p){return p in ag}function QW(p,f,b){if(KW(p)){let y=ig[p];if(f.length>y){if(y===0)for(let _ of f)b(new Zt(p,_));else b(new W(p,f,y));return!1}else if(XW(p)&&f.length<ag[p])return b(new Be(p)),!1}return!0}function du(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 JW(p,f,b){let y=du(p,"fraction");if(y){f.length>1&&b(new W(p,f,1));let k={style:"precision-fraction",source:p,minFraction:y.min};y.max!=null&&(k.maxFraction=y.max);let C=f[0],O=du(C,"significant");return O?(k.source=`${p}/${C}`,k.minSignificant=O.min,O.max!=null&&(k.maxSignificant=O.max)):C&&b(new Zt(p,C)),k}let _=du(p,"significant");if(_){for(let C of f)b(new Zt(p,C));let k={style:"precision-fraction",source:p,minSignificant:_.min};return _.max!=null&&(k.maxSignificant=_.max),k}return null}class eZ{constructor(f){this.skeleton={},this.onError=f}badOption(f,b){this.onError(new Zt(f,b))}assertEmpty(f){let b=this.skeleton[f];b&&this.onError(new ee(f,b))}parseToken(f,b){if(!QW(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 k=null,C;for(let P of b)switch(P){case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":C=P;break;default:/^\+e+$/.test(P)?k=P.length-1:this.badOption(f,P)}this.assertEmpty("notation");let O=b.join("/");_.notation=k&&C?{style:f,source:O,expDigits:k,expSign:C}:k?{style:f,source:O,expDigits:k}:C?{style:f,source:O,expSign:C}:{style:f,source:O};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":{tg(y)?(this.assertEmpty("unit"),_.unit={style:f,unit:y}):this.badOption(f,y);break}case"per-measure-unit":{tg(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 k=Number(y);k>0?(this.assertEmpty("precision"),_.precision={style:f,increment:k}):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 k=y.match(/^#*(0*)$/);k?(this.assertEmpty("integerWidth"),_.integerWidth={source:y,min:k[1].length,max:k[0].length}):this.badOption(f,y)}break}case"scale":{let k=Number(y);k>0?(this.assertEmpty("scale"),_.scale=k):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":{ZW(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 k=JW(f,b,this.onError);k?(this.assertEmpty("precision"),_.precision=k):this.onError(new oe(f))}}}}function ng(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_=>{throw _},b=[];for(let _ of p.split(" "))if(_){let k=_.split("/"),C=k.shift()||"";b.push({stem:C,options:k})}let y=new eZ(f);for(let{stem:_,options:k}of b)y.parseToken(_,k);return y.skeleton}function tZ(p,f,b,y){typeof f=="string"&&(f=f.indexOf("::")===0?ng(f.slice(2),y):yl(f,b,y));let _=ne(p,f),k=nt(f),C=pi(f),O=new Intl.NumberFormat(_,k);if(f.affix){let[P,Y]=f.affix.pos,[be,Ie]=f.affix.neg||["",""];return Ze=>{let re=O.format(C(Ze));return Ze<0?`${be}${re}${Ie}`:`${P}${re}${Y}`}}return P=>O.format(C(P))}function iZ(p,f,b,y){typeof f=="string"&&(f=f.indexOf("::")===0?ng(f.slice(2),y):yl(f,b,y));let _=ne(p,f),k=nt(f),C=Je(f),O=["(function() {",`var opt = ${JSON.stringify(k)};`,`var nf = new Intl.NumberFormat(${JSON.stringify(_)}, opt);`],P="nf.format(value)";if(C&&(O.push(`var mod = ${C};`),P="nf.format(mod(value))"),f.affix){let[Y,be]=f.affix.pos.map(Ie=>JSON.stringify(Ie));if(f.affix.neg){let[Ie,Ze]=f.affix.neg.map(re=>JSON.stringify(re));P=`value < 0 ? ${Ie} + ${P} + ${Ze} : ${Y} + ${P} + ${be}`}else P=`${Y} + ${P} + ${be}`}return O.push(`return function(value) { return ${P}; }`),O.join(`
4
- `)+`
5
- })()`}var uu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function aZ(p){return p&&p.__esModule&&Object.prototype.hasOwnProperty.call(p,"default")?p.default:p}var jo={},rg={},og={exports:{}};(function(p){(function(f,b){p.exports?p.exports=b():f.moo=b()})(uu,function(){var f=Object.prototype.hasOwnProperty,b=Object.prototype.toString,y=typeof new RegExp().sticky=="boolean";function _(F){return F&&b.call(F)==="[object RegExp]"}function k(F){return F&&typeof F=="object"&&!_(F)&&!Array.isArray(F)}function C(F){return F.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function O(F){var Q=new RegExp("|"+F);return Q.exec("").length-1}function P(F){return"("+F+")"}function Y(F){if(!F.length)return"(?!)";var Q=F.map(function(fe){return"(?:"+fe+")"}).join("|");return"(?:"+Q+")"}function be(F){if(typeof F=="string")return"(?:"+C(F)+")";if(_(F)){if(F.ignoreCase)throw new Error("RegExp /i flag not allowed");if(F.global)throw new Error("RegExp /g flag is implied");if(F.sticky)throw new Error("RegExp /y flag is implied");if(F.multiline)throw new Error("RegExp /m flag is implied");return F.source}else throw new Error("Not a pattern: "+F)}function Ie(F,Q){return F.length>Q?F:Array(Q-F.length+1).join(" ")+F}function Ze(F,Q){for(var fe=F.length,ye=0;;){var Le=F.lastIndexOf(`
6
- `,fe-1);if(Le===-1||(ye++,fe=Le,ye===Q)||fe===0)break}var De=ye<Q?0:fe+1;return F.substring(De).split(`
7
- `)}function re(F){for(var Q=Object.getOwnPropertyNames(F),fe=[],ye=0;ye<Q.length;ye++){var Le=Q[ye],De=F[Le],et=[].concat(De);if(Le==="include"){for(var It=0;It<et.length;It++)fe.push({include:et[It]});continue}var lt=[];et.forEach(function(Me){k(Me)?(lt.length&&fe.push(Ht(Le,lt)),fe.push(Ht(Le,Me)),lt=[]):lt.push(Me)}),lt.length&&fe.push(Ht(Le,lt))}return fe}function St(F){for(var Q=[],fe=0;fe<F.length;fe++){var ye=F[fe];if(ye.include){for(var Le=[].concat(ye.include),De=0;De<Le.length;De++)Q.push({include:Le[De]});continue}if(!ye.type)throw new Error("Rule has no type: "+JSON.stringify(ye));Q.push(Ht(ye.type,ye))}return Q}function Ht(F,Q){if(k(Q)||(Q={match:Q}),Q.include)throw new Error("Matching rules cannot also include states");var fe={defaultType:F,lineBreaks:!!Q.error||!!Q.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var ye in Q)f.call(Q,ye)&&(fe[ye]=Q[ye]);if(typeof fe.type=="string"&&F!==fe.type)throw new Error("Type transform cannot be a string (type '"+fe.type+"' for token '"+F+"')");var Le=fe.match;return fe.match=Array.isArray(Le)?Le:Le?[Le]:[],fe.match.sort(function(De,et){return _(De)&&_(et)?0:_(et)?-1:_(De)?1:et.length-De.length}),fe}function ni(F){return Array.isArray(F)?St(F):re(F)}var Ci=Ht("error",{lineBreaks:!0,shouldThrow:!0});function ha(F,Q){for(var fe=null,ye=Object.create(null),Le=!0,De=null,et=[],It=[],lt=0;lt<F.length;lt++)F[lt].fallback&&(Le=!1);for(var lt=0;lt<F.length;lt++){var Me=F[lt];if(Me.include)throw new Error("Inheritance is not allowed in stateless lexers");if(Me.error||Me.fallback){if(fe)throw!Me.fallback==!fe.fallback?new Error("Multiple "+(Me.fallback?"fallback":"error")+" rules not allowed (for token '"+Me.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+Me.defaultType+"')");fe=Me}var Kt=Me.match.slice();if(Le)for(;Kt.length&&typeof Kt[0]=="string"&&Kt[0].length===1;){var Br=Kt.shift();ye[Br.charCodeAt(0)]=Me}if(Me.pop||Me.push||Me.next){if(!Q)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+Me.defaultType+"')");if(Me.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+Me.defaultType+"')")}if(Kt.length!==0){Le=!1,et.push(Me);for(var Ta=0;Ta<Kt.length;Ta++){var er=Kt[Ta];if(_(er)){if(De===null)De=er.unicode;else if(De!==er.unicode&&Me.fallback===!1)throw new Error("If one rule is /u then all must be")}}var Hr=Y(Kt.map(be)),pa=new RegExp(Hr);if(pa.test(""))throw new Error("RegExp matches empty string: "+pa);var Ho=O(Hr);if(Ho>0)throw new Error("RegExp has capture groups: "+pa+`
8
- Use (?: … ) instead`);if(!Me.lineBreaks&&pa.test(`
9
- `))throw new Error("Rule should declare lineBreaks: "+pa);It.push(P(Hr))}}var $r=fe&&fe.fallback,$o=y&&!$r?"ym":"gm",Cl=y||$r?"":"|";De===!0&&($o+="u");var FZ=new RegExp(Y(It)+Cl,$o);return{regexp:FZ,groups:et,fast:ye,error:fe||Ci}}function Dn(F){var Q=ha(ni(F));return new Lt({start:Q},"start")}function nn(F,Q,fe){var ye=F&&(F.push||F.next);if(ye&&!fe[ye])throw new Error("Missing state '"+ye+"' (in token '"+F.defaultType+"' of state '"+Q+"')");if(F&&F.pop&&+F.pop!=1)throw new Error("pop must be 1 (in token '"+F.defaultType+"' of state '"+Q+"')")}function rn(F,Q){var fe=F.$all?ni(F.$all):[];delete F.$all;var ye=Object.getOwnPropertyNames(F);Q||(Q=ye[0]);for(var Le=Object.create(null),De=0;De<ye.length;De++){var et=ye[De];Le[et]=ni(F[et]).concat(fe)}for(var De=0;De<ye.length;De++)for(var et=ye[De],It=Le[et],lt=Object.create(null),Me=0;Me<It.length;Me++){var Kt=It[Me];if(Kt.include){var Br=[Me,1];if(Kt.include!==et&&!lt[Kt.include]){lt[Kt.include]=!0;var Ta=Le[Kt.include];if(!Ta)throw new Error("Cannot include nonexistent state '"+Kt.include+"' (in state '"+et+"')");for(var er=0;er<Ta.length;er++){var Hr=Ta[er];It.indexOf(Hr)===-1&&Br.push(Hr)}}It.splice.apply(It,Br),Me--}}for(var pa=Object.create(null),De=0;De<ye.length;De++){var et=ye[De];pa[et]=ha(Le[et],!0)}for(var De=0;De<ye.length;De++){for(var Ho=ye[De],$r=pa[Ho],$o=$r.groups,Me=0;Me<$o.length;Me++)nn($o[Me],Ho,pa);for(var Cl=Object.getOwnPropertyNames($r.fast),Me=0;Me<Cl.length;Me++)nn($r.fast[Cl[Me]],Ho,pa)}return new Lt(pa,Q)}function on(F){for(var Q=typeof Map<"u",fe=Q?new Map:Object.create(null),ye=Object.getOwnPropertyNames(F),Le=0;Le<ye.length;Le++){var De=ye[Le],et=F[De],It=Array.isArray(et)?et:[et];It.forEach(function(lt){if(typeof lt!="string")throw new Error("keyword must be string (in keyword '"+De+"')");Q?fe.set(lt,De):fe[lt]=De})}return function(lt){return Q?fe.get(lt):fe[lt]}}var Lt=function(F,Q){this.startState=Q,this.states=F,this.buffer="",this.stack=[],this.reset()};Lt.prototype.reset=function(F,Q){return this.buffer=F||"",this.index=0,this.line=Q?Q.line:1,this.col=Q?Q.col:1,this.queuedToken=Q?Q.queuedToken:null,this.queuedText=Q?Q.queuedText:"",this.queuedThrow=Q?Q.queuedThrow:null,this.setState(Q?Q.state:this.startState),this.stack=Q&&Q.stack?Q.stack.slice():[],this},Lt.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}},Lt.prototype.setState=function(F){if(!(!F||this.state===F)){this.state=F;var Q=this.states[F];this.groups=Q.groups,this.error=Q.error,this.re=Q.regexp,this.fast=Q.fast}},Lt.prototype.popState=function(){this.setState(this.stack.pop())},Lt.prototype.pushState=function(F){this.stack.push(this.state),this.setState(F)};var kl=y?function(F,Q){return F.exec(Q)}:function(F,Q){var fe=F.exec(Q);return fe[0].length===0?null:fe};Lt.prototype._getGroup=function(F){for(var Q=this.groups.length,fe=0;fe<Q;fe++)if(F[fe+1]!==void 0)return this.groups[fe];throw new Error("Cannot find token type for matched text")};function El(){return this.value}if(Lt.prototype.next=function(){var F=this.index;if(this.queuedGroup){var Q=this._token(this.queuedGroup,this.queuedText,F);return this.queuedGroup=null,this.queuedText="",Q}var fe=this.buffer;if(F!==fe.length){var et=this.fast[fe.charCodeAt(F)];if(et)return this._token(et,fe.charAt(F),F);var ye=this.re;ye.lastIndex=F;var Le=kl(ye,fe),De=this.error;if(Le==null)return this._token(De,fe.slice(F,fe.length),F);var et=this._getGroup(Le),It=Le[0];return De.fallback&&Le.index!==F?(this.queuedGroup=et,this.queuedText=It,this._token(De,fe.slice(F,Le.index),F)):this._token(et,It,F)}},Lt.prototype._token=function(F,Q,fe){var ye=0;if(F.lineBreaks){var Le=/\n/g,De=1;if(Q===`
10
- `)ye=1;else for(;Le.exec(Q);)ye++,De=Le.lastIndex}var et={type:typeof F.type=="function"&&F.type(Q)||F.defaultType,value:typeof F.value=="function"?F.value(Q):Q,text:Q,toString:El,offset:fe,lineBreaks:ye,line:this.line,col:this.col},It=Q.length;if(this.index+=It,this.line+=ye,ye!==0?this.col=It-De+1:this.col+=It,F.shouldThrow){var lt=new Error(this.formatError(et,"invalid syntax"));throw lt}return F.pop?this.popState():F.push?this.pushState(F.push):F.next&&this.setState(F.next),et},typeof Symbol<"u"&&Symbol.iterator){var sn=function(F){this.lexer=F};sn.prototype.next=function(){var F=this.lexer.next();return{value:F,done:!F}},sn.prototype[Symbol.iterator]=function(){return this},Lt.prototype[Symbol.iterator]=function(){return new sn(this)}}return Lt.prototype.formatError=function(ye,Q){if(ye==null)var fe=this.buffer.slice(this.index),ye={text:fe,offset:this.index,lineBreaks:fe.indexOf(`
11
- `)===-1?0:1,line:this.line,col:this.col};var Le=2,De=Math.max(ye.line-Le,1),et=ye.line+Le,It=String(et).length,lt=Ze(this.buffer,this.line-ye.line+Le+1).slice(0,5),Me=[];Me.push(Q+" at line "+ye.line+" col "+ye.col+":"),Me.push("");for(var Kt=0;Kt<lt.length;Kt++){var Br=lt[Kt],Ta=De+Kt;Me.push(Ie(String(Ta),It)+" "+Br),Ta===ye.line&&Me.push(Ie("",It+ye.col+1)+"^")}return Me.join(`
12
- `)},Lt.prototype.clone=function(){return new Lt(this.states,this.state)},Lt.prototype.has=function(F){return!0},{compile:Dn,states:rn,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:on}})})(og);var nZ=og.exports;(function(p){var f=uu&&uu.__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(nZ);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)})(rg),Object.defineProperty(jo,"__esModule",{value:!0});var sg=jo.parse=jo.ParseError=void 0;let lg=rg,_l=p=>({offset:p.offset,line:p.line,col:p.col,text:p.text,lineBreaks:p.lineBreaks}),hu=p=>p==="plural"||p==="select"||p==="selectordinal";function rZ(p,f){let b="",y="";for(let _ of f){let k=_.ctx.text;switch(y+=k,_.type){case"content":b+=_.value;break;case"argument":case"function":case"octothorpe":b+=k;break;default:throw new si(p,`Unsupported part in strict mode function arg style: ${k}`)}}return[{type:"content",value:b.trim(),ctx:Object.assign({},f[0].ctx,{text:y})}]}let oZ=["number","date","time","spellout","ordinal","duration"],cg=["zero","one","two","few","many","other"];class si extends Error{constructor(f,b){super(lg.lexer.formatError(f,b))}}jo.ParseError=si;class sZ{constructor(f,b){var y,_,k,C;this.lexer=lg.lexer.reset(f),this.cardinalKeys=(y=b==null?void 0:b.cardinal)!==null&&y!==void 0?y:cg,this.ordinalKeys=(_=b==null?void 0:b.ordinal)!==null&&_!==void 0?_:cg,this.strict=(k=b==null?void 0:b.strict)!==null&&k!==void 0?k:!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 si(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 k=`The ${b} case ${y} is not valid in this locale`;throw new si(f,k)}}}parseSelect(f,b,y,_){let{value:k}=f,C={type:_,arg:k,cases:[],ctx:y};_==="plural"||_==="selectordinal"?b=!0:this.strict&&(b=!1);for(let O of this.lexer)switch(O.type){case"offset":if(_==="select")throw new si(O,"Unexpected plural offset for select");if(C.cases.length>0)throw new si(O,"Plural offset must be set before cases");C.pluralOffset=Number(O.value),y.text+=O.text,y.lineBreaks+=O.lineBreaks;break;case"case":{this.checkSelectKey(O,_,O.value),C.cases.push({key:O.value,tokens:this.parseBody(b),ctx:_l(O)});break}case"end":return C;default:throw new si(O,`Unexpected lexer token: ${O.type}`)}throw new si(null,"Unexpected message end")}parseArgToken(f,b){let y=_l(f),_=this.lexer.next();if(!_)throw new si(null,"Unexpected message end");if(y.text+=_.text,y.lineBreaks+=_.lineBreaks,this.strict&&(_.type==="func-simple"||_.type==="func-args")&&!oZ.includes(_.value)){let k=`Invalid strict mode function arg type: ${_.value}`;throw new si(f,k)}switch(_.type){case"end":return{type:"argument",arg:f.value,ctx:y};case"func-simple":{let k=this.lexer.next();if(!k)throw new si(null,"Unexpected message end");if(k.type!=="end")throw new si(k,`Unexpected lexer token: ${k.type}`);if(y.text+=k.text,hu(_.value.toLowerCase()))throw new si(_,`Invalid type identifier: ${_.value}`);return{type:"function",arg:f.value,key:_.value,ctx:y}}case"func-args":{if(hu(_.value.toLowerCase())){let C=`Invalid type identifier: ${_.value}`;throw new si(_,C)}let k=this.parseBody(this.strict?!1:b);return this.strict&&k.length>0&&(k=rZ(f,k)),{type:"function",arg:f.value,key:_.value,param:k,ctx:y}}case"select":if(hu(_.value))return this.parseSelect(f,b,y,_.value);throw new si(_,`Unexpected select type ${_.value}`);default:throw new si(_,`Unexpected lexer token: ${_.type}`)}}parseBody(f,b){let y=[],_=null;for(let k of this.lexer)if(k.type==="argument")_&&(_=null),y.push(this.parseArgToken(k,f));else if(k.type==="octothorpe"&&f)_&&(_=null),y.push({type:"octothorpe",ctx:_l(k)});else{if(k.type==="end"&&!b)return y;{let C=k.value;if(!f&&k.type==="quoted"&&C[0]==="#"){if(C.includes("{")){let O=`Unsupported escape pattern: ${C}`;throw new si(k,O)}C=k.text}_?(_.value+=C,_.ctx.text+=k.text,_.ctx.lineBreaks+=k.lineBreaks):(_={type:"content",value:C,ctx:_l(k)},y.push(_))}}if(b)return y;throw new si(null,"Unexpected message end")}}function lZ(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new sZ(p,f).parse()}sg=jo.parse=lZ;function Bo(p){return Bo[p]||(Bo[p]=new Intl.NumberFormat(p))}function cZ(p,f,b){return Bo(p).format(f-b)}function dZ(p,f,b,y){var _=f-b;if(isNaN(_))throw new Error("`"+y+"` or its offset is not a number");return Bo(p).format(_)}function uZ(p,f,b,y,_){if({}.hasOwnProperty.call(y,p))return y[p];f&&(p-=f);var k=b(p,_);return k in y?y[k]:y.other}function hZ(p,f){return{}.hasOwnProperty.call(f,p)?f[p]:f.other}function pZ(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 mZ=Object.freeze({__proto__:null,_nf:Bo,number:cZ,plural:uZ,reqArgs:pZ,select:hZ,strictNumber:dZ});function fZ(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 gZ(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(k){return Number(k)<10?"0"+String(k):String(k)}).join(":")}var pu={};function xl(p,f){var b=String(p)+JSON.stringify(f);return pu[b]||(pu[b]=new Intl.NumberFormat(p,f)),pu[b]}function vZ(p,f,b,y){var _=b&&b.split(":")||[],k=_[0],C=_[1],O={integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:C&&C.trim()||y,minimumFractionDigits:2,maximumFractionDigits:2}};return xl(f,O[k]||{}).format(p)}var bZ=function(p,f,b){return xl(f,{style:"currency",currency:b,minimumFractionDigits:2,maximumFractionDigits:2}).format(p)},yZ=function(p,f){return xl(f,{maximumFractionDigits:0}).format(p)},_Z=function(p,f){return xl(f,{style:"percent"}).format(p)};function xZ(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 mu=Object.freeze({__proto__:null,date:fZ,duration:gZ,numberCurrency:bZ,numberFmt:vZ,numberInteger:yZ,numberPercent:_Z,time:xZ}),wZ={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}},fu=aZ(wZ);function SZ(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 Cn(p,f){f&&(p+=" "+SZ(p).toString(36));let b=p.trim().replace(/\W+/g,"_");return fu.ES3[b]||fu.ESnext[b]||/^\d/.test(b)?"_"+b:b}function gu(p,f){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(f)&&!fu.ES3[f])return p?p+"."+f:f;{let b=JSON.stringify(f);return p?p+"["+b+"]":b}}var kZ=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],EZ=new RegExp("^"+kZ.join("|^"));function CZ(p,f){var b=EZ.test(f),y=JSON.stringify(b?"‏":"‎");return"".concat(y," + ").concat(p," + ").concat(y)}var DZ="@messageformat/runtime",IZ="@messageformat/runtime/lib/cardinals",dg="@messageformat/runtime/lib/plurals",AZ="@messageformat/runtime/lib/formatters",OZ=function(){function p(f){this.arguments=[],this.runtime={},this.options=f}return p.prototype.compile=function(f,b,y){var _,k,C=this,O=this.options,P=O.localeCodeFromKey,Y=O.requireAllArguments,be=O.strict,Ie=O.strictPluralKeys;if(typeof f=="object"){var Ze={};try{for(var re=i(Object.keys(f)),St=re.next();!St.done;St=re.next()){var Ht=St.value,ni=P?P(Ht):Ht,Ci=y&&ni&&y[ni]||b;Ze[Ht]=this.compile(f[Ht],Ci,y)}}catch(Lt){_={error:Lt}}finally{try{St&&!St.done&&(k=re.return)&&k.call(re)}finally{if(_)throw _.error}}return Ze}this.plural=b;var ha={cardinal:b.cardinals,ordinal:b.ordinals,strict:be,strictPluralKeys:Ie};this.arguments=[];var Dn=sg(f,ha).map(function(Lt){return C.token(Lt,null)}),nn=this.arguments.length>0,rn=this.concatenate(Dn,!0);if(Y&&nn){this.setRuntimeFn("reqArgs");var on=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(on,", d); return ").concat(rn,"; }")}return"(".concat(nn?"d":"",") => ").concat(rn)},p.prototype.cases=function(f,b){var y=this,_=!0,k=f.cases.map(function(be){var Ie=be.key,Ze=be.tokens;Ie==="other"&&(_=!1);var re=Ze.map(function(St){return y.token(St,b)});return"".concat(gu(null,Ie.replace(/^=/,"")),": ").concat(y.concatenate(re,!1))});if(_){var C=f.type,O=this.plural,P=O.cardinals,Y=O.ordinals;if(C==="select"||C==="plural"&&P.includes("other")||C==="selectordinal"&&Y.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(f)))}return"{ ".concat(k.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,k=y.lc,C,O;switch("arg"in f?(this.arguments.push(f.arg),C=[gu("d",f.arg)]):C=[],f.type){case"argument":return this.options.biDiSupport?CZ(String(C[0]),k):String(C[0]);case"select":O="select",b&&this.options.strict&&(b=null),C.push(this.cases(f,b)),this.setRuntimeFn("select");break;case"selectordinal":O="plural",C.push(f.pluralOffset||0,_,this.cases(f,f),1),this.setLocale(_,!0),this.setRuntimeFn("plural");break;case"plural":O="plural",C.push(f.pluralOffset||0,_,this.cases(f,f)),this.setLocale(_,!1),this.setRuntimeFn("plural");break;case"function":{var P=this.options.customFormatters[f.key],Y=P&&"module"in P&&typeof P.module=="function";if(!P){if(f.key==="date"){O=this.setDateFormatter(f,C,b);break}else if(f.key==="number"){O=this.setNumberFormatter(f,C,b);break}}if(C.push(JSON.stringify(this.plural.locale)),f.param){b&&this.options.strict&&(b=null);var be=this.getFormatterArg(f,b);be&&C.push(be)}O=Y?Cn("".concat(f.key,"__").concat(this.plural.locale)):f.key,this.setFormatter(O,f.key);break}case"octothorpe":if(!b)return'"#"';C=[JSON.stringify(this.plural.locale),gu("d",b.arg),b.pluralOffset||0],this.options.strict?(O="strictNumber",C.push(JSON.stringify(b.arg)),this.setRuntimeFn("strictNumber")):(O="number",this.setRuntimeFn("number"));break}if(!O)throw new Error("Parser error for token "+JSON.stringify(f));return"".concat(O,"(").concat(C.join(", "),")")},p.prototype.runtimeIncludes=function(f,b){if(Cn(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,k=_.getCardinal,C=_.getPlural,O=_.isDefault,P,Y,be;if(!b&&O&&k){if(y)return;P=function(Ie){return k(Ie)},Y=IZ,be=function(){return String(k)}}else{if(y&&(!O||y.module===dg))return;P=function(Ie,Ze){return C(Ie,Ze)},Y=O?dg:C.module||null,be=function(){return String(C)}}this.runtime[f]=Object.assign(P,{id:f,module:Y,toString:be,type:"locale"})},p.prototype.setRuntimeFn=function(f){this.runtimeIncludes(f,"runtime")||(this.runtime[f]=Object.assign(mZ[f],{id:f,module:DZ,type:"runtime"}))},p.prototype.getFormatterArg=function(f,b){var y,_,k,C,O=this,P=f.key,Y=f.param,be=this.options.customFormatters[P]||ug(P)&&mu[P];if(!be||!Y)return null;var Ie="arg"in be&&be.arg||"string";if(Ie==="options"){var Ze="";try{for(var re=i(Y),St=re.next();!St.done;St=re.next()){var Ht=St.value;if(Ht.type==="content")Ze+=Ht.value;else throw new SyntaxError("Expected literal options for ".concat(P," formatter"))}}catch(sn){y={error:sn}}finally{try{St&&!St.done&&(_=re.return)&&_.call(re)}finally{if(y)throw y.error}}var ni={};try{for(var Ci=i(Ze.split(",")),ha=Ci.next();!ha.done;ha=Ci.next()){var Dn=ha.value,nn=Dn.indexOf(":");if(nn===-1)ni[Dn.trim()]=null;else{var rn=Dn.substring(0,nn).trim(),on=Dn.substring(nn+1).trim();if(on==="true")ni[rn]=!0;else if(on==="false")ni[rn]=!1;else if(on==="null")ni[rn]=null;else{var Lt=Number(on);ni[rn]=Number.isFinite(Lt)?Lt:on}}}}catch(sn){k={error:sn}}finally{try{ha&&!ha.done&&(C=Ci.return)&&C.call(Ci)}finally{if(k)throw k.error}}return JSON.stringify(ni)}else{var kl=Y.map(function(sn){return O.token(sn,b)});if(Ie==="raw")return"[".concat(kl.join(", "),"]");var El=kl.join(" + ");return El?"(".concat(El,").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({}),n(n({},_.formatter.prototype),{toString:function(){return String(_.formatter)}}),{type:"formatter"},"module"in y&&y.module&&y.id?{id:Cn(y.id),module:typeof y.module=="function"?y.module(this.plural.locale):y.module}:{id:null,module:null})}else if(ug(f))this.runtime[f]=Object.assign(mu[f],{type:"formatter"},{id:f,module:AZ});else throw new Error("Formatting function not found: ".concat(f))}},p.prototype.setDateFormatter=function(f,b,y){var _=this,k=f.param,C=this.plural.locale,O=k&&k.length===1&&k[0];if(O&&O.type==="content"&&/^\s*::/.test(O.value)){var P=O.value.trim().substr(2),Y=Cn("date_".concat(C,"_").concat(P),!0);if(!this.runtimeIncludes(Y,"formatter")){var be=ii(C,P,this.options.timeZone);this.runtime[Y]=Object.assign(be,{id:Y,module:null,toString:function(){return Bt(C,P,_.options.timeZone)},type:"formatter"})}return Y}if(b.push(JSON.stringify(C)),k&&k.length>0){y&&this.options.strict&&(y=null);var Ie=k.map(function(Ze){return _.token(Ze,y)});b.push("("+(Ie.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},p.prototype.setNumberFormatter=function(f,b,y){var _=this,k=f.param,C=this.plural.locale;if(!k||k.length===0)return b.unshift(JSON.stringify(C)),b.push("0"),this.setRuntimeFn("number"),"number";if(b.push(JSON.stringify(C)),k.length===1&&k[0].type==="content"){var O=k[0].value.trim();switch(O){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 P=O.match(/^currency:([A-Z]+)$/);if(P)return b.push(JSON.stringify(P[1])),this.setFormatter("numberCurrency"),"numberCurrency";var Y=Cn("number_".concat(C,"_").concat(O),!0);if(!this.runtimeIncludes(Y,"formatter")){var be=this.options.currency,Ie=tZ(C,O,be);this.runtime[Y]=Object.assign(Ie,{id:null,module:null,toString:function(){return iZ(C,O,be)},type:"formatter"})}return Y}y&&this.options.strict&&(y=null);var Ze=k.map(function(re){return _.token(re,y)});return b.push("("+(Ze.join(" + ")||'""')+").trim()"),b.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},p}();function ug(p){return p in mu}let Z=p=>p==1?"one":"other",Qa=p=>p==0||p==1?"one":"other",Aa=p=>p>=0&&p<=1?"one":"other",ci=p=>{let f=String(p).split("."),b=!f[1];return p==1&&b?"one":"other"},at=p=>"other",Ja=p=>p==1?"one":p==2?"two":"other";var TZ=Object.freeze({__proto__:null,af:Z,ak:Qa,am:Aa,an:Z,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:Aa,asa:Z,ast:ci,az:Z,bal:Z,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:Z,bez:Z,bg:Z,bho:Qa,bm:at,bn:Aa,bo:at,br:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&f[0].slice(-1),_=b&&f[0].slice(-2),k=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&&k==0?"many":"other"},brx:Z,bs:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],k=b.slice(-1),C=b.slice(-2),O=y.slice(-1),P=y.slice(-2);return _&&k==1&&C!=11||O==1&&P!=11?"one":_&&k>=2&&k<=4&&(C<12||C>14)||O>=2&&O<=4&&(P<12||P>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:Z,ceb:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],k=b.slice(-1),C=y.slice(-1);return _&&(b==1||b==2||b==3)||_&&k!=4&&k!=6&&k!=9||!_&&C!=4&&C!=6&&C!=9?"one":"other"},cgg:Z,chr:Z,ckb:Z,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:ci,doi:Aa,dsb:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],k=b.slice(-2),C=y.slice(-2);return _&&k==1||C==1?"one":_&&k==2||C==2?"two":_&&(k==3||k==4)||C==3||C==4?"few":"other"},dv:Z,dz:at,ee:Z,el:Z,en:ci,eo:Z,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:ci,eu:Z,fa:Aa,ff:p=>p>=0&&p<2?"one":"other",fi:ci,fil:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],k=b.slice(-1),C=y.slice(-1);return _&&(b==1||b==2||b==3)||_&&k!=4&&k!=6&&k!=9||!_&&C!=4&&C!=6&&C!=9?"one":"other"},fo:Z,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:Z,fy:ci,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:ci,gsw:Z,gu:Aa,guw:Qa,gv:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-1),k=b.slice(-2);return y&&_==1?"one":y&&_==2?"two":y&&(k==0||k==20||k==40||k==60||k==80)?"few":y?"other":"many"},ha:Z,haw:Z,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:Aa,hnj:at,hr:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],k=b.slice(-1),C=b.slice(-2),O=y.slice(-1),P=y.slice(-2);return _&&k==1&&C!=11||O==1&&P!=11?"one":_&&k>=2&&k<=4&&(C<12||C>14)||O>=2&&O<=4&&(P<12||P>14)?"few":"other"},hsb:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],k=b.slice(-2),C=y.slice(-2);return _&&k==1||C==1?"one":_&&k==2||C==2?"two":_&&(k==3||k==4)||C==3||C==4?"few":"other"},hu:Z,hy:p=>p>=0&&p<2?"one":"other",ia:ci,id:at,ig:at,ii:at,io:ci,is:p=>{let f=String(p).split("."),b=f[0],y=(f[1]||"").replace(/0+$/,""),_=Number(f[0])==p,k=b.slice(-1),C=b.slice(-2);return _&&k==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:Ja,ja:at,jbo:at,jgo:Z,jmc:Z,jv:at,jw:at,ka:Z,kab:p=>p>=0&&p<2?"one":"other",kaj:Z,kcg:Z,kde:at,kea:at,kk:Z,kkj:Z,kl:Z,km:at,kn:Aa,ko:at,ks:Z,ksb:Z,ksh:p=>p==0?"zero":p==1?"one":"other",ku:Z,kw:p=>{let f=String(p).split("."),b=Number(f[0])==p,y=b&&f[0].slice(-2),_=b&&f[0].slice(-3),k=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&&(k>=1e3&&k<=2e4||k==4e4||k==6e4||k==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:Z,lag:p=>{let f=String(p).split("."),b=f[0];return p==0?"zero":(b==0||b==1)&&p!=0?"one":"other"},lb:Z,lg:Z,lij:ci,lkt:at,ln:Qa,lo:at,lt:p=>{let f=String(p).split("."),b=f[1]||"",y=Number(f[0])==p,_=y&&f[0].slice(-1),k=y&&f[0].slice(-2);return _==1&&(k<11||k>19)?"one":_>=2&&_<=9&&(k<11||k>19)?"few":b!=0?"many":"other"},lv:p=>{let f=String(p).split("."),b=f[1]||"",y=b.length,_=Number(f[0])==p,k=_&&f[0].slice(-1),C=_&&f[0].slice(-2),O=b.slice(-2),P=b.slice(-1);return _&&k==0||C>=11&&C<=19||y==2&&O>=11&&O<=19?"zero":k==1&&C!=11||y==2&&P==1&&O!=11||y!=2&&P==1?"one":"other"},mas:Z,mg:Qa,mgo:Z,mk:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],k=b.slice(-1),C=b.slice(-2),O=y.slice(-1),P=y.slice(-2);return _&&k==1&&C!=11||O==1&&P!=11?"one":"other"},ml:Z,mn:Z,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:Z,ms:at,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:at,nah:Z,naq:Ja,nb:Z,nd:Z,ne:Z,nl:ci,nn:Z,nnh:Z,no:Z,nqo:at,nr:Z,nso:Qa,ny:Z,nyn:Z,om:Z,or:Z,os:Z,osa:at,pa:Qa,pap:Z,pcm:Aa,pl:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-1),k=b.slice(-2);return p==1&&y?"one":y&&_>=2&&_<=4&&(k<12||k>14)?"few":y&&b!=1&&(_==0||_==1)||y&&_>=5&&_<=9||y&&k>=12&&k<=14?"many":"other"},prg:p=>{let f=String(p).split("."),b=f[1]||"",y=b.length,_=Number(f[0])==p,k=_&&f[0].slice(-1),C=_&&f[0].slice(-2),O=b.slice(-2),P=b.slice(-1);return _&&k==0||C>=11&&C<=19||y==2&&O>=11&&O<=19?"zero":k==1&&C!=11||y==2&&P==1&&O!=11||y!=2&&P==1?"one":"other"},ps:Z,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:Z,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:Z,ru:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-1),k=b.slice(-2);return y&&_==1&&k!=11?"one":y&&_>=2&&_<=4&&(k<12||k>14)?"few":y&&_==0||y&&_>=5&&_<=9||y&&k>=11&&k<=14?"many":"other"},rwk:Z,sah:at,saq:Z,sat:Ja,sc:ci,scn:ci,sd:Z,sdh:Z,se:Ja,seh:Z,ses:at,sg:at,sh:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],k=b.slice(-1),C=b.slice(-2),O=y.slice(-1),P=y.slice(-2);return _&&k==1&&C!=11||O==1&&P!=11?"one":_&&k>=2&&k<=4&&(C<12||C>14)||O>=2&&O<=4&&(P<12||P>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:Ja,smi:Ja,smj:Ja,smn:Ja,sms:Ja,sn:Z,so:Z,sq:Z,sr:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],k=b.slice(-1),C=b.slice(-2),O=y.slice(-1),P=y.slice(-2);return _&&k==1&&C!=11||O==1&&P!=11?"one":_&&k>=2&&k<=4&&(C<12||C>14)||O>=2&&O<=4&&(P<12||P>14)?"few":"other"},ss:Z,ssy:Z,st:Z,su:at,sv:ci,sw:ci,syr:Z,ta:Z,te:Z,teo:Z,th:at,ti:Qa,tig:Z,tk:Z,tl:p=>{let f=String(p).split("."),b=f[0],y=f[1]||"",_=!f[1],k=b.slice(-1),C=y.slice(-1);return _&&(b==1||b==2||b==3)||_&&k!=4&&k!=6&&k!=9||!_&&C!=4&&C!=6&&C!=9?"one":"other"},tn:Z,to:at,tpi:at,tr:Z,ts:Z,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:Z,uk:p=>{let f=String(p).split("."),b=f[0],y=!f[1],_=b.slice(-1),k=b.slice(-2);return y&&_==1&&k!=11?"one":y&&_>=2&&_<=4&&(k<12||k>14)?"few":y&&_==0||y&&_>=5&&_<=9||y&&k>=11&&k<=14?"many":"other"},und:at,ur:ci,uz:Z,ve:Z,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:at,vo:Z,vun:Z,wa:Qa,wae:Z,wo:at,xh:Z,xog:Z,yi:ci,yo:at,yue:at,zh:at,zu:Aa});let en="zero",te="one",Dt="two",$e="few",Ge="many",V="other",j={cardinal:[te,V],ordinal:[V]},Jn={cardinal:[te,V],ordinal:[te,V]},rt={cardinal:[V],ordinal:[V]},Oa={cardinal:[te,Dt,V],ordinal:[V]};var hg=Object.freeze({__proto__:null,af:j,ak:j,am:j,an:j,ar:{cardinal:[en,te,Dt,$e,Ge,V],ordinal:[V]},ars:{cardinal:[en,te,Dt,$e,Ge,V],ordinal:[V]},as:{cardinal:[te,V],ordinal:[te,Dt,$e,Ge,V]},asa:j,ast:j,az:{cardinal:[te,V],ordinal:[te,$e,Ge,V]},bal:Jn,be:{cardinal:[te,$e,Ge,V],ordinal:[$e,V]},bem:j,bez:j,bg:j,bho:j,bm:rt,bn:{cardinal:[te,V],ordinal:[te,Dt,$e,Ge,V]},bo:rt,br:{cardinal:[te,Dt,$e,Ge,V],ordinal:[V]},brx:j,bs:{cardinal:[te,$e,V],ordinal:[V]},ca:{cardinal:[te,Ge,V],ordinal:[te,Dt,$e,V]},ce:j,ceb:j,cgg:j,chr:j,ckb:j,cs:{cardinal:[te,$e,Ge,V],ordinal:[V]},cy:{cardinal:[en,te,Dt,$e,Ge,V],ordinal:[en,te,Dt,$e,Ge,V]},da:j,de:j,doi:j,dsb:{cardinal:[te,Dt,$e,V],ordinal:[V]},dv:j,dz:rt,ee:j,el:j,en:{cardinal:[te,V],ordinal:[te,Dt,$e,V]},eo:j,es:{cardinal:[te,Ge,V],ordinal:[V]},et:j,eu:j,fa:j,ff:j,fi:j,fil:Jn,fo:j,fr:{cardinal:[te,Ge,V],ordinal:[te,V]},fur:j,fy:j,ga:{cardinal:[te,Dt,$e,Ge,V],ordinal:[te,V]},gd:{cardinal:[te,Dt,$e,V],ordinal:[te,Dt,$e,V]},gl:j,gsw:j,gu:{cardinal:[te,V],ordinal:[te,Dt,$e,Ge,V]},guw:j,gv:{cardinal:[te,Dt,$e,Ge,V],ordinal:[V]},ha:j,haw:j,he:Oa,hi:{cardinal:[te,V],ordinal:[te,Dt,$e,Ge,V]},hnj:rt,hr:{cardinal:[te,$e,V],ordinal:[V]},hsb:{cardinal:[te,Dt,$e,V],ordinal:[V]},hu:Jn,hy:Jn,ia:j,id:rt,ig:rt,ii:rt,io:j,is:j,it:{cardinal:[te,Ge,V],ordinal:[Ge,V]},iu:Oa,ja:rt,jbo:rt,jgo:j,jmc:j,jv:rt,jw:rt,ka:{cardinal:[te,V],ordinal:[te,Ge,V]},kab:j,kaj:j,kcg:j,kde:rt,kea:rt,kk:{cardinal:[te,V],ordinal:[Ge,V]},kkj:j,kl:j,km:rt,kn:j,ko:rt,ks:j,ksb:j,ksh:{cardinal:[en,te,V],ordinal:[V]},ku:j,kw:{cardinal:[en,te,Dt,$e,Ge,V],ordinal:[te,Ge,V]},ky:j,lag:{cardinal:[en,te,V],ordinal:[V]},lb:j,lg:j,lij:{cardinal:[te,V],ordinal:[Ge,V]},lkt:rt,ln:j,lo:{cardinal:[V],ordinal:[te,V]},lt:{cardinal:[te,$e,Ge,V],ordinal:[V]},lv:{cardinal:[en,te,V],ordinal:[V]},mas:j,mg:j,mgo:j,mk:{cardinal:[te,V],ordinal:[te,Dt,Ge,V]},ml:j,mn:j,mo:{cardinal:[te,$e,V],ordinal:[te,V]},mr:{cardinal:[te,V],ordinal:[te,Dt,$e,V]},ms:{cardinal:[V],ordinal:[te,V]},mt:{cardinal:[te,Dt,$e,Ge,V],ordinal:[V]},my:rt,nah:j,naq:Oa,nb:j,nd:j,ne:Jn,nl:j,nn:j,nnh:j,no:j,nqo:rt,nr:j,nso:j,ny:j,nyn:j,om:j,or:{cardinal:[te,V],ordinal:[te,Dt,$e,Ge,V]},os:j,osa:rt,pa:j,pap:j,pcm:j,pl:{cardinal:[te,$e,Ge,V],ordinal:[V]},prg:{cardinal:[en,te,V],ordinal:[V]},ps:j,pt:{cardinal:[te,Ge,V],ordinal:[V]},pt_PT:{cardinal:[te,Ge,V],ordinal:[V]},rm:j,ro:{cardinal:[te,$e,V],ordinal:[te,V]},rof:j,ru:{cardinal:[te,$e,Ge,V],ordinal:[V]},rwk:j,sah:rt,saq:j,sat:Oa,sc:{cardinal:[te,V],ordinal:[Ge,V]},scn:{cardinal:[te,V],ordinal:[Ge,V]},sd:j,sdh:j,se:Oa,seh:j,ses:rt,sg:rt,sh:{cardinal:[te,$e,V],ordinal:[V]},shi:{cardinal:[te,$e,V],ordinal:[V]},si:j,sk:{cardinal:[te,$e,Ge,V],ordinal:[V]},sl:{cardinal:[te,Dt,$e,V],ordinal:[V]},sma:Oa,smi:Oa,smj:Oa,smn:Oa,sms:Oa,sn:j,so:j,sq:{cardinal:[te,V],ordinal:[te,Ge,V]},sr:{cardinal:[te,$e,V],ordinal:[V]},ss:j,ssy:j,st:j,su:rt,sv:Jn,sw:j,syr:j,ta:j,te:j,teo:j,th:rt,ti:j,tig:j,tk:{cardinal:[te,V],ordinal:[$e,V]},tl:Jn,tn:j,to:rt,tpi:rt,tr:j,ts:j,tzm:j,ug:j,uk:{cardinal:[te,$e,Ge,V],ordinal:[$e,V]},und:rt,ur:j,uz:j,ve:j,vec:{cardinal:[te,Ge,V],ordinal:[Ge,V]},vi:{cardinal:[V],ordinal:[te,V]},vo:j,vun:j,wa:j,wae:j,wo:rt,xh:j,xog:j,yi:j,yo:rt,yue:rt,zh:rt,zu:j});let ie=(p,f)=>f?"other":p==1?"one":"other",tn=(p,f)=>f?"other":p==0||p==1?"one":"other",jr=(p,f)=>f?"other":p>=0&&p<=1?"one":"other",ea=(p,f)=>{let b=String(p).split("."),y=!b[1];return f?"other":p==1&&y?"one":"other"},ot=(p,f)=>"other",an=(p,f)=>f?"other":p==1?"one":p==2?"two":"other";var wl=Object.freeze({__proto__:null,af:ie,ak:tn,am:jr,an:ie,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:ie,ast:ea,az:(p,f)=>{let b=String(p).split("."),y=b[0],_=y.slice(-1),k=y.slice(-2),C=y.slice(-3);return f?_==1||_==2||_==5||_==7||_==8||k==20||k==50||k==70||k==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||k==40||k==60||k==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),k=y&&b[0].slice(-2);return f?(_==2||_==3)&&k!=12&&k!=13?"few":"other":_==1&&k!=11?"one":_>=2&&_<=4&&(k<12||k>14)?"few":y&&_==0||_>=5&&_<=9||k>=11&&k<=14?"many":"other"},bem:ie,bez:ie,bg:ie,bho:tn,bm:ot,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:ot,br:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1),k=y&&b[0].slice(-2),C=y&&b[0].slice(-6);return f?"other":_==1&&k!=11&&k!=71&&k!=91?"one":_==2&&k!=12&&k!=72&&k!=92?"two":(_==3||_==4||_==9)&&(k<10||k>19)&&(k<70||k>79)&&(k<90||k>99)?"few":p!=0&&y&&C==0?"many":"other"},brx:ie,bs:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",k=!b[1],C=y.slice(-1),O=y.slice(-2),P=_.slice(-1),Y=_.slice(-2);return f?"other":k&&C==1&&O!=11||P==1&&Y!=11?"one":k&&C>=2&&C<=4&&(O<12||O>14)||P>=2&&P<=4&&(Y<12||Y>14)?"few":"other"},ca:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-6);return f?p==1||p==3?"one":p==2?"two":p==4?"few":"other":p==1&&_?"one":y!=0&&k==0&&_?"many":"other"},ce:ie,ceb:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",k=!b[1],C=y.slice(-1),O=_.slice(-1);return f?"other":k&&(y==1||y==2||y==3)||k&&C!=4&&C!=6&&C!=9||!k&&O!=4&&O!=6&&O!=9?"one":"other"},cgg:ie,chr:ie,ckb:ie,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:ea,doi:jr,dsb:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",k=!b[1],C=y.slice(-2),O=_.slice(-2);return f?"other":k&&C==1||O==1?"one":k&&C==2||O==2?"two":k&&(C==3||C==4)||O==3||O==4?"few":"other"},dv:ie,dz:ot,ee:ie,el:ie,en:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p,k=_&&b[0].slice(-1),C=_&&b[0].slice(-2);return f?k==1&&C!=11?"one":k==2&&C!=12?"two":k==3&&C!=13?"few":"other":p==1&&y?"one":"other"},eo:ie,es:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-6);return f?"other":p==1?"one":y!=0&&k==0&&_?"many":"other"},et:ea,eu:ie,fa:jr,ff:(p,f)=>f?"other":p>=0&&p<2?"one":"other",fi:ea,fil:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",k=!b[1],C=y.slice(-1),O=_.slice(-1);return f?p==1?"one":"other":k&&(y==1||y==2||y==3)||k&&C!=4&&C!=6&&C!=9||!k&&O!=4&&O!=6&&O!=9?"one":"other"},fo:ie,fr:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-6);return f?p==1?"one":"other":p>=0&&p<2?"one":y!=0&&k==0&&_?"many":"other"},fur:ie,fy:ea,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:ea,gsw:ie,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:tn,gv:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-1),C=y.slice(-2);return f?"other":_&&k==1?"one":_&&k==2?"two":_&&(C==0||C==20||C==40||C==60||C==80)?"few":_?"other":"many"},ha:ie,haw:ie,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:ot,hr:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",k=!b[1],C=y.slice(-1),O=y.slice(-2),P=_.slice(-1),Y=_.slice(-2);return f?"other":k&&C==1&&O!=11||P==1&&Y!=11?"one":k&&C>=2&&C<=4&&(O<12||O>14)||P>=2&&P<=4&&(Y<12||Y>14)?"few":"other"},hsb:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",k=!b[1],C=y.slice(-2),O=_.slice(-2);return f?"other":k&&C==1||O==1?"one":k&&C==2||O==2?"two":k&&(C==3||C==4)||O==3||O==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:ea,id:ot,ig:ot,ii:ot,io:ea,is:(p,f)=>{let b=String(p).split("."),y=b[0],_=(b[1]||"").replace(/0+$/,""),k=Number(b[0])==p,C=y.slice(-1),O=y.slice(-2);return f?"other":k&&C==1&&O!=11||_%10==1&&_%100!=11?"one":"other"},it:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-6);return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&_?"one":y!=0&&k==0&&_?"many":"other"},iu:an,ja:ot,jbo:ot,jgo:ie,jmc:ie,jv:ot,jw:ot,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:ie,kcg:ie,kde:ot,kea:ot,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:ie,kl:ie,km:ot,kn:jr,ko:ot,ks:ie,ksb:ie,ksh:(p,f)=>f?"other":p==0?"zero":p==1?"one":"other",ku:ie,kw:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-2),k=y&&b[0].slice(-3),C=y&&b[0].slice(-5),O=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&&k==0&&(C>=1e3&&C<=2e4||C==4e4||C==6e4||C==8e4)||p!=0&&O==1e5?"two":_==3||_==23||_==43||_==63||_==83?"few":p!=1&&(_==1||_==21||_==41||_==61||_==81)?"many":"other"},ky:ie,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:ie,lg:ie,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:ot,ln:tn,lo:(p,f)=>f&&p==1?"one":"other",lt:(p,f)=>{let b=String(p).split("."),y=b[1]||"",_=Number(b[0])==p,k=_&&b[0].slice(-1),C=_&&b[0].slice(-2);return f?"other":k==1&&(C<11||C>19)?"one":k>=2&&k<=9&&(C<11||C>19)?"few":y!=0?"many":"other"},lv:(p,f)=>{let b=String(p).split("."),y=b[1]||"",_=y.length,k=Number(b[0])==p,C=k&&b[0].slice(-1),O=k&&b[0].slice(-2),P=y.slice(-2),Y=y.slice(-1);return f?"other":k&&C==0||O>=11&&O<=19||_==2&&P>=11&&P<=19?"zero":C==1&&O!=11||_==2&&Y==1&&P!=11||_!=2&&Y==1?"one":"other"},mas:ie,mg:tn,mgo:ie,mk:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",k=!b[1],C=y.slice(-1),O=y.slice(-2),P=_.slice(-1),Y=_.slice(-2);return f?C==1&&O!=11?"one":C==2&&O!=12?"two":(C==7||C==8)&&O!=17&&O!=18?"many":"other":k&&C==1&&O!=11||P==1&&Y!=11?"one":"other"},ml:ie,mn:ie,mo:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p,k=_&&b[0].slice(-2);return f?p==1?"one":"other":p==1&&y?"one":!y||p==0||p!=1&&k>=1&&k<=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:ot,nah:ie,naq:an,nb:ie,nd:ie,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:ea,nn:ie,nnh:ie,no:ie,nqo:ot,nr:ie,nso:tn,ny:ie,nyn:ie,om:ie,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:ie,osa:ot,pa:tn,pap:ie,pcm:jr,pl:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-1),C=y.slice(-2);return f?"other":p==1&&_?"one":_&&k>=2&&k<=4&&(C<12||C>14)?"few":_&&y!=1&&(k==0||k==1)||_&&k>=5&&k<=9||_&&C>=12&&C<=14?"many":"other"},prg:(p,f)=>{let b=String(p).split("."),y=b[1]||"",_=y.length,k=Number(b[0])==p,C=k&&b[0].slice(-1),O=k&&b[0].slice(-2),P=y.slice(-2),Y=y.slice(-1);return f?"other":k&&C==0||O>=11&&O<=19||_==2&&P>=11&&P<=19?"zero":C==1&&O!=11||_==2&&Y==1&&P!=11||_!=2&&Y==1?"one":"other"},ps:ie,pt:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-6);return f?"other":y==0||y==1?"one":y!=0&&k==0&&_?"many":"other"},pt_PT:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-6);return f?"other":p==1&&_?"one":y!=0&&k==0&&_?"many":"other"},rm:ie,ro:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p,k=_&&b[0].slice(-2);return f?p==1?"one":"other":p==1&&y?"one":!y||p==0||p!=1&&k>=1&&k<=19?"few":"other"},rof:ie,ru:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-1),C=y.slice(-2);return f?"other":_&&k==1&&C!=11?"one":_&&k>=2&&k<=4&&(C<12||C>14)?"few":_&&k==0||_&&k>=5&&k<=9||_&&C>=11&&C<=14?"many":"other"},rwk:ie,sah:ot,saq:ie,sat:an,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:ie,sdh:ie,se:an,seh:ie,ses:ot,sg:ot,sh:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",k=!b[1],C=y.slice(-1),O=y.slice(-2),P=_.slice(-1),Y=_.slice(-2);return f?"other":k&&C==1&&O!=11||P==1&&Y!=11?"one":k&&C>=2&&C<=4&&(O<12||O>14)||P>=2&&P<=4&&(Y<12||Y>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],k=y.slice(-2);return f?"other":_&&k==1?"one":_&&k==2?"two":_&&(k==3||k==4)||!_?"few":"other"},sma:an,smi:an,smj:an,smn:an,sms:an,sn:ie,so:ie,sq:(p,f)=>{let b=String(p).split("."),y=Number(b[0])==p,_=y&&b[0].slice(-1),k=y&&b[0].slice(-2);return f?p==1?"one":_==4&&k!=14?"many":"other":p==1?"one":"other"},sr:(p,f)=>{let b=String(p).split("."),y=b[0],_=b[1]||"",k=!b[1],C=y.slice(-1),O=y.slice(-2),P=_.slice(-1),Y=_.slice(-2);return f?"other":k&&C==1&&O!=11||P==1&&Y!=11?"one":k&&C>=2&&C<=4&&(O<12||O>14)||P>=2&&P<=4&&(Y<12||Y>14)?"few":"other"},ss:ie,ssy:ie,st:ie,su:ot,sv:(p,f)=>{let b=String(p).split("."),y=!b[1],_=Number(b[0])==p,k=_&&b[0].slice(-1),C=_&&b[0].slice(-2);return f?(k==1||k==2)&&C!=11&&C!=12?"one":"other":p==1&&y?"one":"other"},sw:ea,syr:ie,ta:ie,te:ie,teo:ie,th:ot,ti:tn,tig:ie,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]||"",k=!b[1],C=y.slice(-1),O=_.slice(-1);return f?p==1?"one":"other":k&&(y==1||y==2||y==3)||k&&C!=4&&C!=6&&C!=9||!k&&O!=4&&O!=6&&O!=9?"one":"other"},tn:ie,to:ot,tpi:ot,tr:ie,ts:ie,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:ie,uk:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=Number(b[0])==p,C=k&&b[0].slice(-1),O=k&&b[0].slice(-2),P=y.slice(-1),Y=y.slice(-2);return f?C==3&&O!=13?"few":"other":_&&P==1&&Y!=11?"one":_&&P>=2&&P<=4&&(Y<12||Y>14)?"few":_&&P==0||_&&P>=5&&P<=9||_&&Y>=11&&Y<=14?"many":"other"},und:ot,ur:ea,uz:ie,ve:ie,vec:(p,f)=>{let b=String(p).split("."),y=b[0],_=!b[1],k=y.slice(-6);return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&_?"one":y!=0&&k==0&&_?"many":"other"},vi:(p,f)=>f&&p==1?"one":"other",vo:ie,vun:ie,wa:tn,wae:ie,wo:ot,xh:ie,xog:ie,yi:ea,yo:ot,yue:ot,zh:ot,zu:jr});function vu(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 Sl(p){if(typeof p=="function"){var f=vu(p.name);return{isDefault:!1,id:Cn(f),lc:f,locale:p.name,getPlural:p,cardinals:p.cardinals||[],ordinals:p.ordinals||[]}}var b=vu(p),y=Cn(b);return PZ(y)?{isDefault:!0,id:y,lc:b,locale:p,getCardinal:TZ[y],getPlural:wl[y],cardinals:hg[y].cardinal,ordinals:hg[y].ordinal}:null}function MZ(p){var f=Object.keys(wl).filter(function(b){return b!==p});return f.unshift(p),f.map(Sl)}function NZ(p){var f=vu(p);return Cn(f)in wl}function PZ(p){return p in wl}var RZ=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=MZ(p.defaultLocale);else if(Array.isArray(f))this.plurals=f.map(Sl).filter(Boolean);else if(f){var y=Sl(f);y&&(this.plurals=[y])}if(this.plurals.length===0){var y=Sl(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(NZ)},p.prototype.resolvedOptions=function(){return n(n({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},p.prototype.compile=function(f){var b,y,_=new OZ(this.options),k="return "+_.compile(f,this.plurals[0]),C=[],O=[];try{for(var P=i(Object.entries(_.runtime)),Y=P.next();!Y.done;Y=P.next()){var be=a(Y.value,2),Ie=be[0],Ze=be[1];C.push(Ie),O.push(Ze)}}catch(St){b={error:St}}finally{try{Y&&!Y.done&&(y=P.return)&&y.call(P)}finally{if(b)throw b.error}}var re=new(Function.bind.apply(Function,r(r([void 0],a(C),!1),[k],!1)));return re.apply(void 0,r([],a(O),!1))},p.defaultLocale="en",p}();return RZ})}),Qi=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(i,a){if(!(i instanceof a))throw new TypeError("Cannot call a class as a function")}var n=function i(a,r){t(this,i),this.data=a,this.text=r.text||a,this.options=r};e.default=n}),WZ=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var t=function(){function E(M,L){for(var R=0;R<L.length;R++){var le=L[R];le.enumerable=le.enumerable||!1,le.configurable=!0,"value"in le&&(le.writable=!0),Object.defineProperty(M,le.key,le)}}return function(M,L,R){return L&&E(M.prototype,L),R&&E(M,R),M}}(),n=Qi(),i=a(n);function a(E){return E&&E.__esModule?E:{default:E}}function r(E,M){if(!(E instanceof M))throw new TypeError("Cannot call a class as a function")}function s(E,M){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M&&(typeof M=="object"||typeof M=="function")?M:E}function l(E,M){if(typeof M!="function"&&M!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof M);E.prototype=Object.create(M&&M.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),M&&(Object.setPrototypeOf?Object.setPrototypeOf(E,M):E.__proto__=M)}var c=function(E){l(M,E);function M(L,R){return r(this,M),L=L.toUpperCase(),R.mod43&&(L+=g(S(L))),s(this,(M.__proto__||Object.getPrototypeOf(M)).call(this,L,R))}return t(M,[{key:"encode",value:function(){for(var L=m("*"),R=0;R<this.data.length;R++)L+=m(this.data[R])+"0";return L+=m("*"),{data:L,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),M}(i.default),d=["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","-","."," ","$","/","+","%","*"],u=[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(E){return v(x(E))}function v(E){return u[E].toString(2)}function g(E){return d[E]}function x(E){return d.indexOf(E)}function S(E){for(var M=0,L=0;L<E.length;L++)M+=x(E[L]);return M=M%43,M}e.CODE39=c}),Vs=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t;function n(d,u,m){return u in d?Object.defineProperty(d,u,{value:m,enumerable:!0,configurable:!0,writable:!0}):d[u]=m,d}var i=e.SET_A=0,a=e.SET_B=1,r=e.SET_C=2;e.SHIFT=98;var s=e.START_A=103,l=e.START_B=104,c=e.START_C=105;e.MODULO=103,e.STOP=106,e.FNC1=207,e.SET_BY_CODE=(t={},n(t,s,i),n(t,l,a),n(t,c,r),t),e.SWAP={101:i,100:a,99:r},e.A_START_CHAR="Ð",e.B_START_CHAR="Ñ",e.C_START_CHAR="Ò",e.A_CHARS="[\0-_È-Ï]",e.B_CHARS="[ -È-Ï]",e.C_CHARS="(Ï*[0-9]{2}Ï*)",e.BARS=[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11011110110,11110110110,10101111e3,10100011110,10001011110,10111101e3,10111100010,11110101e3,11110100010,10111011110,10111101110,11101011110,11110101110,11010000100,1101001e4,11010011100,1100011101011]}),ud=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&u(m.prototype,v),g&&u(m,g),m}}(),n=Qi(),i=r(n),a=Vs();function r(u){return u&&u.__esModule?u:{default:u}}function s(u,m){if(!(u instanceof m))throw new TypeError("Cannot call a class as a function")}function l(u,m){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:u}function c(u,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);u.prototype=Object.create(m&&m.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(u,m):u.__proto__=m)}var d=function(u){c(m,u);function m(v,g){s(this,m);var x=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v.substring(1),g));return x.bytes=v.split("").map(function(S){return S.charCodeAt(0)}),x}return t(m,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var v=this.bytes,g=v.shift()-105,x=a.SET_BY_CODE[g];if(x===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&v.unshift(a.FNC1);var S=m.next(v,1,x);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:m.getBar(g)+S.result+m.getBar((S.checksum+g)%a.MODULO)+m.getBar(a.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var v=this.options.ean128||!1;return typeof v=="string"&&(v=v.toLowerCase()==="true"),v}}],[{key:"getBar",value:function(v){return a.BARS[v]?a.BARS[v].toString():""}},{key:"correctIndex",value:function(v,g){if(g===a.SET_A){var x=v.shift();return x<32?x+64:x-32}else return g===a.SET_B?v.shift()-32:(v.shift()-48)*10+v.shift()-48}},{key:"next",value:function(v,g,x){if(!v.length)return{result:"",checksum:0};var S=void 0,E=void 0;if(v[0]>=200){E=v.shift()-105;var M=a.SWAP[E];M!==void 0?S=m.next(v,g+1,M):((x===a.SET_A||x===a.SET_B)&&E===a.SHIFT&&(v[0]=x===a.SET_A?v[0]>95?v[0]-96:v[0]:v[0]<32?v[0]+96:v[0]),S=m.next(v,g+1,x))}else E=m.correctIndex(v,x),S=m.next(v,g+1,x);var L=m.getBar(E),R=E*g;return{result:L+S.result,checksum:R+S.checksum}}}]),m}(i.default);e.default=d}),ZZ=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Vs(),n=function(l){return l.match(new RegExp("^"+t.A_CHARS+"*"))[0].length},i=function(l){return l.match(new RegExp("^"+t.B_CHARS+"*"))[0].length},a=function(l){return l.match(new RegExp("^"+t.C_CHARS+"*"))[0]};function r(l,c){var d=c?t.A_CHARS:t.B_CHARS,u=l.match(new RegExp("^("+d+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(u)return u[1]+"Ì"+s(l.substring(u[1].length));var m=l.match(new RegExp("^"+d+"+"))[0];return m.length===l.length?l:m+String.fromCharCode(c?205:206)+r(l.substring(m.length),!c)}function s(l){var c=a(l),d=c.length;if(d===l.length)return l;l=l.substring(d);var u=n(l)>=i(l);return c+String.fromCharCode(u?206:205)+r(l,u)}e.default=function(l){var c=void 0,d=a(l).length;if(d>=2)c=t.C_START_CHAR+s(l);else{var u=n(l)>i(l);c=(u?t.A_START_CHAR:t.B_START_CHAR)+r(l,u)}return c.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(m,v){return"Ë"+v})}}),KZ=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=ud(),n=r(t),i=ZZ(),a=r(i);function r(u){return u&&u.__esModule?u:{default:u}}function s(u,m){if(!(u instanceof m))throw new TypeError("Cannot call a class as a function")}function l(u,m){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:u}function c(u,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);u.prototype=Object.create(m&&m.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(u,m):u.__proto__=m)}var d=function(u){c(m,u);function m(v,g){if(s(this,m),/^[\x00-\x7F\xC8-\xD3]+$/.test(v))var x=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,(0,a.default)(v),g));else var x=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g));return l(x)}return m}(n.default);e.default=d}),XZ=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&u(m.prototype,v),g&&u(m,g),m}}(),n=ud(),i=r(n),a=Vs();function r(u){return u&&u.__esModule?u:{default:u}}function s(u,m){if(!(u instanceof m))throw new TypeError("Cannot call a class as a function")}function l(u,m){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:u}function c(u,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);u.prototype=Object.create(m&&m.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(u,m):u.__proto__=m)}var d=function(u){c(m,u);function m(v,g){return s(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.A_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.A_CHARS+"+$").test(this.data)}}]),m}(i.default);e.default=d}),QZ=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&u(m.prototype,v),g&&u(m,g),m}}(),n=ud(),i=r(n),a=Vs();function r(u){return u&&u.__esModule?u:{default:u}}function s(u,m){if(!(u instanceof m))throw new TypeError("Cannot call a class as a function")}function l(u,m){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:u}function c(u,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);u.prototype=Object.create(m&&m.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(u,m):u.__proto__=m)}var d=function(u){c(m,u);function m(v,g){return s(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.B_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.B_CHARS+"+$").test(this.data)}}]),m}(i.default);e.default=d}),JZ=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&u(m.prototype,v),g&&u(m,g),m}}(),n=ud(),i=r(n),a=Vs();function r(u){return u&&u.__esModule?u:{default:u}}function s(u,m){if(!(u instanceof m))throw new TypeError("Cannot call a class as a function")}function l(u,m){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:u}function c(u,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);u.prototype=Object.create(m&&m.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(u,m):u.__proto__=m)}var d=function(u){c(m,u);function m(v,g){return s(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.C_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.C_CHARS+"+$").test(this.data)}}]),m}(i.default);e.default=d}),eK=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=KZ(),n=d(t),i=XZ(),a=d(i),r=QZ(),s=d(r),l=JZ(),c=d(l);function d(u){return u&&u.__esModule?u:{default:u}}e.CODE128=n.default,e.CODE128A=a.default,e.CODE128B=s.default,e.CODE128C=c.default}),Ls=_e(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"]}),zs=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Ls(),n=function(i,a,r){var s=i.split("").map(function(c,d){return t.BINARIES[a[d]]}).map(function(c,d){return c?c[i[d]]:""});if(r){var l=i.length-1;s=s.map(function(c,d){return d<l?c+r:c})}return s.join("")};e.default=n}),Ay=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var S=0;S<x.length;S++){var E=x[S];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(g,E.key,E)}}return function(g,x,S){return x&&v(g.prototype,x),S&&v(g,S),g}}(),n=Ls(),i=zs(),a=l(i),r=Qi(),s=l(r);function l(v){return v&&v.__esModule?v:{default:v}}function c(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function d(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 u(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){u(g,v);function g(x,S){c(this,g);var E=d(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,S));return E.fontSize=!S.flat&&S.fontSize>S.width*10?S.width*10:S.fontSize,E.guardHeight=S.height+E.fontSize/2+S.textMargin,E}return t(g,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(x,S){return this.text.substr(x,S)}},{key:"leftEncode",value:function(x,S){return(0,a.default)(x,S)}},{key:"rightText",value:function(x,S){return this.text.substr(x,S)}},{key:"rightEncode",value:function(x,S){return(0,a.default)(x,S)}},{key:"encodeGuarded",value:function(){var x={fontSize:this.fontSize},S={height:this.guardHeight};return[{data:n.SIDE_BIN,options:S},{data:this.leftEncode(),text:this.leftText(),options:x},{data:n.MIDDLE_BIN,options:S},{data:this.rightEncode(),text:this.rightText(),options:x},{data:n.SIDE_BIN,options:S}]}},{key:"encodeFlat",value:function(){var x=[n.SIDE_BIN,this.leftEncode(),n.MIDDLE_BIN,this.rightEncode(),n.SIDE_BIN];return{data:x.join(""),text:this.text}}}]),g}(s.default);e.default=m}),tK=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var S=0;S<x.length;S++){var E=x[S];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(g,E.key,E)}}return function(g,x,S){return x&&v(g.prototype,x),S&&v(g,S),g}}(),n=function v(g,x,S){g===null&&(g=Function.prototype);var E=Object.getOwnPropertyDescriptor(g,x);if(E===void 0){var M=Object.getPrototypeOf(g);return M===null?void 0:v(M,x,S)}else{if("value"in E)return E.value;var L=E.get;return L===void 0?void 0:L.call(S)}},i=Ls(),a=Ay(),r=s(a);function s(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 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 u=function(v){var g=v.substr(0,12).split("").map(function(x){return+x}).reduce(function(x,S,E){return E%2?x+S*3:x+S},0);return(10-g%10)%10},m=function(v){d(g,v);function g(x,S){l(this,g),x.search(/^[0-9]{12}$/)!==-1&&(x+=u(x));var E=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,S));return E.lastChar=S.lastChar,E}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===u(this.data)}},{key:"leftText",value:function(){return n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var x=this.data.substr(1,6),S=i.EAN13_STRUCTURE[this.data[0]];return n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftEncode",this).call(this,x,S)}},{key:"rightText",value:function(){return n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var x=this.data.substr(7,6);return n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"rightEncode",this).call(this,x,"RRRRRR")}},{key:"encodeGuarded",value:function(){var x=n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(x.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(x.push({data:"00"}),x.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),x}}]),g}(r.default);e.default=m}),iK=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function m(v,g){for(var x=0;x<g.length;x++){var S=g[x];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(v,S.key,S)}}return function(v,g,x){return g&&m(v.prototype,g),x&&m(v,x),v}}(),n=function m(v,g,x){v===null&&(v=Function.prototype);var S=Object.getOwnPropertyDescriptor(v,g);if(S===void 0){var E=Object.getPrototypeOf(v);return E===null?void 0:m(E,g,x)}else{if("value"in S)return S.value;var M=S.get;return M===void 0?void 0:M.call(x)}},i=Ay(),a=r(i);function r(m){return m&&m.__esModule?m:{default:m}}function s(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 c(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 d=function(m){var v=m.substr(0,7).split("").map(function(g){return+g}).reduce(function(g,x,S){return S%2?g+x:g+x*3},0);return(10-v%10)%10},u=function(m){c(v,m);function v(g,x){return s(this,v),g.search(/^[0-9]{7}$/)!==-1&&(g+=d(g)),l(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,g,x))}return t(v,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===d(this.data)}},{key:"leftText",value:function(){return n(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 n(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"leftEncode",this).call(this,g,"LLLL")}},{key:"rightText",value:function(){return n(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 n(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"rightEncode",this).call(this,g,"RRRR")}}]),v}(a.default);e.default=u}),aK=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function g(x,S){for(var E=0;E<S.length;E++){var M=S[E];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(x,M.key,M)}}return function(x,S,E){return S&&g(x.prototype,S),E&&g(x,E),x}}(),n=Ls(),i=zs(),a=l(i),r=Qi(),s=l(r);function l(g){return g&&g.__esModule?g:{default:g}}function c(g,x){if(!(g instanceof x))throw new TypeError("Cannot call a class as a function")}function d(g,x){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:g}function u(g,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);g.prototype=Object.create(x&&x.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(g,x):g.__proto__=x)}var m=function(g){var x=g.split("").map(function(S){return+S}).reduce(function(S,E,M){return M%2?S+E*9:S+E*3},0);return x%10},v=function(g){u(x,g);function x(S,E){return c(this,x),d(this,(x.__proto__||Object.getPrototypeOf(x)).call(this,S,E))}return t(x,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var S=n.EAN5_STRUCTURE[m(this.data)];return{data:"1011"+(0,a.default)(this.data,S,"01"),text:this.text}}}]),x}(s.default);e.default=v}),nK=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var S=0;S<x.length;S++){var E=x[S];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(g,E.key,E)}}return function(g,x,S){return x&&v(g.prototype,x),S&&v(g,S),g}}(),n=Ls(),i=zs(),a=l(i),r=Qi(),s=l(r);function l(v){return v&&v.__esModule?v:{default:v}}function c(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function d(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 u(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){u(g,v);function g(x,S){return c(this,g),d(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,S))}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var x=n.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,a.default)(this.data,x,"01"),text:this.text}}}]),g}(s.default);e.default=m}),Oy=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var S=0;S<x.length;S++){var E=x[S];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(g,E.key,E)}}return function(g,x,S){return x&&v(g.prototype,x),S&&v(g,S),g}}();e.checksum=m;var n=zs(),i=s(n),a=Qi(),r=s(a);function s(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 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 u=function(v){d(g,v);function g(x,S){l(this,g),x.search(/^[0-9]{11}$/)!==-1&&(x+=m(x));var E=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,S));return E.displayValue=S.displayValue,S.fontSize>S.width*10?E.fontSize=S.width*10:E.fontSize=S.fontSize,E.guardHeight=S.height+E.fontSize/2+S.textMargin,E}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==m(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var x="";return x+="101",x+=(0,i.default)(this.data.substr(0,6),"LLLLLL"),x+="01010",x+=(0,i.default)(this.data.substr(6,6),"RRRRRR"),x+="101",{data:x,text:this.text}}},{key:"guardedEncoding",value:function(){var x=[];return this.displayValue&&x.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),x.push({data:"101"+(0,i.default)(this.data[0],"L"),options:{height:this.guardHeight}}),x.push({data:(0,i.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),x.push({data:"01010",options:{height:this.guardHeight}}),x.push({data:(0,i.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),x.push({data:(0,i.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&x.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),x}}]),g}(r.default);function m(v){var g=0,x;for(x=1;x<11;x+=2)g+=parseInt(v[x]);for(x=0;x<11;x+=2)g+=parseInt(v[x])*3;return(10-g%10)%10}e.default=u}),rK=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function S(E,M){for(var L=0;L<M.length;L++){var R=M[L];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(E,R.key,R)}}return function(E,M,L){return M&&S(E.prototype,M),L&&S(E,L),E}}(),n=zs(),i=l(n),a=Qi(),r=l(a),s=Oy();function l(S){return S&&S.__esModule?S:{default:S}}function c(S,E){if(!(S instanceof E))throw new TypeError("Cannot call a class as a function")}function d(S,E){if(!S)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E&&(typeof E=="object"||typeof E=="function")?E:S}function u(S,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof E);S.prototype=Object.create(E&&E.prototype,{constructor:{value:S,enumerable:!1,writable:!0,configurable:!0}}),E&&(Object.setPrototypeOf?Object.setPrototypeOf(S,E):S.__proto__=E)}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(S){u(E,S);function E(M,L){c(this,E);var R=d(this,(E.__proto__||Object.getPrototypeOf(E)).call(this,M,L));if(R.isValid=!1,M.search(/^[0-9]{6}$/)!==-1)R.middleDigits=M,R.upcA=x(M,"0"),R.text=L.text||""+R.upcA[0]+M+R.upcA[R.upcA.length-1],R.isValid=!0;else if(M.search(/^[01][0-9]{7}$/)!==-1)if(R.middleDigits=M.substring(1,M.length-1),R.upcA=x(R.middleDigits,M[0]),R.upcA[R.upcA.length-1]===M[M.length-1])R.isValid=!0;else return d(R);else return d(R);return R.displayValue=L.displayValue,L.fontSize>L.width*10?R.fontSize=L.width*10:R.fontSize=L.fontSize,R.guardHeight=L.height+R.fontSize/2+L.textMargin,R}return t(E,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var M="";return M+="101",M+=this.encodeMiddleDigits(),M+="010101",{data:M,text:this.text}}},{key:"guardedEncoding",value:function(){var M=[];return this.displayValue&&M.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),M.push({data:"101",options:{height:this.guardHeight}}),M.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),M.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&M.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),M}},{key:"encodeMiddleDigits",value:function(){var M=this.upcA[0],L=this.upcA[this.upcA.length-1],R=v[parseInt(L)][parseInt(M)];return(0,i.default)(this.middleDigits,R)}}]),E}(r.default);function x(S,E){for(var M=parseInt(S[S.length-1]),L=m[M],R="",le=0,ke=0;ke<L.length;ke++){var Ve=L[ke];Ve==="X"?R+=S[le++]:R+=Ve}return R=""+E+R,""+R+(0,s.checksum)(R)}e.default=g}),oK=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=tK(),n=g(t),i=iK(),a=g(i),r=aK(),s=g(r),l=nK(),c=g(l),d=Oy(),u=g(d),m=rK(),v=g(m);function g(x){return x&&x.__esModule?x:{default:x}}e.EAN13=n.default,e.EAN8=a.default,e.EAN5=s.default,e.EAN2=c.default,e.UPC=u.default,e.UPCE=v.default}),sK=_e(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"]}),Ty=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&u(m.prototype,v),g&&u(m,g),m}}(),n=sK(),i=Qi(),a=r(i);function r(u){return u&&u.__esModule?u:{default:u}}function s(u,m){if(!(u instanceof m))throw new TypeError("Cannot call a class as a function")}function l(u,m){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:u}function c(u,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);u.prototype=Object.create(m&&m.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(u,m):u.__proto__=m)}var d=function(u){c(m,u);function m(){return s(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return t(m,[{key:"valid",value:function(){return this.data.search(/^([0-9]{2})+$/)!==-1}},{key:"encode",value:function(){var v=this,g=this.data.match(/.{2}/g).map(function(x){return v.encodePair(x)}).join("");return{data:n.START_BIN+g+n.END_BIN,text:this.text}}},{key:"encodePair",value:function(v){var g=n.BINARIES[v[1]];return n.BINARIES[v[0]].split("").map(function(x,S){return(x==="1"?"111":"1")+(g[S]==="1"?"000":"0")}).join("")}}]),m}(a.default);e.default=d}),lK=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&u(m.prototype,v),g&&u(m,g),m}}(),n=Ty(),i=a(n);function a(u){return u&&u.__esModule?u:{default:u}}function r(u,m){if(!(u instanceof m))throw new TypeError("Cannot call a class as a function")}function s(u,m){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:u}function l(u,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);u.prototype=Object.create(m&&m.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(u,m):u.__proto__=m)}var c=function(u){var m=u.substr(0,13).split("").map(function(v){return parseInt(v,10)}).reduce(function(v,g,x){return v+g*(3-x%2*2)},0);return Math.ceil(m/10)*10-m},d=function(u){l(m,u);function m(v,g){return r(this,m),v.search(/^[0-9]{13}$/)!==-1&&(v+=c(v)),s(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]===c(this.data)}}]),m}(i.default);e.default=d}),cK=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=Ty(),n=r(t),i=lK(),a=r(i);function r(s){return s&&s.__esModule?s:{default:s}}e.ITF=n.default,e.ITF14=a.default}),js=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&u(m.prototype,v),g&&u(m,g),m}}(),n=Qi(),i=a(n);function a(u){return u&&u.__esModule?u:{default:u}}function r(u,m){if(!(u instanceof m))throw new TypeError("Cannot call a class as a function")}function s(u,m){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:u}function l(u,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);u.prototype=Object.create(m&&m.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(u,m):u.__proto__=m)}var c=function(u){l(m,u);function m(v,g){return r(this,m),s(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"encode",value:function(){for(var v="110",g=0;g<this.data.length;g++){var x=parseInt(this.data[g]),S=x.toString(2);S=d(S,4-S.length);for(var E=0;E<S.length;E++)v+=S[E]=="0"?"100":"110"}return v+="1001",{data:v,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),m}(i.default);function d(u,m){for(var v=0;v<m;v++)u="0"+u;return u}e.default=c}),hd=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.mod10=t,e.mod11=n;function t(i){for(var a=0,r=0;r<i.length;r++){var s=parseInt(i[r]);(r+i.length)%2===0?a+=s:a+=s*2%10+Math.floor(s*2/10)}return(10-a%10)%10}function n(i){for(var a=0,r=[2,3,4,5,6,7],s=0;s<i.length;s++){var l=parseInt(i[i.length-1-s]);a+=r[s%r.length]*l}return(11-a%11)%11}}),dK=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=js(),n=a(t),i=hd();function a(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(m,v){return r(this,u),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,m+(0,i.mod10)(m),v))}return u}(n.default);e.default=c}),uK=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=js(),n=a(t),i=hd();function a(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(m,v){return r(this,u),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,m+(0,i.mod11)(m),v))}return u}(n.default);e.default=c}),hK=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=js(),n=a(t),i=hd();function a(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(m,v){return r(this,u),m+=(0,i.mod10)(m),m+=(0,i.mod10)(m),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,m,v))}return u}(n.default);e.default=c}),pK=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=js(),n=a(t),i=hd();function a(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(m,v){return r(this,u),m+=(0,i.mod11)(m),m+=(0,i.mod10)(m),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,m,v))}return u}(n.default);e.default=c}),mK=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var t=js(),n=m(t),i=dK(),a=m(i),r=uK(),s=m(r),l=hK(),c=m(l),d=pK(),u=m(d);function m(v){return v&&v.__esModule?v:{default:v}}e.MSI=n.default,e.MSI10=a.default,e.MSI11=s.default,e.MSI1010=c.default,e.MSI1110=u.default}),fK=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.pharmacode=void 0;var t=function(){function d(u,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(u,g.key,g)}}return function(u,m,v){return m&&d(u.prototype,m),v&&d(u,v),u}}(),n=Qi(),i=a(n);function a(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(m,v){r(this,u);var g=s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,m,v));return g.number=parseInt(m,10),g}return t(u,[{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}}]),u}(i.default);e.pharmacode=c}),gK=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codabar=void 0;var t=function(){function d(u,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(u,g.key,g)}}return function(u,m,v){return m&&d(u.prototype,m),v&&d(u,v),u}}(),n=Qi(),i=a(n);function a(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(m,v){r(this,u),m.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(m="A"+m+"A");var g=s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,m.toUpperCase(),v));return g.text=g.options.text||g.text.replace(/[A-D]/g,""),g}return t(u,[{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"}}}]),u}(i.default);e.codabar=c}),vK=_e(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"]}}),My=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function u(m,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(m,x.key,x)}}return function(m,v,g){return v&&u(m.prototype,v),g&&u(m,g),m}}(),n=vK(),i=Qi(),a=r(i);function r(u){return u&&u.__esModule?u:{default:u}}function s(u,m){if(!(u instanceof m))throw new TypeError("Cannot call a class as a function")}function l(u,m){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:u}function c(u,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);u.prototype=Object.create(m&&m.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(u,m):u.__proto__=m)}var d=function(u){c(m,u);function m(v,g){return s(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(E){return n.MULTI_SYMBOLS[E]||E}),g=v.map(function(E){return m.getEncoding(E)}).join(""),x=m.checksum(v,20),S=m.checksum(v.concat(x),15);return{text:this.text,data:m.getEncoding("ÿ")+g+m.getEncoding(x)+m.getEncoding(S)+m.getEncoding("ÿ")+"1"}}}],[{key:"getEncoding",value:function(v){return n.BINARIES[m.symbolValue(v)]}},{key:"getSymbol",value:function(v){return n.SYMBOLS[v]}},{key:"symbolValue",value:function(v){return n.SYMBOLS.indexOf(v)}},{key:"checksum",value:function(v,g){var x=v.slice().reverse().reduce(function(S,E,M){var L=M%g+1;return S+m.symbolValue(E)*L},0);return m.getSymbol(x%47)}}]),m}(a.default);e.default=d}),bK=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(u,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(u,g.key,g)}}return function(u,m,v){return m&&d(u.prototype,m),v&&d(u,v),u}}(),n=My(),i=a(n);function a(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(m,v){return r(this,u),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,m,v))}return t(u,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),u}(i.default);e.default=c}),yK=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE93FullASCII=e.CODE93=void 0;var t=My(),n=r(t),i=bK(),a=r(i);function r(s){return s&&s.__esModule?s:{default:s}}e.CODE93=n.default,e.CODE93FullASCII=a.default}),_K=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GenericBarcode=void 0;var t=function(){function d(u,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(u,g.key,g)}}return function(u,m,v){return m&&d(u.prototype,m),v&&d(u,v),u}}(),n=Qi(),i=a(n);function a(d){return d&&d.__esModule?d:{default:d}}function r(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function s(d,u){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:d}function l(d,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);d.prototype=Object.create(u&&u.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(d,u):d.__proto__=u)}var c=function(d){l(u,d);function u(m,v){return r(this,u),s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,m,v))}return t(u,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),u}(i.default);e.GenericBarcode=c}),xK=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=WZ(),n=eK(),i=oK(),a=cK(),r=mK(),s=fK(),l=gK(),c=yK(),d=_K();e.default={CODE39:t.CODE39,CODE128:n.CODE128,CODE128A:n.CODE128A,CODE128B:n.CODE128B,CODE128C:n.CODE128C,EAN13:i.EAN13,EAN8:i.EAN8,EAN5:i.EAN5,EAN2:i.EAN2,UPC:i.UPC,UPCE:i.UPCE,ITF14:a.ITF14,ITF:a.ITF,MSI:r.MSI,MSI10:r.MSI10,MSI11:r.MSI11,MSI1010:r.MSI1010,MSI1110:r.MSI1110,pharmacode:s.pharmacode,codabar:l.codabar,CODE93:c.CODE93,CODE93FullASCII:c.CODE93FullASCII,GenericBarcode:d.GenericBarcode}}),pd=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(n){for(var i=1;i<arguments.length;i++){var a=arguments[i];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(n[r]=a[r])}return n};e.default=function(n,i){return t({},n,i)}}),wK=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(n){var i=[];function a(r){if(Array.isArray(r))for(var s=0;s<r.length;s++)a(r[s]);else r.text=r.text||"",r.data=r.data||"",i.push(r)}return a(n),i}}),SK=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(n){return n.marginTop=n.marginTop||n.margin,n.marginBottom=n.marginBottom||n.margin,n.marginRight=n.marginRight||n.margin,n.marginLeft=n.marginLeft||n.margin,n}}),Ny=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(n){var i=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var a in i)i.hasOwnProperty(a)&&(a=i[a],typeof n[a]=="string"&&(n[a]=parseInt(n[a],10)));return typeof n.displayValue=="string"&&(n.displayValue=n.displayValue!="false"),n}}),Py=_e(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}),kK=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Ny(),n=r(t),i=Py(),a=r(i);function r(l){return l&&l.__esModule?l:{default:l}}function s(l){var c={};for(var d in a.default)a.default.hasOwnProperty(d)&&(l.hasAttribute("jsbarcode-"+d.toLowerCase())&&(c[d]=l.getAttribute("jsbarcode-"+d.toLowerCase())),l.hasAttribute("data-"+d.toLowerCase())&&(c[d]=l.getAttribute("data-"+d.toLowerCase())));return c.value=l.getAttribute("jsbarcode-value")||l.getAttribute("data-value"),c=(0,n.default)(c),c}e.default=s}),Ry=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var t=pd(),n=i(t);function i(u){return u&&u.__esModule?u:{default:u}}function a(u,m){return m.height+(m.displayValue&&u.text.length>0?m.fontSize+m.textMargin:0)+m.marginTop+m.marginBottom}function r(u,m,v){if(v.displayValue&&m<u){if(v.textAlign=="center")return Math.floor((u-m)/2);if(v.textAlign=="left")return 0;if(v.textAlign=="right")return Math.floor(u-m)}return 0}function s(u,m,v){for(var g=0;g<u.length;g++){var x=u[g],S=(0,n.default)(m,x.options),E;S.displayValue?E=d(x.text,S,v):E=0;var M=x.data.length*S.width;x.width=Math.ceil(Math.max(E,M)),x.height=a(x,S),x.barcodePadding=r(E,M,S)}}function l(u){for(var m=0,v=0;v<u.length;v++)m+=u[v].width;return m}function c(u){for(var m=0,v=0;v<u.length;v++)u[v].height>m&&(m=u[v].height);return m}function d(u,m,v){var g;if(v)g=v;else if(typeof document<"u")g=document.createElement("canvas").getContext("2d");else return 0;g.font=m.fontOptions+" "+m.fontSize+"px "+m.font;var x=g.measureText(u);if(!x)return 0;var S=x.width;return S}e.getMaximumHeightOfEncodings=c,e.getEncodingHeight=a,e.getBarcodePadding=r,e.calculateEncodingAttributes=s,e.getTotalWidthOfEncodings=l}),EK=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function c(d,u){for(var m=0;m<u.length;m++){var v=u[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(d,v.key,v)}}return function(d,u,m){return u&&c(d.prototype,u),m&&c(d,m),d}}(),n=pd(),i=r(n),a=Ry();function r(c){return c&&c.__esModule?c:{default:c}}function s(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}var l=function(){function c(d,u,m){s(this,c),this.canvas=d,this.encodings=u,this.options=m}return t(c,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var d=0;d<this.encodings.length;d++){var u=(0,i.default)(this.options,this.encodings[d].options);this.drawCanvasBarcode(u,this.encodings[d]),this.drawCanvasText(u,this.encodings[d]),this.moveCanvasDrawing(this.encodings[d])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var d=this.canvas.getContext("2d");d.save(),(0,a.calculateEncodingAttributes)(this.encodings,this.options,d);var u=(0,a.getTotalWidthOfEncodings)(this.encodings),m=(0,a.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=u+this.options.marginLeft+this.options.marginRight,this.canvas.height=m,d.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(d.fillStyle=this.options.background,d.fillRect(0,0,this.canvas.width,this.canvas.height)),d.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(d,u){var m=this.canvas.getContext("2d"),v=u.data,g;d.textPosition=="top"?g=d.marginTop+d.fontSize+d.textMargin:g=d.marginTop,m.fillStyle=d.lineColor;for(var x=0;x<v.length;x++){var S=x*d.width+u.barcodePadding;v[x]==="1"?m.fillRect(S,g,d.width,d.height):v[x]&&m.fillRect(S,g,d.width,d.height*v[x])}}},{key:"drawCanvasText",value:function(d,u){var m=this.canvas.getContext("2d"),v=d.fontOptions+" "+d.fontSize+"px "+d.font;if(d.displayValue){var g,x;d.textPosition=="top"?x=d.marginTop+d.fontSize-d.textMargin:x=d.height+d.textMargin+d.marginTop+d.fontSize,m.font=v,d.textAlign=="left"||u.barcodePadding>0?(g=0,m.textAlign="left"):d.textAlign=="right"?(g=u.width-1,m.textAlign="right"):(g=u.width/2,m.textAlign="center"),m.fillText(u.text,g,x)}}},{key:"moveCanvasDrawing",value:function(d){var u=this.canvas.getContext("2d");u.translate(d.width,0)}},{key:"restoreCanvas",value:function(){var d=this.canvas.getContext("2d");d.restore()}}]),c}();e.default=l}),CK=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function d(u,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(u,g.key,g)}}return function(u,m,v){return m&&d(u.prototype,m),v&&d(u,v),u}}(),n=pd(),i=r(n),a=Ry();function r(d){return d&&d.__esModule?d:{default:d}}function s(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}var l="http://www.w3.org/2000/svg",c=function(){function d(u,m,v){s(this,d),this.svg=u,this.encodings=m,this.options=v,this.document=v.xmlDocument||document}return t(d,[{key:"render",value:function(){var u=this.options.marginLeft;this.prepareSVG();for(var m=0;m<this.encodings.length;m++){var v=this.encodings[m],g=(0,i.default)(this.options,v.options),x=this.createGroup(u,g.marginTop,this.svg);this.setGroupOptions(x,g),this.drawSvgBarcode(x,g,v),this.drawSVGText(x,g,v),u+=v.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,a.calculateEncodingAttributes)(this.encodings,this.options);var u=(0,a.getTotalWidthOfEncodings)(this.encodings),m=(0,a.getMaximumHeightOfEncodings)(this.encodings),v=u+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(v,m),this.options.background&&this.drawRect(0,0,v,m,this.svg).setAttribute("fill",this.options.background)}},{key:"drawSvgBarcode",value:function(u,m,v){var g=v.data,x;m.textPosition=="top"?x=m.fontSize+m.textMargin:x=0;for(var S=0,E=0,M=0;M<g.length;M++)E=M*m.width+v.barcodePadding,g[M]==="1"?S++:S>0&&(this.drawRect(E-m.width*S,x,m.width*S,m.height,u),S=0);S>0&&this.drawRect(E-m.width*(S-1),x,m.width*S,m.height,u)}},{key:"drawSVGText",value:function(u,m,v){var g=this.document.createElementNS(l,"text");if(m.displayValue){var x,S;g.setAttribute("font-family",m.font),g.setAttribute("font-size",m.fontSize),m.fontOptions.includes("bold")&&g.setAttribute("font-weight","bold"),m.fontOptions.includes("italic")&&g.setAttribute("font-style","italic"),m.textPosition=="top"?S=m.fontSize-m.textMargin:S=m.height+m.textMargin+m.fontSize,m.textAlign=="left"||v.barcodePadding>0?(x=0,g.setAttribute("text-anchor","start")):m.textAlign=="right"?(x=v.width-1,g.setAttribute("text-anchor","end")):(x=v.width/2,g.setAttribute("text-anchor","middle")),g.setAttribute("x",x),g.setAttribute("y",S),g.appendChild(this.document.createTextNode(v.text)),u.appendChild(g)}}},{key:"setSvgAttributes",value:function(u,m){var v=this.svg;v.setAttribute("width",u+"px"),v.setAttribute("height",m+"px"),v.setAttribute("x","0px"),v.setAttribute("y","0px"),v.setAttribute("viewBox","0 0 "+u+" "+m),v.setAttribute("xmlns",l),v.setAttribute("version","1.1")}},{key:"createGroup",value:function(u,m,v){var g=this.document.createElementNS(l,"g");return g.setAttribute("transform","translate("+u+", "+m+")"),v.appendChild(g),g}},{key:"setGroupOptions",value:function(u,m){u.setAttribute("fill",m.lineColor)}},{key:"drawRect",value:function(u,m,v,g,x){var S=this.document.createElementNS(l,"rect");return S.setAttribute("x",u),S.setAttribute("y",m),S.setAttribute("width",v),S.setAttribute("height",g),x.appendChild(S),S}}]),d}();e.default=c}),DK=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(r,s){for(var l=0;l<s.length;l++){var c=s[l];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(r,c.key,c)}}return function(r,s,l){return s&&a(r.prototype,s),l&&a(r,l),r}}();function n(a,r){if(!(a instanceof r))throw new TypeError("Cannot call a class as a function")}var i=function(){function a(r,s,l){n(this,a),this.object=r,this.encodings=s,this.options=l}return t(a,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),a}();e.default=i}),IK=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=EK(),n=l(t),i=CK(),a=l(i),r=DK(),s=l(r);function l(c){return c&&c.__esModule?c:{default:c}}e.default={CanvasRenderer:n.default,SVGRenderer:a.default,ObjectRenderer:s.default}}),Fy=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(l,c){if(!(l instanceof c))throw new TypeError("Cannot call a class as a function")}function n(l,c){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:l}function i(l,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);l.prototype=Object.create(c&&c.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(l,c):l.__proto__=c)}var a=function(l){i(c,l);function c(d,u){t(this,c);var m=n(this,(c.__proto__||Object.getPrototypeOf(c)).call(this));return m.name="InvalidInputException",m.symbology=d,m.input=u,m.message='"'+m.input+'" is not a valid input for '+m.symbology,m}return c}(Error),r=function(l){i(c,l);function c(){t(this,c);var d=n(this,(c.__proto__||Object.getPrototypeOf(c)).call(this));return d.name="InvalidElementException",d.message="Not supported type to render on",d}return c}(Error),s=function(l){i(c,l);function c(){t(this,c);var d=n(this,(c.__proto__||Object.getPrototypeOf(c)).call(this));return d.name="NoElementException",d.message="No element to render on.",d}return c}(Error);e.InvalidInputException=a,e.InvalidElementException=r,e.NoElementException=s}),AK=_e(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},n=kK(),i=l(n),a=IK(),r=l(a),s=Fy();function l(m){return m&&m.__esModule?m:{default:m}}function c(m){if(typeof m=="string")return d(m);if(Array.isArray(m)){for(var v=[],g=0;g<m.length;g++)v.push(c(m[g]));return v}else{if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLImageElement)return u(m);if(m&&m.nodeName&&m.nodeName.toLowerCase()==="svg"||typeof SVGElement<"u"&&m instanceof SVGElement)return{element:m,options:(0,i.default)(m),renderer:r.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&m instanceof HTMLCanvasElement)return{element:m,options:(0,i.default)(m),renderer:r.default.CanvasRenderer};if(m&&m.getContext)return{element:m,renderer:r.default.CanvasRenderer};if(m&&(typeof m>"u"?"undefined":t(m))==="object"&&!m.nodeName)return{element:m,renderer:r.default.ObjectRenderer};throw new s.InvalidElementException}}function d(m){var v=document.querySelectorAll(m);if(v.length!==0){for(var g=[],x=0;x<v.length;x++)g.push(c(v[x]));return g}}function u(m){var v=document.createElement("canvas");return{element:v,options:(0,i.default)(m),renderer:r.default.CanvasRenderer,afterRender:function(){m.setAttribute("src",v.toDataURL())}}}e.default=c}),OK=_e(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(r,s){for(var l=0;l<s.length;l++){var c=s[l];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(r,c.key,c)}}return function(r,s,l){return s&&a(r.prototype,s),l&&a(r,l),r}}();function n(a,r){if(!(a instanceof r))throw new TypeError("Cannot call a class as a function")}var i=function(){function a(r){n(this,a),this.api=r}return t(a,[{key:"handleCatch",value:function(r){if(r.name==="InvalidInputException")if(this.api._options.valid!==this.api._defaults.valid)this.api._options.valid(!1);else throw r.message;else throw r;this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(r){try{var s=r.apply(void 0,arguments);return this.api._options.valid(!0),s}catch(l){return this.handleCatch(l),this.api}}}]),a}();e.default=i}),TK=_e((e,t)=>{var n=xK(),i=R(n),a=pd(),r=R(a),s=wK(),l=R(s),c=SK(),d=R(c),u=AK(),m=R(u),v=Ny(),g=R(v),x=OK(),S=R(x),E=Fy(),M=Py(),L=R(M);function R(oe){return oe&&oe.__esModule?oe:{default:oe}}var le=function(){},ke=function(oe,ee,Be){var H=new le;if(typeof oe>"u")throw Error("No element to render on was provided.");return H._renderProperties=(0,m.default)(oe),H._encodings=[],H._options=L.default,H._errorHandler=new S.default(H),typeof ee<"u"&&(Be=Be||{},Be.format||(Be.format=xt()),H.options(Be)[Be.format](ee,Be).render()),H};ke.getModule=function(oe){return i.default[oe]};for(Ve in i.default)i.default.hasOwnProperty(Ve)&&ii(i.default,Ve);var Ve;function ii(oe,ee){le.prototype[ee]=le.prototype[ee.toUpperCase()]=le.prototype[ee.toLowerCase()]=function(Be,H){var W=this;return W._errorHandler.wrapBarcodeCall(function(){H.text=typeof H.text>"u"?void 0:""+H.text;var ne=(0,r.default)(W._options,H);ne=(0,g.default)(ne);var Ye=oe[ee],gt=Bt(Be,Ye,ne);return W._encodings.push(gt),W})}}function Bt(oe,ee,Be){oe=""+oe;var H=new ee(oe,Be);if(!H.valid())throw new E.InvalidInputException(H.constructor.name,oe);var W=H.encode();W=(0,l.default)(W);for(var ne=0;ne<W.length;ne++)W[ne].options=(0,r.default)(Be,W[ne].options);return W}function xt(){return i.default.CODE128?"CODE128":Object.keys(i.default)[0]}le.prototype.options=function(oe){return this._options=(0,r.default)(this._options,oe),this},le.prototype.blank=function(oe){var ee=new Array(oe+1).join("0");return this._encodings.push({data:ee}),this},le.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var oe;for(var ee in this._renderProperties){oe=this._renderProperties[ee];var Be=(0,r.default)(this._options,oe.options);Be.format=="auto"&&(Be.format=xt()),this._errorHandler.wrapBarcodeCall(function(){var H=Be.value,W=i.default[Be.format.toUpperCase()],ne=Bt(H,W,Be);Zt(oe,ne,Be)})}}},le.prototype.render=function(){if(!this._renderProperties)throw new E.NoElementException;if(Array.isArray(this._renderProperties))for(var oe=0;oe<this._renderProperties.length;oe++)Zt(this._renderProperties[oe],this._encodings,this._options);else Zt(this._renderProperties,this._encodings,this._options);return this},le.prototype._defaults=L.default;function Zt(oe,ee,Be){ee=(0,l.default)(ee);for(var H=0;H<ee.length;H++)ee[H].options=(0,r.default)(Be,ee[H].options),(0,d.default)(ee[H].options);(0,d.default)(Be);var W=oe.renderer,ne=new W(oe.element,ee,Be);ne.render(),oe.afterRender&&oe.afterRender()}typeof window<"u"&&(window.JsBarcode=ke),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(oe,ee){var Be=[];return jQuery(this).each(function(){Be.push(this)}),ke(Be,oe,ee)}),t.exports=ke});function zp(e,t){return Object.is(e,t)}var $t=null,ac=!1,jp=1,bi=Symbol("SIGNAL");function Ue(e){let t=$t;return $t=e,t}function MK(){return $t}var So={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 Bs(e){if(ac)throw new Error("");if($t===null)return;$t.consumerOnSignalRead(e);let t=$t.nextProducerIndex++;if(vd($t),t<$t.producerNode.length&&$t.producerNode[t]!==e&&ps($t)){let n=$t.producerNode[t];gd(n,$t.producerIndexOfThis[t])}$t.producerNode[t]!==e&&($t.producerNode[t]=e,$t.producerIndexOfThis[t]=ps($t)?zy(e,$t,t):0),$t.producerLastReadVersion[t]=e.version}function NK(){jp++}function Hs(e){if(!(ps(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===jp)){if(!e.producerMustRecompute(e)&&!Bp(e)){xc(e);return}e.producerRecomputeValue(e),xc(e)}}function Vy(e){if(e.liveConsumerNode===void 0)return;let t=ac;ac=!0;try{for(let n of e.liveConsumerNode)n.dirty||PK(n)}finally{ac=t}}function Ly(){return($t==null?void 0:$t.consumerAllowSignalWrites)!==!1}function PK(e){var t;e.dirty=!0,Vy(e),(t=e.consumerMarkedDirty)==null||t.call(e,e)}function xc(e){e.dirty=!1,e.lastCleanEpoch=jp}function hs(e){return e&&(e.nextProducerIndex=0),Ue(e)}function md(e,t){if(Ue(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(ps(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)gd(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Bp(e){vd(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],i=e.producerLastReadVersion[t];if(i!==n.version||(Hs(n),i!==n.version))return!0}return!1}function fd(e){if(vd(e),ps(e))for(let t=0;t<e.producerNode.length;t++)gd(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 zy(e,t,n){if(jy(e),e.liveConsumerNode.length===0&&By(e))for(let i=0;i<e.producerNode.length;i++)e.producerIndexOfThis[i]=zy(e.producerNode[i],e,i);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function gd(e,t){if(jy(e),e.liveConsumerNode.length===1&&By(e))for(let i=0;i<e.producerNode.length;i++)gd(e.producerNode[i],e.producerIndexOfThis[i]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let i=e.liveConsumerIndexOfThis[t],a=e.liveConsumerNode[t];vd(a),a.producerIndexOfThis[i]=t}}function ps(e){var t;return e.consumerIsAlwaysLive||(((t=e==null?void 0:e.liveConsumerNode)==null?void 0:t.length)??0)>0}function vd(e){e.producerNode??(e.producerNode=[]),e.producerIndexOfThis??(e.producerIndexOfThis=[]),e.producerLastReadVersion??(e.producerLastReadVersion=[])}function jy(e){e.liveConsumerNode??(e.liveConsumerNode=[]),e.liveConsumerIndexOfThis??(e.liveConsumerIndexOfThis=[])}function By(e){return e.producerNode!==void 0}function Hy(e,t){let n=Object.create(RK);n.computation=e,t!==void 0&&(n.equal=t);let i=()=>{if(Hs(n),Bs(n),n.value===Fn)throw n.error;return n.value};return i[bi]=n,i}var pr=Symbol("UNSET"),io=Symbol("COMPUTING"),Fn=Symbol("ERRORED"),RK=tt(J({},So),{value:pr,dirty:!0,error:null,equal:zp,kind:"computed",producerMustRecompute(e){return e.value===pr||e.value===io},producerRecomputeValue(e){if(e.value===io)throw new Error("Detected cycle in computations.");let t=e.value;e.value=io;let n=hs(e),i,a=!1;try{i=e.computation(),Ue(null),a=t!==pr&&t!==Fn&&i!==Fn&&e.equal(t,i)}catch(r){i=Fn,e.error=r}finally{md(e,n)}if(a){e.value=t;return}e.value=i,e.version++}});function FK(){throw new Error}var $y=FK;function qy(e){$y(e)}function VK(e){$y=e}function LK(e,t){let n=Object.create(Uy);n.value=e,t!==void 0&&(n.equal=t);let i=()=>(Bs(n),n.value);return i[bi]=n,i}function $s(e,t){Ly()||qy(e),e.equal(e.value,t)||(e.value=t,zK(e))}function Gy(e,t){Ly()||qy(e),$s(e,t(e.value))}var Uy=tt(J({},So),{equal:zp,value:void 0,kind:"signal"});function zK(e){e.version++,NK(),Vy(e)}function bg(e,t,n){let i=Object.create(HK);i.source=e,i.computation=t,n!=null&&(i.equal=n);let a=()=>{if(Hs(i),Bs(i),i.value===Fn)throw i.error;return i.value};return a[bi]=i,a}function jK(e,t){Hs(e),$s(e,t),xc(e)}function BK(e,t){Hs(e),Gy(e,t),xc(e)}var HK=tt(J({},So),{value:pr,dirty:!0,error:null,equal:zp,kind:"linkedSignal",producerMustRecompute(e){return e.value===pr||e.value===io},producerRecomputeValue(e){if(e.value===io)throw new Error("Detected cycle in computations.");let t=e.value;e.value=io;let n=hs(e),i;try{let a=e.source(),r=t===pr||t===Fn?void 0:{source:e.sourceValue,value:t};i=e.computation(a,r),e.sourceValue=a}catch(a){i=Fn,e.error=a}finally{md(e,n)}if(t!==pr&&i!==Fn&&e.equal(t,i)){e.value=t;return}e.value=i,e.version++}});function $K(e){let t=Ue(null);try{return e()}finally{Ue(t)}}var kh;function nc(){return kh}function An(e){let t=kh;return kh=e,t}var Yy=Symbol("NotFound");function Et(e){return typeof e=="function"}function Hp(e){let t=e(n=>{Error.call(n),n.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var bu=Hp(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
13
- ${t.map((n,i)=>`${i+1}) ${n.toString()}`).join(`
14
- `)}`:"",this.name="UnsubscriptionError",this.errors=t});function wc(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var ut=class Eh{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:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let r of n)r.remove(this);else n.remove(this);let{initialTeardown:i}=this;if(Et(i))try{i()}catch(r){t=r instanceof bu?r.errors:[r]}let{_finalizers:a}=this;if(a){this._finalizers=null;for(let r of a)try{yg(r)}catch(s){t=t??[],s instanceof bu?t=[...t,...s.errors]:t.push(s)}}if(t)throw new bu(t)}}add(t){var n;if(t&&t!==this)if(this.closed)yg(t);else{if(t instanceof Eh){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&wc(n,t)}remove(t){let{_finalizers:n}=this;n&&wc(n,t),t instanceof Eh&&t._removeParent(this)}};ut.EMPTY=(()=>{let e=new ut;return e.closed=!0,e})();var Wy=ut.EMPTY;function Zy(e){return e instanceof ut||e&&"closed"in e&&Et(e.remove)&&Et(e.add)&&Et(e.unsubscribe)}function yg(e){Et(e)?e():e.unsubscribe()}var qK={Promise:void 0},GK={setTimeout(e,t,...n){return setTimeout(e,t,...n)},clearTimeout(e){return clearTimeout(e)},delegate:void 0};function Ky(e){GK.setTimeout(()=>{throw e})}function Ch(){}function rc(e){e()}var $p=class extends ut{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Zy(e)&&e.add(this)):this.destination=WK}static create(e,t,n){return new ms(e,t,n)}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()}}},UK=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(n){Dl(n)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(n){Dl(n)}else Dl(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){Dl(t)}}},ms=class extends $p{constructor(e,t,n){super();let i;Et(e)||!e?i={next:e??void 0,error:t??void 0,complete:n??void 0}:i=e,this.destination=new UK(i)}};function Dl(e){Ky(e)}function YK(e){throw e}var WK={closed:!0,next:Ch,error:YK,complete:Ch},qp=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Pr(e){return e}function ZK(e){return e.length===0?Pr:e.length===1?e[0]:function(t){return e.reduce((n,i)=>i(n),t)}}var Ot=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let i=new e;return i.source=this,i.operator=n,i}subscribe(n,i,a){let r=XK(n)?n:new ms(n,i,a);return rc(()=>{let{operator:s,source:l}=this;r.add(s?s.call(r,l):l?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(n){try{return this._subscribe(n)}catch(i){n.error(i)}}forEach(n,i){return i=_g(i),new i((a,r)=>{let s=new ms({next:l=>{try{n(l)}catch(c){r(c),s.unsubscribe()}},error:r,complete:a});this.subscribe(s)})}_subscribe(n){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(n)}[qp](){return this}pipe(...n){return ZK(n)(this)}toPromise(n){return n=_g(n),new n((i,a)=>{let r;this.subscribe(s=>r=s,s=>a(s),()=>i(r))})}}return e.create=t=>new e(t),e})();function _g(e){var t;return(t=e??qK.Promise)!==null&&t!==void 0?t:Promise}function KK(e){return e&&Et(e.next)&&Et(e.error)&&Et(e.complete)}function XK(e){return e&&e instanceof $p||KK(e)&&Zy(e)}function QK(e){return Et(e==null?void 0:e.lift)}function ei(e){return t=>{if(QK(t))return t.lift(function(n){try{return e(n,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ut(e,t,n,i,a){return new JK(e,t,n,i,a)}var JK=class extends $p{constructor(e,t,n,i,a,r){super(e),this.onFinalize=a,this.shouldUnsubscribe=r,this._next=t?function(s){try{t(s)}catch(l){e.error(l)}}:super._next,this._error=i?function(s){try{i(s)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(s){e.error(s)}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))}}},eX=Hp(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}),he=(()=>{class e extends Ot{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let i=new xg(this,this);return i.operator=n,i}_throwIfClosed(){if(this.closed)throw new eX}next(n){rc(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(n)}})}error(n){rc(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:i}=this;for(;i.length;)i.shift().error(n)}})}complete(){rc(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:i,isStopped:a,observers:r}=this;return i||a?Wy:(this.currentObservers=null,r.push(n),new ut(()=>{this.currentObservers=null,wc(r,n)}))}_checkFinalizedStatuses(n){let{hasError:i,thrownError:a,isStopped:r}=this;i?n.error(a):r&&n.complete()}asObservable(){let n=new Ot;return n.source=this,n}}return e.create=(t,n)=>new xg(t,n),e})(),xg=class extends he{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.next)===null||n===void 0||n.call(t,e)}error(e){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.error)===null||n===void 0||n.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,n;return(n=(t=this.source)===null||t===void 0?void 0:t.subscribe(e))!==null&&n!==void 0?n:Wy}},ur=class extends he{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:n}=this;if(e)throw t;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}},Gp={now(){return(Gp.delegate||Date).now()},delegate:void 0},Up=class extends he{constructor(e=1/0,t=1/0,n=Gp){super(),this._bufferSize=e,this._windowTime=t,this._timestampProvider=n,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:n,_infiniteTimeWindow:i,_timestampProvider:a,_windowTime:r}=this;t||(n.push(e),!i&&n.push(a.now()+r)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:i}=this,a=i.slice();for(let r=0;r<a.length&&!e.closed;r+=n?1:2)e.next(a[r]);return this._checkFinalizedStatuses(e),t}_trimBuffer(){let{_bufferSize:e,_timestampProvider:t,_buffer:n,_infiniteTimeWindow:i}=this,a=(i?1:2)*e;if(e<1/0&&a<n.length&&n.splice(0,n.length-a),!i){let r=t.now(),s=0;for(let l=1;l<n.length&&n[l]<=r;l+=2)s=l;s&&n.splice(0,s+1)}}},tX=class extends ut{constructor(e,t){super()}schedule(e,t=0){return this}},Dh={setInterval(e,t,...n){let{delegate:i}=Dh;return i!=null&&i.setInterval?i.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){return clearInterval(e)},delegate:void 0},iX=class extends tX{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var n;if(this.closed)return this;this.state=e;let i=this.id,a=this.scheduler;return i!=null&&(this.id=this.recycleAsyncId(a,i,t)),this.pending=!0,this.delay=t,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(a,this.id,t),this}requestAsyncId(e,t,n=0){return Dh.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return t;t!=null&&Dh.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(e,t);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n=!1,i;try{this.work(e)}catch(a){n=!0,i=a||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){let{id:e,scheduler:t}=this,{actions:n}=t;this.work=this.state=this.scheduler=null,this.pending=!1,wc(n,this),e!=null&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}},Ih=class Xy{constructor(t,n=Xy.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,i){return new this.schedulerActionCtor(this,t).schedule(i,n)}};Ih.now=Gp.now;var aX=class extends Ih{constructor(e,t=Ih.now){super(e,t),this.actions=[],this._active=!1}flush(e){let{actions:t}=this;if(this._active){t.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=t.shift());if(this._active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},Yp=new aX(iX),nX=Yp,bd=new Ot(e=>e.complete());function Qy(e){return e&&Et(e.schedule)}function Wp(e){return e[e.length-1]}function Jy(e){return Et(Wp(e))?e.pop():void 0}function qs(e){return Qy(Wp(e))?e.pop():void 0}function rX(e,t){return typeof Wp(e)=="number"?e.pop():t}function oX(e,t,n,i){function a(r){return r instanceof n?r:new n(function(s){s(r)})}return new(n||(n=Promise))(function(r,s){function l(u){try{d(i.next(u))}catch(m){s(m)}}function c(u){try{d(i.throw(u))}catch(m){s(m)}}function d(u){u.done?r(u.value):a(u.value).then(l,c)}d((i=i.apply(e,[])).next())})}function wg(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ao(e){return this instanceof ao?(this.v=e,this):new ao(e)}function sX(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=n.apply(e,t||[]),a,r=[];return a=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),l("next"),l("throw"),l("return",s),a[Symbol.asyncIterator]=function(){return this},a;function s(g){return function(x){return Promise.resolve(x).then(g,m)}}function l(g,x){i[g]&&(a[g]=function(S){return new Promise(function(E,M){r.push([g,S,E,M])>1||c(g,S)})},x&&(a[g]=x(a[g])))}function c(g,x){try{d(i[g](x))}catch(S){v(r[0][3],S)}}function d(g){g.value instanceof ao?Promise.resolve(g.value.v).then(u,m):v(r[0][2],g)}function u(g){c("next",g)}function m(g){c("throw",g)}function v(g,x){g(x),r.shift(),r.length&&c(r[0][0],r[0][1])}}function lX(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof wg=="function"?wg(e):e[Symbol.iterator](),n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n);function i(r){n[r]=e[r]&&function(s){return new Promise(function(l,c){s=e[r](s),a(l,c,s.done,s.value)})}}function a(r,s,l,c){Promise.resolve(c).then(function(d){r({value:d,done:l})},s)}}var e0=e=>e&&typeof e.length=="number"&&typeof e!="function";function t0(e){return Et(e==null?void 0:e.then)}function i0(e){return Et(e[qp])}function a0(e){return Symbol.asyncIterator&&Et(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 cX(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var r0=cX();function o0(e){return Et(e==null?void 0:e[r0])}function s0(e){return sX(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:n,done:i}=yield ao(t.read());if(i)return yield ao(void 0);yield yield ao(n)}}finally{t.releaseLock()}})}function l0(e){return Et(e==null?void 0:e.getReader)}function Vi(e){if(e instanceof Ot)return e;if(e!=null){if(i0(e))return dX(e);if(e0(e))return uX(e);if(t0(e))return hX(e);if(a0(e))return c0(e);if(o0(e))return pX(e);if(l0(e))return mX(e)}throw n0(e)}function dX(e){return new Ot(t=>{let n=e[qp]();if(Et(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function uX(e){return new Ot(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function hX(e){return new Ot(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Ky)})}function pX(e){return new Ot(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function c0(e){return new Ot(t=>{fX(e,t).catch(n=>t.error(n))})}function mX(e){return c0(s0(e))}function fX(e,t){var n,i,a,r;return oX(this,void 0,void 0,function*(){try{for(n=lX(e);i=yield n.next(),!i.done;){let s=i.value;if(t.next(s),t.closed)return}}catch(s){a={error:s}}finally{try{i&&!i.done&&(r=n.return)&&(yield r.call(n))}finally{if(a)throw a.error}}t.complete()})}function gn(e,t,n,i=0,a=!1){let r=t.schedule(function(){n(),a?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(r),!a)return r}function d0(e,t=0){return ei((n,i)=>{n.subscribe(Ut(i,a=>gn(i,e,()=>i.next(a),t),()=>gn(i,e,()=>i.complete(),t),a=>gn(i,e,()=>i.error(a),t)))})}function u0(e,t=0){return ei((n,i)=>{i.add(e.schedule(()=>n.subscribe(i),t))})}function gX(e,t){return Vi(e).pipe(u0(t),d0(t))}function vX(e,t){return Vi(e).pipe(u0(t),d0(t))}function bX(e,t){return new Ot(n=>{let i=0;return t.schedule(function(){i===e.length?n.complete():(n.next(e[i++]),n.closed||this.schedule())})})}function yX(e,t){return new Ot(n=>{let i;return gn(n,t,()=>{i=e[r0](),gn(n,t,()=>{let a,r;try{({value:a,done:r}=i.next())}catch(s){n.error(s);return}r?n.complete():n.next(a)},0,!0)}),()=>Et(i==null?void 0:i.return)&&i.return()})}function h0(e,t){if(!e)throw new Error("Iterable cannot be null");return new Ot(n=>{gn(n,t,()=>{let i=e[Symbol.asyncIterator]();gn(n,t,()=>{i.next().then(a=>{a.done?n.complete():n.next(a.value)})},0,!0)})})}function _X(e,t){return h0(s0(e),t)}function xX(e,t){if(e!=null){if(i0(e))return gX(e,t);if(e0(e))return bX(e,t);if(t0(e))return vX(e,t);if(a0(e))return h0(e,t);if(o0(e))return yX(e,t);if(l0(e))return _X(e,t)}throw n0(e)}function Wn(e,t){return t?xX(e,t):Vi(e)}function bt(...e){let t=qs(e);return Wn(e,t)}function p0(e,t){let n=Et(e)?e:()=>e,i=a=>a.error(n());return new Ot(i)}function ss(e){return!!e&&(e instanceof Ot||Et(e.lift)&&Et(e.subscribe))}var Zp=Hp(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function wX(e,t){return new Promise((n,i)=>{let a=!1,r;e.subscribe({next:s=>{r=s,a=!0},error:i,complete:()=>{a?n(r):i(new Zp)}})})}function SX(e){return e instanceof Date&&!isNaN(e)}function yt(e,t){return ei((n,i)=>{let a=0;n.subscribe(Ut(i,r=>{i.next(e.call(t,r,a++))}))})}var{isArray:kX}=Array;function EX(e,t){return kX(t)?e(...t):e(t)}function m0(e){return yt(t=>EX(e,t))}var{isArray:CX}=Array,{getPrototypeOf:DX,prototype:IX,keys:AX}=Object;function f0(e){if(e.length===1){let t=e[0];if(CX(t))return{args:t,keys:null};if(OX(t)){let n=AX(t);return{args:n.map(i=>t[i]),keys:n}}}return{args:e,keys:null}}function OX(e){return e&&typeof e=="object"&&DX(e)===IX}function g0(e,t){return e.reduce((n,i,a)=>(n[i]=t[a],n),{})}function TX(...e){let t=qs(e),n=Jy(e),{args:i,keys:a}=f0(e);if(i.length===0)return Wn([],t);let r=new Ot(MX(i,t,a?s=>g0(a,s):Pr));return n?r.pipe(m0(n)):r}function MX(e,t,n=Pr){return i=>{Sg(t,()=>{let{length:a}=e,r=new Array(a),s=a,l=a;for(let c=0;c<a;c++)Sg(t,()=>{let d=Wn(e[c],t),u=!1;d.subscribe(Ut(i,m=>{r[c]=m,u||(u=!0,l--),l||i.next(n(r.slice()))},()=>{--s||i.complete()}))},i)},i)}}function Sg(e,t,n){e?gn(n,e,t):t()}function NX(e,t,n,i,a,r,s,l){let c=[],d=0,u=0,m=!1,v=()=>{m&&!c.length&&!d&&t.complete()},g=S=>d<i?x(S):c.push(S),x=S=>{d++;let E=!1;Vi(n(S,u++)).subscribe(Ut(t,M=>{t.next(M)},()=>{E=!0},void 0,()=>{if(E)try{for(d--;c.length&&d<i;){let M=c.shift();s?gn(t,s,()=>x(M)):x(M)}v()}catch(M){t.error(M)}}))};return e.subscribe(Ut(t,g,()=>{m=!0,v()})),()=>{}}function fs(e,t,n=1/0){return Et(t)?fs((i,a)=>yt((r,s)=>t(i,r,a,s))(Vi(e(i,a))),n):(typeof t=="number"&&(n=t),ei((i,a)=>NX(i,a,e,n)))}function v0(e=1/0){return fs(Pr,e)}function PX(){return v0(1)}function gs(...e){return PX()(Wn(e,qs(e)))}function vs(e){return new Ot(t=>{Vi(e()).subscribe(t)})}function Kp(...e){let t=Jy(e),{args:n,keys:i}=f0(e),a=new Ot(r=>{let{length:s}=n;if(!s){r.complete();return}let l=new Array(s),c=s,d=s;for(let u=0;u<s;u++){let m=!1;Vi(n[u]).subscribe(Ut(r,v=>{m||(m=!0,d--),l[u]=v},()=>c--,void 0,()=>{(!c||!m)&&(d||r.next(i?g0(i,l):l),r.complete())}))}});return t?a.pipe(m0(t)):a}function RX(e=0,t,n=nX){let i=-1;return t!=null&&(Qy(t)?n=t:i=t),new Ot(a=>{let r=SX(e)?+e-n.now():e;r<0&&(r=0);let s=0;return n.schedule(function(){a.closed||(a.next(s++),0<=i?this.schedule(void 0,i):a.complete())},r)})}function na(...e){let t=qs(e),n=rX(e,1/0),i=e;return i.length?i.length===1?Vi(i[0]):v0(n)(Wn(i,t)):bd}function di(e,t){return ei((n,i)=>{let a=0;n.subscribe(Ut(i,r=>e.call(t,r,a++)&&i.next(r)))})}function FX(e){return ei((t,n)=>{let i=!1,a=null,r=null,s=!1,l=()=>{if(r==null||r.unsubscribe(),r=null,i){i=!1;let d=a;a=null,n.next(d)}s&&n.complete()},c=()=>{r=null,s&&n.complete()};t.subscribe(Ut(n,d=>{i=!0,a=d,r||Vi(e(d)).subscribe(r=Ut(n,l,c))},()=>{s=!0,(!i||!r||r.closed)&&n.complete()}))})}function b0(e,t=Yp){return FX(()=>RX(e,t))}function yd(e){return ei((t,n)=>{let i=null,a=!1,r;i=t.subscribe(Ut(n,void 0,void 0,s=>{r=Vi(e(s,yd(e)(t))),i?(i.unsubscribe(),i=null,r.subscribe(n)):a=!0})),a&&(i.unsubscribe(),i=null,r.subscribe(n))})}function y0(e,t){return Et(t)?fs(e,t,1):fs(e,1)}function _0(e,t=Yp){return ei((n,i)=>{let a=null,r=null,s=null,l=()=>{if(a){a.unsubscribe(),a=null;let d=r;r=null,i.next(d)}};function c(){let d=s+e,u=t.now();if(u<d){a=this.schedule(void 0,d-u),i.add(a);return}l()}n.subscribe(Ut(i,d=>{r=d,s=t.now(),a||(a=t.schedule(c,e),i.add(a))},()=>{l(),i.complete()},void 0,()=>{r=a=null}))})}function VX(e){return ei((t,n)=>{let i=!1;t.subscribe(Ut(n,a=>{i=!0,n.next(a)},()=>{i||n.next(e),n.complete()}))})}function vi(e){return e<=0?()=>bd:ei((t,n)=>{let i=0;t.subscribe(Ut(n,a=>{++i<=e&&(n.next(a),e<=i&&n.complete())}))})}function LX(e,t=Pr){return e=e??zX,ei((n,i)=>{let a,r=!0;n.subscribe(Ut(i,s=>{let l=t(s);(r||!e(a,l))&&(r=!1,a=l,i.next(s))}))})}function zX(e,t){return e===t}function jX(e=BX){return ei((t,n)=>{let i=!1;t.subscribe(Ut(n,a=>{i=!0,n.next(a)},()=>i?n.complete():n.error(e())))})}function BX(){return new Zp}function Xp(e){return ei((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function HX(e,t){let n=arguments.length>=2;return i=>i.pipe(Pr,vi(1),n?VX(t):jX(()=>new Zp))}function $X(){return ei((e,t)=>{let n,i=!1;e.subscribe(Ut(t,a=>{let r=n;n=a,i&&t.next([r,a]),i=!0}))})}function x0(e={}){let{connector:t=()=>new he,resetOnError:n=!0,resetOnComplete:i=!0,resetOnRefCountZero:a=!0}=e;return r=>{let s,l,c,d=0,u=!1,m=!1,v=()=>{l==null||l.unsubscribe(),l=void 0},g=()=>{v(),s=c=void 0,u=m=!1},x=()=>{let S=s;g(),S==null||S.unsubscribe()};return ei((S,E)=>{d++,!m&&!u&&v();let M=c=c??t();E.add(()=>{d--,d===0&&!m&&!u&&(l=yu(x,a))}),M.subscribe(E),!s&&d>0&&(s=new ms({next:L=>M.next(L),error:L=>{m=!0,v(),l=yu(g,n,L),M.error(L)},complete:()=>{u=!0,v(),l=yu(g,i),M.complete()}}),Vi(S).subscribe(s))})(r)}}function yu(e,t,...n){if(t===!0){e();return}if(t===!1)return;let i=new ms({next:()=>{i.unsubscribe(),e()}});return Vi(t(...n)).subscribe(i)}function bs(e,t,n){let i,a=!1;return e&&typeof e=="object"?{bufferSize:i=1/0,windowTime:t=1/0,refCount:a=!1,scheduler:n}=e:i=e??1/0,x0({connector:()=>new Up(i,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:a})}function w0(e){return di((t,n)=>e<=n)}function ra(...e){let t=qs(e);return ei((n,i)=>{(t?gs(e,n,t):gs(e,n)).subscribe(i)})}function yr(e,t){return ei((n,i)=>{let a=null,r=0,s=!1,l=()=>s&&!a&&i.complete();n.subscribe(Ut(i,c=>{a==null||a.unsubscribe();let d=0,u=r++;Vi(e(c,u)).subscribe(a=Ut(i,m=>i.next(t?t(c,m,u,d++):m),()=>{a=null,l()}))},()=>{s=!0,l()}))})}function At(e){return ei((t,n)=>{Vi(e).subscribe(Ut(n,()=>n.complete(),Ch)),!n.closed&&t.subscribe(n)})}function qX(e,t=!1){return ei((n,i)=>{let a=0;n.subscribe(Ut(i,r=>{let s=e(r,a++);(s||t)&&i.next(r),!s&&i.complete()}))})}function oc(e,t,n){let i=Et(e)||t||n?{next:e,error:t,complete:n}:e;return i?ei((a,r)=>{var s;(s=i.subscribe)===null||s===void 0||s.call(i);let l=!0;a.subscribe(Ut(r,c=>{var d;(d=i.next)===null||d===void 0||d.call(i,c),r.next(c)},()=>{var c;l=!1,(c=i.complete)===null||c===void 0||c.call(i),r.complete()},c=>{var d;l=!1,(d=i.error)===null||d===void 0||d.call(i,c),r.error(c)},()=>{var c,d;l&&((c=i.unsubscribe)===null||c===void 0||c.call(i)),(d=i.finalize)===null||d===void 0||d.call(i)}))}):Pr}var S0="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",X=class extends Error{constructor(t,n){super(k0(t,n));o(this,"code");this.code=t}};function GX(e){return`NG0${Math.abs(e)}`}function k0(e,t){return`${GX(e)}${t?": "+t:""}`}var _d=Symbol("InputSignalNode#UNSET"),E0=tt(J({},Uy),{transformFn:void 0,applyValueToInputSignal(e,t){$s(e,t)}});function C0(e,t){let n=Object.create(E0);n.value=e,n.transformFn=t==null?void 0:t.transform;function i(){if(Bs(n),n.value===_d){let a=null;throw new X(-950,a)}return n.value}return i[bi]=n,i}function Gs(e){return{toString:e}.toString()}var Il="__parameters__";function UX(e){return function(...t){}}function D0(e,t,n){return Gs(()=>{let i=UX();function a(...r){if(this instanceof a)return i.apply(this,r),this;let s=new a(...r);return l.annotation=s,l;function l(c,d,u){let m=c.hasOwnProperty(Il)?c[Il]:Object.defineProperty(c,Il,{value:[]})[Il];for(;m.length<=u;)m.push(null);return(m[u]=m[u]||[]).push(s),c}}return a.prototype.ngMetadataName=e,a.annotationCls=a,a})}var Mn=globalThis;function Ct(e){for(let t in e)if(e[t]===Ct)return t;throw Error("Could not find renamed property on target object.")}function YX(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function oa(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(oa).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let i=n.indexOf(`
15
- `);return i>=0?n.slice(0,i):n}function Ah(e,t){return e?t?`${e} ${t}`:e:t||""}var WX=Ct({__forward_ref__:Ct});function _n(e){return e.__forward_ref__=_n,e.toString=function(){return oa(this())},e}function ui(e){return I0(e)?e():e}function I0(e){return typeof e=="function"&&e.hasOwnProperty(WX)&&e.__forward_ref__===_n}function U(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function mt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Qp(e){return kg(e,A0)||kg(e,O0)}function kg(e,t){return e.hasOwnProperty(t)?e[t]:null}function ZX(e){return e&&(e[A0]||e[O0])||null}function Eg(e){return e&&(e.hasOwnProperty(Cg)||e.hasOwnProperty(KX))?e[Cg]:null}var A0=Ct({ɵprov:Ct}),Cg=Ct({ɵinj:Ct}),O0=Ct({ngInjectableDef:Ct}),KX=Ct({ngInjectorDef:Ct}),G=class{constructor(e,t){o(this,"_desc");o(this,"ngMetadataName","InjectionToken");o(this,"ɵprov");this._desc=e,this.ɵprov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.ɵprov=U({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function T0(e){return e&&!!e.ɵproviders}var XX=Ct({ɵcmp:Ct}),QX=Ct({ɵdir:Ct}),JX=Ct({ɵpipe:Ct}),Sc=Ct({ɵfac:Ct}),ls=Ct({__NG_ELEMENT_ID__:Ct}),Dg=Ct({__NG_ENV_ID__:Ct});function _r(e){return typeof e=="string"?e:e==null?"":String(e)}function eQ(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():_r(e)}function M0(e,t){throw new X(-200,e)}function Jp(e,t){throw new X(-201,!1)}var We=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}(We||{}),Oh;function N0(){return Oh}function Ni(e){let t=Oh;return Oh=e,t}function P0(e,t,n){let i=Qp(e);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(n&We.Optional)return null;if(t!==void 0)return t;Jp()}var tQ={},vr=tQ,Th="__NG_DI_FLAG__",R0=class{constructor(e){o(this,"injector");this.injector=e}retrieve(e,t){let n=t;return this.injector.get(e,n.optional?Yy:vr,n)}},kc="ngTempTokenPath",iQ="ngTokenPath",aQ=/\n/gm,nQ="ɵ",Ig="__source";function rQ(e,t=We.Default){if(nc()===void 0)throw new X(-203,!1);if(nc()===null)return P0(e,void 0,t);{let n=nc(),i;return n instanceof R0?i=n.injector:i=n,i.get(e,t&We.Optional?null:void 0,t)}}function ge(e,t=We.Default){return(N0()||rQ)(ui(e),t)}function w(e,t=We.Default){return ge(e,xd(t))}function xd(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Mh(e){let t=[];for(let n=0;n<e.length;n++){let i=ui(e[n]);if(Array.isArray(i)){if(i.length===0)throw new X(900,!1);let a,r=We.Default;for(let s=0;s<i.length;s++){let l=i[s],c=oQ(l);typeof c=="number"?c===-1?a=l.token:r|=c:a=l}t.push(ge(a,r))}else t.push(ge(i))}return t}function F0(e,t){return e[Th]=t,e.prototype[Th]=t,e}function oQ(e){return e[Th]}function sQ(e,t,n,i){let a=e[kc];throw t[Ig]&&a.unshift(t[Ig]),e.message=lQ(`
16
- `+e.message,a,n,i),e[iQ]=a,e[kc]=null,e}function lQ(e,t,n,i=null){e=e&&e.charAt(0)===`
17
- `&&e.charAt(1)==nQ?e.slice(2):e;let a=oa(t);if(Array.isArray(t))a=t.map(oa).join(" -> ");else if(typeof t=="object"){let r=[];for(let s in t)if(t.hasOwnProperty(s)){let l=t[s];r.push(s+":"+(typeof l=="string"?JSON.stringify(l):oa(l)))}a=`{${r.join(", ")}}`}return`${n}${i?"("+i+")":""}[${a}]: ${e.replace(aQ,`
18
- `)}`}var V0=F0(D0("Optional"),8),L0=F0(D0("SkipSelf"),4);function xr(e,t){return e.hasOwnProperty(Sc)?e[Sc]:null}function cQ(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let a=e[i],r=t[i];if(n&&(a=n(a),r=n(r)),r!==a)return!1}return!0}function dQ(e){return e.flat(Number.POSITIVE_INFINITY)}function em(e,t){e.forEach(n=>Array.isArray(n)?em(n,t):t(n))}function z0(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ec(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function uQ(e,t){let n=[];for(let i=0;i<e;i++)n.push(t);return n}function hQ(e,t,n,i){let a=e.length;if(a==t)e.push(n,i);else if(a===1)e.push(i,e[0]),e[0]=n;else{for(a--,e.push(e[a-1],e[a]);a>t;){let r=a-2;e[a]=e[r],a--}e[t]=n,e[t+1]=i}}function wd(e,t,n){let i=Us(e,t);return i>=0?e[i|1]=n:(i=~i,hQ(e,i,t,n)),i}function _u(e,t){let n=Us(e,t);if(n>=0)return e[n|1]}function Us(e,t){return pQ(e,t,1)}function pQ(e,t,n){let i=0,a=e.length>>n;for(;a!==i;){let r=i+(a-i>>1),s=e[r<<n];if(t===s)return r<<n;s>t?a=r:i=r+1}return~(a<<n)}var Ba={},Ai=[],Cc=new G(""),j0=new G("",-1),B0=new G(""),H0=class{get(e,t=vr){if(t===vr){let n=new Error(`NullInjectorError: No provider for ${oa(e)}!`);throw n.name="NullInjectorError",n}return t}};function ho(e){return e[XX]||null}function $0(e){return e[QX]||null}function mQ(e){return e[JX]||null}function tm(e){return{ɵproviders:e}}function fQ(...e){return{ɵproviders:q0(!0,e),ɵfromNgModule:!0}}function q0(e,...t){let n=[],i=new Set,a,r=s=>{n.push(s)};return em(t,s=>{let l=s;Nh(l,r,[],i)&&(a||(a=[]),a.push(l))}),a!==void 0&&G0(a,r),n}function G0(e,t){for(let n=0;n<e.length;n++){let{ngModule:i,providers:a}=e[n];im(a,r=>{t(r,i)})}}function Nh(e,t,n,i){if(e=ui(e),!e)return!1;let a=null,r=Eg(e),s=!r&&ho(e);if(!r&&!s){let c=e.ngModule;if(r=Eg(c),r)a=c;else return!1}else{if(s&&!s.standalone)return!1;a=e}let l=i.has(a);if(s){if(l)return!1;if(i.add(a),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let d of c)Nh(d,t,n,i)}}else if(r){if(r.imports!=null&&!l){i.add(a);let d;try{em(r.imports,u=>{Nh(u,t,n,i)&&(d||(d=[]),d.push(u))})}finally{}d!==void 0&&G0(d,t)}if(!l){let d=xr(a)||(()=>new a);t({provide:a,useFactory:d,deps:Ai},a),t({provide:B0,useValue:a,multi:!0},a),t({provide:Cc,useValue:()=>ge(a),multi:!0},a)}let c=r.providers;if(c!=null&&!l){let d=e;im(c,u=>{t(u,d)})}}else return!1;return a!==e&&e.providers!==void 0}function im(e,t){for(let n of e)T0(n)&&(n=n.ɵproviders),Array.isArray(n)?im(n,t):t(n)}var gQ=Ct({provide:String,useValue:Ct});function U0(e){return e!==null&&typeof e=="object"&&gQ in e}function vQ(e){return!!(e&&e.useExisting)}function bQ(e){return!!(e&&e.useFactory)}function po(e){return typeof e=="function"}function yQ(e){return!!e.useClass}var am=new G(""),sc={},Ag={},xu;function Sd(){return xu===void 0&&(xu=new H0),xu}var Ha=class{},nm=class extends Ha{constructor(t,n,i,a){super();o(this,"parent");o(this,"source");o(this,"scopes");o(this,"records",new Map);o(this,"_ngOnDestroyHooks",new Set);o(this,"_onDestroyHooks",[]);o(this,"_destroyed",!1);o(this,"injectorDefTypes");this.parent=n,this.source=i,this.scopes=a,Rh(t,s=>this.processProvider(s)),this.records.set(j0,Qr(void 0,this)),a.has("environment")&&this.records.set(Ha,Qr(void 0,this));let r=this.records.get(am);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(B0,Ai,We.Self))}get destroyed(){return this._destroyed}retrieve(t,n){let i=n;return this.get(t,i.optional?Yy:vr,i)}destroy(){ts(this),this._destroyed=!0;let t=Ue(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of n)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Ue(t)}}onDestroy(t){return ts(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){ts(this);let n=An(this),i=Ni(void 0);try{return t()}finally{An(n),Ni(i)}}get(t,n=vr,i=We.Default){if(ts(this),t.hasOwnProperty(Dg))return t[Dg](this);i=xd(i);let a=An(this),r=Ni(void 0);try{if(!(i&We.SkipSelf)){let l=this.records.get(t);if(l===void 0){let c=kQ(t)&&Qp(t);c&&this.injectableDefInScope(c)?l=Qr(Ph(t),sc):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,i)}let s=i&We.Self?Sd():this.parent;return n=i&We.Optional&&n===vr?null:n,s.get(t,n)}catch(s){if(s.name==="NullInjectorError"){if((s[kc]=s[kc]||[]).unshift(oa(t)),a)throw s;return sQ(s,t,"R3InjectorError",this.source)}else throw s}finally{Ni(r),An(a)}}resolveInjectorInitializers(){let t=Ue(null),n=An(this),i=Ni(void 0);try{let a=this.get(Cc,Ai,We.Self);for(let r of a)r()}finally{An(n),Ni(i),Ue(t)}}toString(){let t=[],n=this.records;for(let i of n.keys())t.push(oa(i));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=ui(t);let n=po(t)?t:ui(t&&t.provide),i=xQ(t);if(!po(t)&&t.multi===!0){let a=this.records.get(n);a||(a=Qr(void 0,sc,!0),a.factory=()=>Mh(a.multi),this.records.set(n,a)),n=t,a.multi.push(t)}this.records.set(n,i)}hydrate(t,n,i){let a=Ue(null);try{return n.value===Ag?M0(oa(t)):n.value===sc&&(n.value=Ag,n.value=n.factory(void 0,i)),typeof n.value=="object"&&n.value&&SQ(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{Ue(a)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ui(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Ph(e){let t=Qp(e),n=t!==null?t.factory:xr(e);if(n!==null)return n;if(e instanceof G)throw new X(204,!1);if(e instanceof Function)return _Q(e);throw new X(204,!1)}function _Q(e){if(e.length>0)throw new X(204,!1);let t=ZX(e);return t!==null?()=>t.factory(e):()=>new e}function xQ(e){if(U0(e))return Qr(void 0,e.useValue);{let t=Y0(e);return Qr(t,sc)}}function Y0(e,t,n){let i;if(po(e)){let a=ui(e);return xr(a)||Ph(a)}else if(U0(e))i=()=>ui(e.useValue);else if(bQ(e))i=()=>e.useFactory(...Mh(e.deps||[]));else if(vQ(e))i=(a,r)=>ge(ui(e.useExisting),r!==void 0&&r&We.Optional?We.Optional:void 0);else{let a=ui(e&&(e.useClass||e.provide));if(wQ(e))i=()=>new a(...Mh(e.deps));else return xr(a)||Ph(a)}return i}function ts(e){if(e.destroyed)throw new X(205,!1)}function Qr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function wQ(e){return!!e.deps}function SQ(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function kQ(e){return typeof e=="function"||typeof e=="object"&&e instanceof G}function Rh(e,t){for(let n of e)Array.isArray(n)?Rh(n,t):n&&T0(n)?Rh(n.ɵproviders,t):t(n)}function kd(e,t){let n;e instanceof nm?(ts(e),n=e):n=new R0(e);let i=An(n),a=Ni(void 0);try{return t()}finally{An(i),Ni(a)}}function W0(){return N0()!==void 0||nc()!=null}function Ys(e){if(!W0())throw new X(-203,!1)}function EQ(e){return typeof e=="function"}var xn=0,Re=1,Ce=2,xi=3,ya=4,Li=5,mo=6,no=7,ri=8,fo=9,vn=10,Tt=11,ys=12,Og=13,ko=14,Wi=15,wr=16,Jr=17,_a=18,Ed=19,Z0=20,Vn=21,wu=22,hn=23,sa=24,Ln=25,Yt=26,K0=1,Sr=7,Dc=8,go=9,yi=10;function zn(e){return Array.isArray(e)&&typeof e[K0]=="object"}function wn(e){return Array.isArray(e)&&e[K0]===!0}function rm(e){return(e.flags&4)!==0}function Eo(e){return e.componentOffset>-1}function Cd(e){return(e.flags&1)===1}function $a(e){return!!e.template}function Ic(e){return(e[Ce]&512)!==0}function Co(e){return(e[Ce]&256)===256}var CQ=class{constructor(e,t,n){o(this,"previousValue");o(this,"currentValue");o(this,"firstChange");this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}};function X0(e,t,n,i){t!==null?t.applyValueToInputSignal(t,i):e[n]=i}var wi=(()=>{let e=()=>Q0;return e.ngInherit=!0,e})();function Q0(e){return e.type.prototype.ngOnChanges&&(e.setInput=IQ),DQ}function DQ(){let e=e_(this),t=e==null?void 0:e.current;if(t){let n=e.previous;if(n===Ba)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function IQ(e,t,n,i,a){let r=this.declaredInputs[i],s=e_(e)||AQ(e,{previous:Ba,current:null}),l=s.current||(s.current={}),c=s.previous,d=c[r];l[r]=new CQ(d&&d.currentValue,n,c===Ba),X0(e,t,a,n)}var J0="__ngSimpleChanges__";function e_(e){return e[J0]||null}function AQ(e,t){return e[J0]=t}var kr=function(e,t=null,n){},t_="svg",OQ="math";function qa(e){for(;Array.isArray(e);)e=e[xn];return e}function i_(e,t){return qa(t[e])}function Wa(e,t){return qa(t[e.index])}function om(e,t){return e.data[t]}function Dd(e,t){return e[t]}function sm(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}function Ga(e,t){let n=t[e];return zn(n)?n:n[xn]}function TQ(e){return(e[Ce]&4)===4}function lm(e){return(e[Ce]&128)===128}function MQ(e){return wn(e[xi])}function Er(e,t){return t==null?null:e[t]}function a_(e){e[Jr]=0}function cm(e){e[Ce]&1024||(e[Ce]|=1024,lm(e)&&Do(e))}function NQ(e,t){for(;e>0;)t=t[ko],e--;return t}function Ws(e){var t;return!!(e[Ce]&9216||(t=e[sa])!=null&&t.dirty)}function Fh(e){var t;(t=e[vn].changeDetectionScheduler)==null||t.notify(8),e[Ce]&64&&(e[Ce]|=1024),Ws(e)&&Do(e)}function Do(e){var n;(n=e[vn].changeDetectionScheduler)==null||n.notify(0);let t=Cr(e);for(;t!==null&&!(t[Ce]&8192||(t[Ce]|=8192,!lm(t)));)t=Cr(t)}function n_(e,t){if(Co(e))throw new X(911,!1);e[Vn]===null&&(e[Vn]=[]),e[Vn].push(t)}function PQ(e,t){if(e[Vn]===null)return;let n=e[Vn].indexOf(t);n!==-1&&e[Vn].splice(n,1)}function Cr(e){let t=e[xi];return wn(t)?t[xi]:t}function dm(e){return e[no]??(e[no]=[])}function um(e){return e.cleanup??(e.cleanup=[])}function RQ(e,t,n,i){let a=dm(t);a.push(n),e.firstCreatePass&&um(e).push(i,a.length-1)}var ze={lFrame:u_(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Vh=!1;function FQ(){return ze.lFrame.elementDepthCount}function VQ(){ze.lFrame.elementDepthCount++}function LQ(){ze.lFrame.elementDepthCount--}function zQ(){return ze.bindingsEnabled}function r_(){return ze.skipHydrationRootTNode!==null}function jQ(e){return ze.skipHydrationRootTNode===e}function BQ(){ze.skipHydrationRootTNode=null}function Se(){return ze.lFrame.lView}function _t(){return ze.lFrame.tView}function pe(e){return ze.lFrame.contextLView=e,e[ri]}function me(e){return ze.lFrame.contextLView=null,e}function Si(){let e=o_();for(;e!==null&&e.type===64;)e=e.parent;return e}function o_(){return ze.lFrame.currentTNode}function HQ(){let e=ze.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Zn(e,t){let n=ze.lFrame;n.currentTNode=e,n.isParent=t}function hm(){return ze.lFrame.isParent}function pm(){ze.lFrame.isParent=!1}function s_(){return ze.lFrame.contextLView}function l_(){return Vh}function Ac(e){let t=Vh;return Vh=e,t}function Io(){let e=ze.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function $Q(){return ze.lFrame.bindingIndex}function qQ(e){return ze.lFrame.bindingIndex=e}function Rr(){return ze.lFrame.bindingIndex++}function mm(e){let t=ze.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function GQ(){return ze.lFrame.inI18n}function UQ(e,t){let n=ze.lFrame;n.bindingIndex=n.bindingRootIndex=e,Lh(t)}function YQ(){return ze.lFrame.currentDirectiveIndex}function Lh(e){ze.lFrame.currentDirectiveIndex=e}function WQ(e){let t=ze.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function fm(){return ze.lFrame.currentQueryIndex}function Id(e){ze.lFrame.currentQueryIndex=e}function ZQ(e){let t=e[Re];return t.type===2?t.declTNode:t.type===1?e[Li]:null}function c_(e,t,n){if(n&We.SkipSelf){let a=t,r=e;for(;(a=a.parent,a===null&&!(n&We.Host))&&(a=ZQ(r),!(a===null||(r=r[ko],a.type&10))););if(a===null)return!1;t=a,e=r}let i=ze.lFrame=d_();return i.currentTNode=t,i.lView=e,!0}function gm(e){let t=d_(),n=e[Re];ze.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function d_(){let e=ze.lFrame,t=e===null?null:e.child;return t===null?u_(e):t}function u_(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 h_(){let e=ze.lFrame;return ze.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var p_=h_;function vm(){let e=h_();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 KQ(e){return(ze.lFrame.contextLView=NQ(e,ze.lFrame.contextLView))[ri]}function Za(){return ze.lFrame.selectedIndex}function Dr(e){ze.lFrame.selectedIndex=e}function Zs(){let e=ze.lFrame;return om(e.tView,e.selectedIndex)}function xa(){ze.lFrame.currentNamespace=t_}function Oc(){XQ()}function XQ(){ze.lFrame.currentNamespace=null}function QQ(){return ze.lFrame.currentNamespace}var m_=!0;function Ad(){return m_}function Od(e){m_=e}function JQ(e,t,n){let{ngOnChanges:i,ngOnInit:a,ngDoCheck:r}=t.type.prototype;if(i){let s=Q0(t);(n.preOrderHooks??(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,s)}a&&(n.preOrderHooks??(n.preOrderHooks=[])).push(0-e,a),r&&((n.preOrderHooks??(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,r))}function bm(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){let a=e.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:s,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=a;r&&(e.contentHooks??(e.contentHooks=[])).push(-n,r),s&&((e.contentHooks??(e.contentHooks=[])).push(n,s),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(n,s)),l&&(e.viewHooks??(e.viewHooks=[])).push(-n,l),c&&((e.viewHooks??(e.viewHooks=[])).push(n,c),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(n,c)),d!=null&&(e.destroyHooks??(e.destroyHooks=[])).push(n,d)}}function lc(e,t,n){f_(e,t,3,n)}function cc(e,t,n,i){(e[Ce]&3)===n&&f_(e,t,n,i)}function Su(e,t){let n=e[Ce];(n&3)===t&&(n&=16383,n+=1,e[Ce]=n)}function f_(e,t,n,i){let a=i!==void 0?e[Jr]&65535:0,r=i??-1,s=t.length-1,l=0;for(let c=a;c<s;c++)if(typeof t[c+1]=="number"){if(l=t[c],i!=null&&l>=i)break}else t[c]<0&&(e[Jr]+=65536),(l<r||r==-1)&&(eJ(e,n,t,c),e[Jr]=(e[Jr]&4294901760)+c+2),c++}function Tg(e,t){let n=Ue(null);try{t.call(e)}finally{Ue(n)}}function eJ(e,t,n,i){let a=n[i]<0,r=n[i+1],s=a?-n[i]:n[i],l=e[s];a?e[Ce]>>14<e[Jr]>>16&&(e[Ce]&3)===t&&(e[Ce]+=16384,Tg(l,r)):Tg(l,r)}var ro=-1,Ks=class{constructor(e,t,n){o(this,"factory");o(this,"injectImpl");o(this,"resolving",!1);o(this,"canSeeViewProviders");o(this,"multi");o(this,"componentProviders");o(this,"index");o(this,"providerFactory");this.factory=e,this.canSeeViewProviders=t,this.injectImpl=n}};function tJ(e){return(e.flags&8)!==0}function iJ(e){return(e.flags&16)!==0}function aJ(e,t,n){let i=0;for(;i<n.length;){let a=n[i];if(typeof a=="number"){if(a!==0)break;i++;let r=n[i++],s=n[i++],l=n[i++];e.setAttribute(t,s,l,r)}else{let r=a,s=n[++i];nJ(r)?e.setProperty(t,r,s):e.setAttribute(t,r,s),i++}}return i}function g_(e){return e===3||e===4||e===6}function nJ(e){return e.charCodeAt(0)===64}function vo(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){let a=t[i];typeof a=="number"?n=a:n===0||(n===-1||n===2?Mg(e,n,a,null,t[++i]):Mg(e,n,a,null,null))}}return e}function Mg(e,t,n,i,a){let r=0,s=e.length;if(t===-1)s=-1;else for(;r<e.length;){let l=e[r++];if(typeof l=="number"){if(l===t){s=-1;break}else if(l>t){s=r-1;break}}}for(;r<e.length;){let l=e[r];if(typeof l=="number")break;if(l===n){a!==null&&(e[r+1]=a);return}r++,a!==null&&r++}s!==-1&&(e.splice(s,0,t),r=s+1),e.splice(r++,0,n),a!==null&&e.splice(r++,0,a)}function v_(e){return e!==ro}function Tc(e){return e&32767}function rJ(e){return e>>16}function Mc(e,t){let n=rJ(e),i=t;for(;n>0;)i=i[ko],n--;return i}var zh=!0;function Nc(e){let t=zh;return zh=e,t}var oJ=256,b_=oJ-1,y_=5,sJ=0,Va={};function lJ(e,t,n){let i;typeof n=="string"?i=n.charCodeAt(0)||0:n.hasOwnProperty(ls)&&(i=n[ls]),i==null&&(i=n[ls]=sJ++);let a=i&b_,r=1<<a;t.data[e+(a>>y_)]|=r}function Pc(e,t){let n=__(e,t);if(n!==-1)return n;let i=t[Re];i.firstCreatePass&&(e.injectorIndex=t.length,ku(i.data,e),ku(t,null),ku(i.blueprint,null));let a=ym(e,t),r=e.injectorIndex;if(v_(a)){let s=Tc(a),l=Mc(a,t),c=l[Re].data;for(let d=0;d<8;d++)t[r+d]=l[s+d]|c[s+d]}return t[r+8]=a,r}function ku(e,t){e.push(0,0,0,0,0,0,0,0,t)}function __(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function ym(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,i=null,a=t;for(;a!==null;){if(i=E_(a),i===null)return ro;if(n++,a=a[ko],i.injectorIndex!==-1)return i.injectorIndex|n<<16}return ro}function jh(e,t,n){lJ(e,t,n)}function cJ(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let i=n.length,a=0;for(;a<i;){let r=n[a];if(g_(r))break;if(r===0)a=a+2;else if(typeof r=="number")for(a++;a<i&&typeof n[a]=="string";)a++;else{if(r===t)return n[a+1];a=a+2}}}return null}function x_(e,t,n){if(n&We.Optional||e!==void 0)return e;Jp()}function w_(e,t,n,i){if(n&We.Optional&&i===void 0&&(i=null),(n&(We.Self|We.Host))===0){let a=e[fo],r=Ni(void 0);try{return a?a.get(t,i,n&We.Optional):P0(t,i,n&We.Optional)}finally{Ni(r)}}return x_(i,t,n)}function S_(e,t,n,i=We.Default,a){if(e!==null){if(t[Ce]&2048&&!(i&We.Self)){let s=pJ(e,t,n,i,Va);if(s!==Va)return s}let r=k_(e,t,n,i,Va);if(r!==Va)return r}return w_(t,n,i,a)}function k_(e,t,n,i,a){let r=uJ(n);if(typeof r=="function"){if(!c_(t,e,i))return i&We.Host?x_(a,n,i):w_(t,n,i,a);try{let s;if(s=r(i),s==null&&!(i&We.Optional))Jp(n);else return s}finally{p_()}}else if(typeof r=="number"){let s=null,l=__(e,t),c=ro,d=i&We.Host?t[Wi][Li]:null;for((l===-1||i&We.SkipSelf)&&(c=l===-1?ym(e,t):t[l+8],c===ro||!Pg(i,!1)?l=-1:(s=t[Re],l=Tc(c),t=Mc(c,t)));l!==-1;){let u=t[Re];if(Ng(r,l,u.data)){let m=dJ(l,t,n,s,i,d);if(m!==Va)return m}c=t[l+8],c!==ro&&Pg(i,t[Re].data[l+8]===d)&&Ng(r,l,t)?(s=u,l=Tc(c),t=Mc(c,t)):l=-1}}return a}function dJ(e,t,n,i,a,r){let s=t[Re],l=s.data[e+8],c=i==null?Eo(l)&&zh:i!=s&&(l.type&3)!==0,d=a&We.Host&&r===l,u=dc(l,s,n,c,d);return u!==null?_s(t,s,u,l,a):Va}function dc(e,t,n,i,a){let r=e.providerIndexes,s=t.data,l=r&1048575,c=e.directiveStart,d=e.directiveEnd,u=r>>20,m=i?l:l+u,v=a?l+u:d;for(let g=m;g<v;g++){let x=s[g];if(g<c&&n===x||g>=c&&x.type===n)return g}if(a){let g=s[c];if(g&&$a(g)&&g.type===n)return c}return null}function _s(e,t,n,i,a){let r=e[n],s=t.data;if(r instanceof Ks){let l=r;l.resolving&&M0(eQ(s[n]));let c=Nc(l.canSeeViewProviders);l.resolving=!0;let d=l.injectImpl?Ni(l.injectImpl):null;c_(e,i,We.Default);try{r=e[n]=l.factory(void 0,a,s,e,i),t.firstCreatePass&&n>=i.directiveStart&&JQ(n,s[n],t)}finally{d!==null&&Ni(d),Nc(c),l.resolving=!1,p_()}}return r}function uJ(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(ls)?e[ls]:void 0;return typeof t=="number"?t>=0?t&b_:hJ:t}function Ng(e,t,n){let i=1<<e;return!!(n[t+(e>>y_)]&i)}function Pg(e,t){return!(e&We.Self)&&!(e&We.Host&&t)}var cs=class{constructor(e,t){o(this,"_tNode");o(this,"_lView");this._tNode=e,this._lView=t}get(e,t,n){return S_(this._tNode,this._lView,e,xd(n),t)}};function hJ(){return new cs(Si(),Se())}function jt(e){return Gs(()=>{let t=e.prototype.constructor,n=t[Sc]||Bh(t),i=Object.prototype,a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==i;){let r=a[Sc]||Bh(a);if(r&&r!==n)return r;a=Object.getPrototypeOf(a)}return r=>new r})}function Bh(e){return I0(e)?()=>{let t=Bh(ui(e));return t&&t()}:xr(e)}function pJ(e,t,n,i,a){let r=e,s=t;for(;r!==null&&s!==null&&s[Ce]&2048&&!Ic(s);){let l=k_(r,s,n,i|We.Self,Va);if(l!==Va)return l;let c=r.parent;if(!c){let d=s[Z0];if(d){let u=d.get(n,Va,i);if(u!==Va)return u}c=E_(s),s=s[ko]}r=c}return a}function E_(e){let t=e[Re],n=t.type;return n===2?t.declTNode:n===1?e[Li]:null}function mJ(e){return cJ(Si(),e)}function Rg(e,t=null,n=null,i){let a=fJ(e,t,n,i);return a.resolveInjectorInitializers(),a}function fJ(e,t=null,n=null,i,a=new Set){let r=[n||Ai,fQ(e)];return i=i||(typeof e=="object"?void 0:oa(e)),new nm(r,t||Sd(),i||null,a)}var Ma,dt=(Ma=class{static create(t,n){if(Array.isArray(t))return Rg({name:""},n,t,"");{let i=t.name??"";return Rg({name:i},t.parent,t.providers,i)}}},o(Ma,"THROW_IF_NOT_FOUND",vr),o(Ma,"NULL",new H0),o(Ma,"ɵprov",U({token:Ma,providedIn:"any",factory:()=>ge(j0)})),o(Ma,"__NG_ELEMENT_ID__",-1),Ma),_m=class{constructor(e){o(this,"attributeName");o(this,"__NG_ELEMENT_ID__",()=>mJ(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},gJ=new G("");gJ.__NG_ELEMENT_ID__=e=>{let t=Si();if(t===null)throw new X(204,!1);if(t.type&2)return t.value;if(e&We.Optional)return null;throw new X(204,!1)};var C_=!1,Zi=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",vJ),o(e,"__NG_ENV_ID__",n=>n),e})(),D_=class extends Zi{constructor(t){super();o(this,"_lView");this._lView=t}onDestroy(t){let n=this._lView;return Co(n)?(t(),()=>{}):(n_(n,t),()=>PQ(n,t))}};function vJ(){return new D_(Se())}var Ao=class{},I_=new G("",{providedIn:"root",factory:()=>!1}),A_=new G(""),O_=new G(""),Xs=(()=>{const t=class t{constructor(){o(this,"taskId",0);o(this,"pendingTasks",new Set);o(this,"hasPendingTasks",new ur(!1))}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let i=this.taskId++;return this.pendingTasks.add(i),i}has(i){return this.pendingTasks.has(i)}remove(i){this.pendingTasks.delete(i),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};o(t,"ɵprov",U({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),bJ=class extends he{constructor(t=!1){super();o(this,"__isAsync");o(this,"destroyRef");o(this,"pendingTasks");this.__isAsync=t,W0()&&(this.destroyRef=w(Zi,{optional:!0})??void 0,this.pendingTasks=w(Xs,{optional:!0})??void 0)}emit(t){let n=Ue(null);try{super.next(t)}finally{Ue(n)}}subscribe(t,n,i){var c,d,u;let a=t,r=n||(()=>null),s=i;if(t&&typeof t=="object"){let m=t;a=(c=m.next)==null?void 0:c.bind(m),r=(d=m.error)==null?void 0:d.bind(m),s=(u=m.complete)==null?void 0:u.bind(m)}this.__isAsync&&(r=this.wrapInTimeout(r),a&&(a=this.wrapInTimeout(a)),s&&(s=this.wrapInTimeout(s)));let l=super.subscribe({next:a,error:r,complete:s});return t instanceof ut&&t.add(l),l}wrapInTimeout(t){return n=>{var a;let i=(a=this.pendingTasks)==null?void 0:a.add();setTimeout(()=>{var r;try{t(n)}finally{i!==void 0&&((r=this.pendingTasks)==null||r.remove(i))}})}}},de=bJ;function xs(...e){}function T_(e){let t,n;function i(){e=xs;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),i()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),i()})),()=>i()}function Fg(e){return queueMicrotask(()=>e()),()=>{e=xs}}var xm="isAngularZone",Rc=xm+"_ID",yJ=0,Oe=class Hh{constructor(t){o(this,"hasPendingMacrotasks",!1);o(this,"hasPendingMicrotasks",!1);o(this,"isStable",!0);o(this,"onUnstable",new de(!1));o(this,"onMicrotaskEmpty",new de(!1));o(this,"onStable",new de(!1));o(this,"onError",new de(!1));let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:a=!1,scheduleInRootZone:r=C_}=t;if(typeof Zone>"u")throw new X(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!a&&i,s.shouldCoalesceRunChangeDetection=a,s.callbackScheduled=!1,s.scheduleInRootZone=r,wJ(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(xm)===!0}static assertInAngularZone(){if(!Hh.isInAngularZone())throw new X(909,!1)}static assertNotInAngularZone(){if(Hh.isInAngularZone())throw new X(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,a){let r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+a,t,_J,xs,xs);try{return r.runTask(s,n,i)}finally{r.cancelTask(s)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}},_J={};function wm(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 xJ(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){T_(()=>{e.callbackScheduled=!1,$h(e),e.isCheckStableRunning=!0,wm(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),$h(e)}function wJ(e){let t=()=>{xJ(e)},n=yJ++;e._inner=e._inner.fork({name:"angular",properties:{[xm]:!0,[Rc]:n,[Rc+n]:!0},onInvokeTask:(i,a,r,s,l,c)=>{if(kJ(c))return i.invokeTask(r,s,l,c);try{return Vg(e),i.invokeTask(r,s,l,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Lg(e)}},onInvoke:(i,a,r,s,l,c,d)=>{try{return Vg(e),i.invoke(r,s,l,c,d)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!EJ(c)&&t(),Lg(e)}},onHasTask:(i,a,r,s)=>{i.hasTask(r,s),a===r&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,$h(e),wm(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,a,r,s)=>(i.handleError(r,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function $h(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Vg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Lg(e){e._nesting--,wm(e)}var SJ=class{constructor(){o(this,"hasPendingMicrotasks",!1);o(this,"hasPendingMacrotasks",!1);o(this,"isStable",!0);o(this,"onUnstable",new de);o(this,"onMicrotaskEmpty",new de);o(this,"onStable",new de);o(this,"onError",new de)}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,i){return e.apply(t,n)}};function kJ(e){return M_(e,"__ignore_ng_zone__")}function EJ(e){return M_(e,"__scheduler_tick__")}function M_(e,t){var n,i;return!Array.isArray(e)||e.length!==1?!1:((i=(n=e[0])==null?void 0:n.data)==null?void 0:i[t])===!0}var ka=class{constructor(){o(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}},CJ=new G("",{providedIn:"root",factory:()=>{let e=w(Oe),t=w(ka);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),N_=class{constructor(){o(this,"destroyed",!1);o(this,"listeners",null);o(this,"errorHandler",w(ka,{optional:!0}));o(this,"destroyRef",w(Zi));this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new X(953,!1);return(this.listeners??(this.listeners=[])).push(e),{unsubscribe:()=>{var n,i;let t=(n=this.listeners)==null?void 0:n.indexOf(e);t!==void 0&&t!==-1&&((i=this.listeners)==null||i.splice(t,1))}}}emit(e){var n;if(this.destroyed){console.warn(k0(953,!1));return}if(this.listeners===null)return;let t=Ue(null);try{for(let i of this.listeners)try{i(e)}catch(a){(n=this.errorHandler)==null||n.handleError(a)}}finally{Ue(t)}}};function zg(e){return new N_}function jg(e,t){return C0(e,t)}function DJ(e){return C0(_d,e)}var Xe=(jg.required=DJ,jg);function IJ(){return Oo(Si(),Se())}function Oo(e,t){return new Fe(Wa(e,t))}var Fe=(()=>{class e{constructor(n){o(this,"nativeElement");this.nativeElement=n}}return o(e,"__NG_ELEMENT_ID__",IJ),e})();function P_(e){return e instanceof Fe?e.nativeElement:e}function ws(e){return typeof e=="function"&&e[bi]!==void 0}function la(e,t){let n=LK(e,t==null?void 0:t.equal),i=n[bi];return n.set=a=>$s(i,a),n.update=a=>Gy(i,a),n.asReadonly=Sm.bind(n),n}function Sm(){let e=this[bi];if(e.readonlyFn===void 0){let t=()=>this();t[bi]=e,e.readonlyFn=t}return e.readonlyFn}function R_(e){return ws(e)&&typeof e.set=="function"}function AJ(){return this._results[Symbol.iterator]()}var Ey,Fc=(Ey=Symbol.iterator,class{constructor(e=!1){o(this,"_emitDistinctChangesOnly");o(this,"dirty",!0);o(this,"_onDirty");o(this,"_results",[]);o(this,"_changesDetected",!1);o(this,"_changes");o(this,"length",0);o(this,"first");o(this,"last");o(this,Ey,AJ);this._emitDistinctChangesOnly=e}get changes(){return this._changes??(this._changes=new he)}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 n=dQ(e);(this._changesDetected=!cQ(this._results,n,t))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[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 F_(e){return(e.flags&128)===128}var V_=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(V_||{}),L_=new Map,OJ=0;function TJ(){return OJ++}function MJ(e){L_.set(e[Ed],e)}function qh(e){L_.delete(e[Ed])}var Bg="__ngContext__";function To(e,t){zn(t)?(e[Bg]=t[Ed],MJ(t)):e[Bg]=t}function z_(e){return B_(e[ys])}function j_(e){return B_(e[ya])}function B_(e){for(;e!==null&&!wn(e);)e=e[ya];return e}var Gh;function NJ(e){Gh=e}function H_(){if(Gh!==void 0)return Gh;if(typeof document<"u")return document;throw new X(210,!1)}var Td=new G("",{providedIn:"root",factory:()=>PJ}),PJ="ng",$_=new G(""),Md=new G("",{providedIn:"platform",factory:()=>"unknown"}),Ti=new G(""),km=new G("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=H_().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),q_=!1,RJ=new G("",{providedIn:"root",factory:()=>q_}),Em=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Em||{}),Qs=new G(""),Hg=new Set;function Fr(e){var t;Hg.has(e)||(Hg.add(e),(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}}))}var Cm=(()=>{class e{constructor(n,i){o(this,"view");o(this,"node");this.view=n,this.node=i}}return o(e,"__NG_ELEMENT_ID__",FJ),e})();function FJ(){return new Cm(Se(),Si())}var eo=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(eo||{}),G_=(()=>{const t=class t{constructor(){o(this,"impl",null)}execute(){var i;(i=this.impl)==null||i.execute()}};o(t,"ɵprov",U({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),VJ=[eo.EarlyRead,eo.Write,eo.MixedReadWrite,eo.Read],LJ=(()=>{const t=class t{constructor(){o(this,"ngZone",w(Oe));o(this,"scheduler",w(Ao));o(this,"errorHandler",w(ka,{optional:!0}));o(this,"sequences",new Set);o(this,"deferredRegistrations",new Set);o(this,"executing",!1);w(Qs,{optional:!0})}execute(){var i;this.sequences.size>0,this.executing=!0;for(let a of VJ)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[a]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let s=r.hooks[a];return s(r.pipelinedValue)},r.snapshot))}catch(s){r.erroredOrDestroyed=!0,(i=this.errorHandler)==null||i.handleError(s)}this.executing=!1;for(let a of this.sequences)a.afterRun(),a.once&&(this.sequences.delete(a),a.destroy());for(let a of this.deferredRegistrations)this.sequences.add(a);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(i){let{view:a}=i;a!==void 0?((a[Ln]??(a[Ln]=[])).push(i),Do(a),a[Ce]|=8192):this.executing?this.deferredRegistrations.add(i):this.addSequence(i)}addSequence(i){this.sequences.add(i),this.scheduler.notify(7)}unregister(i){this.executing&&this.sequences.has(i)?(i.erroredOrDestroyed=!0,i.pipelinedValue=void 0,i.once=!0):(this.sequences.delete(i),this.deferredRegistrations.delete(i))}maybeTrace(i,a){return a?a.run(Em.AFTER_NEXT_RENDER,i):i()}};o(t,"ɵprov",U({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),zJ=class{constructor(e,t,n,i,a,r=null){o(this,"impl");o(this,"hooks");o(this,"view");o(this,"once");o(this,"snapshot");o(this,"erroredOrDestroyed",!1);o(this,"pipelinedValue");o(this,"unregisterOnDestroy");this.impl=e,this.hooks=t,this.view=n,this.once=i,this.snapshot=r,this.unregisterOnDestroy=a==null?void 0:a.onDestroy(()=>this.destroy())}afterRun(){var e;this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,(e=this.snapshot)==null||e.dispose(),this.snapshot=null}destroy(){var t,n;this.impl.unregister(this),(t=this.unregisterOnDestroy)==null||t.call(this);let e=(n=this.view)==null?void 0:n[Ln];e&&(this.view[Ln]=e.filter(i=>i!==this))}};function Dm(e,t){!(t!=null&&t.injector)&&Ys();let n=(t==null?void 0:t.injector)??w(dt);return Fr("NgAfterRender"),U_(e,n,t,!1)}function Ir(e,t){!(t!=null&&t.injector)&&Ys();let n=(t==null?void 0:t.injector)??w(dt);return Fr("NgAfterNextRender"),U_(e,n,t,!0)}function jJ(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function U_(e,t,n,i){let a=t.get(G_);a.impl??(a.impl=t.get(LJ));let r=t.get(Qs,null,{optional:!0}),s=(n==null?void 0:n.phase)??eo.MixedReadWrite,l=(n==null?void 0:n.manualCleanup)!==!0?t.get(Zi):null,c=t.get(Cm,null,{optional:!0}),d=new zJ(a.impl,jJ(e,s),c==null?void 0:c.view,i,l,r==null?void 0:r.snapshot(null));return a.impl.register(d),d}var BJ=()=>null;function Y_(e,t,n=!1){return BJ()}function W_(e,t){let n=e.contentQueries;if(n!==null){let i=Ue(null);try{for(let a=0;a<n.length;a+=2){let r=n[a],s=n[a+1];if(s!==-1){let l=e.data[s];Id(r),l.contentQueries(2,t[s],s)}}}finally{Ue(i)}}}function Uh(e,t,n){Id(0);let i=Ue(null);try{t(e,n)}finally{Ue(i)}}function Im(e,t,n){if(rm(t)){let i=Ue(null);try{let a=t.directiveStart,r=t.directiveEnd;for(let s=a;s<r;s++){let l=e.data[s];if(l.contentQueries){let c=n[s];l.contentQueries(1,c,s)}}}finally{Ue(i)}}}var pn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(pn||{}),Al;function HJ(){if(Al===void 0&&(Al=null,Mn.trustedTypes))try{Al=Mn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Al}function Nd(e){var t;return((t=HJ())==null?void 0:t.createHTML(e))||e}var Ol;function $J(){if(Ol===void 0&&(Ol=null,Mn.trustedTypes))try{Ol=Mn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ol}function $g(e){var t;return((t=$J())==null?void 0:t.createHTML(e))||e}var Vr=class{constructor(e){o(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${S0})`}},qJ=class extends Vr{getTypeName(){return"HTML"}},GJ=class extends Vr{getTypeName(){return"Style"}},UJ=class extends Vr{getTypeName(){return"Script"}},YJ=class extends Vr{getTypeName(){return"URL"}},WJ=class extends Vr{getTypeName(){return"ResourceURL"}};function un(e){return e instanceof Vr?e.changingThisBreaksApplicationSecurity:e}function hr(e,t){let n=ZJ(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${S0})`)}return n===t}function ZJ(e){return e instanceof Vr&&e.getTypeName()||null}function KJ(e){return new qJ(e)}function XJ(e){return new GJ(e)}function QJ(e){return new UJ(e)}function JJ(e){return new YJ(e)}function eee(e){return new WJ(e)}function tee(e){let t=new aee(e);return nee()?new iee(t):t}var iee=class{constructor(e){o(this,"inertDocumentHelper");this.inertDocumentHelper=e}getInertBodyElement(e){var t;e="<body><remove></remove>"+e;try{let n=new window.DOMParser().parseFromString(Nd(e),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(e):((t=n.firstChild)==null||t.remove(),n)}catch{return null}}},aee=class{constructor(e){o(this,"defaultDoc");o(this,"inertDocument");this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let t=this.inertDocument.createElement("template");return t.innerHTML=Nd(e),t}};function nee(){try{return!!new window.DOMParser().parseFromString(Nd(""),"text/html")}catch{return!1}}var ree=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Am(e){return e=String(e),e.match(ree)?e:"unsafe:"+e}function Sn(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Js(...e){let t={};for(let n of e)for(let i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}var Z_=Sn("area,br,col,hr,img,wbr"),K_=Sn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),X_=Sn("rp,rt"),oee=Js(X_,K_),see=Js(K_,Sn("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")),lee=Js(X_,Sn("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")),qg=Js(Z_,see,lee,oee),Q_=Sn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),cee=Sn("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"),dee=Sn("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"),uee=Js(Q_,cee,dee),hee=Sn("script,style,template"),pee=class{constructor(){o(this,"sanitizedSomething",!1);o(this,"buf",[])}sanitizeChildren(e){let t=e.firstChild,n=!0,i=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild){i.push(t),t=gee(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let a=fee(t);if(a){t=a;break}t=i.pop()}}return this.buf.join("")}startElement(e){let t=Gg(e).toLowerCase();if(!qg.hasOwnProperty(t))return this.sanitizedSomething=!0,!hee.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let n=e.attributes;for(let i=0;i<n.length;i++){let a=n.item(i),r=a.name,s=r.toLowerCase();if(!uee.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let l=a.value;Q_[s]&&(l=Am(l)),this.buf.push(" ",r,'="',Ug(l),'"')}return this.buf.push(">"),!0}endElement(e){let t=Gg(e).toLowerCase();qg.hasOwnProperty(t)&&!Z_.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(Ug(e))}};function mee(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function fee(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw J_(t);return t}function gee(e){let t=e.firstChild;if(t&&mee(e,t))throw J_(t);return t}function Gg(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function J_(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var vee=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,bee=/([^\#-~ |!])/g;function Ug(e){return e.replace(/&/g,"&amp;").replace(vee,function(t){let n=t.charCodeAt(0),i=t.charCodeAt(1);return"&#"+((n-55296)*1024+(i-56320)+65536)+";"}).replace(bee,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Tl;function ex(e,t){let n=null;try{Tl=Tl||tee(e);let i=t?String(t):"";n=Tl.getInertBodyElement(i);let a=5,r=i;do{if(a===0)throw new Error("Failed to sanitize html because the input is unstable");a--,i=r,r=n.innerHTML,n=Tl.getInertBodyElement(i)}while(i!==r);let s=new pee().sanitizeChildren(Yg(n)||n);return Nd(s)}finally{if(n){let i=Yg(n)||n;for(;i.firstChild;)i.firstChild.remove()}}}function Yg(e){return"content"in e&&yee(e)?e.content:null}function yee(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var _ee=/^>|^->|<!--|-->|--!>|<!-$/g,xee=/(<|>)/g,wee="​$1​";function See(e){return e.replace(_ee,t=>t.replace(xee,wee))}function kee(e,t){return e.createText(t)}function Eee(e,t,n){e.setValue(t,n)}function Cee(e,t){return e.createComment(See(t))}function tx(e,t,n){return e.createElement(t,n)}function Vc(e,t,n,i,a){e.insertBefore(t,n,i,a)}function ix(e,t,n){e.appendChild(t,n)}function Wg(e,t,n,i,a){i!==null?Vc(e,t,n,i,a):ix(e,t,n)}function Dee(e,t,n){e.removeChild(null,t,n)}function Iee(e,t,n){e.setAttribute(t,"style",n)}function Aee(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function ax(e,t,n){let{mergedAttrs:i,classes:a,styles:r}=n;i!==null&&aJ(e,t,i),a!==null&&Aee(e,t,a),r!==null&&Iee(e,t,r)}var Pi=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}(Pi||{});function Oee(e){let t=nx();return t?$g(t.sanitize(Pi.HTML,e)||""):hr(e,"HTML")?$g(un(e)):ex(H_(),_r(e))}function Tee(e){let t=nx();return t?t.sanitize(Pi.URL,e)||"":hr(e,"URL")?un(e):Am(_r(e))}function nx(){let e=Se();return e&&e[vn].sanitizer}function Mee(e,t,n){let i=e.length;for(;;){let a=e.indexOf(t,n);if(a===-1)return a;if(a===0||e.charCodeAt(a-1)<=32){let r=t.length;if(a+r===i||e.charCodeAt(a+r)<=32)return a}n=a+1}}var rx="ng-template";function Nee(e,t,n,i){let a=0;if(i){for(;a<t.length&&typeof t[a]=="string";a+=2)if(t[a]==="class"&&Mee(t[a+1].toLowerCase(),n,0)!==-1)return!0}else if(Om(e))return!1;if(a=t.indexOf(1,a),a>-1){let r;for(;++a<t.length&&typeof(r=t[a])=="string";)if(r.toLowerCase()===n)return!0}return!1}function Om(e){return e.type===4&&e.value!==rx}function Pee(e,t,n){let i=e.type===4&&!n?rx:e.value;return t===i}function Ree(e,t,n){let i=4,a=e.attrs,r=a!==null?Lee(a):0,s=!1;for(let l=0;l<t.length;l++){let c=t[l];if(typeof c=="number"){if(!s&&!ma(i)&&!ma(c))return!1;if(s&&ma(c))continue;s=!1,i=c|i&1;continue}if(!s)if(i&4){if(i=2|i&1,c!==""&&!Pee(e,c,n)||c===""&&t.length===1){if(ma(i))return!1;s=!0}}else if(i&8){if(a===null||!Nee(e,a,c,n)){if(ma(i))return!1;s=!0}}else{let d=t[++l],u=Fee(c,a,Om(e),n);if(u===-1){if(ma(i))return!1;s=!0;continue}if(d!==""){let m;if(u>r?m="":m=a[u+1].toLowerCase(),i&2&&d!==m){if(ma(i))return!1;s=!0}}}}return ma(i)||s}function ma(e){return(e&1)===0}function Fee(e,t,n,i){if(t===null)return-1;let a=0;if(i||!n){let r=!1;for(;a<t.length;){let s=t[a];if(s===e)return a;if(s===3||s===6)r=!0;else if(s===1||s===2){let l=t[++a];for(;typeof l=="string";)l=t[++a];continue}else{if(s===4)break;if(s===0){a+=4;continue}}a+=r?1:2}return-1}else return zee(t,e)}function ox(e,t,n=!1){for(let i=0;i<t.length;i++)if(Ree(e,t[i],n))return!0;return!1}function Vee(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function Lee(e){for(let t=0;t<e.length;t++){let n=e[t];if(g_(n))return t}return e.length}function zee(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let i=e[n];if(typeof i=="number")return-1;if(i===t)return n;n++}return-1}function jee(e,t){e:for(let n=0;n<t.length;n++){let i=t[n];if(e.length===i.length){for(let a=0;a<e.length;a++)if(e[a]!==i[a])continue e;return!0}}return!1}function Zg(e,t){return e?":not("+t.trim()+")":t}function Bee(e){let t=e[0],n=1,i=2,a="",r=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(i&2){let l=e[++n];a+="["+s+(l.length>0?'="'+l+'"':"")+"]"}else i&8?a+="."+s:i&4&&(a+=" "+s);else a!==""&&!ma(s)&&(t+=Zg(r,a),a=""),i=s,r=r||!ma(i);n++}return a!==""&&(t+=Zg(r,a)),t}function Hee(e){return e.map(Bee).join(",")}function $ee(e){let t=[],n=[],i=1,a=2;for(;i<e.length;){let r=e[i];if(typeof r=="string")a===2?r!==""&&t.push(r,e[++i]):a===8&&n.push(r);else{if(!ma(a))break;a=r}i++}return n.length&&t.push(1,...n),t}var zi={};function Tm(e,t,n,i,a,r,s,l,c,d,u){let m=Yt+i,v=m+a,g=qee(m,v),x=typeof d=="function"?d():d;return g[Re]={type:e,blueprint:g,template:n,queries:null,viewQuery:l,declTNode:t,data:g.slice().fill(null,m),bindingStartIndex:m,expandoStartIndex:v,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof r=="function"?r():r,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:x,incompleteFirstPass:!1,ssrId:u}}function qee(e,t){let n=[];for(let i=0;i<t;i++)n.push(i<e?null:zi);return n}function Gee(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Tm(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Mm(e,t,n,i,a,r,s,l,c,d,u){let m=t.blueprint.slice();return m[xn]=a,m[Ce]=i|4|128|8|64|1024,(d!==null||e&&e[Ce]&2048)&&(m[Ce]|=2048),a_(m),m[xi]=m[ko]=e,m[ri]=n,m[vn]=s||e&&e[vn],m[Tt]=l||e&&e[Tt],m[fo]=c||e&&e[fo]||null,m[Li]=r,m[Ed]=TJ(),m[mo]=u,m[Z0]=d,m[Wi]=t.type==2?e[Wi]:m,m}function Uee(e,t,n){let i=Wa(t,e),a=Gee(n),r=e[vn].rendererFactory,s=Nm(e,Mm(e,a,null,sx(n),i,t,null,r.createRenderer(i,n),null,null,null));return e[t.index]=s}function sx(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function lx(e,t,n,i){if(n===0)return-1;let a=t.length;for(let r=0;r<n;r++)t.push(i),e.blueprint.push(i),e.data.push(null);return a}function Nm(e,t){return e[ys]?e[Og][ya]=t:e[ys]=t,e[Og]=t,t}function D(e=1){cx(_t(),Se(),Za()+e)}function cx(e,t,n,i){if((t[Ce]&3)===3){let a=e.preOrderCheckHooks;a!==null&&lc(t,a,n)}else{let a=e.preOrderHooks;a!==null&&cc(t,a,0,n)}Dr(n)}var Pd=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Pd||{});function Yh(e,t,n,i){let a=Ue(null);try{let[r,s,l]=e.inputs[n],c=null;s&Pd.SignalBased&&(c=t[r][bi]),c!==null&&c.transformFn!==void 0?i=c.transformFn(i):l!==null&&(i=l.call(t,i)),e.setInput!==null?e.setInput(t,c,i,n,r):X0(t,c,r,i)}finally{Ue(a)}}function dx(e,t,n,i,a){let r=Za(),s=i&2;try{Dr(-1),s&&t.length>Yt&&cx(e,t,Yt,!1),kr(s?2:0,a),n(i,a)}finally{Dr(r)}}function Rd(e,t,n){Kee(e,t,n),(n.flags&64)===64&&Xee(e,t,n)}function Pm(e,t,n=Wa){let i=t.localNames;if(i!==null){let a=t.index+1;for(let r=0;r<i.length;r+=2){let s=i[r+1],l=s===-1?n(t,e):e[s];e[a++]=l}}}function Yee(e,t,n,i){let a=i.get(RJ,q_)||n===pn.ShadowDom;return e.selectRootElement(t,a)}function Wee(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Fd(e,t,n,i,a,r,s,l){if(!l&&Fm(t,e,n,i,a)){Eo(t)&&Zee(n,t.index);return}if(t.type&3){let c=Wa(t,n);i=Wee(i),a=s!=null?s(a,t.value||"",i):a,r.setProperty(c,i,a)}else t.type&12}function Zee(e,t){let n=Ga(t,e);n[Ce]&16||(n[Ce]|=64)}function Kee(e,t,n){let i=n.directiveStart,a=n.directiveEnd;Eo(n)&&Uee(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||Pc(n,t);let r=n.initialInputs;for(let s=i;s<a;s++){let l=e.data[s],c=_s(t,e,s,n);if(To(c,t),r!==null&&tte(t,s-i,c,l,n,r),$a(l)){let d=Ga(n.index,t);d[ri]=_s(t,e,s,n)}}}function Xee(e,t,n){let i=n.directiveStart,a=n.directiveEnd,r=n.index,s=YQ();try{Dr(r);for(let l=i;l<a;l++){let c=e.data[l],d=t[l];Lh(l),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Qee(c,d)}}finally{Dr(-1),Lh(s)}}function Qee(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Rm(e,t){let n=e.directiveRegistry,i=null;if(n)for(let a=0;a<n.length;a++){let r=n[a];ox(t,r.selectors,!1)&&(i??(i=[]),$a(r)?i.unshift(r):i.push(r))}return i}function Jee(e,t,n,i,a,r){let s=Wa(e,t);ete(t[Tt],s,r,e.value,n,i,a)}function ete(e,t,n,i,a,r,s){if(r==null)e.removeAttribute(t,a,n);else{let l=s==null?_r(r):s(r,i||"",a);e.setAttribute(t,a,l,n)}}function tte(e,t,n,i,a,r){let s=r[t];if(s!==null)for(let l=0;l<s.length;l+=2){let c=s[l],d=s[l+1];Yh(i,n,c,d)}}function ite(e,t){let n=e[fo],i=n?n.get(ka,null):null;i&&i.handleError(t)}function Fm(e,t,n,i,a){var c,d;let r=(c=e.inputs)==null?void 0:c[i],s=(d=e.hostDirectiveInputs)==null?void 0:d[i],l=!1;if(s)for(let u=0;u<s.length;u+=2){let m=s[u],v=s[u+1],g=t.data[m];Yh(g,n[m],v,a),l=!0}if(r)for(let u of r){let m=n[u],v=t.data[u];Yh(v,m,i,a),l=!0}return l}function ate(e,t){let n=Ga(t,e),i=n[Re];nte(i,n);let a=n[xn];a!==null&&n[mo]===null&&(n[mo]=Y_(a,n[fo])),Vm(i,n,n[ri]),kr(19,n[ri])}function nte(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Vm(e,t,n){var i;gm(t);try{let a=e.viewQuery;a!==null&&Uh(1,a,n);let r=e.template;r!==null&&dx(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),(i=t[_a])==null||i.finishViewCreation(e),e.staticContentQueries&&W_(e,t),e.staticViewQueries&&Uh(2,e.viewQuery,n);let s=e.components;s!==null&&rte(t,s)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),a}finally{t[Ce]&=-5,vm()}}function rte(e,t){for(let n=0;n<t.length;n++)ate(e,t[n])}function el(e,t,n,i){let a=Ue(null);try{let r=t.tView,s=e[Ce]&4096?4096:16,l=Mm(e,r,n,s,null,t,null,null,(i==null?void 0:i.injector)??null,(i==null?void 0:i.embeddedViewInjector)??null,(i==null?void 0:i.dehydratedView)??null),c=e[t.index];l[wr]=c;let d=e[_a];return d!==null&&(l[_a]=d.createEmbeddedView(r)),Vm(r,l,n),l}finally{Ue(a)}}function bo(e,t){return!t||t.firstChild===null||F_(e)}var ote;function Lm(e,t){return ote(e,t)}var Nn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Nn||{});function zm(e){return(e.flags&32)===32}function to(e,t,n,i,a){if(i!=null){let r,s=!1;wn(i)?r=i:zn(i)&&(s=!0,i=i[xn]);let l=qa(i);e===0&&n!==null?a==null?ix(t,n,l):Vc(t,n,l,a||null,!0):e===1&&n!==null?Vc(t,n,l,a||null,!0):e===2?Dee(t,l,s):e===3&&t.destroyNode(l),r!=null&&gte(t,e,r,n,a)}}function ste(e,t){ux(e,t),t[xn]=null,t[Li]=null}function lte(e,t,n,i,a,r){i[xn]=a,i[Li]=t,zd(e,i,n,1,a,r)}function ux(e,t){var n;(n=t[vn].changeDetectionScheduler)==null||n.notify(9),zd(e,t,t[Tt],2,null,null)}function cte(e){let t=e[ys];if(!t)return Eu(e[Re],e);for(;t;){let n=null;if(zn(t))n=t[ys];else{let i=t[yi];i&&(n=i)}if(!n){for(;t&&!t[ya]&&t!==e;)zn(t)&&Eu(t[Re],t),t=t[xi];t===null&&(t=e),zn(t)&&Eu(t[Re],t),n=t&&t[ya]}t=n}}function jm(e,t){let n=e[go],i=n.indexOf(t);n.splice(i,1)}function Vd(e,t){if(Co(t))return;let n=t[Tt];n.destroyNode&&zd(e,t,n,3,null,null),cte(t)}function Eu(e,t){if(Co(t))return;let n=Ue(null);try{t[Ce]&=-129,t[Ce]|=256,t[sa]&&fd(t[sa]),ute(e,t),dte(e,t),t[Re].type===1&&t[Tt].destroy();let i=t[wr];if(i!==null&&wn(t[xi])){i!==t[xi]&&jm(i,t);let a=t[_a];a!==null&&a.detachView(e)}qh(t)}finally{Ue(n)}}function dte(e,t){let n=e.cleanup,i=t[no];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let l=n[s+3];l>=0?i[l]():i[-l].unsubscribe(),s+=2}else{let l=i[n[s+1]];n[s].call(l)}i!==null&&(t[no]=null);let a=t[Vn];if(a!==null){t[Vn]=null;for(let s=0;s<a.length;s++){let l=a[s];l()}}let r=t[hn];if(r!==null){t[hn]=null;for(let s of r)s.destroy()}}function ute(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let i=0;i<n.length;i+=2){let a=t[n[i]];if(!(a instanceof Ks)){let r=n[i+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){let l=a[r[s]],c=r[s+1];try{c.call(l)}finally{}}else try{r.call(a)}finally{}}}}function hx(e,t,n){return hte(e,t.parent,n)}function hte(e,t,n){let i=t;for(;i!==null&&i.type&168;)t=i,i=t.parent;if(i===null)return n[xn];if(Eo(i)){let{encapsulation:a}=e.data[i.directiveStart+i.componentOffset];if(a===pn.None||a===pn.Emulated)return null}return Wa(i,n)}function px(e,t,n){return mte(e,t,n)}function pte(e,t,n){return e.type&40?Wa(e,n):null}var mte=pte;function Ld(e,t,n,i){let a=hx(e,i,t),r=t[Tt],s=i.parent||t[Li],l=px(s,i,t);if(a!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Wg(r,a,n[c],l,!1);else Wg(r,a,n,l,!1)}function is(e,t){if(t!==null){let n=t.type;if(n&3)return Wa(t,e);if(n&4)return Wh(-1,e[t.index]);if(n&8){let i=t.child;if(i!==null)return is(e,i);{let a=e[t.index];return wn(a)?Wh(-1,a):qa(a)}}else{if(n&128)return is(e,t.next);if(n&32)return Lm(t,e)()||qa(e[t.index]);{let i=mx(e,t);if(i!==null){if(Array.isArray(i))return i[0];let a=Cr(e[Wi]);return is(a,i)}else return is(e,t.next)}}}return null}function mx(e,t){if(t!==null){let n=e[Wi][Li],i=t.projection;return n.projection[i]}return null}function Wh(e,t){let n=yi+e+1;if(n<t.length){let i=t[n],a=i[Re].firstChild;if(a!==null)return is(i,a)}return t[Sr]}function Bm(e,t,n,i,a,r,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let l=i[n.index],c=n.type;if(s&&t===0&&(l&&To(qa(l),i),n.flags|=2),!zm(n))if(c&8)Bm(e,t,n.child,i,a,r,!1),to(t,e,a,l,r);else if(c&32){let d=Lm(n,i),u;for(;u=d();)to(t,e,a,u,r);to(t,e,a,l,r)}else c&16?fx(e,t,i,n,a,r):to(t,e,a,l,r);n=s?n.projectionNext:n.next}}function zd(e,t,n,i,a,r){Bm(n,i,e.firstChild,t,a,r,!1)}function fte(e,t,n){let i=t[Tt],a=hx(e,n,t),r=n.parent||t[Li],s=px(r,n,t);fx(i,0,t,n,a,s)}function fx(e,t,n,i,a,r){let s=n[Wi],l=s[Li].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let d=l[c];to(t,e,a,d,r)}else{let c=l,d=s[xi];F_(i)&&(c.flags|=128),Bm(e,t,c,d,a,r,!0)}}function gte(e,t,n,i,a){let r=n[Sr],s=qa(n);r!==s&&to(t,e,i,r,a);for(let l=yi;l<n.length;l++){let c=n[l];zd(c[Re],c,e,t,i,r)}}function vte(e,t,n,i,a){if(t)a?e.addClass(n,i):e.removeClass(n,i);else{let r=i.indexOf("-")===-1?void 0:Nn.DashCase;a==null?e.removeStyle(n,i,r):(typeof a=="string"&&a.endsWith("!important")&&(a=a.slice(0,-10),r|=Nn.Important),e.setStyle(n,i,a,r))}}function Lc(e,t,n,i,a=!1){for(;n!==null;){if(n.type===128){n=a?n.projectionNext:n.next;continue}let r=t[n.index];r!==null&&i.push(qa(r)),wn(r)&&bte(r,i);let s=n.type;if(s&8)Lc(e,t,n.child,i);else if(s&32){let l=Lm(n,t),c;for(;c=l();)i.push(c)}else if(s&16){let l=mx(t,n);if(Array.isArray(l))i.push(...l);else{let c=Cr(t[Wi]);Lc(c[Re],c,l,i,!0)}}n=a?n.projectionNext:n.next}return i}function bte(e,t){for(let n=yi;n<e.length;n++){let i=e[n],a=i[Re].firstChild;a!==null&&Lc(i[Re],i,a,t)}e[Sr]!==e[xn]&&t.push(e[Sr])}function gx(e){if(e[Ln]!==null){for(let t of e[Ln])t.impl.addSequence(t);e[Ln].length=0}}var vx=[];function yte(e){return e[sa]??_te(e)}function _te(e){let t=vx.pop()??Object.create(wte);return t.lView=e,t}function xte(e){e.lView[sa]!==e&&(e.lView=null,vx.push(e))}var wte=tt(J({},So),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Do(e.lView)},consumerOnSignalRead(){this.lView[sa]=this}});function Ste(e){let t=e[sa]??Object.create(kte);return t.lView=e,t}var kte=tt(J({},So),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Cr(e.lView);for(;t&&!bx(t[Re]);)t=Cr(t);t&&cm(t)},consumerOnSignalRead(){this.lView[sa]=this}});function bx(e){return e.type!==2}function yx(e){if(e[hn]===null)return;let t=!0;for(;t;){let n=!1;for(let i of e[hn])i.dirty&&(n=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));t=n&&!!(e[Ce]&8192)}}var Ete=100;function _x(e,t=!0,n=0){var a,r;let i=e[vn].rendererFactory;(a=i.begin)==null||a.call(i);try{Cte(e,n)}catch(s){throw t&&ite(e,s),s}finally{(r=i.end)==null||r.call(i)}}function Cte(e,t){let n=l_();try{Ac(!0),Zh(e,t);let i=0;for(;Ws(e);){if(i===Ete)throw new X(103,!1);i++,Zh(e,1)}}finally{Ac(n)}}function Dte(e,t,n,i){if(Co(t))return;let a=t[Ce],r=!1,s=!1;gm(t);let l=!0,c=null,d=null;bx(e)?(d=yte(t),c=hs(d)):MK()===null?(l=!1,d=Ste(t),c=hs(d)):t[sa]&&(fd(t[sa]),t[sa]=null);try{a_(t),qQ(e.bindingStartIndex),n!==null&&dx(e,t,n,2,i);let u=(a&3)===3;if(!r)if(u){let g=e.preOrderCheckHooks;g!==null&&lc(t,g,null)}else{let g=e.preOrderHooks;g!==null&&cc(t,g,0,null),Su(t,0)}if(s||Ite(t),yx(t),xx(t,0),e.contentQueries!==null&&W_(e,t),!r)if(u){let g=e.contentCheckHooks;g!==null&&lc(t,g)}else{let g=e.contentHooks;g!==null&&cc(t,g,1),Su(t,1)}Ote(e,t);let m=e.components;m!==null&&Sx(t,m,0);let v=e.viewQuery;if(v!==null&&Uh(2,v,i),!r)if(u){let g=e.viewCheckHooks;g!==null&&lc(t,g)}else{let g=e.viewHooks;g!==null&&cc(t,g,2),Su(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[wu]){for(let g of t[wu])g();t[wu]=null}r||(gx(t),t[Ce]&=-73)}catch(u){throw Do(t),u}finally{d!==null&&(md(d,c),l&&xte(d)),vm()}}function xx(e,t){for(let n=z_(e);n!==null;n=j_(n))for(let i=yi;i<n.length;i++){let a=n[i];wx(a,t)}}function Ite(e){for(let t=z_(e);t!==null;t=j_(t)){if(!(t[Ce]&2))continue;let n=t[go];for(let i=0;i<n.length;i++){let a=n[i];cm(a)}}}function Ate(e,t,n){let i=Ga(t,e);wx(i,n),kr(19,i[ri])}function wx(e,t){lm(e)&&Zh(e,t)}function Zh(e,t){let n=e[Re],i=e[Ce],a=e[sa],r=!!(t===0&&i&16);if(r||(r=!!(i&64&&t===0)),r||(r=!!(i&1024)),r||(r=!!(a!=null&&a.dirty&&Bp(a))),r||(r=!1),a&&(a.dirty=!1),e[Ce]&=-9217,r)Dte(n,e,n.template,e[ri]);else if(i&8192){yx(e),xx(e,1);let s=n.components;s!==null&&Sx(e,s,1),gx(e)}}function Sx(e,t,n){for(let i=0;i<t.length;i++)Ate(e,t[i],n)}function Ote(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let i=0;i<n.length;i++){let a=n[i];if(a<0)Dr(~a);else{let r=a,s=n[++i],l=n[++i];UQ(s,r);let c=t[r];kr(24,c),l(2,c),kr(25,c)}}}finally{Dr(-1)}}function Hm(e,t){var i;let n=l_()?64:1088;for((i=e[vn].changeDetectionScheduler)==null?void 0:i.notify(t);e;){e[Ce]|=n;let a=Cr(e);if(Ic(e)&&!a)return e;e=a}return null}function kx(e,t,n,i){return[e,!0,0,t,null,i,null,n,null,null]}function Ex(e,t){let n=yi+t;if(n<e.length)return e[n]}function tl(e,t,n,i=!0){let a=t[Re];if(Tte(a,t,e,n),i){let s=Wh(n,e),l=t[Tt],c=l.parentNode(e[Sr]);c!==null&&lte(a,e[Li],l,t,c,s)}let r=t[mo];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function Cx(e,t){let n=Ss(e,t);return n!==void 0&&Vd(n[Re],n),n}function Ss(e,t){if(e.length<=yi)return;let n=yi+t,i=e[n];if(i){let a=i[wr];a!==null&&a!==e&&jm(a,i),t>0&&(e[n-1][ya]=i[ya]);let r=Ec(e,yi+t);ste(i[Re],i);let s=r[_a];s!==null&&s.detachView(r[Re]),i[xi]=null,i[ya]=null,i[Ce]&=-129}return i}function Tte(e,t,n,i){let a=yi+i,r=n.length;i>0&&(n[a-1][ya]=t),i<r-yi?(t[ya]=n[a],z0(n,yi+i,t)):(n.push(t),t[ya]=null),t[xi]=n;let s=t[wr];s!==null&&n!==s&&Dx(s,t);let l=t[_a];l!==null&&l.insertView(e),Fh(t),t[Ce]|=128}function Dx(e,t){let n=e[go],i=t[xi];if(zn(i))e[Ce]|=2;else{let a=i[xi][Wi];t[Wi]!==a&&(e[Ce]|=2)}n===null?e[go]=[t]:n.push(t)}var ks=class{constructor(e,t,n=!0){o(this,"_lView");o(this,"_cdRefInjectingView");o(this,"notifyErrorHandler");o(this,"_appRef",null);o(this,"_attachedToViewContainer",!1);this._lView=e,this._cdRefInjectingView=t,this.notifyErrorHandler=n}get rootNodes(){let e=this._lView,t=e[Re];return Lc(t,e,t.firstChild,[])}get context(){return this._lView[ri]}set context(e){this._lView[ri]=e}get destroyed(){return Co(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[xi];if(wn(e)){let t=e[Dc],n=t?t.indexOf(this):-1;n>-1&&(Ss(e,n),Ec(t,n))}this._attachedToViewContainer=!1}Vd(this._lView[Re],this._lView)}onDestroy(e){n_(this._lView,e)}markForCheck(){Hm(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Ce]&=-129}reattach(){Fh(this._lView),this._lView[Ce]|=128}detectChanges(){this._lView[Ce]|=1024,_x(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new X(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Ic(this._lView),t=this._lView[wr];t!==null&&!e&&jm(t,this._lView),ux(this._lView[Re],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new X(902,!1);this._appRef=e;let t=Ic(this._lView),n=this._lView[wr];n!==null&&!t&&Dx(n,this._lView),Fh(this._lView)}};function Mte(e){return Ws(e._lView)||!!(e._lView[Ce]&64)}function Nte(e){cm(e._cdRefInjectingView||e._lView)}var bn=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",Fte),e})(),Pte=bn,Rte=class extends Pte{constructor(t,n,i){super();o(this,"_declarationLView");o(this,"_declarationTContainer");o(this,"elementRef");this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}get ssrId(){var t;return((t=this._declarationTContainer.tView)==null?void 0:t.ssrId)||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,i){let a=el(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:i});return new ks(a)}};function Fte(){return jd(Si(),Se())}function jd(e,t){return e.type&4?new Rte(t,e,Oo(e,t)):null}function Mo(e,t,n,i,a){let r=e.data[t];if(r===null)r=Vte(e,t,n,i,a),GQ()&&(r.flags|=32);else if(r.type&64){r.type=n,r.value=i,r.attrs=a;let s=HQ();r.injectorIndex=s===null?-1:s.injectorIndex}return Zn(r,!0),r}function Vte(e,t,n,i,a){let r=o_(),s=hm(),l=s?r:r&&r.parent,c=e.data[t]=zte(e,l,n,t,i,a);return Lte(e,c,r,s),c}function Lte(e,t,n,i){e.firstChild===null&&(e.firstChild=t),n!==null&&(i?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function zte(e,t,n,i,a,r){let s=t?t.injectorIndex:-1,l=0;return r_()&&(l|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:a,attrs:r,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var jte=()=>null;function yo(e,t){return jte()}var Bte=class{},Ix=class{},Hte=class{resolveComponentFactory(e){throw Error(`No component factory found for ${oa(e)}.`)}},wh,il=(wh=class{},o(wh,"NULL",new Hte),wh),da=class{},ji=(()=>{class e{constructor(){o(this,"destroyNode",null)}}return o(e,"__NG_ELEMENT_ID__",()=>$te()),e})();function $te(){let e=Se(),t=Si(),n=Ga(t.index,e);return(zn(n)?n:e)[Tt]}var qte=(()=>{const t=class t{};o(t,"ɵprov",U({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),Cu={},Gte=class{constructor(e,t){o(this,"injector");o(this,"parentInjector");this.injector=e,this.parentInjector=t}get(e,t,n){n=xd(n);let i=this.injector.get(e,Cu,n);return i!==Cu||t===Cu?i:this.parentInjector.get(e,t,n)}};function Kh(e,t,n){let i=n?e.styles:null,a=n?e.classes:null,r=0;if(t!==null)for(let s=0;s<t.length;s++){let l=t[s];if(typeof l=="number")r=l;else if(r==1)a=Ah(a,l);else if(r==2){let c=l,d=t[++s];i=Ah(i,c+": "+d+";")}}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=a:e.classesWithoutHost=a}function it(e,t=We.Default){let n=Se();if(n===null)return ge(e,t);let i=Si();return S_(i,n,ui(e),t)}function Ute(){let e="invalid";throw new Error(e)}function $m(e,t,n,i,a){let r=i===null?null:{"":-1},s=a(e,n);if(s!==null){let l,c=null,d=null,u=Wte(s);u===null?l=s:[l,c,d]=u,Xte(e,t,n,l,r,c,d)}r!==null&&i!==null&&Yte(n,i,r)}function Yte(e,t,n){let i=e.localNames=[];for(let a=0;a<t.length;a+=2){let r=n[t[a+1]];if(r==null)throw new X(-301,!1);i.push(t[a],r)}}function Wte(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let l=e[s];if(s===0&&$a(l)&&(t=l),l.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let i=null,a=null,r=null;for(let s of e)s.findHostDirectiveDefs!==null&&(i??(i=[]),a??(a=new Map),r??(r=new Map),Zte(s,i,r,a)),s===t&&(i??(i=[]),i.push(s));return i!==null?(i.push(...t===null?e:e.slice(1)),[i,a,r]):null}function Zte(e,t,n,i){let a=t.length;e.findHostDirectiveDefs(e,t,i),n.set(e,[a,t.length-1])}function Kte(e,t,n){t.componentOffset=n,(e.components??(e.components=[])).push(t.index)}function Xte(e,t,n,i,a,r,s){let l=i.length,c=!1;for(let v=0;v<l;v++){let g=i[v];!c&&$a(g)&&(c=!0,Kte(e,n,v)),jh(Pc(n,t),e,g.type)}aie(n,e.data.length,l);for(let v=0;v<l;v++){let g=i[v];g.providersResolver&&g.providersResolver(g)}let d=!1,u=!1,m=lx(e,t,l,null);l>0&&(n.directiveToIndex=new Map);for(let v=0;v<l;v++){let g=i[v];if(n.mergedAttrs=vo(n.mergedAttrs,g.hostAttrs),Jte(e,n,t,m,g),iie(m,g,a),s!==null&&s.has(g)){let[S,E]=s.get(g);n.directiveToIndex.set(g.type,[m,S+n.directiveStart,E+n.directiveStart])}else(r===null||!r.has(g))&&n.directiveToIndex.set(g.type,m);g.contentQueries!==null&&(n.flags|=4),(g.hostBindings!==null||g.hostAttrs!==null||g.hostVars!==0)&&(n.flags|=64);let x=g.type.prototype;!d&&(x.ngOnChanges||x.ngOnInit||x.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(n.index),d=!0),!u&&(x.ngOnChanges||x.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(n.index),u=!0),m++}Qte(e,n,r)}function Qte(e,t,n){for(let i=t.directiveStart;i<t.directiveEnd;i++){let a=e.data[i];if(n===null||!n.has(a))Kg(0,t,a,i),Kg(1,t,a,i),Qg(t,i,!1);else{let r=n.get(a);Xg(0,t,r,i),Xg(1,t,r,i),Qg(t,i,!0)}}}function Kg(e,t,n,i){let a=e===0?n.inputs:n.outputs;for(let r in a)if(a.hasOwnProperty(r)){let s;e===0?s=t.inputs??(t.inputs={}):s=t.outputs??(t.outputs={}),s[r]??(s[r]=[]),s[r].push(i),Ax(t,r)}}function Xg(e,t,n,i){let a=e===0?n.inputs:n.outputs;for(let r in a)if(a.hasOwnProperty(r)){let s=a[r],l;e===0?l=t.hostDirectiveInputs??(t.hostDirectiveInputs={}):l=t.hostDirectiveOutputs??(t.hostDirectiveOutputs={}),l[s]??(l[s]=[]),l[s].push(i,r),Ax(t,s)}}function Ax(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Qg(e,t,n){let{attrs:i,inputs:a,hostDirectiveInputs:r}=e;if(i===null||!n&&a===null||n&&r===null||Om(e)){e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(null);return}let s=null,l=0;for(;l<i.length;){let c=i[l];if(c===0){l+=4;continue}else if(c===5){l+=2;continue}else if(typeof c=="number")break;if(!n&&a.hasOwnProperty(c)){let d=a[c];for(let u of d)if(u===t){s??(s=[]),s.push(c,i[l+1]);break}}else if(n&&r.hasOwnProperty(c)){let d=r[c];for(let u=0;u<d.length;u+=2)if(d[u]===t){s??(s=[]),s.push(d[u+1],i[l+1]);break}}l+=2}e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(s)}function Jte(e,t,n,i,a){e.data[i]=a;let r=a.factory||(a.factory=xr(a.type)),s=new Ks(r,$a(a),it);e.blueprint[i]=s,n[i]=s,eie(e,t,i,lx(e,n,a.hostVars,zi),a)}function eie(e,t,n,i,a){let r=a.hostBindings;if(r){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let l=~t.index;tie(s)!=l&&s.push(l),s.push(n,i,r)}}function tie(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function iie(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;$a(t)&&(n[""]=e)}}function aie(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ox(e,t,n,i,a,r,s,l){let c=t.consts,d=Er(c,s),u=Mo(t,e,2,i,d);return $m(t,n,u,Er(c,l),a),u.mergedAttrs=vo(u.mergedAttrs,u.attrs),u.attrs!==null&&Kh(u,u.attrs,!1),u.mergedAttrs!==null&&Kh(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function Tx(e,t){bm(e,t),rm(t)&&e.queries.elementEnd(t)}var nie=class extends il{constructor(t){super();o(this,"ngModule");this.ngModule=t}resolveComponentFactory(t){let n=ho(t);return new qm(n,this.ngModule)}};function rie(e){return Object.keys(e).map(t=>{let[n,i,a]=e[t],r={propName:n,templateName:t,isSignal:(i&Pd.SignalBased)!==0};return a&&(r.transform=a),r})}function oie(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function sie(e,t,n){let i=t instanceof Ha?t:t==null?void 0:t.injector;return i&&e.getStandaloneInjector!==null&&(i=e.getStandaloneInjector(i)||i),i?new Gte(n,i):n}function lie(e){let t=e.get(da,null);if(t===null)throw new X(407,!1);let n=e.get(qte,null),i=e.get(Ao,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:i}}function cie(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return tx(t,n,n==="svg"?t_:n==="math"?OQ:null)}var qm=class extends Ix{constructor(t,n){super();o(this,"componentDef");o(this,"ngModule");o(this,"selector");o(this,"componentType");o(this,"ngContentSelectors");o(this,"isBoundToModule");o(this,"cachedInputs",null);o(this,"cachedOutputs",null);this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Hee(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}get inputs(){return this.cachedInputs??(this.cachedInputs=rie(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=oie(this.componentDef.outputs)),this.cachedOutputs}create(t,n,i,a){let r=Ue(null);try{let s=this.componentDef,l=i?["ng-version","19.2.18"]:$ee(this.componentDef.selectors[0]),c=Tm(0,null,null,1,0,null,null,null,null,[l],null),d=sie(s,a||this.ngModule,t),u=lie(d),m=u.rendererFactory.createRenderer(null,s),v=i?Yee(m,i,s.encapsulation,d):cie(s,m),g=Mm(null,c,null,512|sx(s),null,null,u,m,d,null,Y_(v,d,!0));g[Yt]=v,gm(g);let x=null;try{let S=Ox(Yt,c,g,"#host",()=>[this.componentDef],!0,0);v&&(ax(m,v,S),To(v,g)),Rd(c,g,S),Im(c,S,g),Tx(c,S),n!==void 0&&uie(S,this.ngContentSelectors,n),x=Ga(S.index,g),g[ri]=x[ri],Vm(c,g,null)}catch(S){throw x!==null&&qh(x),qh(g),S}finally{kr(23),vm()}return new die(this.componentType,g)}finally{Ue(r)}}},die=class extends Bte{constructor(t,n){super();o(this,"_rootLView");o(this,"instance");o(this,"hostView");o(this,"changeDetectorRef");o(this,"componentType");o(this,"location");o(this,"previousInputValues",null);o(this,"_tNode");this._rootLView=n,this._tNode=om(n[Re],Yt),this.location=Oo(this._tNode,n),this.instance=Ga(this._tNode.index,n)[ri],this.hostView=this.changeDetectorRef=new ks(n,void 0,!1),this.componentType=t}setInput(t,n){let i=this._tNode;if(this.previousInputValues??(this.previousInputValues=new Map),this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let a=this._rootLView;Fm(i,a[Re],a,t,n),this.previousInputValues.set(t,n);let r=Ga(i.index,a);Hm(r,1)}get injector(){return new cs(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function uie(e,t,n){let i=e.projection=[];for(let a=0;a<t.length;a++){let r=n[a];i.push(r!=null&&r.length?Array.from(r):null)}}var Ka=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",hie),e})();function hie(){let e=Si();return Nx(e,Se())}var pie=Ka,Mx=class extends pie{constructor(t,n,i){super();o(this,"_lContainer");o(this,"_hostTNode");o(this,"_hostLView");this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return Oo(this._hostTNode,this._hostLView)}get injector(){return new cs(this._hostTNode,this._hostLView)}get parentInjector(){let t=ym(this._hostTNode,this._hostLView);if(v_(t)){let n=Mc(t,this._hostLView),i=Tc(t),a=n[Re].data[i+8];return new cs(a,n)}else return new cs(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Jg(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-yi}createEmbeddedView(t,n,i){let a,r;typeof i=="number"?a=i:i!=null&&(a=i.index,r=i.injector);let s=yo(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(n||{},r,s);return this.insertImpl(l,a,bo(this._hostTNode,s)),l}createComponent(t,n,i,a,r){let s=t&&!EQ(t),l;if(s)l=n;else{let x=n||{};l=x.index,i=x.injector,a=x.projectableNodes,r=x.environmentInjector||x.ngModuleRef}let c=s?t:new qm(ho(t)),d=i||this.parentInjector;if(!r&&c.ngModule==null){let x=(s?d:this.parentInjector).get(Ha,null);x&&(r=x)}let u=ho(c.componentType??{}),m=yo(this._lContainer,(u==null?void 0:u.id)??null),v=null,g=c.create(d,a,v,r);return this.insertImpl(g.hostView,l,bo(this._hostTNode,m)),g}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,i){let a=t._lView;if(MQ(a)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let c=a[xi],d=new Mx(c,c[Li],c[xi]);d.detach(d.indexOf(t))}}let r=this._adjustIndex(n),s=this._lContainer;return tl(s,a,r,i),t.attachToViewContainerRef(),z0(Du(s),r,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Jg(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),i=Ss(this._lContainer,n);i&&(Ec(Du(this._lContainer),n),Vd(i[Re],i))}detach(t){let n=this._adjustIndex(t,-1),i=Ss(this._lContainer,n);return i&&Ec(Du(this._lContainer),n)!=null?new ks(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function Jg(e){return e[Dc]}function Du(e){return e[Dc]||(e[Dc]=[])}function Nx(e,t){let n,i=t[e.index];return wn(i)?n=i:(n=kx(i,t,null,e),t[e.index]=n,Nm(t,n)),fie(n,t,e,i),new Mx(n,e,t)}function mie(e,t){let n=e[Tt],i=n.createComment(""),a=Wa(t,e),r=n.parentNode(a);return Vc(n,r,i,n.nextSibling(a),!1),i}var fie=gie;function gie(e,t,n,i){if(e[Sr])return;let a;n.type&8?a=qa(i):a=mie(t,n),e[Sr]=a}var vie=class Px{constructor(t){o(this,"queryList");o(this,"matches",null);this.queryList=t}clone(){return new Px(this.queryList)}setDirty(){this.queryList.setDirty()}},bie=class Rx{constructor(t=[]){o(this,"queries");this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let i=t.contentQueries!==null?t.contentQueries[0]:n.length,a=[];for(let r=0;r<i;r++){let s=n.getByIndex(r),l=this.queries[s.indexInDeclarationView];a.push(l.clone())}return new Rx(a)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Um(t,n).matches!==null&&this.queries[n].setDirty()}},Fx=class{constructor(e,t,n=null){o(this,"flags");o(this,"read");o(this,"predicate");this.flags=t,this.read=n,typeof e=="string"?this.predicate=Eie(e):this.predicate=e}},yie=class Vx{constructor(t=[]){o(this,"queries");this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let i=0;i<this.length;i++){let a=n!==null?n.length:0,r=this.getByIndex(i).embeddedTView(t,a);r&&(r.indexInDeclarationView=i,n!==null?n.push(r):n=[r])}return n!==null?new Vx(n):null}template(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},_ie=class Lx{constructor(t,n=-1){o(this,"metadata");o(this,"matches",null);o(this,"indexInDeclarationView",-1);o(this,"crossesNgTemplate",!1);o(this,"_declarationNodeIndex");o(this,"_appliesToNextNode",!0);this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new Lx(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,i=t.parent;for(;i!==null&&i.type&8&&i.index!==n;)i=i.parent;return n===(i!==null?i.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let i=this.metadata.predicate;if(Array.isArray(i))for(let a=0;a<i.length;a++){let r=i[a];this.matchTNodeWithReadOption(t,n,xie(n,r)),this.matchTNodeWithReadOption(t,n,dc(n,t,r,!1,!1))}else i===bn?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,dc(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(i!==null){let a=this.metadata.read;if(a!==null)if(a===Fe||a===Ka||a===bn&&n.type&4)this.addMatch(n.index,-2);else{let r=dc(n,t,a,!1,!1);r!==null&&this.addMatch(n.index,r)}else this.addMatch(n.index,i)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function xie(e,t){let n=e.localNames;if(n!==null){for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1]}return null}function wie(e,t){return e.type&11?Oo(e,t):e.type&4?jd(e,t):null}function Sie(e,t,n,i){return n===-1?wie(t,e):n===-2?kie(e,t,i):_s(e,e[Re],n,t)}function kie(e,t,n){if(n===Fe)return Oo(t,e);if(n===bn)return jd(t,e);if(n===Ka)return Nx(t,e)}function zx(e,t,n,i){let a=t[_a].queries[i];if(a.matches===null){let r=e.data,s=n.matches,l=[];for(let c=0;s!==null&&c<s.length;c+=2){let d=s[c];if(d<0)l.push(null);else{let u=r[d];l.push(Sie(t,u,s[c+1],n.metadata.read))}}a.matches=l}return a.matches}function Xh(e,t,n,i){let a=e.queries.getByIndex(n),r=a.matches;if(r!==null){let s=zx(e,t,a,n);for(let l=0;l<r.length;l+=2){let c=r[l];if(c>0)i.push(s[l/2]);else{let d=r[l+1],u=t[-c];for(let m=yi;m<u.length;m++){let v=u[m];v[wr]===v[xi]&&Xh(v[Re],v,d,i)}if(u[go]!==null){let m=u[go];for(let v=0;v<m.length;v++){let g=m[v];Xh(g[Re],g,d,i)}}}}}return i}function Gm(e,t){return e[_a].queries[t].queryList}function jx(e,t,n){let i=new Fc((n&4)===4);return RQ(e,t,i,i.destroy),(t[_a]??(t[_a]=new bie)).queries.push(new vie(i))-1}function Bx(e,t,n){let i=_t();return i.firstCreatePass&&($x(i,new Fx(e,t,n),-1),(t&2)===2&&(i.staticViewQueries=!0)),jx(i,Se(),t)}function Hx(e,t,n,i){let a=_t();if(a.firstCreatePass){let r=Si();$x(a,new Fx(t,n,i),r.index),Cie(a,e)}return jx(a,Se(),n)}function Eie(e){return e.split(",").map(t=>t.trim())}function $x(e,t,n){e.queries===null&&(e.queries=new yie),e.queries.track(new _ie(t,n))}function Cie(e,t){let n=e.contentQueries||(e.contentQueries=[]),i=n.length?n[n.length-1]:-1;t!==i&&n.push(e.queries.length-1,t)}function Um(e,t){return e.queries.getByIndex(t)}function qx(e,t){let n=e[Re],i=Um(n,t);return i.crossesNgTemplate?Xh(n,e,t,[]):zx(n,e,i,t)}function Gx(e,t,n){let i,a=Hy(()=>{i._dirtyCounter();let r=Die(i,e);if(t&&r===void 0)throw new X(-951,!1);return r});return i=a[bi],i._dirtyCounter=la(0),i._flatValue=void 0,a}function Ux(e){return Gx(!0,!1)}function Yx(e){return Gx(!0,!0)}function Wx(e,t){let n=e[bi];n._lView=Se(),n._queryIndex=t,n._queryList=Gm(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(i=>i+1))}function Die(e,t){let n=e._lView,i=e._queryIndex;if(n===void 0||i===void 0||n[Ce]&4)return t?void 0:Ai;let a=Gm(n,i),r=qx(n,i);return a.reset(r,P_),t?a.first:a._changesDetected||e._flatValue===void 0?e._flatValue=a.toArray():e._flatValue}function ev(e,t){return Ux()}function Iie(e,t){return Yx()}var Aie=(ev.required=Iie,ev);function tv(e,t){return Ux()}function Oie(e,t){return Yx()}var Tie=(tv.required=Oie,tv);function Zx(e,t){let n=Object.create(E0),i=new N_;n.value=e;function a(){return Bs(n),iv(n.value),n.value}return a[bi]=n,a.asReadonly=Sm.bind(a),a.set=r=>{n.equal(n.value,r)||($s(n,r),i.emit(r))},a.update=r=>{iv(n.value),a.set(r(n.value))},a.subscribe=i.subscribe.bind(i),a.destroyRef=i.destroyRef,a}function iv(e){if(e===_d)throw new X(952,!1)}function av(e,t){return Zx(e)}function Mie(e){return Zx(_d)}var Nie=(av.required=Mie,av),Es=class{},Kx=class extends Es{constructor(t){super();o(this,"injector");o(this,"componentFactoryResolver",new nie(this));o(this,"instance",null);let n=new nm([...t.providers,{provide:Es,useValue:this},{provide:il,useValue:this.componentFactoryResolver}],t.parent||Sd(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Pie(e,t,n=null){return new Kx({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Rie=(()=>{const t=class t{constructor(i){o(this,"_injector");o(this,"cachedInjectors",new Map);this._injector=i}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){let a=q0(!1,i.type),r=a.length>0?Pie([a],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i,r)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(let i of this.cachedInjectors.values())i!==null&&i.destroy()}finally{this.cachedInjectors.clear()}}};o(t,"ɵprov",U({token:t,providedIn:"environment",factory:()=>new t(ge(Ha))}));let e=t;return e})();function ve(e){return Gs(()=>{let t=Xx(e),n=tt(J({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===V_.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?a=>a.get(Rie).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||pn.Emulated,styles:e.styles||Ai,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Fr("NgStandalone"),Qx(n);let i=e.dependencies;return n.directiveDefs=nv(i,!1),n.pipeDefs=nv(i,!0),n.id=jie(n),n})}function Fie(e){return ho(e)||$0(e)}function Vie(e){return e!==null}function ft(e){return Gs(()=>({type:e.type,bootstrap:e.bootstrap||Ai,declarations:e.declarations||Ai,imports:e.imports||Ai,exports:e.exports||Ai,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Lie(e,t){if(e==null)return Ba;let n={};for(let i in e)if(e.hasOwnProperty(i)){let a=e[i],r,s,l,c;Array.isArray(a)?(l=a[0],r=a[1],s=a[2]??r,c=a[3]||null):(r=a,s=a,l=Pd.None,c=null),n[r]=[i,l,c],t[r]=s}return n}function zie(e){if(e==null)return Ba;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function we(e){return Gs(()=>{let t=Xx(e);return Qx(t),t})}function Lr(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 Xx(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||Ba,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Ai,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Lie(e.inputs,t),outputs:zie(e.outputs),debugInfo:null}}function Qx(e){var t;(t=e.features)==null||t.forEach(n=>n(e))}function nv(e,t){if(!e)return null;let n=t?mQ:Fie;return()=>(typeof e=="function"?e():e).map(i=>n(i)).filter(Vie)}function jie(e){let t=0,n=typeof e.consts=="function"?"":e.consts,i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let a of i.join("|"))t=Math.imul(31,t)+a.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function Bie(e){return Object.getPrototypeOf(e.prototype).constructor}function Mt(e){let t=Bie(e.type),n=!0,i=[e];for(;t;){let a;if($a(e))a=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new X(903,!1);a=t.ɵdir}if(a){if(n){i.push(a);let s=e;s.inputs=Iu(e.inputs),s.declaredInputs=Iu(e.declaredInputs),s.outputs=Iu(e.outputs);let l=a.hostBindings;l&&Uie(e,l);let c=a.viewQuery,d=a.contentQueries;if(c&&qie(e,c),d&&Gie(e,d),Hie(e,a),YX(e.outputs,a.outputs),$a(a)&&a.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(a.data.animation)}}let r=a.features;if(r)for(let s=0;s<r.length;s++){let l=r[s];l&&l.ngInherit&&l(e),l===Mt&&(n=!1)}}t=Object.getPrototypeOf(t)}$ie(i)}function Hie(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let i=t.inputs[n];i!==void 0&&(e.inputs[n]=i,e.declaredInputs[n]=t.declaredInputs[n])}}function $ie(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){let a=e[i];a.hostVars=t+=a.hostVars,a.hostAttrs=vo(a.hostAttrs,n=vo(n,a.hostAttrs))}}function Iu(e){return e===Ba?{}:e===Ai?[]:e}function qie(e,t){let n=e.viewQuery;n?e.viewQuery=(i,a)=>{t(i,a),n(i,a)}:e.viewQuery=t}function Gie(e,t){let n=e.contentQueries;n?e.contentQueries=(i,a,r)=>{t(i,a,r),n(i,a,r)}:e.contentQueries=t}function Uie(e,t){let n=e.hostBindings;n?e.hostBindings=(i,a)=>{t(i,a),n(i,a)}:e.hostBindings=t}function Yie(e){let t=n=>{let i=Array.isArray(e);n.hostDirectives===null?(n.findHostDirectiveDefs=Jx,n.hostDirectives=i?e.map(Qh):[e]):i?n.hostDirectives.unshift(...e.map(Qh)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Jx(e,t,n){if(e.hostDirectives!==null)for(let i of e.hostDirectives)if(typeof i=="function"){let a=i();for(let r of a)rv(Qh(r),t,n)}else rv(i,t,n)}function rv(e,t,n){let i=$0(e.directive);Wie(i.declaredInputs,e.inputs),Jx(i,t,n),n.set(i,e),t.push(i)}function Qh(e){return typeof e=="function"?{directive:ui(e),inputs:Ba,outputs:Ba}:{directive:ui(e.directive),inputs:ov(e.inputs),outputs:ov(e.outputs)}}function ov(e){if(e===void 0||e.length===0)return Ba;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function Wie(e,t){for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],a=e[n];e[i]=a}}function e1(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Bd(e,t,n){return e[t]=n}function t1(e,t){return e[t]}function Ki(e,t,n){let i=e[t];return Object.is(i,n)?!1:(e[t]=n,!0)}function zc(e,t,n,i){let a=Ki(e,t,n);return Ki(e,t+1,i)||a}function Zie(e,t,n,i,a,r){let s=zc(e,t,n,i);return zc(e,t+2,a,r)||s}function Kie(e,t,n,i,a,r,s,l,c){let d=t.consts,u=Mo(t,e,4,s||null,l||null);$m(t,n,u,Er(d,c),Rm),u.mergedAttrs=vo(u.mergedAttrs,u.attrs),bm(t,u);let m=u.tView=Tm(2,u,i,a,r,t.directiveRegistry,t.pipeRegistry,null,t.schemas,d,null);return t.queries!==null&&(t.queries.template(t,u),m.queries=t.queries.embeddedTView(u)),u}function i1(e,t,n,i,a,r,s,l,c,d){let u=n+Yt,m=t.firstCreatePass?Kie(u,t,e,i,a,r,s,l,c):t.data[u];Zn(m,!1);let v=Xie(t,e);Ad()&&Ld(t,e,v,m),To(v,e);let g=kx(v,e,v,m);return e[u]=g,Nm(e,g),Cd(m)&&Rd(t,e,m),c!=null&&Pm(e,m,d),m}function K(e,t,n,i,a,r,s,l){let c=Se(),d=_t(),u=Er(d.consts,r);return i1(c,d,e,t,n,i,a,u,s,l),K}var Xie=Qie;function Qie(e,t,n,i){return Od(!0),t[Tt].createComment("")}var Jie=new G(""),a1=(()=>{const t=class t{};o(t,"ɵprov",U({token:t,providedIn:"root",factory:()=>new eae}));let e=t;return e})(),eae=class{constructor(){o(this,"queuedEffectCount",0);o(this,"queues",new Map)}schedule(e){this.enqueue(e)}remove(e){let t=e.zone,n=this.queues.get(t);n.has(e)&&(n.delete(e),this.queuedEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let n=this.queues.get(t);n.has(e)||(this.queuedEffectCount++,n.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 Hd(e){return!!e&&typeof e.then=="function"}function n1(e){return!!e&&typeof e.subscribe=="function"}var tae=new G(""),r1=(()=>{const t=class t{constructor(){o(this,"resolve");o(this,"reject");o(this,"initialized",!1);o(this,"done",!1);o(this,"donePromise",new Promise((i,a)=>{this.resolve=i,this.reject=a}));o(this,"appInits",w(tae,{optional:!0})??[]);o(this,"injector",w(dt))}runInitializers(){if(this.initialized)return;let i=[];for(let r of this.appInits){let s=kd(this.injector,r);if(Hd(s))i.push(s);else if(n1(s)){let l=new Promise((c,d)=>{s.subscribe({complete:c,error:d})});i.push(l)}}let a=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{a()}).catch(r=>{this.reject(r)}),i.length===0&&a(),this.initialized=!0}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),iae=new G("");function aae(){VK(()=>{throw new X(600,!1)})}function nae(e){return e.isBoundToModule}var rae=10,$n=(()=>{const t=class t{constructor(){o(this,"_runningTick",!1);o(this,"_destroyed",!1);o(this,"_destroyListeners",[]);o(this,"_views",[]);o(this,"internalErrorHandler",w(CJ));o(this,"afterRenderManager",w(G_));o(this,"zonelessEnabled",w(I_));o(this,"rootEffectScheduler",w(a1));o(this,"dirtyFlags",0);o(this,"tracingSnapshot",null);o(this,"externalTestViews",new Set);o(this,"afterTick",new he);o(this,"componentTypes",[]);o(this,"components",[]);o(this,"isStable",w(Xs).hasPendingTasks.pipe(yt(i=>!i)));o(this,"_injector",w(Ha));o(this,"_rendererFactory",null);o(this,"tickImpl",()=>{var a;if(this._runningTick)throw new X(101,!1);let i=Ue(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,(a=this.tracingSnapshot)==null||a.dispose(),this.tracingSnapshot=null,Ue(i),this.afterTick.next()}});w(Qs,{optional:!0})}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let i;return new Promise(a=>{i=this.isStable.subscribe({next:r=>{r&&a()}})}).finally(()=>{i.unsubscribe()})}get injector(){return this._injector}bootstrap(i,a){return this.bootstrapImpl(i,a)}bootstrapImpl(i,a,r=dt.NULL){let s=i instanceof Ix;if(!this._injector.get(r1).done){let g="";throw new X(405,g)}let l;s?l=i:l=this._injector.get(il).resolveComponentFactory(i),this.componentTypes.push(l.componentType);let c=nae(l)?void 0:this._injector.get(Es),d=a||l.selector,u=l.create(r,[],d,c),m=u.location.nativeElement,v=u.injector.get(Jie,null);return v==null||v.registerApplication(m),u.onDestroy(()=>{this.detachView(u.hostView),uc(this.components,u),v==null||v.unregisterApplication(m)}),this._loadComponent(u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){this.tracingSnapshot!==null?this.tracingSnapshot.run(Em.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(da,null,{optional:!0}));let i=0;for(;this.dirtyFlags!==0&&i++<rae;)this.synchronizeOnce()}synchronizeOnce(){var i,a,r,s;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:c,notifyErrorHandler:d}of this.allViews)oae(c,d,l,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else(a=(i=this._rendererFactory)==null?void 0:i.begin)==null||a.call(i),(s=(r=this._rendererFactory)==null?void 0:r.end)==null||s.call(r);this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:i})=>Ws(i))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(i){let a=i;this._views.push(a),a.attachToAppRef(this)}detachView(i){let a=i;uc(this._views,a),a.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i),this._injector.get(iae,[]).forEach(a=>a(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>uc(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new X(406,!1);let i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function uc(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function oae(e,t,n,i){!n&&!Ws(e)||_x(e,t,n&&!i?0:1)}function ue(e,t,n,i){let a=Se(),r=Rr();if(Ki(a,r,t)){_t();let s=Zs();Jee(s,a,e,t,n,i)}return ue}function Ym(e,t,n,i){return Ki(e,Rr(),n)?t+_r(n)+i:zi}function sae(e,t,n,i,a,r){let s=$Q(),l=zc(e,s,n,a);return mm(2),l?t+_r(n)+i+_r(a)+r:zi}function Ml(e,t){return e<<17|t<<2}function Ar(e){return e>>17&32767}function lae(e){return(e&2)==2}function cae(e,t){return e&131071|t<<17}function Jh(e){return e|2}function _o(e){return(e&131068)>>2}function Au(e,t){return e&-131069|t<<2}function dae(e){return(e&1)===1}function ep(e){return e|1}function uae(e,t,n,i,a,r){let s=r?t.classBindings:t.styleBindings,l=Ar(s),c=_o(s);e[i]=n;let d=!1,u;if(Array.isArray(n)){let m=n;u=m[1],(u===null||Us(m,u)>0)&&(d=!0)}else u=n;if(a)if(c!==0){let m=Ar(e[l+1]);e[i+1]=Ml(m,l),m!==0&&(e[m+1]=Au(e[m+1],i)),e[l+1]=cae(e[l+1],i)}else e[i+1]=Ml(l,0),l!==0&&(e[l+1]=Au(e[l+1],i)),l=i;else e[i+1]=Ml(c,0),l===0?l=i:e[c+1]=Au(e[c+1],i),c=i;d&&(e[i+1]=Jh(e[i+1])),sv(e,u,i,!0),sv(e,u,i,!1),hae(t,u,e,i,r),s=Ml(l,c),r?t.classBindings=s:t.styleBindings=s}function hae(e,t,n,i,a){let r=a?e.residualClasses:e.residualStyles;r!=null&&typeof t=="string"&&Us(r,t)>=0&&(n[i+1]=ep(n[i+1]))}function sv(e,t,n,i){let a=e[n+1],r=t===null,s=i?Ar(a):_o(a),l=!1;for(;s!==0&&(l===!1||r);){let c=e[s],d=e[s+1];pae(c,t)&&(l=!0,e[s+1]=i?ep(d):Jh(d)),s=i?Ar(d):_o(d)}l&&(e[n+1]=i?Jh(a):ep(a))}function pae(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Us(e,t)>=0:!1}var ba={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function mae(e){return e.substring(ba.key,ba.keyEnd)}function fae(e){return gae(e),o1(e,s1(e,0,ba.textEnd))}function o1(e,t){let n=ba.textEnd;return n===t?-1:(t=ba.keyEnd=vae(e,ba.key=t,n),s1(e,t,n))}function gae(e){ba.key=0,ba.keyEnd=0,ba.value=0,ba.valueEnd=0,ba.textEnd=e.length}function s1(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function vae(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function $(e,t,n){let i=Se(),a=Rr();if(Ki(i,a,t)){let r=_t(),s=Zs();Fd(r,s,i,e,t,i[Tt],n,!1)}return $}function tp(e,t,n,i,a){Fm(t,e,n,a?"class":"style",i)}function Or(e,t,n){return c1(e,t,n,!1),Or}function Ae(e,t){return c1(e,t,null,!0),Ae}function yn(e){d1(Sae,l1,e,!0)}function l1(e,t){for(let n=fae(t);n>=0;n=o1(t,n))wd(e,mae(t),!0)}function c1(e,t,n,i){let a=Se(),r=_t(),s=mm(2);if(r.firstUpdatePass&&h1(r,e,s,i),t!==zi&&Ki(a,s,t)){let l=r.data[Za()];p1(r,l,a,a[Tt],e,a[s+1]=Eae(t,n),i,s)}}function d1(e,t,n,i){let a=_t(),r=mm(2);a.firstUpdatePass&&h1(a,null,r,i);let s=Se();if(n!==zi&&Ki(s,r,n)){let l=a.data[Za()];if(m1(l,i)&&!u1(a,r)){let c=l.classesWithoutHost;c!==null&&(n=Ah(c,n||"")),tp(a,l,s,n,i)}else kae(a,l,s,s[Tt],s[r+1],s[r+1]=wae(e,t,n),i,r)}}function u1(e,t){return t>=e.expandoStartIndex}function h1(e,t,n,i){let a=e.data;if(a[n+1]===null){let r=a[Za()],s=u1(e,n);m1(r,i)&&t===null&&!s&&(t=!1),t=bae(a,r,t,i),uae(a,r,t,n,s,i)}}function bae(e,t,n,i){let a=WQ(e),r=i?t.residualClasses:t.residualStyles;if(a===null)(i?t.classBindings:t.styleBindings)===0&&(n=Ou(null,e,t,n,i),n=Cs(n,t.attrs,i),r=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==a)if(n=Ou(a,e,t,n,i),r===null){let l=yae(e,t,i);l!==void 0&&Array.isArray(l)&&(l=Ou(null,e,t,l[1],i),l=Cs(l,t.attrs,i),_ae(e,t,i,l))}else r=xae(e,t,i)}return r!==void 0&&(i?t.residualClasses=r:t.residualStyles=r),n}function yae(e,t,n){let i=n?t.classBindings:t.styleBindings;if(_o(i)!==0)return e[Ar(i)]}function _ae(e,t,n,i){let a=n?t.classBindings:t.styleBindings;e[Ar(a)]=i}function xae(e,t,n){let i,a=t.directiveEnd;for(let r=1+t.directiveStylingLast;r<a;r++){let s=e[r].hostAttrs;i=Cs(i,s,n)}return Cs(i,t.attrs,n)}function Ou(e,t,n,i,a){let r=null,s=n.directiveEnd,l=n.directiveStylingLast;for(l===-1?l=n.directiveStart:l++;l<s&&(r=t[l],i=Cs(i,r.hostAttrs,a),r!==e);)l++;return e!==null&&(n.directiveStylingLast=l),i}function Cs(e,t,n){let i=n?1:2,a=-1;if(t!==null)for(let r=0;r<t.length;r++){let s=t[r];typeof s=="number"?a=s:a===i&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),wd(e,s,n?!0:t[++r]))}return e===void 0?null:e}function wae(e,t,n){if(n==null||n==="")return Ai;let i=[],a=un(n);if(Array.isArray(a))for(let r=0;r<a.length;r++)e(i,a[r],!0);else if(typeof a=="object")for(let r in a)a.hasOwnProperty(r)&&e(i,r,a[r]);else typeof a=="string"&&t(i,a);return i}function Sae(e,t,n){let i=String(t);i!==""&&!i.includes(" ")&&wd(e,i,n)}function kae(e,t,n,i,a,r,s,l){a===zi&&(a=Ai);let c=0,d=0,u=0<a.length?a[0]:null,m=0<r.length?r[0]:null;for(;u!==null||m!==null;){let v=c<a.length?a[c+1]:void 0,g=d<r.length?r[d+1]:void 0,x=null,S;u===m?(c+=2,d+=2,v!==g&&(x=m,S=g)):m===null||u!==null&&u<m?(c+=2,x=u):(d+=2,x=m,S=g),x!==null&&p1(e,t,n,i,x,S,s,l),u=c<a.length?a[c]:null,m=d<r.length?r[d]:null}}function p1(e,t,n,i,a,r,s,l){if(!(t.type&3))return;let c=e.data,d=c[l+1],u=dae(d)?lv(c,t,n,a,_o(d),s):void 0;if(!jc(u)){jc(r)||lae(d)&&(r=lv(c,null,n,a,l,s));let m=i_(Za(),n);vte(i,s,m,a,r)}}function lv(e,t,n,i,a,r){let s=t===null,l;for(;a>0;){let c=e[a],d=Array.isArray(c),u=d?c[1]:c,m=u===null,v=n[a+1];v===zi&&(v=m?Ai:void 0);let g=m?_u(v,i):u===i?v:void 0;if(d&&!jc(g)&&(g=_u(c,i)),jc(g)&&(l=g,s))return l;let x=e[a+1];a=s?Ar(x):_o(x)}if(t!==null){let c=r?t.residualClasses:t.residualStyles;c!=null&&(l=_u(c,i))}return l}function jc(e){return e!==void 0}function Eae(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=oa(un(e)))),e}function m1(e,t){return(e.flags&(t?8:16))!==0}function Cae(e,t,n){let i=Se(),a=Ym(i,e,t,n);d1(wd,l1,a,!0)}var Dae=class{destroy(e){}updateValue(e,t){}swap(e,t){let n=Math.min(e,t),i=Math.max(e,t),a=this.detach(i);if(i-n>1){let r=this.detach(n);this.attach(n,a),this.attach(i,r)}else this.attach(n,a)}move(e,t){this.attach(t,this.detach(e))}};function Tu(e,t,n,i,a){return e===n&&Object.is(t,i)?1:Object.is(a(e,t),a(n,i))?-1:0}function Iae(e,t,n){let i,a,r=0,s=e.length-1;if(Array.isArray(t)){let l=t.length-1;for(;r<=s&&r<=l;){let c=e.at(r),d=t[r],u=Tu(r,c,r,d,n);if(u!==0){u<0&&e.updateValue(r,d),r++;continue}let m=e.at(s),v=t[l],g=Tu(s,m,l,v,n);if(g!==0){g<0&&e.updateValue(s,v),s--,l--;continue}let x=n(r,c),S=n(s,m),E=n(r,d);if(Object.is(E,S)){let M=n(l,v);Object.is(M,x)?(e.swap(r,s),e.updateValue(s,v),l--,s--):e.move(s,r),e.updateValue(r,d),r++;continue}if(i??(i=new uv),a??(a=dv(e,r,s,n)),ip(e,i,r,E))e.updateValue(r,d),r++,s++;else if(a.has(E))i.set(x,e.detach(r)),s--;else{let M=e.create(r,t[r]);e.attach(r,M),r++,s++}}for(;r<=l;)cv(e,i,n,r,t[r]),r++}else if(t!=null){let l=t[Symbol.iterator](),c=l.next();for(;!c.done&&r<=s;){let d=e.at(r),u=c.value,m=Tu(r,d,r,u,n);if(m!==0)m<0&&e.updateValue(r,u),r++,c=l.next();else{i??(i=new uv),a??(a=dv(e,r,s,n));let v=n(r,u);if(ip(e,i,r,v))e.updateValue(r,u),r++,s++,c=l.next();else if(!a.has(v))e.attach(r,e.create(r,u)),r++,s++,c=l.next();else{let g=n(r,d);i.set(g,e.detach(r)),s--}}}for(;!c.done;)cv(e,i,n,e.length,c.value),c=l.next()}for(;r<=s;)e.destroy(e.detach(s--));i==null||i.forEach(l=>{e.destroy(l)})}function ip(e,t,n,i){return t!==void 0&&t.has(i)?(e.attach(n,t.get(i)),t.delete(i),!0):!1}function cv(e,t,n,i,a){if(ip(e,t,i,n(i,a)))e.updateValue(i,a);else{let r=e.create(i,a);e.attach(i,r)}}function dv(e,t,n,i){let a=new Set;for(let r=t;r<=n;r++)a.add(i(r,e.at(r)));return a}var uv=class{constructor(){o(this,"kvMap",new Map);o(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 n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let i=this._vMap;for(;i.has(n);)n=i.get(n);i.set(n,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,n]of this.kvMap)if(e(n,t),this._vMap!==void 0){let i=this._vMap;for(;i.has(n);)n=i.get(n),e(n,t)}}};function ae(e,t){Fr("NgControlFlow");let n=Se(),i=Rr(),a=n[i]!==zi?n[i]:-1,r=a!==-1?Bc(n,Yt+a):void 0,s=0;if(Ki(n,i,e)){let l=Ue(null);try{if(r!==void 0&&Cx(r,s),e!==-1){let c=Yt+e,d=Bc(n,c),u=ap(n[Re],c),m=yo(d,u.tView.ssrId),v=el(n,u,t,{dehydratedView:m});tl(d,v,s,bo(u,m))}}finally{Ue(l)}}else if(r!==void 0){let l=Ex(r,s);l!==void 0&&(l[ri]=t)}}var Aae=class{constructor(e,t,n){o(this,"lContainer");o(this,"$implicit");o(this,"$index");this.lContainer=e,this.$implicit=t,this.$index=n}get $count(){return this.lContainer.length-yi}};function Ea(e,t){return t}var Oae=class{constructor(e,t,n){o(this,"hasEmptyBlock");o(this,"trackByFn");o(this,"liveCollection");this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=n}};function Bi(e,t,n,i,a,r,s,l,c,d,u,m,v){Fr("NgControlFlow");let g=Se(),x=_t(),S=c!==void 0,E=Se(),M=l?s.bind(E[Wi][ri]):s,L=new Oae(S,M);E[Yt+e]=L,i1(g,x,e+1,t,n,i,a,Er(x.consts,r))}var Tae=class extends Dae{constructor(t,n,i){super();o(this,"lContainer");o(this,"hostLView");o(this,"templateTNode");o(this,"operationsCounter");o(this,"needsIndexUpdate",!1);this.lContainer=t,this.hostLView=n,this.templateTNode=i}get length(){return this.lContainer.length-yi}at(t){return this.getLView(t)[ri].$implicit}attach(t,n){let i=n[mo];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),tl(this.lContainer,n,t,bo(this.templateTNode,i))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),Mae(this.lContainer,t)}create(t,n){var r;let i=yo(this.lContainer,this.templateTNode.tView.ssrId),a=el(this.hostLView,this.templateTNode,new Aae(this.lContainer,n,t),{dehydratedView:i});return(r=this.operationsCounter)==null||r.recordCreate(),a}destroy(t){var n;Vd(t[Re],t),(n=this.operationsCounter)==null||n.recordDestroy()}updateValue(t,n){this.getLView(t)[ri].$implicit=n}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)[ri].$index=t}getLView(t){return Nae(this.lContainer,t)}};function Hi(e){let t=Ue(null),n=Za();try{let i=Se(),a=i[Re],r=i[n],s=n+1,l=Bc(i,s);if(r.liveCollection===void 0){let d=ap(a,s);r.liveCollection=new Tae(l,i,d)}else r.liveCollection.reset();let c=r.liveCollection;if(Iae(c,e,r.trackByFn),c.updateIndexes(),r.hasEmptyBlock){let d=Rr(),u=c.length===0;if(Ki(i,d,u)){let m=n+2,v=Bc(i,m);if(u){let g=ap(a,m),x=yo(v,g.tView.ssrId),S=el(i,g,void 0,{dehydratedView:x});tl(v,S,0,bo(g,x))}else Cx(v,0)}}}finally{Ue(t)}}function Bc(e,t){return e[t]}function Mae(e,t){return Ss(e,t)}function Nae(e,t){return Ex(e,t)}function ap(e,t){return om(e,t)}function I(e,t,n,i){let a=Se(),r=_t(),s=Yt+e,l=a[Tt],c=r.firstCreatePass?Ox(s,r,a,t,Rm,zQ(),n,i):r.data[s],d=Pae(r,a,c,l,t);a[s]=d;let u=Cd(c);return Zn(c,!0),ax(l,d,c),!zm(c)&&Ad()&&Ld(r,a,d,c),(FQ()===0||u)&&To(d,a),VQ(),u&&(Rd(r,a,c),Im(r,c,a)),i!==null&&Pm(a,c),I}function A(){let e=Si();hm()?pm():(e=e.parent,Zn(e,!1));let t=e;jQ(t)&&BQ(),LQ();let n=_t();return n.firstCreatePass&&Tx(n,t),t.classesWithoutHost!=null&&tJ(t)&&tp(n,t,Se(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&iJ(t)&&tp(n,t,Se(),t.stylesWithoutHost,!1),A}function se(e,t,n,i){return I(e,t,n,i),A(),se}var Pae=(e,t,n,i,a,r)=>(Od(!0),tx(i,a,QQ()));function Rae(e,t,n,i,a){let r=t.consts,s=Er(r,i),l=Mo(t,e,8,"ng-container",s);s!==null&&Kh(l,s,!0);let c=Er(r,a);return $m(t,n,l,c,Rm),l.mergedAttrs=vo(l.mergedAttrs,l.attrs),t.queries!==null&&t.queries.elementStart(t,l),l}function f1(e,t,n){let i=Se(),a=_t(),r=e+Yt,s=a.firstCreatePass?Rae(r,a,i,t,n):a.data[r];Zn(s,!0);let l=Fae(a,i);return i[r]=l,Ad()&&Ld(a,i,l,s),To(l,i),Cd(s)&&(Rd(a,i,s),Im(a,s,i)),n!=null&&Pm(i,s),f1}function g1(){let e=Si(),t=_t();return hm()?pm():(e=e.parent,Zn(e,!1)),t.firstCreatePass&&(bm(t,e),rm(e)&&t.queries.elementEnd(e)),g1}function jn(e,t,n){return f1(e,t,n),g1(),jn}var Fae=(e,t,n,i)=>(Od(!0),Cee(t[Tt],""));function je(){return Se()}function kn(e,t,n){let i=Se(),a=Rr();if(Ki(i,a,t)){let r=_t(),s=Zs();Fd(r,s,i,e,t,i[Tt],n,!0)}return kn}var tr=void 0;function Vae(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var Lae=["en",[["a","p"],["AM","PM"],tr],[["AM","PM"],tr,tr],[["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"]],tr,[["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"]],tr,[["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}",tr,"{1} 'at' {0}",tr],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",Vae],ds={};function zae(e,t,n){typeof t!="string"&&(n=t,t=e[Jt.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),ds[t]=e,n&&(ds[t][Jt.ExtraData]=n)}function Ca(e){let t=jae(e),n=hv(t);if(n)return n;let i=t.split("-")[0];if(n=hv(i),n)return n;if(i==="en")return Lae;throw new X(701,!1)}function hv(e){return e in ds||(ds[e]=Mn.ng&&Mn.ng.common&&Mn.ng.common.locales&&Mn.ng.common.locales[e]),ds[e]}var Jt=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}(Jt||{});function jae(e){return e.toLowerCase().replace(/_/g,"-")}var np="en-US";function Bae(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function pv(e,t,n){return function i(a){if(a===Function)return n;let r=Eo(e)?Ga(e.index,t):t;Hm(r,5);let s=t[ri],l=mv(t,s,n,a),c=i.__ngNextListenerFn__;for(;c;)l=mv(t,s,c,a)&&l,c=c.__ngNextListenerFn__;return l}}function mv(e,t,n,i){let a=Ue(null);try{return kr(6,t,n),n(i)!==!1}catch(r){return Hae(e,r),!1}finally{Ue(a)}}function Hae(e,t){let n=e[fo],i=n?n.get(ka,null):null;i&&i.handleError(t)}function fv(e,t,n,i,a,r){let s=t[n],l=t[Re],c=l.data[n].outputs[i],d=s[c],u=l.firstCreatePass?um(l):null,m=dm(t),v=d.subscribe(r),g=m.length;m.push(r,v),u&&u.push(a,e.index,g,-(g+1))}function ce(e,t,n,i){let a=Se(),r=_t(),s=Si();return v1(r,a,a[Tt],s,e,t,i),ce}function $ae(e,t,n,i){let a=e.cleanup;if(a!=null)for(let r=0;r<a.length-1;r+=2){let s=a[r];if(s===n&&a[r+1]===i){let l=t[no],c=a[r+2];return l.length>c?l[c]:null}typeof s=="string"&&(r+=2)}return null}function v1(e,t,n,i,a,r,s){var m,v;let l=Cd(i),c=e.firstCreatePass?um(e):null,d=dm(t),u=!0;if(i.type&3||s){let g=Wa(i,t),x=s?s(g):g,S=d.length,E=s?L=>s(qa(L[i.index])):i.index,M=null;if(!s&&l&&(M=$ae(e,t,a,i.index)),M!==null){let L=M.__ngLastListenerFn__||M;L.__ngNextListenerFn__=r,M.__ngLastListenerFn__=r,u=!1}else{r=pv(i,t,r);let L=n.listen(x,a,r);d.push(r,L),c&&c.push(a,E,S,S+1)}}else r=pv(i,t,r);if(u){let g=(m=i.outputs)==null?void 0:m[a],x=(v=i.hostDirectiveOutputs)==null?void 0:v[a];if(x&&x.length)for(let S=0;S<x.length;S+=2){let E=x[S],M=x[S+1];fv(i,t,E,M,a,r)}if(g&&g.length)for(let S of g)fv(i,t,S,a,a,r)}}function N(e=1){return KQ(e)}function qae(e,t){let n=null,i=Vee(e);for(let a=0;a<t.length;a++){let r=t[a];if(r==="*"){n=a;continue}if(i===null?ox(e,r,!0):jee(i,r))return a}return n}function ti(e){let t=Se()[Wi][Li];if(!t.projection){let n=e?e.length:1,i=t.projection=uQ(n,null),a=i.slice(),r=t.child;for(;r!==null;){if(r.type!==128){let s=e?qae(r,e):0;s!==null&&(a[s]?a[s].projectionNext=r:i[s]=r,a[s]=r)}r=r.next}}}function qe(e,t=0,n,i,a,r){let s=Se(),l=_t(),c=null,d=Mo(l,Yt+e,16,null,null);d.projection===null&&(d.projection=t),pm();let u=!s[mo]||r_();s[Wi][Li].projection[d.projection]===null&&c!==null?Gae(s,l,c):u&&!zm(d)&&fte(l,s,d)}function Gae(e,t,n){let i=Yt+n,a=t.data[i],r=e[i],s=yo(r,a.tView.ssrId),l=el(e,a,void 0,{dehydratedView:s});tl(r,l,0,bo(a,s))}function $d(e,t,n){return b1(e,"",t,"",n),$d}function b1(e,t,n,i,a){let r=Se(),s=Ym(r,t,n,i);if(s!==zi){let l=_t(),c=Zs();Fd(l,c,r,e,s,r[Tt],a,!1)}return b1}function gi(e,t,n,i){Hx(e,t,n,i)}function pt(e,t,n){Bx(e,t,n)}function Ne(e){let t=Se(),n=_t(),i=fm();Id(i+1);let a=Um(n,i);if(e.dirty&&TQ(t)===((a.metadata.flags&2)===2)){if(a.matches===null)e.reset([]);else{let r=qx(t,i);e.reset(r,P_),e.notifyOnChanges()}return!0}return!1}function Pe(){return Gm(Se(),fm())}function Uae(e,t,n,i,a){Wx(t,Hx(e,n,i,a))}function Yae(e,t,n,i){Wx(e,Bx(t,n,i))}function y1(e=1){Id(fm()+e)}function Ri(e){let t=s_();return Dd(t,Yt+e)}function B(e,t=""){let n=Se(),i=_t(),a=e+Yt,r=i.firstCreatePass?Mo(i,a,1,t,null):i.data[a],s=Wae(i,n,r,t);n[a]=s,Ad()&&Ld(i,n,s,r),Zn(r,!1)}var Wae=(e,t,n,i,a)=>(Od(!0),kee(t[Tt],i));function Ee(e){return xe("",e,""),Ee}function xe(e,t,n){let i=Se(),a=Ym(i,e,t,n);return a!==zi&&_1(i,Za(),a),xe}function Tr(e,t,n,i,a){let r=Se(),s=sae(r,e,t,n,i,a);return s!==zi&&_1(r,Za(),s),Tr}function _1(e,t,n){let i=i_(t,e);Eee(e[Tt],i,n)}function wa(e,t,n){R_(t)&&(t=t());let i=Se(),a=Rr();if(Ki(i,a,t)){let r=_t(),s=Zs();Fd(r,s,i,e,t,i[Tt],n,!1)}return wa}function Ua(e,t){let n=R_(e);return n&&e.set(t),n}function Sa(e,t){let n=Se(),i=_t(),a=Si();return v1(i,n,n[Tt],a,e,t),Sa}var x1={};function Wm(e){let t=_t(),n=Se(),i=e+Yt,a=Mo(t,i,128,null,null);return Zn(a,!1),sm(t,n,i,x1),Wm}function gv(e){Fr("NgLet");let t=_t(),n=Se(),i=Za();return sm(t,n,i,e),e}function vv(e){let t=s_(),n=Dd(t,Yt+e);if(n===x1)throw new X(314,!1);return n}function Zae(e,t,n){let i=_t();if(i.firstCreatePass){let a=$a(e);rp(n,i.data,i.blueprint,a,!0),rp(t,i.data,i.blueprint,a,!1)}}function rp(e,t,n,i,a){if(e=ui(e),Array.isArray(e))for(let r=0;r<e.length;r++)rp(e[r],t,n,i,a);else{let r=_t(),s=Se(),l=Si(),c=po(e)?e:ui(e.provide),d=Y0(e),u=l.providerIndexes&1048575,m=l.directiveStart,v=l.providerIndexes>>20;if(po(e)||!e.multi){let g=new Ks(d,a,it),x=Nu(c,t,a?u:u+v,m);x===-1?(jh(Pc(l,s),r,c),Mu(r,e,t.length),t.push(c),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),n.push(g),s.push(g)):(n[x]=g,s[x]=g)}else{let g=Nu(c,t,u+v,m),x=Nu(c,t,u,u+v),S=g>=0&&n[g],E=x>=0&&n[x];if(a&&!E||!a&&!S){jh(Pc(l,s),r,c);let M=Qae(a?Xae:Kae,n.length,a,i,d);!a&&E&&(n[x].providerFactory=M),Mu(r,e,t.length,0),t.push(c),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),n.push(M),s.push(M)}else{let M=w1(n[a?x:g],d,!a&&i);Mu(r,e,g>-1?g:x,M)}!a&&i&&E&&n[x].componentProviders++}}}function Mu(e,t,n,i){let a=po(t),r=yQ(t);if(a||r){let s=(r?ui(t.useClass):t).prototype.ngOnDestroy;if(s){let l=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){let c=l.indexOf(n);c===-1?l.push(n,[i,s]):l[c+1].push(i,s)}else l.push(n,s)}}}function w1(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Nu(e,t,n,i){for(let a=n;a<i;a++)if(t[a]===e)return a;return-1}function Kae(e,t,n,i,a){return op(this.multi,[])}function Xae(e,t,n,i,a){let r=this.multi,s;if(this.providerFactory){let l=this.providerFactory.componentProviders,c=_s(i,i[Re],this.providerFactory.index,a);s=c.slice(0,l),op(r,s);for(let d=l;d<c.length;d++)s.push(c[d])}else s=[],op(r,s);return s}function op(e,t){for(let n=0;n<e.length;n++){let i=e[n];t.push(i())}return t}function Qae(e,t,n,i,a){let r=new Ks(e,n,it);return r.multi=[],r.index=t,r.componentProviders=0,w1(r,a,i&&!n),r}function ki(e,t=[]){return n=>{n.providersResolver=(i,a)=>Zae(i,a?a(e):e,t)}}function S1(e,t,n){let i=Io()+e,a=Se();return a[i]===zi?Bd(a,i,t()):t1(a,i)}function Ya(e,t,n,i){return E1(Se(),Io(),e,t,n,i)}function Zm(e,t,n,i,a){return C1(Se(),Io(),e,t,n,i,a)}function Jae(e,t,n,i,a,r,s,l){let c=Io()+e,d=Se(),u=Zie(d,c,n,i,a,r);return Ki(d,c+4,s)||u?Bd(d,c+5,t(n,i,a,r,s)):t1(d,c+5)}function k1(e,t){let n=e[t];return n===zi?void 0:n}function E1(e,t,n,i,a,r){let s=t+n;return Ki(e,s,a)?Bd(e,s+1,r?i.call(r,a):i(a)):k1(e,s+1)}function C1(e,t,n,i,a,r,s){let l=t+n;return zc(e,l,a,r)?Bd(e,l+2,s?i.call(s,a,r):i(a,r)):k1(e,l+2)}function z(e,t){let n=_t(),i,a=e+Yt;n.firstCreatePass?(i=ene(t,n.pipeRegistry),n.data[a]=i,i.onDestroy&&(n.destroyHooks??(n.destroyHooks=[])).push(a,i.onDestroy)):i=n.data[a];let r=i.factory||(i.factory=xr(i.type)),s=Ni(it);try{let l=Nc(!1),c=r();return Nc(l),sm(n,Se(),a,c),c}finally{Ni(s)}}function ene(e,t){if(t)for(let n=t.length-1;n>=0;n--){let i=t[n];if(e===i.name)return i}}function q(e,t,n){let i=e+Yt,a=Se(),r=Dd(a,i);return D1(a,i)?E1(a,Io(),t,r.transform,n,r):r.transform(n)}function _i(e,t,n,i){let a=e+Yt,r=Se(),s=Dd(r,a);return D1(r,a)?C1(r,Io(),t,s.transform,n,i,s):s.transform(n,i)}function D1(e,t){return e[Re].data[t].pure}function Hc(e,t){return jd(e,t)}var tne=class{constructor(e){o(this,"full");o(this,"major");o(this,"minor");o(this,"patch");this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}},bv=new tne("19.2.18"),ine=(()=>{const t=class t{constructor(){o(this,"zone",w(Oe));o(this,"changeDetectionScheduler",w(Ao));o(this,"applicationRef",w($n));o(this,"_onMicrotaskEmptySubscription")}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var i;(i=this._onMicrotaskEmptySubscription)==null||i.unsubscribe()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function ane({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??(e=()=>new Oe(tt(J({},nne()),{scheduleInRootZone:n}))),[{provide:Oe,useFactory:e},{provide:Cc,multi:!0,useFactory:()=>{let i=w(ine,{optional:!0});return()=>i.initialize()}},{provide:Cc,multi:!0,useFactory:()=>{let i=w(rne);return()=>{i.initialize()}}},t===!0?{provide:A_,useValue:!0}:[],{provide:O_,useValue:n??C_}]}function nne(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var rne=(()=>{const t=class t{constructor(){o(this,"subscription",new ut);o(this,"initialized",!1);o(this,"zone",w(Oe));o(this,"pendingTasks",w(Xs))}initialize(){if(this.initialized)return;this.initialized=!0;let i=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(i=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Oe.assertNotInAngularZone(),queueMicrotask(()=>{i!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(i),i=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Oe.assertInAngularZone(),i??(i=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),one=(()=>{var t;const n=class n{constructor(){o(this,"appRef",w($n));o(this,"taskService",w(Xs));o(this,"ngZone",w(Oe));o(this,"zonelessEnabled",w(I_));o(this,"tracing",w(Qs,{optional:!0}));o(this,"disableScheduling",w(A_,{optional:!0})??!1);o(this,"zoneIsDefined",typeof Zone<"u"&&!!Zone.root.run);o(this,"schedulerTickApplyArgs",[{data:{__scheduler_tick__:!0}}]);o(this,"subscriptions",new ut);o(this,"angularZoneId",this.zoneIsDefined?(t=this.ngZone._inner)==null?void 0:t.get(Rc):null);o(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&(w(O_,{optional:!0})??!1));o(this,"cancelScheduledCallback",null);o(this,"useMicrotaskScheduler",!1);o(this,"runningTick",!1);o(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 SJ||!this.zoneIsDefined))}notify(a){var l;if(!this.zonelessEnabled&&a===5)return;let r=!1;switch(a){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=((l=this.tracing)==null?void 0:l.snapshot(this.appRef.tracingSnapshot))??null,!this.shouldScheduleTick(r))return;let s=this.useMicrotaskScheduler?Fg:T_;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>s(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>s(()=>this.tick()))}shouldScheduleTick(a){return!(this.disableScheduling&&!a||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Rc+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let a=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(a),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Fg(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(a)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var a;if(this.runningTick=!1,(a=this.cancelScheduledCallback)==null||a.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};o(n,"ɵfac",function(a){return new(a||n)}),o(n,"ɵprov",U({token:n,factory:n.ɵfac,providedIn:"root"}));let e=n;return e})();function sne(){return typeof $localize<"u"&&$localize.locale||np}var qd=new G("",{providedIn:"root",factory:()=>w(qd,We.Optional|We.SkipSelf)||sne()}),sp=new G(""),lne=new G("");function qo(e){return!e.moduleRef}function cne(e){let t=qo(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Oe);return n.run(()=>{qo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let i=t.get(ka,null),a;if(n.runOutsideAngular(()=>{a=n.onError.subscribe({next:r=>{i.handleError(r)}})}),qo(e)){let r=()=>t.destroy(),s=e.platformInjector.get(sp);s.add(r),t.onDestroy(()=>{a.unsubscribe(),s.delete(r)})}else{let r=()=>e.moduleRef.destroy(),s=e.platformInjector.get(sp);s.add(r),e.moduleRef.onDestroy(()=>{uc(e.allPlatformModules,e.moduleRef),a.unsubscribe(),s.delete(r)})}return une(i,n,()=>{let r=t.get(r1);return r.runInitializers(),r.donePromise.then(()=>{let s=t.get(qd,np);if(Bae(s||np),!t.get(lne,!0))return qo(e)?t.get($n):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(qo(e)){let l=t.get($n);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return dne(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function dne(e,t){let n=e.injector.get($n);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(i=>n.bootstrap(i));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new X(-403,!1);t.push(e)}function une(e,t,n){try{let i=n();return Hd(i)?i.catch(a=>{throw t.runOutsideAngular(()=>e.handleError(a)),a}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}var hc=null;function hne(e=[],t){return dt.create({name:t,providers:[{provide:am,useValue:"platform"},{provide:sp,useValue:new Set([()=>hc=null])},...e]})}function pne(e=[]){if(hc)return hc;let t=hne(e);return hc=t,aae(),mne(t),t}function mne(e){let t=e.get($_,null);kd(e,()=>{t==null||t.forEach(n=>n())})}function fne(){return!1}var Vt=(()=>{class e{}return o(e,"__NG_ELEMENT_ID__",gne),e})();function gne(e){return vne(Si(),Se(),(e&16)===16)}function vne(e,t,n){if(Eo(e)&&!n){let i=Ga(e.index,t);return new ks(i,i)}else if(e.type&175){let i=t[Wi];return new ks(i,t)}return null}var bne=class{constructor(){}supports(e){return e instanceof Map||e1(e)}create(){return new yne}},yne=class{constructor(){o(this,"_records",new Map);o(this,"_mapHead",null);o(this,"_appendAfter",null);o(this,"_previousMapHead",null);o(this,"_changesHead",null);o(this,"_changesTail",null);o(this,"_additionsHead",null);o(this,"_additionsTail",null);o(this,"_removalsHead",null);o(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||e1(e)))throw new X(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(n,i)=>{if(t&&t.key===i)this._maybeAddToChanges(t,n),this._appendAfter=t,t=t._next;else{let a=this._getOrCreateRecordForKey(i,n);t=this._insertBeforeOrAppend(t,a)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let n=t;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){let n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._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 i=this._records.get(e);this._maybeAddToChanges(i,t);let a=i._prev,r=i._next;return a&&(a._next=r),r&&(r._prev=a),i._next=null,i._prev=null,i}let n=new _ne(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_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(n=>t(e[n],n))}},_ne=class{constructor(e){o(this,"key");o(this,"previousValue",null);o(this,"currentValue",null);o(this,"_nextPrevious",null);o(this,"_next",null);o(this,"_prev",null);o(this,"_nextAdded",null);o(this,"_nextRemoved",null);o(this,"_nextChanged",null);this.key=e}};function yv(){return new I1([new bne])}var I1=(()=>{const t=class t{constructor(i){o(this,"factories");this.factories=i}static create(i,a){if(a){let r=a.factories.slice();i=i.concat(r)}return new t(i)}static extend(i){return{provide:t,useFactory:a=>t.create(i,a||yv()),deps:[[t,new L0,new V0]]}}find(i){let a=this.factories.find(r=>r.supports(i));if(a)return a;throw new X(901,!1)}};o(t,"ɵprov",U({token:t,providedIn:"root",factory:yv}));let e=t;return e})();function xne(e){let{rootComponent:t,appProviders:n,platformProviders:i,platformRef:a}=e;try{let r=(a==null?void 0:a.injector)??pne(i),s=[ane({}),{provide:Ao,useExisting:one},...n||[]],l=new Kx({providers:s,parent:r,debugName:"",runEnvironmentInitializers:!1});return cne({r3Injector:l.injector,platformInjector:r,rootComponent:t})}catch(r){return Promise.reject(r)}finally{}}function He(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Yi(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function va(e){return $K(e)}function Fi(e,t){return Hy(e,t==null?void 0:t.equal)}var Cy,wne=(Cy=bi,class{constructor(e){o(this,Cy);this[bi]=e}destroy(){this[bi].destroy()}});function Gd(e,t){!(t!=null&&t.injector)&&Ys();let n=(t==null?void 0:t.injector)??w(dt),i=(t==null?void 0:t.manualCleanup)!==!0?n.get(Zi):null,a,r=n.get(Cm,null,{optional:!0}),s=n.get(Ao);return r!==null&&!(t!=null&&t.forceRoot)?(a=Ene(r.view,s,e),i instanceof D_&&i._lView===r.view&&(i=null)):a=Cne(e,n.get(a1),s),a.injector=n,i!==null&&(a.onDestroyFn=i.onDestroy(()=>a.destroy())),new wne(a)}var A1=tt(J({},So),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:xs,run(){if(this.dirty=!1,this.hasRun&&!Bp(this))return;this.hasRun=!0;let e=i=>(this.cleanupFns??(this.cleanupFns=[])).push(i),t=hs(this),n=Ac(!1);try{this.maybeCleanup(),this.fn(e)}finally{Ac(n),md(this,t)}},maybeCleanup(){var e;if((e=this.cleanupFns)!=null&&e.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),Sne=tt(J({},A1),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){fd(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),kne=tt(J({},A1),{consumerMarkedDirty(){this.view[Ce]|=8192,Do(this.view),this.notifier.notify(13)},destroy(){var e;fd(this),this.onDestroyFn(),this.maybeCleanup(),(e=this.view[hn])==null||e.delete(this)}});function Ene(e,t,n){let i=Object.create(kne);return i.view=e,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=t,i.fn=n,e[hn]??(e[hn]=new Set),e[hn].add(i),i.consumerMarkedDirty(i),i}function Cne(e,t,n){let i=Object.create(Sne);return i.fn=e,i.scheduler=t,i.notifier=n,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.schedule(i),i.notifier.notify(12),i}var Dne=e=>e;function Ine(e,t){if(typeof e=="function"){let n=bg(e,Dne,t==null?void 0:t.equal);return _v(n)}else{let n=bg(e.source,e.computation,e.equal);return _v(n)}}function _v(e){let t=e[bi],n=e;return n.set=i=>jK(t,i),n.update=i=>BK(t,i),n.asReadonly=Sm.bind(e),n}function O1(e,t){let n=ho(e),i=t.elementInjector||Sd();return new qm(n).create(i,t.projectableNodes,t.hostElement,t.environmentInjector)}var Ane={schedule(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)}};function One(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function Tne(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var Pu;function Mne(e,t){if(!Pu){let n=Element.prototype;Pu=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?Pu.call(e,t):!1}function Nne(e){let t={};return e.forEach(({propName:n,templateName:i,transform:a})=>{t[One(i)]=[n,a]}),t}function Pne(e,t){return t.get(il).resolveComponentFactory(e).inputs}function Rne(e,t){let n=e.childNodes,i=t.map(()=>[]),a=-1;t.some((r,s)=>r==="*"?(a=s,!0):!1);for(let r=0,s=n.length;r<s;++r){let l=n[r],c=Fne(l,t,a);c!==-1&&i[c].push(l)}return i}function Fne(e,t,n){let i=n;return Tne(e)&&t.some((a,r)=>a!=="*"&&Mne(e,a)?(i=r,!0):!1),i}var Vne=10,Lne=class{constructor(e,t){o(this,"componentFactory");o(this,"inputMap",new Map);this.componentFactory=t.get(il).resolveComponentFactory(e);for(let n of this.componentFactory.inputs)this.inputMap.set(n.propName,n.templateName)}create(e){return new zne(this.componentFactory,e,this.inputMap)}},zne=class{constructor(e,t,n){o(this,"componentFactory");o(this,"injector");o(this,"inputMap");o(this,"eventEmitters",new Up(1));o(this,"events",this.eventEmitters.pipe(yr(e=>na(...e))));o(this,"componentRef",null);o(this,"scheduledDestroyFn",null);o(this,"initialInputValues",new Map);o(this,"ngZone");o(this,"elementZone");o(this,"appRef");o(this,"cdScheduler");this.componentFactory=e,this.injector=t,this.inputMap=n,this.ngZone=this.injector.get(Oe),this.appRef=this.injector.get($n),this.cdScheduler=t.get(Ao),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=Ane.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},Vne))})}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),Mte(this.componentRef.hostView)&&(Nte(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=dt.create({providers:[],parent:this.injector}),n=Rne(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,n,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:n,templateName:i})=>{let a=e.instance[n];return new Ot(r=>{let s=a.subscribe(l=>r.next({name:i,value:l}));return()=>s.unsubscribe()})});this.eventEmitters.next(t)}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},jne=class extends HTMLElement{constructor(){super(...arguments);o(this,"ngElementEventsSubscription",null)}};function Bne(e,t){let n=Pne(e,t.injector),i=t.strategyFactory||new Lne(e,t.injector),a=Nne(n);class r extends jne{constructor(c){super();o(this,"injector");o(this,"_ngElementStrategy");this.injector=c}get ngElementStrategy(){if(!this._ngElementStrategy){let c=this._ngElementStrategy=i.create(this.injector||t.injector);n.forEach(({propName:d,transform:u})=>{if(!this.hasOwnProperty(d))return;let m=this[d];delete this[d],c.setInputValue(d,m,u)})}return this._ngElementStrategy}attributeChangedCallback(c,d,u,m){let[v,g]=a[c];this.ngElementStrategy.setInputValue(v,u,g)}connectedCallback(){let c=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),c=!0),this.ngElementStrategy.connect(this),c||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(c=>{let d=new CustomEvent(c.name,{detail:c.value});this.dispatchEvent(d)})}}return o(r,"observedAttributes",Object.keys(a)),n.forEach(({propName:s,transform:l})=>{Object.defineProperty(r.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(c){this.ngElementStrategy.setInputValue(s,c,l)},configurable:!0,enumerable:!0})}),r}var Qe=new G(""),T1=null;function br(){return T1}function Hne(e){T1??(T1=e)}var $ne=class{},M1=(()=>{const t=class t{historyGo(i){throw new Error("")}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:()=>w(qne),providedIn:"platform"}));let e=t;return e})(),qne=(()=>{const t=class t extends M1{constructor(){super();o(this,"_location");o(this,"_history");o(this,"_doc",w(Qe));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return br().getBaseHref(this._doc)}onPopState(a){let r=br().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",a,!1),()=>r.removeEventListener("popstate",a)}onHashChange(a){let r=br().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",a,!1),()=>r.removeEventListener("hashchange",a)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(a){this._location.pathname=a}pushState(a,r,s){this._history.pushState(a,r,s)}replaceState(a,r,s){this._history.replaceState(a,r,s)}forward(){this._history.forward()}back(){this._history.back()}historyGo(a=0){this._history.go(a)}getState(){return this._history.state}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",U({token:t,factory:()=>new t,providedIn:"platform"}));let e=t;return e})();function N1(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function xv(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function mr(e){return e&&e[0]!=="?"?`?${e}`:e}var Km=(()=>{const t=class t{historyGo(i){throw new Error("")}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:()=>w(Une),providedIn:"root"}));let e=t;return e})(),Gne=new G(""),Une=(()=>{const t=class t extends Km{constructor(a,r){var s;super();o(this,"_platformLocation");o(this,"_baseHref");o(this,"_removeListenerFns",[]);this._platformLocation=a,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??((s=w(Qe).location)==null?void 0:s.origin)??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),this._platformLocation.onHashChange(a))}getBaseHref(){return this._baseHref}prepareExternalUrl(a){return N1(this._baseHref,a)}path(a=!1){let r=this._platformLocation.pathname+mr(this._platformLocation.search),s=this._platformLocation.hash;return s&&a?`${r}${s}`:r}pushState(a,r,s,l){let c=this.prepareExternalUrl(s+mr(l));this._platformLocation.pushState(a,r,c)}replaceState(a,r,s,l){let c=this.prepareExternalUrl(s+mr(l));this._platformLocation.replaceState(a,r,c)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(a=0){var r,s;(s=(r=this._platformLocation).historyGo)==null||s.call(r,a)}};o(t,"ɵfac",function(a){return new(a||t)(ge(M1),ge(Gne,8))}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),P1=(()=>{const t=class t{constructor(i){o(this,"_subject",new he);o(this,"_basePath");o(this,"_locationStrategy");o(this,"_urlChangeListeners",[]);o(this,"_urlChangeSubscription",null);this._locationStrategy=i;let a=this._locationStrategy.getBaseHref();this._basePath=Zne(xv(wv(a))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){var i;(i=this._urlChangeSubscription)==null||i.unsubscribe(),this._urlChangeListeners=[]}path(i=!1){return this.normalize(this._locationStrategy.path(i))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(i,a=""){return this.path()==this.normalize(i+mr(a))}normalize(i){return t.stripTrailingSlash(Wne(this._basePath,wv(i)))}prepareExternalUrl(i){return i&&i[0]!=="/"&&(i="/"+i),this._locationStrategy.prepareExternalUrl(i)}go(i,a="",r=null){this._locationStrategy.pushState(r,"",i,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(i+mr(a)),r)}replaceState(i,a="",r=null){this._locationStrategy.replaceState(r,"",i,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(i+mr(a)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(i=0){var a,r;(r=(a=this._locationStrategy).historyGo)==null||r.call(a,i)}onUrlChange(i){return this._urlChangeListeners.push(i),this._urlChangeSubscription??(this._urlChangeSubscription=this.subscribe(a=>{this._notifyUrlChangeListeners(a.url,a.state)})),()=>{var r;let a=this._urlChangeListeners.indexOf(i);this._urlChangeListeners.splice(a,1),this._urlChangeListeners.length===0&&((r=this._urlChangeSubscription)==null||r.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(i="",a){this._urlChangeListeners.forEach(r=>r(i,a))}subscribe(i,a,r){return this._subject.subscribe({next:i,error:a??void 0,complete:r??void 0})}};o(t,"normalizeQueryParams",mr),o(t,"joinWithSlash",N1),o(t,"stripTrailingSlash",xv),o(t,"ɵfac",function(i){return new(i||t)(ge(Km))}),o(t,"ɵprov",U({token:t,factory:()=>Yne(),providedIn:"root"}));let e=t;return e})();function Yne(){return new P1(ge(Km))}function Wne(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function wv(e){return e.replace(/\/index.html$/,"")}function Zne(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Di=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(Di||{}),ht=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(ht||{}),qi=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(qi||{}),Ud={MinusSign:5};function Kne(e){return Ca(e)[Jt.LocaleId]}function Xne(e,t,n){let i=Ca(e),a=[i[Jt.DayPeriodsFormat],i[Jt.DayPeriodsStandalone]],r=ca(a,t);return ca(r,n)}function Qne(e,t,n){let i=Ca(e),a=[i[Jt.DaysFormat],i[Jt.DaysStandalone]],r=ca(a,t);return ca(r,n)}function Jne(e,t,n){let i=Ca(e),a=[i[Jt.MonthsFormat],i[Jt.MonthsStandalone]],r=ca(a,t);return ca(r,n)}function ere(e,t){let n=Ca(e)[Jt.Eras];return ca(n,t)}function Nl(e,t){let n=Ca(e);return ca(n[Jt.DateFormat],t)}function Pl(e,t){let n=Ca(e);return ca(n[Jt.TimeFormat],t)}function Rl(e,t){let n=Ca(e)[Jt.DateTimeFormat];return ca(n,t)}function Yd(e,t){return Ca(e)[Jt.NumberSymbols][t]}function R1(e){if(!e[Jt.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Jt.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function tre(e){let t=Ca(e);return R1(t),(t[Jt.ExtraData][2]||[]).map(n=>typeof n=="string"?Ru(n):[Ru(n[0]),Ru(n[1])])}function ire(e,t,n){let i=Ca(e);R1(i);let a=[i[Jt.ExtraData][0],i[Jt.ExtraData][1]],r=ca(a,t)||[];return ca(r,n)||[]}function ca(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function Ru(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var are=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,qr={},nre=/((?:[^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 rre(e,t,n,i){let a=mre(e);t=cn(n,t)||t;let r=[],s;for(;t;)if(s=nre.exec(t),s){r=r.concat(s.slice(1));let d=r.pop();if(!d)break;t=d}else{r.push(t);break}let l=a.getTimezoneOffset();i&&(l=V1(i,l),a=pre(a,i));let c="";return r.forEach(d=>{let u=ure(d);c+=u?u(a,n,l):d==="''"?"'":d.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function $c(e,t,n){let i=new Date(0);return i.setFullYear(e,t,n),i.setHours(0,0,0),i}function cn(e,t){let n=Kne(e);if(qr[n]??(qr[n]={}),qr[n][t])return qr[n][t];let i="";switch(t){case"shortDate":i=Nl(e,qi.Short);break;case"mediumDate":i=Nl(e,qi.Medium);break;case"longDate":i=Nl(e,qi.Long);break;case"fullDate":i=Nl(e,qi.Full);break;case"shortTime":i=Pl(e,qi.Short);break;case"mediumTime":i=Pl(e,qi.Medium);break;case"longTime":i=Pl(e,qi.Long);break;case"fullTime":i=Pl(e,qi.Full);break;case"short":let a=cn(e,"shortTime"),r=cn(e,"shortDate");i=Fl(Rl(e,qi.Short),[a,r]);break;case"medium":let s=cn(e,"mediumTime"),l=cn(e,"mediumDate");i=Fl(Rl(e,qi.Medium),[s,l]);break;case"long":let c=cn(e,"longTime"),d=cn(e,"longDate");i=Fl(Rl(e,qi.Long),[c,d]);break;case"full":let u=cn(e,"fullTime"),m=cn(e,"fullDate");i=Fl(Rl(e,qi.Full),[u,m]);break}return i&&(qr[n][t]=i),i}function Fl(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,i){return t!=null&&i in t?t[i]:n})),e}function ga(e,t,n="-",i,a){let r="";(e<0||a&&e<=0)&&(a?e=-e+1:(e=-e,r=n));let s=String(e);for(;s.length<t;)s="0"+s;return i&&(s=s.slice(s.length-t)),r+s}function ore(e,t){return ga(e,3).substring(0,t)}function Xt(e,t,n=0,i=!1,a=!1){return function(r,s){let l=sre(e,r);if((n>0||l>-n)&&(l+=n),e===3)l===0&&n===-12&&(l=12);else if(e===6)return ore(l,t);let c=Yd(s,Ud.MinusSign);return ga(l,t,c,i,a)}}function sre(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 vt(e,t,n=Di.Format,i=!1){return function(a,r){return lre(a,r,e,t,n,i)}}function lre(e,t,n,i,a,r){switch(n){case 2:return Jne(t,a,i)[e.getMonth()];case 1:return Qne(t,a,i)[e.getDay()];case 0:let s=e.getHours(),l=e.getMinutes();if(r){let d=tre(t),u=ire(t,a,i),m=d.findIndex(v=>{if(Array.isArray(v)){let[g,x]=v,S=s>=g.hours&&l>=g.minutes,E=s<x.hours||s===x.hours&&l<x.minutes;if(g.hours<x.hours){if(S&&E)return!0}else if(S||E)return!0}else if(v.hours===s&&v.minutes===l)return!0;return!1});if(m!==-1)return u[m]}return Xne(t,a,i)[s<12?0:1];case 3:return ere(t,i)[e.getFullYear()<=0?0:1];default:let c=n;throw new Error(`unexpected translation type ${c}`)}}function Vl(e){return function(t,n,i){let a=-1*i,r=Yd(n,Ud.MinusSign),s=a>0?Math.floor(a/60):Math.ceil(a/60);switch(e){case 0:return(a>=0?"+":"")+ga(s,2,r)+ga(Math.abs(a%60),2,r);case 1:return"GMT"+(a>=0?"+":"")+ga(s,1,r);case 2:return"GMT"+(a>=0?"+":"")+ga(s,2,r)+":"+ga(Math.abs(a%60),2,r);case 3:return i===0?"Z":(a>=0?"+":"")+ga(s,2,r)+":"+ga(Math.abs(a%60),2,r);default:throw new Error(`Unknown zone width "${e}"`)}}}var cre=0,pc=4;function dre(e){let t=$c(e,cre,1).getDay();return $c(e,0,1+(t<=pc?pc:pc+7)-t)}function F1(e){let t=e.getDay(),n=t===0?-3:pc-t;return $c(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Fu(e,t=!1){return function(n,i){let a;if(t){let r=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();a=1+Math.floor((s+r)/7)}else{let r=F1(n),s=dre(r.getFullYear()),l=r.getTime()-s.getTime();a=1+Math.round(l/6048e5)}return ga(a,e,Yd(i,Ud.MinusSign))}}function Ll(e,t=!1){return function(n,i){let a=F1(n).getFullYear();return ga(a,e,Yd(i,Ud.MinusSign),t)}}var Vu={};function ure(e){if(Vu[e])return Vu[e];let t;switch(e){case"G":case"GG":case"GGG":t=vt(3,ht.Abbreviated);break;case"GGGG":t=vt(3,ht.Wide);break;case"GGGGG":t=vt(3,ht.Narrow);break;case"y":t=Xt(0,1,0,!1,!0);break;case"yy":t=Xt(0,2,0,!0,!0);break;case"yyy":t=Xt(0,3,0,!1,!0);break;case"yyyy":t=Xt(0,4,0,!1,!0);break;case"Y":t=Ll(1);break;case"YY":t=Ll(2,!0);break;case"YYY":t=Ll(3);break;case"YYYY":t=Ll(4);break;case"M":case"L":t=Xt(1,1,1);break;case"MM":case"LL":t=Xt(1,2,1);break;case"MMM":t=vt(2,ht.Abbreviated);break;case"MMMM":t=vt(2,ht.Wide);break;case"MMMMM":t=vt(2,ht.Narrow);break;case"LLL":t=vt(2,ht.Abbreviated,Di.Standalone);break;case"LLLL":t=vt(2,ht.Wide,Di.Standalone);break;case"LLLLL":t=vt(2,ht.Narrow,Di.Standalone);break;case"w":t=Fu(1);break;case"ww":t=Fu(2);break;case"W":t=Fu(1,!0);break;case"d":t=Xt(2,1);break;case"dd":t=Xt(2,2);break;case"c":case"cc":t=Xt(7,1);break;case"ccc":t=vt(1,ht.Abbreviated,Di.Standalone);break;case"cccc":t=vt(1,ht.Wide,Di.Standalone);break;case"ccccc":t=vt(1,ht.Narrow,Di.Standalone);break;case"cccccc":t=vt(1,ht.Short,Di.Standalone);break;case"E":case"EE":case"EEE":t=vt(1,ht.Abbreviated);break;case"EEEE":t=vt(1,ht.Wide);break;case"EEEEE":t=vt(1,ht.Narrow);break;case"EEEEEE":t=vt(1,ht.Short);break;case"a":case"aa":case"aaa":t=vt(0,ht.Abbreviated);break;case"aaaa":t=vt(0,ht.Wide);break;case"aaaaa":t=vt(0,ht.Narrow);break;case"b":case"bb":case"bbb":t=vt(0,ht.Abbreviated,Di.Standalone,!0);break;case"bbbb":t=vt(0,ht.Wide,Di.Standalone,!0);break;case"bbbbb":t=vt(0,ht.Narrow,Di.Standalone,!0);break;case"B":case"BB":case"BBB":t=vt(0,ht.Abbreviated,Di.Format,!0);break;case"BBBB":t=vt(0,ht.Wide,Di.Format,!0);break;case"BBBBB":t=vt(0,ht.Narrow,Di.Format,!0);break;case"h":t=Xt(3,1,-12);break;case"hh":t=Xt(3,2,-12);break;case"H":t=Xt(3,1);break;case"HH":t=Xt(3,2);break;case"m":t=Xt(4,1);break;case"mm":t=Xt(4,2);break;case"s":t=Xt(5,1);break;case"ss":t=Xt(5,2);break;case"S":t=Xt(6,1);break;case"SS":t=Xt(6,2);break;case"SSS":t=Xt(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Vl(0);break;case"ZZZZZ":t=Vl(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Vl(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Vl(2);break;default:return null}return Vu[e]=t,t}function V1(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function hre(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function pre(e,t,n){let i=e.getTimezoneOffset(),a=V1(t,i);return hre(e,-1*(a-i))}function mre(e){if(Sv(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[a,r=1,s=1]=e.split("-").map(l=>+l);return $c(a,r-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let i;if(i=e.match(are))return fre(i)}let t=new Date(e);if(!Sv(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function fre(e){let t=new Date(0),n=0,i=0,a=e[8]?t.setUTCFullYear:t.setFullYear,r=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),i=Number(e[9]+e[11])),a.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,l=Number(e[5]||0)-i,c=Number(e[6]||0),d=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return r.call(t,s,l,c,d),t}function Sv(e){return e instanceof Date&&!isNaN(e.valueOf())}var Lu=/\s+/,kv=[],al=(()=>{const t=class t{constructor(i,a){o(this,"_ngEl");o(this,"_renderer");o(this,"initialClasses",kv);o(this,"rawClass");o(this,"stateMap",new Map);this._ngEl=i,this._renderer=a}set klass(i){this.initialClasses=i!=null?i.trim().split(Lu):kv}set ngClass(i){this.rawClass=typeof i=="string"?i.trim().split(Lu):i}ngDoCheck(){for(let a of this.initialClasses)this._updateState(a,!0);let i=this.rawClass;if(Array.isArray(i)||i instanceof Set)for(let a of i)this._updateState(a,!0);else if(i!=null)for(let a of Object.keys(i))this._updateState(a,!!i[a]);this._applyStateDiff()}_updateState(i,a){let r=this.stateMap.get(i);r!==void 0?(r.enabled!==a&&(r.changed=!0,r.enabled=a),r.touched=!0):this.stateMap.set(i,{enabled:a,changed:!0,touched:!0})}_applyStateDiff(){for(let i of this.stateMap){let a=i[0],r=i[1];r.changed?(this._toggleClass(a,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(a,!1),this.stateMap.delete(a)),r.touched=!1}}_toggleClass(i,a){i=i.trim(),i.length>0&&i.split(Lu).forEach(r=>{a?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}};o(t,"ɵfac",function(i){return new(i||t)(it(Fe),it(ji))}),o(t,"ɵdir",we({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let e=t;return e})(),gre=(()=>{const t=class t{constructor(i,a,r){o(this,"_ngEl");o(this,"_differs");o(this,"_renderer");o(this,"_ngStyle",null);o(this,"_differ",null);this._ngEl=i,this._differs=a,this._renderer=r}set ngStyle(i){this._ngStyle=i,!this._differ&&i&&(this._differ=this._differs.find(i).create())}ngDoCheck(){if(this._differ){let i=this._differ.diff(this._ngStyle);i&&this._applyChanges(i)}}_setStyle(i,a){let[r,s]=i.split("."),l=r.indexOf("-")===-1?void 0:Nn.DashCase;a!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,s?`${a}${s}`:a,l):this._renderer.removeStyle(this._ngEl.nativeElement,r,l)}_applyChanges(i){i.forEachRemovedItem(a=>this._setStyle(a.key,null)),i.forEachAddedItem(a=>this._setStyle(a.key,a.currentValue)),i.forEachChangedItem(a=>this._setStyle(a.key,a.currentValue))}};o(t,"ɵfac",function(i){return new(i||t)(it(Fe),it(I1),it(ji))}),o(t,"ɵdir",we({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let e=t;return e})(),Xm=(()=>{const t=class t{constructor(i){o(this,"_viewContainerRef");o(this,"_viewRef",null);o(this,"ngTemplateOutletContext",null);o(this,"ngTemplateOutlet",null);o(this,"ngTemplateOutletInjector",null);this._viewContainerRef=i}ngOnChanges(i){if(this._shouldRecreateView(i)){let a=this._viewContainerRef;if(this._viewRef&&a.remove(a.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=a.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(i){return!!i.ngTemplateOutlet||!!i.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(i,a,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,a,r):!1,get:(i,a,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,a,r)}})}};o(t,"ɵfac",function(i){return new(i||t)(it(Ka))}),o(t,"ɵdir",we({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[wi]}));let e=t;return e})();function L1(e,t){return new X(2100,!1)}var vre=class{createSubscription(e,t){return va(()=>e.subscribe({next:t,error:n=>{throw n}}))}dispose(e){va(()=>e.unsubscribe())}},bre=class{createSubscription(e,t){return e.then(n=>t==null?void 0:t(n),n=>{throw n}),{unsubscribe:()=>{t=null}}}dispose(e){e.unsubscribe()}},yre=new bre,_re=new vre,z1=(()=>{const t=class t{constructor(i){o(this,"_ref");o(this,"_latestValue",null);o(this,"markForCheckOnValueUpdate",!0);o(this,"_subscription",null);o(this,"_obj",null);o(this,"_strategy",null);this._ref=i}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(i){if(!this._obj){if(i)try{this.markForCheckOnValueUpdate=!1,this._subscribe(i)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return i!==this._obj?(this._dispose(),this.transform(i)):this._latestValue}_subscribe(i){this._obj=i,this._strategy=this._selectStrategy(i),this._subscription=this._strategy.createSubscription(i,a=>this._updateLatestValue(i,a))}_selectStrategy(i){if(Hd(i))return yre;if(n1(i))return _re;throw L1()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(i,a){var r;i===this._obj&&(this._latestValue=a,this.markForCheckOnValueUpdate&&((r=this._ref)==null||r.markForCheck()))}};o(t,"ɵfac",function(i){return new(i||t)(it(Vt,16))}),o(t,"ɵpipe",Lr({name:"async",type:t,pure:!1}));let e=t;return e})(),xre="mediumDate",wre=new G(""),Sre=new G(""),j1=(()=>{const t=class t{constructor(i,a,r){o(this,"locale");o(this,"defaultTimezone");o(this,"defaultOptions");this.locale=i,this.defaultTimezone=a,this.defaultOptions=r}transform(i,a,r,s){var l,c;if(i==null||i===""||i!==i)return null;try{let d=a??((l=this.defaultOptions)==null?void 0:l.dateFormat)??xre,u=r??((c=this.defaultOptions)==null?void 0:c.timezone)??this.defaultTimezone??void 0;return rre(i,d,s||this.locale,u)}catch(d){throw L1(t,d.message)}}};o(t,"ɵfac",function(i){return new(i||t)(it(qd,16),it(wre,24),it(Sre,24))}),o(t,"ɵpipe",Lr({name:"date",type:t,pure:!0}));let e=t;return e})(),B1=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({}));let e=t;return e})();function H1(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let i=n.indexOf("="),[a,r]=i==-1?[n,""]:[n.slice(0,i),n.slice(i+1)];if(a.trim()===t)return decodeURIComponent(r)}return null}var $1="browser",kre="server";function Ere(e){return e===$1}function q1(e){return e===kre}var G1=class{};function Wd(e,t,n){return zae(e,t,n)}var lp=new G(""),U1=(()=>{const t=class t{constructor(i,a){o(this,"_zone");o(this,"_plugins");o(this,"_eventNameToPlugin",new Map);this._zone=a,i.forEach(r=>{r.manager=this}),this._plugins=i.slice().reverse()}addEventListener(i,a,r,s){return this._findPluginFor(a).addEventListener(i,a,r,s)}getZone(){return this._zone}_findPluginFor(i){let a=this._eventNameToPlugin.get(i);if(a)return a;if(a=this._plugins.find(r=>r.supports(i)),!a)throw new X(5101,!1);return this._eventNameToPlugin.set(i,a),a}};o(t,"ɵfac",function(i){return new(i||t)(ge(lp),ge(Oe))}),o(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})(),Y1=class{constructor(e){o(this,"_doc");o(this,"manager");this._doc=e}},mc="ng-app-id";function Ev(e){for(let t of e)t.remove()}function Cv(e,t){let n=t.createElement("style");return n.textContent=e,n}function Cre(e,t,n,i){var r;let a=(r=e.head)==null?void 0:r.querySelectorAll(`style[${mc}="${t}"],link[${mc}="${t}"]`);if(a)for(let s of a)s.removeAttribute(mc),s instanceof HTMLLinkElement?i.set(s.href.slice(s.href.lastIndexOf("/")+1),{usage:0,elements:[s]}):s.textContent&&n.set(s.textContent,{usage:0,elements:[s]})}function cp(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var W1=(()=>{const t=class t{constructor(i,a,r,s={}){o(this,"doc");o(this,"appId");o(this,"nonce");o(this,"inline",new Map);o(this,"external",new Map);o(this,"hosts",new Set);o(this,"isServer");this.doc=i,this.appId=a,this.nonce=r,this.isServer=q1(s),Cre(i,a,this.inline,this.external),this.hosts.add(i.head)}addStyles(i,a){for(let r of i)this.addUsage(r,this.inline,Cv);a==null||a.forEach(r=>this.addUsage(r,this.external,cp))}removeStyles(i,a){for(let r of i)this.removeUsage(r,this.inline);a==null||a.forEach(r=>this.removeUsage(r,this.external))}addUsage(i,a,r){let s=a.get(i);s?s.usage++:a.set(i,{usage:1,elements:[...this.hosts].map(l=>this.addElement(l,r(i,this.doc)))})}removeUsage(i,a){let r=a.get(i);r&&(r.usage--,r.usage<=0&&(Ev(r.elements),a.delete(i)))}ngOnDestroy(){for(let[,{elements:i}]of[...this.inline,...this.external])Ev(i);this.hosts.clear()}addHost(i){this.hosts.add(i);for(let[a,{elements:r}]of this.inline)r.push(this.addElement(i,Cv(a,this.doc)));for(let[a,{elements:r}]of this.external)r.push(this.addElement(i,cp(a,this.doc)))}removeHost(i){this.hosts.delete(i)}addElement(i,a){return this.nonce&&a.setAttribute("nonce",this.nonce),this.isServer&&a.setAttribute(mc,this.appId),i.appendChild(a)}};o(t,"ɵfac",function(i){return new(i||t)(ge(Qe),ge(Td),ge(km,8),ge(Md))}),o(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})(),zu={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"},Qm=/%COMP%/g,Z1="%COMP%",Dre=`_nghost-${Z1}`,Ire=`_ngcontent-${Z1}`,Are=!0,Ore=new G("",{providedIn:"root",factory:()=>Are});function Tre(e){return Ire.replace(Qm,e)}function Mre(e){return Dre.replace(Qm,e)}function K1(e,t){return t.map(n=>n.replace(Qm,e))}var dp=(()=>{const t=class t{constructor(i,a,r,s,l,c,d,u=null,m=null){o(this,"eventManager");o(this,"sharedStylesHost");o(this,"appId");o(this,"removeStylesOnCompDestroy");o(this,"doc");o(this,"platformId");o(this,"ngZone");o(this,"nonce");o(this,"tracingService");o(this,"rendererByCompId",new Map);o(this,"defaultRenderer");o(this,"platformIsServer");this.eventManager=i,this.sharedStylesHost=a,this.appId=r,this.removeStylesOnCompDestroy=s,this.doc=l,this.platformId=c,this.ngZone=d,this.nonce=u,this.tracingService=m,this.platformIsServer=q1(c),this.defaultRenderer=new Jm(i,l,d,this.platformIsServer,this.tracingService)}createRenderer(i,a){if(!i||!a)return this.defaultRenderer;this.platformIsServer&&a.encapsulation===pn.ShadowDom&&(a=tt(J({},a),{encapsulation:pn.Emulated}));let r=this.getOrCreateRenderer(i,a);return r instanceof Iv?r.applyToHost(i):r instanceof up&&r.applyStyles(),r}getOrCreateRenderer(i,a){let r=this.rendererByCompId,s=r.get(a.id);if(!s){let l=this.doc,c=this.ngZone,d=this.eventManager,u=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,v=this.platformIsServer,g=this.tracingService;switch(a.encapsulation){case pn.Emulated:s=new Iv(d,u,a,this.appId,m,l,c,v,g);break;case pn.ShadowDom:return new Nre(d,u,i,a,l,c,this.nonce,v,g);default:s=new up(d,u,a,m,l,c,v,g);break}r.set(a.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(i){this.rendererByCompId.delete(i)}};o(t,"ɵfac",function(i){return new(i||t)(ge(U1),ge(W1),ge(Td),ge(Ore),ge(Qe),ge(Md),ge(Oe),ge(km),ge(Qs,8))}),o(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})(),Jm=class{constructor(e,t,n,i,a){o(this,"eventManager");o(this,"doc");o(this,"ngZone");o(this,"platformIsServer");o(this,"tracingService");o(this,"data",Object.create(null));o(this,"throwOnSyntheticProps",!0);o(this,"destroyNode",null);this.eventManager=e,this.doc=t,this.ngZone=n,this.platformIsServer=i,this.tracingService=a}destroy(){}createElement(e,t){return t?this.doc.createElementNS(zu[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(Dv(e)?e.content:e).appendChild(t)}insertBefore(e,t,n){e&&(Dv(e)?e.content:e).insertBefore(t,n)}removeChild(e,t){t.remove()}selectRootElement(e,t){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new X(-5104,!1);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,i){if(i){t=i+":"+t;let a=zu[i];a?e.setAttributeNS(a,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){let i=zu[n];i?e.removeAttributeNS(i,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,i){i&(Nn.DashCase|Nn.Important)?e.style.setProperty(t,n,i&Nn.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&Nn.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e!=null&&(e[t]=n)}setValue(e,t){e.nodeValue=t}listen(e,t,n,i){var r;if(typeof e=="string"&&(e=br().getGlobalEventTarget(this.doc,e),!e))throw new X(5102,!1);let a=this.decoratePreventDefault(n);return(r=this.tracingService)!=null&&r.wrapEventListener&&(a=this.tracingService.wrapEventListener(e,t,a)),this.eventManager.addEventListener(e,t,a,i)}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(t)):e(t))===!1&&t.preventDefault()}}};function Dv(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Nre=class extends Jm{constructor(t,n,i,a,r,s,l,c,d){var v;super(t,r,s,c,d);o(this,"sharedStylesHost");o(this,"hostEl");o(this,"shadowRoot");this.sharedStylesHost=n,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=a.styles;u=K1(a.id,u);for(let g of u){let x=document.createElement("style");l&&x.setAttribute("nonce",l),x.textContent=g,this.shadowRoot.appendChild(x)}let m=(v=a.getExternalStyles)==null?void 0:v.call(a);if(m)for(let g of m){let x=cp(g,r);l&&x.setAttribute("nonce",l),this.shadowRoot.appendChild(x)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,i){return super.insertBefore(this.nodeOrShadowRoot(t),n,i)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},up=class extends Jm{constructor(t,n,i,a,r,s,l,c,d){var m;super(t,r,s,l,c);o(this,"sharedStylesHost");o(this,"removeStylesOnCompDestroy");o(this,"styles");o(this,"styleUrls");this.sharedStylesHost=n,this.removeStylesOnCompDestroy=a;let u=i.styles;this.styles=d?K1(d,u):u,this.styleUrls=(m=i.getExternalStyles)==null?void 0:m.call(i,d)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Iv=class extends up{constructor(t,n,i,a,r,s,l,c,d){let u=a+"-"+i.id;super(t,n,i,r,s,l,c,d,u);o(this,"contentAttr");o(this,"hostAttr");this.contentAttr=Tre(u),this.hostAttr=Mre(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let i=super.createElement(t,n);return super.setAttribute(i,this.contentAttr,""),i}},Pre=class X1 extends $ne{constructor(){super(...arguments);o(this,"supportsDOMEvents",!0)}static makeCurrent(){Hne(new X1)}onAndCancel(n,i,a,r){return n.addEventListener(i,a,r),()=>{n.removeEventListener(i,a,r)}}dispatchEvent(n,i){n.dispatchEvent(i)}remove(n){n.remove()}createElement(n,i){return i=i||this.getDefaultDocument(),i.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,i){return i==="window"?window:i==="document"?n:i==="body"?n.body:null}getBaseHref(n){let i=Rre();return i==null?null:Fre(i)}resetBaseElement(){as=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return H1(document.cookie,n)}},as=null;function Rre(){return as=as||document.head.querySelector("base"),as?as.getAttribute("href"):null}function Fre(e){return new URL(e,document.baseURI).pathname}var Vre=(()=>{const t=class t{build(){return new XMLHttpRequest}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})(),Lre=(()=>{const t=class t extends Y1{constructor(i){super(i)}supports(i){return!0}addEventListener(i,a,r,s){return i.addEventListener(a,r,s),()=>this.removeEventListener(i,a,r,s)}removeEventListener(i,a,r,s){return i.removeEventListener(a,r,s)}};o(t,"ɵfac",function(i){return new(i||t)(ge(Qe))}),o(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})(),Av=["alt","control","meta","shift"],zre={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},jre={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Bre=(()=>{const t=class t extends Y1{constructor(i){super(i)}supports(i){return t.parseEventName(i)!=null}addEventListener(i,a,r,s){let l=t.parseEventName(a),c=t.eventCallback(l.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>br().onAndCancel(i,l.domEventName,c,s))}static parseEventName(i){let a=i.toLowerCase().split("."),r=a.shift();if(a.length===0||!(r==="keydown"||r==="keyup"))return null;let s=t._normalizeKey(a.pop()),l="",c=a.indexOf("code");if(c>-1&&(a.splice(c,1),l="code."),Av.forEach(u=>{let m=a.indexOf(u);m>-1&&(a.splice(m,1),l+=u+".")}),l+=s,a.length!=0||s.length===0)return null;let d={};return d.domEventName=r,d.fullKey=l,d}static matchEventFullKeyCode(i,a){let r=zre[i.key]||i.key,s="";return a.indexOf("code.")>-1&&(r=i.code,s="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),Av.forEach(l=>{if(l!==r){let c=jre[l];c(i)&&(s+=l+".")}}),s+=r,s===a)}static eventCallback(i,a,r){return s=>{t.matchEventFullKeyCode(s,i)&&r.runGuarded(()=>a(s))}}static _normalizeKey(i){return i==="esc"?"escape":i}};o(t,"ɵfac",function(i){return new(i||t)(ge(Qe))}),o(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})();function Hre(e){return xne($re(e))}function $re(e){return{appProviders:[...Wre,...(e==null?void 0:e.providers)??[]],platformProviders:Yre}}function qre(){Pre.makeCurrent()}function Gre(){return new ka}function Ure(){return NJ(document),document}var Yre=[{provide:Md,useValue:$1},{provide:$_,useValue:qre,multi:!0},{provide:Qe,useFactory:Ure}],Wre=[{provide:am,useValue:"root"},{provide:ka,useFactory:Gre},{provide:lp,useClass:Lre,multi:!0,deps:[Qe]},{provide:lp,useClass:Bre,multi:!0,deps:[Qe]},dp,W1,U1,{provide:da,useExisting:dp},{provide:G1,useClass:Vre},[]],ef=class{},Q1=class{},qn=class fc{constructor(t){o(this,"headers");o(this,"normalizedNames",new Map);o(this,"lazyInit");o(this,"lazyUpdate",null);t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
19
- `).forEach(n=>{let i=n.indexOf(":");if(i>0){let a=n.slice(0,i),r=n.slice(i+1).trim();this.addHeaderEntry(a,r)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,i)=>{this.addHeaderEntry(i,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,i])=>{this.setHeaderEntries(n,i)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof fc?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(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new fc;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof fc?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(t.name,n);let a=(t.op==="a"?this.headers.get(n):void 0)||[];a.push(...i),this.headers.set(n,a);break;case"d":let r=t.value;if(!r)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(l=>r.indexOf(l)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let i=t.toLowerCase();this.maybeSetNormalizedName(t,i),this.headers.has(i)?this.headers.get(i).push(n):this.headers.set(i,[n])}setHeaderEntries(t,n){let i=(Array.isArray(n)?n:[n]).map(r=>r.toString()),a=t.toLowerCase();this.headers.set(a,i),this.maybeSetNormalizedName(t,a)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}},Zre=class{encodeKey(e){return Ov(e)}encodeValue(e){return Ov(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function Kre(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{let a=i.indexOf("="),[r,s]=a==-1?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,a)),t.decodeValue(i.slice(a+1))],l=n.get(r)||[];l.push(s),n.set(r,l)}),n}var Xre=/%(\d[a-f0-9])/gi,Qre={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ov(e){return encodeURIComponent(e).replace(Xre,(t,n)=>Qre[n]??t)}function zl(e){return`${e}`}var oo=class J1{constructor(t={}){o(this,"map");o(this,"encoder");o(this,"updates",null);o(this,"cloneFrom",null);if(this.encoder=t.encoder||new Zre,t.fromString){if(t.fromObject)throw new X(2805,!1);this.map=Kre(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let i=t.fromObject[n],a=Array.isArray(i)?i.map(zl):[zl(i)];this.map.set(n,a)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(i=>{let a=t[i];Array.isArray(a)?a.forEach(r=>{n.push({param:i,value:r,op:"a"})}):n.push({param:i,value:a,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(i=>n+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new J1({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}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 n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(zl(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let i=this.map.get(t.param)||[],a=i.indexOf(zl(t.value));a!==-1&&i.splice(a,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}},Jre=class{constructor(){o(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 eoe(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Tv(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Mv(e){return typeof Blob<"u"&&e instanceof Blob}function Nv(e){return typeof FormData<"u"&&e instanceof FormData}function toe(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Pv="Content-Type",Rv="Accept",ew="X-Request-URL",tw="text/plain",iw="application/json",ioe=`${iw}, ${tw}, */*`,ju=class aw{constructor(t,n,i,a){o(this,"url");o(this,"body",null);o(this,"headers");o(this,"context");o(this,"reportProgress",!1);o(this,"withCredentials",!1);o(this,"responseType","json");o(this,"method");o(this,"params");o(this,"urlWithParams");o(this,"transferCache");this.url=n,this.method=t.toUpperCase();let r;if(eoe(this.method)||a?(this.body=i!==void 0?i:null,r=a):r=i,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),this.transferCache=r.transferCache),this.headers??(this.headers=new qn),this.context??(this.context=new Jre),!this.params)this.params=new oo,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let l=n.indexOf("?"),c=l===-1?"?":l<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Tv(this.body)||Mv(this.body)||Nv(this.body)||toe(this.body)?this.body:this.body instanceof oo?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||Nv(this.body)?null:Mv(this.body)?this.body.type||null:Tv(this.body)?null:typeof this.body=="string"?tw:this.body instanceof oo?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?iw:null}clone(t={}){let n=t.method||this.method,i=t.url||this.url,a=t.responseType||this.responseType,r=t.transferCache??this.transferCache,s=t.body!==void 0?t.body:this.body,l=t.withCredentials??this.withCredentials,c=t.reportProgress??this.reportProgress,d=t.headers||this.headers,u=t.params||this.params,m=t.context??this.context;return t.setHeaders!==void 0&&(d=Object.keys(t.setHeaders).reduce((v,g)=>v.set(g,t.setHeaders[g]),d)),t.setParams&&(u=Object.keys(t.setParams).reduce((v,g)=>v.set(g,t.setParams[g]),u)),new aw(n,i,s,{params:u,headers:d,context:m,reportProgress:c,responseType:a,withCredentials:l,transferCache:r})}},so=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}(so||{}),tf=class{constructor(e,t=200,n="OK"){o(this,"headers");o(this,"status");o(this,"statusText");o(this,"url");o(this,"ok");o(this,"type");this.headers=e.headers||new qn,this.status=e.status!==void 0?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},aoe=class nw extends tf{constructor(n={}){super(n);o(this,"type",so.ResponseHeader)}clone(n={}){return new nw({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},af=class rw extends tf{constructor(n={}){super(n);o(this,"body");o(this,"type",so.Response);this.body=n.body!==void 0?n.body:null}clone(n={}){return new rw({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Fv=class extends tf{constructor(t){super(t,0,"Unknown Error");o(this,"name","HttpErrorResponse");o(this,"message");o(this,"error");o(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}},noe=200,roe=204;function Bu(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 nl=(()=>{const t=class t{constructor(i){o(this,"handler");this.handler=i}request(i,a,r={}){let s;if(i instanceof ju)s=i;else{let d;r.headers instanceof qn?d=r.headers:d=new qn(r.headers);let u;r.params&&(r.params instanceof oo?u=r.params:u=new oo({fromObject:r.params})),s=new ju(i,a,r.body!==void 0?r.body:null,{headers:d,context:r.context,params:u,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}let l=bt(s).pipe(y0(d=>this.handler.handle(d)));if(i instanceof ju||r.observe==="events")return l;let c=l.pipe(di(d=>d instanceof af));switch(r.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(yt(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new X(2806,!1);return d.body}));case"blob":return c.pipe(yt(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new X(2807,!1);return d.body}));case"text":return c.pipe(yt(d=>{if(d.body!==null&&typeof d.body!="string")throw new X(2808,!1);return d.body}));case"json":default:return c.pipe(yt(d=>d.body))}case"response":return c;default:throw new X(2809,!1)}}delete(i,a={}){return this.request("DELETE",i,a)}get(i,a={}){return this.request("GET",i,a)}head(i,a={}){return this.request("HEAD",i,a)}jsonp(i,a){return this.request("JSONP",i,{params:new oo().append(a,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(i,a={}){return this.request("OPTIONS",i,a)}patch(i,a,r={}){return this.request("PATCH",i,Bu(r,a))}post(i,a,r={}){return this.request("POST",i,Bu(r,a))}put(i,a,r={}){return this.request("PUT",i,Bu(r,a))}};o(t,"ɵfac",function(i){return new(i||t)(ge(ef))}),o(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})(),ooe=new G("");function soe(e,t){return t(e)}function loe(e,t,n){return(i,a)=>kd(n,()=>t(i,r=>e(r,a)))}var nf=new G(""),coe=new G(""),doe=new G("",{providedIn:"root",factory:()=>!0}),Vv=(()=>{const t=class t extends ef{constructor(a,r){super();o(this,"backend");o(this,"injector");o(this,"chain",null);o(this,"pendingTasks",w(Xs));o(this,"contributeToStability",w(doe));this.backend=a,this.injector=r}handle(a){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(nf),...this.injector.get(coe,[])]));this.chain=r.reduceRight((s,l)=>loe(s,l,this.injector),soe)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(a,s=>this.backend.handle(s)).pipe(Xp(()=>this.pendingTasks.remove(r)))}else return this.chain(a,r=>this.backend.handle(r))}};o(t,"ɵfac",function(a){return new(a||t)(ge(Q1),ge(Ha))}),o(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})(),uoe=/^\)\]\}',?\n/,hoe=RegExp(`^${ew}:`,"m");function poe(e){return"responseURL"in e&&e.responseURL?e.responseURL:hoe.test(e.getAllResponseHeaders())?e.getResponseHeader(ew):null}var Lv=(()=>{const t=class t{constructor(i){o(this,"xhrFactory");this.xhrFactory=i}handle(i){if(i.method==="JSONP")throw new X(-2800,!1);let a=this.xhrFactory;return(a.ɵloadImpl?Wn(a.ɵloadImpl()):bt(null)).pipe(yr(()=>new Ot(r=>{let s=a.build();if(s.open(i.method,i.urlWithParams),i.withCredentials&&(s.withCredentials=!0),i.headers.forEach((S,E)=>s.setRequestHeader(S,E.join(","))),i.headers.has(Rv)||s.setRequestHeader(Rv,ioe),!i.headers.has(Pv)){let S=i.detectContentTypeHeader();S!==null&&s.setRequestHeader(Pv,S)}if(i.responseType){let S=i.responseType.toLowerCase();s.responseType=S!=="json"?S:"text"}let l=i.serializeBody(),c=null,d=()=>{if(c!==null)return c;let S=s.statusText||"OK",E=new qn(s.getAllResponseHeaders()),M=poe(s)||i.url;return c=new aoe({headers:E,status:s.status,statusText:S,url:M}),c},u=()=>{let{headers:S,status:E,statusText:M,url:L}=d(),R=null;E!==roe&&(R=typeof s.response>"u"?s.responseText:s.response),E===0&&(E=R?noe:0);let le=E>=200&&E<300;if(i.responseType==="json"&&typeof R=="string"){let ke=R;R=R.replace(uoe,"");try{R=R!==""?JSON.parse(R):null}catch(Ve){R=ke,le&&(le=!1,R={error:Ve,text:R})}}le?(r.next(new af({body:R,headers:S,status:E,statusText:M,url:L||void 0})),r.complete()):r.error(new Fv({error:R,headers:S,status:E,statusText:M,url:L||void 0}))},m=S=>{let{url:E}=d(),M=new Fv({error:S,status:s.status||0,statusText:s.statusText||"Unknown Error",url:E||void 0});r.error(M)},v=!1,g=S=>{v||(r.next(d()),v=!0);let E={type:so.DownloadProgress,loaded:S.loaded};S.lengthComputable&&(E.total=S.total),i.responseType==="text"&&s.responseText&&(E.partialText=s.responseText),r.next(E)},x=S=>{let E={type:so.UploadProgress,loaded:S.loaded};S.lengthComputable&&(E.total=S.total),r.next(E)};return s.addEventListener("load",u),s.addEventListener("error",m),s.addEventListener("timeout",m),s.addEventListener("abort",m),i.reportProgress&&(s.addEventListener("progress",g),l!==null&&s.upload&&s.upload.addEventListener("progress",x)),s.send(l),r.next({type:so.Sent}),()=>{s.removeEventListener("error",m),s.removeEventListener("abort",m),s.removeEventListener("load",u),s.removeEventListener("timeout",m),i.reportProgress&&(s.removeEventListener("progress",g),l!==null&&s.upload&&s.upload.removeEventListener("progress",x)),s.readyState!==s.DONE&&s.abort()}})))}};o(t,"ɵfac",function(i){return new(i||t)(ge(G1))}),o(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})(),ow=new G(""),moe="XSRF-TOKEN",foe=new G("",{providedIn:"root",factory:()=>moe}),goe="X-XSRF-TOKEN",voe=new G("",{providedIn:"root",factory:()=>goe}),sw=class{},boe=(()=>{const t=class t{constructor(i,a){o(this,"doc");o(this,"cookieName");o(this,"lastCookieString","");o(this,"lastToken",null);o(this,"parseCount",0);this.doc=i,this.cookieName=a}getToken(){let i=this.doc.cookie||"";return i!==this.lastCookieString&&(this.parseCount++,this.lastToken=H1(i,this.cookieName),this.lastCookieString=i),this.lastToken}};o(t,"ɵfac",function(i){return new(i||t)(ge(Qe),ge(foe))}),o(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})(),yoe=/^(?:https?:)?\/\//i;function _oe(e,t){if(!w(ow)||e.method==="GET"||e.method==="HEAD"||yoe.test(e.url))return t(e);let n=w(sw).getToken(),i=w(voe);return n!=null&&!e.headers.has(i)&&(e=e.clone({headers:e.headers.set(i,n)})),t(e)}var lw=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}(lw||{});function xoe(e,t){return{ɵkind:e,ɵproviders:t}}function woe(...e){let t=[nl,Lv,Vv,{provide:ef,useExisting:Vv},{provide:Q1,useFactory:()=>w(ooe,{optional:!0})??w(Lv)},{provide:nf,useValue:_oe,multi:!0},{provide:ow,useValue:!0},{provide:sw,useClass:boe}];for(let n of e)t.push(...n.ɵproviders);return tm(t)}function Soe(e){return xoe(lw.Interceptors,e.map(t=>({provide:nf,useValue:t,multi:!0})))}var cw=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:function(i){let a=null;return i?a=new(i||t):a=ge(koe),a},providedIn:"root"}));let e=t;return e})(),koe=(()=>{const t=class t extends cw{constructor(a){super();o(this,"_doc");this._doc=a}sanitize(a,r){if(r==null)return null;switch(a){case Pi.NONE:return r;case Pi.HTML:return hr(r,"HTML")?un(r):ex(this._doc,String(r)).toString();case Pi.STYLE:return hr(r,"Style")?un(r):r;case Pi.SCRIPT:if(hr(r,"Script"))return un(r);throw new X(5200,!1);case Pi.URL:return hr(r,"URL")?un(r):Am(String(r));case Pi.RESOURCE_URL:if(hr(r,"ResourceURL"))return un(r);throw new X(5201,!1);default:throw new X(5202,!1)}}bypassSecurityTrustHtml(a){return KJ(a)}bypassSecurityTrustStyle(a){return XJ(a)}bypassSecurityTrustScript(a){return QJ(a)}bypassSecurityTrustUrl(a){return JJ(a)}bypassSecurityTrustResourceUrl(a){return eee(a)}};o(t,"ɵfac",function(a){return new(a||t)(ge(Qe))}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),rl=class{},Eoe=(()=>{const t=class t extends rl{getTranslation(i){return bt({})}};o(t,"ɵfac",(()=>{let i;return function(a){return(i||(i=jt(t)))(a||t)}})()),o(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})(),dw=class{},Coe=(()=>{const t=class t{handle(i){return i.key}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})();function qc(e,t){if(e===t)return!0;if(e===null||t===null)return!1;if(e!==e&&t!==t)return!0;let n=typeof e,i=typeof t,a,r,s;if(n==i&&n=="object")if(Array.isArray(e)){if(!Array.isArray(t))return!1;if((a=e.length)==t.length){for(r=0;r<a;r++)if(!qc(e[r],t[r]))return!1;return!0}}else{if(Array.isArray(t))return!1;s=Object.create(null);for(r in e){if(!qc(e[r],t[r]))return!1;s[r]=!0}for(r in t)if(!(r in s)&&typeof t[r]<"u")return!1;return!0}return!1}function Pn(e){return typeof e<"u"&&e!==null}function ol(e){return gc(e)&&!rf(e)&&e!==null}function gc(e){return typeof e=="object"}function rf(e){return Array.isArray(e)}function of(e){return typeof e=="string"}function Doe(e){return typeof e=="function"}function hp(e,t){let n=Object.assign({},e);return gc(e)?(gc(e)&&gc(t)&&Object.keys(t).forEach(i=>{ol(t[i])?i in e?n[i]=hp(e[i],t[i]):Object.assign(n,{[i]:t[i]}):Object.assign(n,{[i]:t[i]})}),n):hp({},t)}function pp(e,t){let n=t.split(".");t="";do t+=n.shift(),Pn(e)&&Pn(e[t])&&(ol(e[t])||rf(e[t])||!n.length)?(e=e[t],t=""):n.length?t+=".":e=void 0;while(n.length);return e}function Ioe(e,t,n){let i=t.split("."),a=e;for(let r=0;r<i.length;r++){let s=i[r];r===i.length-1?a[s]=n:((!a[s]||!ol(a[s]))&&(a[s]={}),a=a[s])}}var sf=class{},Aoe=(()=>{const t=class t extends sf{constructor(){super(...arguments);o(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(a,r){if(of(a))return this.interpolateString(a,r);if(Doe(a))return this.interpolateFunction(a,r)}interpolateFunction(a,r){return a(r)}interpolateString(a,r){return r?a.replace(this.templateMatcher,(s,l)=>{let c=pp(r,l);return Pn(c)?c:s}):a}};o(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=jt(t)))(r||t)}})()),o(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})(),sl=class{},Ooe=(()=>{const t=class t extends sl{compile(i,a){return i}compileTranslations(i,a){return i}};o(t,"ɵfac",(()=>{let i;return function(a){return(i||(i=jt(t)))(a||t)}})()),o(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})(),mp=class{constructor(){o(this,"defaultLang");o(this,"currentLang",this.defaultLang);o(this,"translations",{});o(this,"langs",[]);o(this,"onTranslationChange",new de);o(this,"onLangChange",new de);o(this,"onDefaultLangChange",new de)}},uw=new G("ISOLATE_TRANSLATE_SERVICE"),hw=new G("USE_DEFAULT_LANG"),pw=new G("DEFAULT_LANGUAGE"),mw=new G("USE_EXTEND"),Go=e=>ss(e)?e:bt(e),Kn=(()=>{const t=class t{constructor(i,a,r,s,l,c=!0,d=!1,u=!1,m){o(this,"store");o(this,"currentLoader");o(this,"compiler");o(this,"parser");o(this,"missingTranslationHandler");o(this,"useDefaultLang");o(this,"extend");o(this,"loadingTranslations");o(this,"pending",!1);o(this,"_translationRequests",{});o(this,"lastUseLanguage",null);this.store=i,this.currentLoader=a,this.compiler=r,this.parser=s,this.missingTranslationHandler=l,this.useDefaultLang=c,this.extend=u,d&&(this.store=new mp),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(i){this.store.defaultLang=i}get currentLang(){return this.store.currentLang}set currentLang(i){this.store.currentLang=i}get langs(){return this.store.langs}set langs(i){this.store.langs=i}get translations(){return this.store.translations}set translations(i){this.store.translations=i}setDefaultLang(i){if(i===this.defaultLang)return;let a=this.retrieveTranslations(i);typeof a<"u"?(this.defaultLang==null&&(this.defaultLang=i),a.pipe(vi(1)).subscribe(()=>{this.changeDefaultLang(i)})):this.changeDefaultLang(i)}getDefaultLang(){return this.defaultLang}use(i){if(this.lastUseLanguage=i,i===this.currentLang)return bt(this.translations[i]);this.currentLang||(this.currentLang=i);let a=this.retrieveTranslations(i);return ss(a)?(a.pipe(vi(1)).subscribe(()=>{this.changeLang(i)}),a):(this.changeLang(i),bt(this.translations[i]))}changeLang(i){i===this.lastUseLanguage&&(this.currentLang=i,this.onLangChange.emit({lang:i,translations:this.translations[i]}),this.defaultLang==null&&this.changeDefaultLang(i))}retrieveTranslations(i){if(typeof this.translations[i]>"u"||this.extend)return this._translationRequests[i]=this._translationRequests[i]||this.loadAndCompileTranslations(i),this._translationRequests[i]}getTranslation(i){return this.loadAndCompileTranslations(i)}loadAndCompileTranslations(i){this.pending=!0;let a=this.currentLoader.getTranslation(i).pipe(bs(1),vi(1));return this.loadingTranslations=a.pipe(yt(r=>this.compiler.compileTranslations(r,i)),bs(1),vi(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[i]=this.extend&&this.translations[i]?J(J({},r),this.translations[i]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),a}setTranslation(i,a,r=!1){let s=this.compiler.compileTranslations(a,i);(r||this.extend)&&this.translations[i]?this.translations[i]=hp(this.translations[i],s):this.translations[i]=s,this.updateLangs(),this.onTranslationChange.emit({lang:i,translations:this.translations[i]})}getLangs(){return this.langs}addLangs(i){let a=i.filter(r=>!this.langs.includes(r));a.length>0&&(this.langs=[...this.langs,...a])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(i,a,r){let s;if(i&&(s=this.runInterpolation(pp(i,a),r)),s===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(s=this.runInterpolation(pp(this.translations[this.defaultLang],a),r)),s===void 0){let l={key:a,translateService:this};typeof r<"u"&&(l.interpolateParams=r),s=this.missingTranslationHandler.handle(l)}return s!==void 0?s:a}runInterpolation(i,a){if(rf(i))return i.map(r=>this.runInterpolation(r,a));if(ol(i)){let r={};for(let s in i){let l=this.runInterpolation(i[s],a);l!==void 0&&(r[s]=l)}return r}else return this.parser.interpolate(i,a)}getParsedResult(i,a,r){if(a instanceof Array){let s={},l=!1;for(let d of a)s[d]=this.getParsedResultForKey(i,d,r),l=l||ss(s[d]);if(!l)return s;let c=a.map(d=>Go(s[d]));return Kp(c).pipe(yt(d=>{let u={};return d.forEach((m,v)=>{u[a[v]]=m}),u}))}return this.getParsedResultForKey(i,a,r)}get(i,a){if(!Pn(i)||!i.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(y0(r=>Go(this.getParsedResult(r,i,a)))):Go(this.getParsedResult(this.translations[this.currentLang],i,a))}getStreamOnTranslationChange(i,a){if(!Pn(i)||!i.length)throw new Error('Parameter "key" is required and cannot be empty');return gs(vs(()=>this.get(i,a)),this.onTranslationChange.pipe(yr(r=>{let s=this.getParsedResult(r.translations,i,a);return Go(s)})))}stream(i,a){if(!Pn(i)||!i.length)throw new Error('Parameter "key" required');return gs(vs(()=>this.get(i,a)),this.onLangChange.pipe(yr(r=>{let s=this.getParsedResult(r.translations,i,a);return Go(s)})))}instant(i,a){if(!Pn(i)||i.length===0)throw new Error('Parameter "key" is required and cannot be empty');let r=this.getParsedResult(this.translations[this.currentLang],i,a);return ss(r)?Array.isArray(i)?i.reduce((s,l)=>(s[l]=l,s),{}):i:r}set(i,a,r=this.currentLang){Ioe(this.translations[r],i,of(a)?this.compiler.compile(a,r):this.compiler.compileTranslations(a,r)),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeDefaultLang(i){this.defaultLang=i,this.onDefaultLangChange.emit({lang:i,translations:this.translations[i]})}reloadLang(i){return this.resetLang(i),this.loadAndCompileTranslations(i)}resetLang(i){delete this._translationRequests[i],delete this.translations[i]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let i=this.getBrowserCultureLang();return i?i.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}};o(t,"ɵfac",function(i){return new(i||t)(ge(mp),ge(rl),ge(sl),ge(sf),ge(dw),ge(hw),ge(uw),ge(mw),ge(pw))}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),$i=(()=>{const t=class t{constructor(i,a){o(this,"translate");o(this,"_ref");o(this,"value","");o(this,"lastKey",null);o(this,"lastParams",[]);o(this,"onTranslationChange");o(this,"onLangChange");o(this,"onDefaultLangChange");this.translate=i,this._ref=a}updateValue(i,a,r){let s=l=>{this.value=l!==void 0?l:i,this.lastKey=i,this._ref.markForCheck()};if(r){let l=this.translate.getParsedResult(r,i,a);ss(l)?l.subscribe(s):s(l)}this.translate.get(i,a).subscribe(s)}transform(i,...a){if(!i||!i.length)return i;if(qc(i,this.lastKey)&&qc(a,this.lastParams))return this.value;let r;if(Pn(a[0])&&a.length)if(of(a[0])&&a[0].length){let s=a[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{r=JSON.parse(s)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${a[0]}`)}}else ol(a[0])&&(r=a[0]);return this.lastKey=i,this.lastParams=a,this.updateValue(i,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(s=>{this.lastKey&&s.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(i,r,s.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(s=>{this.lastKey&&(this.lastKey=null,this.updateValue(i,r,s.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(i,r))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}};o(t,"ɵfac",function(i){return new(i||t)(it(Kn,16),it(Vt,16))}),o(t,"ɵpipe",Lr({name:"translate",type:t,pure:!1})),o(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})(),Toe=(e={})=>tm([e.loader||{provide:rl,useClass:Eoe},e.compiler||{provide:sl,useClass:Ooe},e.parser||{provide:sf,useClass:Aoe},e.missingTranslationHandler||{provide:dw,useClass:Coe},mp,{provide:uw,useValue:e.isolate},{provide:hw,useValue:e.useDefaultLang},{provide:mw,useValue:e.extend},{provide:pw,useValue:e.defaultLanguage},Kn]),Moe=Iy(YZ(),1),Noe=new G("MESSAGE_FORMAT_CONFIG"),Poe={biDiSupport:!1,formatters:{},strictNumberSign:!1,currency:"USD",strictPluralKeys:!0,throwOnError:!1,fallbackPrefix:void 0},Roe=(()=>{const t=class t extends sl{constructor(i){super(),this.mfCache=new Map;let{formatters:a,biDiSupport:r,strictNumberSign:s,currency:l,strictPluralKeys:c,throwOnError:d,fallbackPrefix:u}=J(J({},Poe),i);this.messageFormatOptions={customFormatters:a,biDiSupport:r,strict:s,currency:l,strictPluralKeys:c},this.throwOnError=!!d,this.fallbackPrefix=u}compile(i,a){if(this.fallbackPrefix&&i.startsWith(this.fallbackPrefix))return i.slice(this.fallbackPrefix.length);let r;try{r=this.getMessageFormatInstance(a).compile(i)}catch(s){if(this.throwOnError)throw s;console.error(s),console.error(`[ngx-translate-messageformat-compiler] Could not compile message for lang '${a}': '${i}'`),r=Voe(i,a)}return this.throwOnError||(r=Foe(r,i)),r}compileTranslations(i,a){return typeof i=="string"?this.compile(i,a):Object.keys(i).reduce((r,s)=>{let l=i[s];return r[s]=this.compileTranslations(l,a),r},{})}getMessageFormatInstance(i){return this.mfCache.has(i)||this.mfCache.set(i,new Moe.default(i,this.messageFormatOptions)),this.mfCache.get(i)}};t.ɵfac=function(i){return new(i||t)(ge(Noe,8))},t.ɵprov=U({token:t,factory:t.ɵfac});let e=t;return e})();function Foe(e,t){return n=>{let i=t;try{i=e(n)}catch(a){console.error(a),console.error(`[ngx-translate-messageformat-compiler] Could not interpolate '${t}' with params '${n}'`)}return i}}function Voe(e,t){return()=>(console.warn(`[ngx-translate-messageformat-compiler] Falling back to original invalid message: '${e}' ('${t}')`),String(e))}function Gn(e){e||(Ys(),e=w(Zi));let t=new Ot(n=>e.onDestroy(n.next.bind(n)));return n=>n.pipe(At(t))}function fw(e,t){var c;let n=!(t!=null&&t.manualCleanup);n&&!(t!=null&&t.injector)&&Ys();let i=n?((c=t==null?void 0:t.injector)==null?void 0:c.get(Zi))??w(Zi):null,a=Loe(t==null?void 0:t.equal),r;t!=null&&t.requireSync?r=la({kind:0},{equal:a}):r=la({kind:1,value:t==null?void 0:t.initialValue},{equal:a});let s,l=e.subscribe({next:d=>r.set({kind:1,value:d}),error:d=>{if(t!=null&&t.rejectErrors)throw d;r.set({kind:2,error:d})},complete:()=>{s==null||s()}});if(t!=null&&t.requireSync&&r().kind===0)throw new X(601,!1);return s=i==null?void 0:i.onDestroy(l.unsubscribe.bind(l)),Fi(()=>{let d=r();switch(d.kind){case 1:return d.value;case 2:throw d.error;case 0:throw new X(601,!1)}},{equal:t==null?void 0:t.equal})}function Loe(e=Object.is){return(t,n)=>t.kind===1&&n.kind===1&&e(t.value,n.value)}function gw(e){return e.buttons===0||e.detail===0}function vw(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 Hu;function zoe(){if(Hu==null){let e=typeof document<"u"?document.head:null;Hu=!!(e&&(e.createShadowRoot||e.attachShadow))}return Hu}function joe(e){if(zoe()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function lo(){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 za(e){return e.composedPath?e.composedPath()[0]:e.target}function fi(e,t,n,i,a){let r=parseInt(bv.major),s=parseInt(bv.minor);return r>19||r===19&&s>0||r===0&&s===0?e.listen(t,n,i,a):(t.addEventListener(n,i,a),()=>{t.removeEventListener(n,i,a)})}var fp;try{fp=typeof Intl<"u"&&Intl.v8BreakIterator}catch{fp=!1}var Wt=(()=>{const t=class t{constructor(){o(this,"_platformId",w(Md));o(this,"isBrowser",this._platformId?Ere(this._platformId):typeof document=="object"&&!!document);o(this,"EDGE",this.isBrowser&&/(edge)/i.test(navigator.userAgent));o(this,"TRIDENT",this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent));o(this,"BLINK",this.isBrowser&&!!(window.chrome||fp)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT);o(this,"WEBKIT",this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT);o(this,"IOS",this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window));o(this,"FIREFOX",this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent));o(this,"ANDROID",this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT);o(this,"SAFARI",this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Uo;function Boe(){if(Uo==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Uo=!0}))}finally{Uo=Uo||!1}return Uo}function Zd(e){return Boe()?e:!!e.capture}function Gc(e,t=0){return Hoe(e)?Number(e):arguments.length===2?t:0}function Hoe(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function Bn(e){return e instanceof Fe?e.nativeElement:e}var $oe=new G("cdk-input-modality-detector-options"),qoe={ignoreKeys:[18,17,224,91,16]},bw=650,$u={passive:!0,capture:!0},Goe=(()=>{const t=class t{constructor(){o(this,"_platform",w(Wt));o(this,"_listenerCleanups");o(this,"modalityDetected");o(this,"modalityChanged");o(this,"_mostRecentTarget",null);o(this,"_modality",new ur(null));o(this,"_options");o(this,"_lastTouchMs",0);o(this,"_onKeydown",i=>{var a,r;(r=(a=this._options)==null?void 0:a.ignoreKeys)!=null&&r.some(s=>s===i.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=za(i))});o(this,"_onMousedown",i=>{Date.now()-this._lastTouchMs<bw||(this._modality.next(gw(i)?"keyboard":"mouse"),this._mostRecentTarget=za(i))});o(this,"_onTouchstart",i=>{if(vw(i)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=za(i)});let i=w(Oe),a=w(Qe),r=w($oe,{optional:!0});if(this._options=J(J({},qoe),r),this.modalityDetected=this._modality.pipe(w0(1)),this.modalityChanged=this.modalityDetected.pipe(LX()),this._platform.isBrowser){let s=w(da).createRenderer(null,null);this._listenerCleanups=i.runOutsideAngular(()=>[fi(s,a,"keydown",this._onKeydown,$u),fi(s,a,"mousedown",this._onMousedown,$u),fi(s,a,"touchstart",this._onTouchstart,$u)])}}get mostRecentModality(){return this._modality.value}ngOnDestroy(){var i;this._modality.complete(),(i=this._listenerCleanups)==null||i.forEach(a=>a())}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),vc=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(vc||{}),Uoe=new G("cdk-focus-monitor-default-options"),jl=Zd({passive:!0,capture:!0}),ll=(()=>{const t=class t{constructor(){o(this,"_ngZone",w(Oe));o(this,"_platform",w(Wt));o(this,"_inputModalityDetector",w(Goe));o(this,"_origin",null);o(this,"_lastFocusOrigin");o(this,"_windowFocused",!1);o(this,"_windowFocusTimeoutId");o(this,"_originTimeoutId");o(this,"_originFromTouchInteraction",!1);o(this,"_elementInfo",new Map);o(this,"_monitoredElementCount",0);o(this,"_rootNodeFocusListenerCount",new Map);o(this,"_detectionMode");o(this,"_windowFocusListener",()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)});o(this,"_document",w(Qe,{optional:!0}));o(this,"_stopInputModalityDetector",new he);o(this,"_rootNodeFocusAndBlurListener",i=>{let a=za(i);for(let r=a;r;r=r.parentElement)i.type==="focus"?this._onFocus(i,r):this._onBlur(i,r)});let i=w(Uoe,{optional:!0});this._detectionMode=(i==null?void 0:i.detectionMode)||vc.IMMEDIATE}monitor(i,a=!1){let r=Bn(i);if(!this._platform.isBrowser||r.nodeType!==1)return bt();let s=joe(r)||this._getDocument(),l=this._elementInfo.get(r);if(l)return a&&(l.checkChildren=!0),l.subject;let c={checkChildren:a,subject:new he,rootNode:s};return this._elementInfo.set(r,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(i){let a=Bn(i),r=this._elementInfo.get(a);r&&(r.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(r))}focusVia(i,a,r){let s=Bn(i),l=this._getDocument().activeElement;s===l?this._getClosestElementsInfo(s).forEach(([c,d])=>this._originChanged(c,a,d)):(this._setOrigin(a),typeof s.focus=="function"&&s.focus(r))}ngOnDestroy(){this._elementInfo.forEach((i,a)=>this.stopMonitoring(a))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(i){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(i)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:i&&this._isLastInteractionFromInputLabel(i)?"mouse":"program"}_shouldBeAttributedToTouch(i){return this._detectionMode===vc.EVENTUAL||!!(i!=null&&i.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(i,a){i.classList.toggle("cdk-focused",!!a),i.classList.toggle("cdk-touch-focused",a==="touch"),i.classList.toggle("cdk-keyboard-focused",a==="keyboard"),i.classList.toggle("cdk-mouse-focused",a==="mouse"),i.classList.toggle("cdk-program-focused",a==="program")}_setOrigin(i,a=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=i,this._originFromTouchInteraction=i==="touch"&&a,this._detectionMode===vc.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?bw:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(i,a){let r=this._elementInfo.get(a),s=za(i);!r||!r.checkChildren&&a!==s||this._originChanged(a,this._getFocusOrigin(s),r)}_onBlur(i,a){let r=this._elementInfo.get(a);!r||r.checkChildren&&i.relatedTarget instanceof Node&&a.contains(i.relatedTarget)||(this._setClasses(a),this._emitOrigin(r,null))}_emitOrigin(i,a){i.subject.observers.length&&this._ngZone.run(()=>i.subject.next(a))}_registerGlobalListeners(i){if(!this._platform.isBrowser)return;let a=i.rootNode,r=this._rootNodeFocusListenerCount.get(a)||0;r||this._ngZone.runOutsideAngular(()=>{a.addEventListener("focus",this._rootNodeFocusAndBlurListener,jl),a.addEventListener("blur",this._rootNodeFocusAndBlurListener,jl)}),this._rootNodeFocusListenerCount.set(a,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(At(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(i){let a=i.rootNode;if(this._rootNodeFocusListenerCount.has(a)){let r=this._rootNodeFocusListenerCount.get(a);r>1?this._rootNodeFocusListenerCount.set(a,r-1):(a.removeEventListener("focus",this._rootNodeFocusAndBlurListener,jl),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,jl),this._rootNodeFocusListenerCount.delete(a))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(i,a,r){this._setClasses(i,a),this._emitOrigin(r,a),this._lastFocusOrigin=a}_getClosestElementsInfo(i){let a=[];return this._elementInfo.forEach((r,s)=>{(s===i||r.checkChildren&&s.contains(i))&&a.push([s,r])}),a}_isLastInteractionFromInputLabel(i){let{_mostRecentTarget:a,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!a||a===i||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA"||i.disabled)return!1;let s=i.labels;if(s){for(let l=0;l<s.length;l++)if(s[l].contains(a))return!0}return!1}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Yoe=(()=>{const t=class t{constructor(){o(this,"_elementRef",w(Fe));o(this,"_focusMonitor",w(ll));o(this,"_monitorSubscription");o(this,"_focusOrigin",null);o(this,"cdkFocusChange",new de)}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let i=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(i,i.nodeType===1&&i.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(a=>{this._focusOrigin=a,this.cdkFocusChange.emit(a)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}));let e=t;return e})(),Bl=new WeakMap,Mi=(()=>{const t=class t{constructor(){o(this,"_appRef");o(this,"_injector",w(dt));o(this,"_environmentInjector",w(Ha))}load(i){let a=this._appRef=this._appRef||this._injector.get($n),r=Bl.get(a);r||(r={loaders:new Set,refs:[]},Bl.set(a,r),a.onDestroy(()=>{var s;(s=Bl.get(a))==null||s.refs.forEach(l=>l.destroy()),Bl.delete(a)})),r.loaders.has(i)||(r.loaders.add(i),r.refs.push(O1(i,{environmentInjector:this._environmentInjector})))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Xn=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(i,a){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
20
- `],encapsulation:2,changeDetection:0}));let e=t;return e})();function Uc(e){return Array.isArray(e)?e:[e]}var zv=new Set,ir,Woe=(()=>{const t=class t{constructor(){o(this,"_platform",w(Wt));o(this,"_nonce",w(km,{optional:!0}));o(this,"_matchMedia");this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Koe}matchMedia(i){return(this._platform.WEBKIT||this._platform.BLINK)&&Zoe(i,this._nonce),this._matchMedia(i)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Zoe(e,t){if(!zv.has(e))try{ir||(ir=document.createElement("style"),t&&ir.setAttribute("nonce",t),ir.setAttribute("type","text/css"),document.head.appendChild(ir)),ir.sheet&&(ir.sheet.insertRule(`@media ${e} {body{ }}`,0),zv.add(e))}catch(n){console.error(n)}}function Koe(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var Kd=(()=>{const t=class t{constructor(){o(this,"_mediaMatcher",w(Woe));o(this,"_zone",w(Oe));o(this,"_queries",new Map);o(this,"_destroySubject",new he)}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(i){return jv(Uc(i)).some(a=>this._registerQuery(a).mql.matches)}observe(i){let a=jv(Uc(i)).map(s=>this._registerQuery(s).observable),r=TX(a);return r=gs(r.pipe(vi(1)),r.pipe(w0(1),_0(0))),r.pipe(yt(s=>{let l={matches:!1,breakpoints:{}};return s.forEach(({matches:c,query:d})=>{l.matches=l.matches||c,l.breakpoints[d]=c}),l}))}_registerQuery(i){if(this._queries.has(i))return this._queries.get(i);let a=this._mediaMatcher.matchMedia(i),r={observable:new Ot(s=>{let l=c=>this._zone.run(()=>s.next(c));return a.addListener(l),()=>{a.removeListener(l)}}).pipe(ra(a),yt(({matches:s})=>({query:i,matches:s})),At(this._destroySubject)),mql:a};return this._queries.set(i,r),r}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function jv(e){return e.map(t=>t.split(",")).reduce((t,n)=>t.concat(n)).map(t=>t.trim())}var Xoe=(()=>{const t=class t{create(i){return typeof MutationObserver>"u"?null:new MutationObserver(i)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),yw=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({providers:[Xoe]}));let e=t;return e})(),lf=(()=>{const t=class t{constructor(){o(this,"_platform",w(Wt))}isDisabled(i){return i.hasAttribute("disabled")}isVisible(i){return Joe(i)&&getComputedStyle(i).visibility==="visible"}isTabbable(i){if(!this._platform.isBrowser)return!1;let a=Qoe(sse(i));if(a&&(Bv(a)===-1||!this.isVisible(a)))return!1;let r=i.nodeName.toLowerCase(),s=Bv(i);return i.hasAttribute("contenteditable")?s!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!rse(i)?!1:r==="audio"?i.hasAttribute("controls")?s!==-1:!1:r==="video"?s===-1?!1:s!==null?!0:this._platform.FIREFOX||i.hasAttribute("controls"):i.tabIndex>=0}isFocusable(i,a){return ose(i)&&!this.isDisabled(i)&&((a==null?void 0:a.ignoreVisibility)||this.isVisible(i))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Qoe(e){try{return e.frameElement}catch{return null}}function Joe(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function ese(e){let t=e.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function tse(e){return ase(e)&&e.type=="hidden"}function ise(e){return nse(e)&&e.hasAttribute("href")}function ase(e){return e.nodeName.toLowerCase()=="input"}function nse(e){return e.nodeName.toLowerCase()=="a"}function _w(e){if(!e.hasAttribute("tabindex")||e.tabIndex===void 0)return!1;let t=e.getAttribute("tabindex");return!!(t&&!isNaN(parseInt(t,10)))}function Bv(e){if(!_w(e))return null;let t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function rse(e){let t=e.nodeName.toLowerCase(),n=t==="input"&&e.type;return n==="text"||n==="password"||t==="select"||t==="textarea"}function ose(e){return tse(e)?!1:ese(e)||ise(e)||e.hasAttribute("contenteditable")||_w(e)}function sse(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var lse=class{constructor(e,t,n,i,a=!1,r){o(this,"_element");o(this,"_checker");o(this,"_ngZone");o(this,"_document");o(this,"_injector");o(this,"_startAnchor");o(this,"_endAnchor");o(this,"_hasAttached",!1);o(this,"startAnchorListener",()=>this.focusLastTabbableElement());o(this,"endAnchorListener",()=>this.focusFirstTabbableElement());o(this,"_enabled",!0);this._element=e,this._checker=t,this._ngZone=n,this._document=i,this._injector=r,a||this.attachAnchors()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}destroy(){let e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){let n=this._getFirstTabbableElement(t);return n==null||n.focus(e),!!n}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 n=0;n<t.length;n++){let i=t[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[n]):null;if(i)return i}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children;for(let n=t.length-1;n>=0;n--){let i=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(i)return i}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?Ir(e,{injector:this._injector}):setTimeout(e)}},xw=(()=>{const t=class t{constructor(){o(this,"_checker",w(lf));o(this,"_ngZone",w(Oe));o(this,"_document",w(Qe));o(this,"_injector",w(dt));w(Mi).load(Xn)}create(i,a=!1){return new lse(i,this._checker,this._ngZone,this._document,a,this._injector)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),cse=(()=>{const t=class t{constructor(){o(this,"_elementRef",w(Fe));o(this,"_focusTrapFactory",w(xw));o(this,"focusTrap");o(this,"_previouslyFocusedElement",null);o(this,"autoCapture");w(Wt).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}get enabled(){var i;return((i=this.focusTrap)==null?void 0:i.enabled)||!1}set enabled(i){this.focusTrap&&(this.focusTrap.enabled=i)}ngOnDestroy(){var i;(i=this.focusTrap)==null||i.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){var i;(i=this.focusTrap)==null||i.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(i){var r;let a=i.autoCapture;a&&!a.firstChange&&this.autoCapture&&((r=this.focusTrap)!=null&&r.hasAttached())&&this._captureFocus()}_captureFocus(){var i;this._previouslyFocusedElement=lo(),(i=this.focusTrap)==null||i.focusInitialElementWhenReady()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",He],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",He]},exportAs:["cdkTrapFocus"],features:[wi]}));let e=t;return e})(),dse=new G("liveAnnouncerElement",{providedIn:"root",factory:use});function use(){return null}var hse=new G("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),pse=0,ww=(()=>{const t=class t{constructor(){o(this,"_ngZone",w(Oe));o(this,"_defaultOptions",w(hse,{optional:!0}));o(this,"_liveElement");o(this,"_document",w(Qe));o(this,"_previousTimeout");o(this,"_currentPromise");o(this,"_currentResolve");let i=w(dse,{optional:!0});this._liveElement=i||this._createLiveElement()}announce(i,...a){let r=this._defaultOptions,s,l;return a.length===1&&typeof a[0]=="number"?l=a[0]:[s,l]=a,this.clear(),clearTimeout(this._previousTimeout),s||(s=r&&r.politeness?r.politeness:"polite"),l==null&&r&&(l=r.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(c=>this._currentResolve=c)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{var c;this._liveElement.textContent=i,typeof l=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),l)),(c=this._currentResolve)==null||c.call(this),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var i,a;clearTimeout(this._previousTimeout),(i=this._liveElement)==null||i.remove(),this._liveElement=null,(a=this._currentResolve)==null||a.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let i="cdk-live-announcer-element",a=this._document.getElementsByClassName(i),r=this._document.createElement("div");for(let s=0;s<a.length;s++)a[s].remove();return r.classList.add(i),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id=`cdk-live-announcer-${pse++}`,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(i){let a=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<a.length;r++){let s=a[r],l=s.getAttribute("aria-owns");l?l.indexOf(i)===-1&&s.setAttribute("aria-owns",l+" "+i):s.setAttribute("aria-owns",i)}}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),lr=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}(lr||{}),Hv="cdk-high-contrast-black-on-white",$v="cdk-high-contrast-white-on-black",qu="cdk-high-contrast-active",Sw=(()=>{const t=class t{constructor(){o(this,"_platform",w(Wt));o(this,"_hasCheckedHighContrastMode");o(this,"_document",w(Qe));o(this,"_breakpointSubscription");this._breakpointSubscription=w(Kd).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return lr.NONE;let i=this._document.createElement("div");i.style.backgroundColor="rgb(1,2,3)",i.style.position="absolute",this._document.body.appendChild(i);let a=this._document.defaultView||window,r=a&&a.getComputedStyle?a.getComputedStyle(i):null,s=(r&&r.backgroundColor||"").replace(/ /g,"");switch(i.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return lr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return lr.BLACK_ON_WHITE}return lr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let i=this._document.body.classList;i.remove(qu,Hv,$v),this._hasCheckedHighContrastMode=!0;let a=this.getHighContrastMode();a===lr.BLACK_ON_WHITE?i.add(qu,Hv):a===lr.WHITE_ON_BLACK&&i.add(qu,$v)}}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),cf=(()=>{const t=class t{constructor(){w(Sw)._applyBodyHighContrastModeCssClasses()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({imports:[yw]}));let e=t;return e})(),Gu={},hi=(()=>{const t=class t{constructor(){o(this,"_appId",w(Td))}getId(i){return this._appId!=="ng"&&(i+=this._appId),Gu.hasOwnProperty(i)||(Gu[i]=0),`${i}${Gu[i]++}`}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),mse=200,fse=class{constructor(e,t){o(this,"_letterKeyStream",new he);o(this,"_items",[]);o(this,"_selectedItemIndex",-1);o(this,"_pressedLetters",[]);o(this,"_skipPredicateFn");o(this,"_selectedItem",new he);o(this,"selectedItem",this._selectedItem);let n=typeof(t==null?void 0:t.debounceInterval)=="number"?t.debounceInterval:mse;t!=null&&t.skipPredicate&&(this._skipPredicateFn=t.skipPredicate),this.setItems(e),this._setupKeyHandler(n)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(e){this._selectedItemIndex=e}setItems(e){this._items=e}handleKey(e){let t=e.keyCode;e.key&&e.key.length===1?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(e){this._letterKeyStream.pipe(oc(t=>this._pressedLetters.push(t)),_0(e),di(()=>this._pressedLetters.length>0),yt(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(t=>{var n,i;for(let a=1;a<this._items.length+1;a++){let r=(this._selectedItemIndex+a)%this._items.length,s=this._items[r];if(!((n=this._skipPredicateFn)!=null&&n.call(this,s))&&((i=s.getLabel)==null?void 0:i.call(s).toLocaleUpperCase().trim().indexOf(t))===0){this._selectedItem.next(s);break}}this._pressedLetters=[]})}};function Oi(e,...t){return t.length?t.some(n=>e[n]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var kw=class{constructor(e,t){o(this,"_items");o(this,"_activeItemIndex",-1);o(this,"_activeItem",la(null));o(this,"_wrap",!1);o(this,"_typeaheadSubscription",ut.EMPTY);o(this,"_itemChangesSubscription");o(this,"_vertical",!0);o(this,"_horizontal");o(this,"_allowedModifierKeys",[]);o(this,"_homeAndEnd",!1);o(this,"_pageUpAndDown",{enabled:!1,delta:10});o(this,"_effectRef");o(this,"_typeahead");o(this,"_skipPredicateFn",e=>e.disabled);o(this,"tabOut",new he);o(this,"change",new he);this._items=e,e instanceof Fc?this._itemChangesSubscription=e.changes.subscribe(n=>this._itemsChanged(n.toArray())):ws(e)&&(this._effectRef=Gd(()=>this._itemsChanged(e()),{injector:t}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){this._typeaheadSubscription.unsubscribe();let t=this._getItemsArray();return this._typeahead=new fse(t,{debounceInterval:typeof e=="number"?e:void 0,skipPredicate:n=>this._skipPredicateFn(n)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(n=>{this.setActiveItem(n)}),this}cancelTypeahead(){var e;return(e=this._typeahead)==null||e.reset(),this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}withPageUpDown(e=!0,t=10){return this._pageUpAndDown={enabled:e,delta:t},this}setActiveItem(e){let t=this._activeItem();this.updateActiveItem(e),this._activeItem()!==t&&this.change.next(this._activeItemIndex)}onKeydown(e){var i,a;let t=e.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(r=>!e[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(t){case 9:this.tabOut.next();return;case 40:if(this._vertical&&n){this.setNextItemActive();break}else return;case 38:if(this._vertical&&n){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&n){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&n){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&n){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&n){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&n){let r=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&n){let r=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(r<s?r:s-1,-1);break}else return;default:(n||Oi(e,"shiftKey"))&&((i=this._typeahead)==null||i.handleKey(e));return}(a=this._typeahead)==null||a.reset(),e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){var a;let t=this._getItemsArray(),n=typeof e=="number"?e:t.indexOf(e),i=t[n];this._activeItem.set(i??null),this._activeItemIndex=n,(a=this._typeahead)==null||a.setCurrentSelectedItemIndex(n)}destroy(){var e,t,n;this._typeaheadSubscription.unsubscribe(),(e=this._itemChangesSubscription)==null||e.unsubscribe(),(t=this._effectRef)==null||t.destroy(),(n=this._typeahead)==null||n.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let t=this._getItemsArray();for(let n=1;n<=t.length;n++){let i=(this._activeItemIndex+e*n+t.length)%t.length,a=t[i];if(!this._skipPredicateFn(a)){this.setActiveItem(i);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,t){let n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(e+=t,!n[e])return;this.setActiveItem(e)}}_getItemsArray(){return ws(this._items)?this._items():this._items instanceof Fc?this._items.toArray():this._items}_itemsChanged(e){var n,i;(n=this._typeahead)==null||n.setItems(e);let t=this._activeItem();if(t){let a=e.indexOf(t);a>-1&&a!==this._activeItemIndex&&(this._activeItemIndex=a,(i=this._typeahead)==null||i.setCurrentSelectedItemIndex(a))}}},gse=class extends kw{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}},vse=class extends kw{constructor(){super(...arguments);o(this,"_origin","program")}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}},Ew=" ";function Cw(e,t,n){let i=Yc(e,t);n=n.trim(),!i.some(a=>a.trim()===n)&&(i.push(n),e.setAttribute(t,i.join(Ew)))}function gp(e,t,n){let i=Yc(e,t);n=n.trim();let a=i.filter(r=>r!==n);a.length?e.setAttribute(t,a.join(Ew)):e.removeAttribute(t)}function Yc(e,t){var n;return((n=e.getAttribute(t))==null?void 0:n.match(/\S+/g))??[]}var Dw="cdk-describedby-message",Hl="cdk-describedby-host",vp=0,Iw=(()=>{const t=class t{constructor(){o(this,"_platform",w(Wt));o(this,"_document",w(Qe));o(this,"_messageRegistry",new Map);o(this,"_messagesContainer",null);o(this,"_id",`${vp++}`);w(Mi).load(Xn),this._id=w(Td)+"-"+vp++}describe(i,a,r){if(!this._canBeDescribed(i,a))return;let s=Uu(a,r);typeof a!="string"?(qv(a,this._id),this._messageRegistry.set(s,{messageElement:a,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(a,r),this._isElementDescribedByMessage(i,s)||this._addMessageReference(i,s)}removeDescription(i,a,r){var l;if(!a||!this._isElementNode(i))return;let s=Uu(a,r);if(this._isElementDescribedByMessage(i,s)&&this._removeMessageReference(i,s),typeof a=="string"){let c=this._messageRegistry.get(s);c&&c.referenceCount===0&&this._deleteMessageElement(s)}((l=this._messagesContainer)==null?void 0:l.childNodes.length)===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var a;let i=this._document.querySelectorAll(`[${Hl}="${this._id}"]`);for(let r=0;r<i.length;r++)this._removeCdkDescribedByReferenceIds(i[r]),i[r].removeAttribute(Hl);(a=this._messagesContainer)==null||a.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(i,a){let r=this._document.createElement("div");qv(r,this._id),r.textContent=i,a&&r.setAttribute("role",a),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(Uu(i,a),{messageElement:r,referenceCount:0})}_deleteMessageElement(i){var a,r;(r=(a=this._messageRegistry.get(i))==null?void 0:a.messageElement)==null||r.remove(),this._messageRegistry.delete(i)}_createMessagesContainer(){if(this._messagesContainer)return;let i="cdk-describedby-message-container",a=this._document.querySelectorAll(`.${i}[platform="server"]`);for(let s=0;s<a.length;s++)a[s].remove();let r=this._document.createElement("div");r.style.visibility="hidden",r.classList.add(i),r.classList.add("cdk-visually-hidden"),this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(i){let a=Yc(i,"aria-describedby").filter(r=>r.indexOf(Dw)!=0);i.setAttribute("aria-describedby",a.join(" "))}_addMessageReference(i,a){let r=this._messageRegistry.get(a);Cw(i,"aria-describedby",r.messageElement.id),i.setAttribute(Hl,this._id),r.referenceCount++}_removeMessageReference(i,a){let r=this._messageRegistry.get(a);r.referenceCount--,gp(i,"aria-describedby",r.messageElement.id),i.removeAttribute(Hl)}_isElementDescribedByMessage(i,a){let r=Yc(i,"aria-describedby"),s=this._messageRegistry.get(a),l=s&&s.messageElement.id;return!!l&&r.indexOf(l)!=-1}_canBeDescribed(i,a){if(!this._isElementNode(i))return!1;if(a&&typeof a=="object")return!0;let r=a==null?"":`${a}`.trim(),s=i.getAttribute("aria-label");return r?!s||s.trim()!==r:!1}_isElementNode(i){return i.nodeType===this._document.ELEMENT_NODE}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Uu(e,t){return typeof e=="string"?`${t||""}/${e}`:e}function qv(e,t){e.id||(e.id=`${Dw}-${t}-${vp++}`)}var Na=function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e}(Na||{}),$l,ar;function Aw(){if(ar==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return ar=!1,ar;if("scrollBehavior"in document.documentElement.style)ar=!0;else{let e=Element.prototype.scrollTo;e?ar=!/\{\s*\[native code\]\s*\}/.test(e.toString()):ar=!1}}return ar}function Yo(){if(typeof document!="object"||!document)return Na.NORMAL;if($l==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 n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",e.appendChild(n),document.body.appendChild(e),$l=Na.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,$l=e.scrollLeft===0?Na.NEGATED:Na.INVERTED),e.remove()}return $l}function Gv(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Gr,Uv=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Yv(){if(Gr)return Gr;if(typeof document!="object"||!document)return Gr=new Set(Uv),Gr;let e=document.createElement("input");return Gr=new Set(Uv.filter(t=>(e.setAttribute("type",t),e.type===t))),Gr}function co(e){return e!=null&&`${e}`!="false"}function Qt(e){return e==null?"":typeof e=="string"?e:`${e}px`}function bse(e,t=/\s+/){let n=[];if(e!=null){let i=Array.isArray(e)?e:`${e}`.split(t);for(let a of i){let r=`${a}`.trim();r&&n.push(r)}}return n}var ia=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}(ia||{}),yse=class{constructor(e,t,n,i=!1){o(this,"_renderer");o(this,"element");o(this,"config");o(this,"_animationForciblyDisabledThroughCss");o(this,"state",ia.HIDDEN);this._renderer=e,this.element=t,this.config=n,this._animationForciblyDisabledThroughCss=i}fadeOut(){this._renderer.fadeOutRipple(this)}},Wv=Zd({passive:!0,capture:!0}),_se=class{constructor(){o(this,"_events",new Map);o(this,"_delegateEventHandler",e=>{var n;let t=za(e);t&&((n=this._events.get(e.type))==null||n.forEach((i,a)=>{(a===t||a.contains(t))&&i.forEach(r=>r.handleEvent(e))}))})}addHandler(e,t,n,i){let a=this._events.get(t);if(a){let r=a.get(n);r?r.add(i):a.set(n,new Set([i]))}else this._events.set(t,new Map([[n,new Set([i])]])),e.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,Wv)})}removeHandler(e,t,n){let i=this._events.get(e);if(!i)return;let a=i.get(t);a&&(a.delete(n),a.size===0&&i.delete(t),i.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,Wv)))}},Wc={enterDuration:225,exitDuration:150},xse=800,Zv=Zd({passive:!0,capture:!0}),Kv=["mousedown","touchstart"],Xv=["mouseup","mouseleave","touchend","touchcancel"],wse=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(i,a){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}
21
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Rn,Ow=(Rn=class{constructor(t,n,i,a,r){o(this,"_target");o(this,"_ngZone");o(this,"_platform");o(this,"_containerElement");o(this,"_triggerElement");o(this,"_isPointerDown",!1);o(this,"_activeRipples",new Map);o(this,"_mostRecentTransientRipple");o(this,"_lastTouchStartEvent");o(this,"_pointerUpEventsRegistered",!1);o(this,"_containerRect");this._target=t,this._ngZone=n,this._platform=a,a.isBrowser&&(this._containerElement=Bn(i)),r&&r.get(Mi).load(wse)}fadeInRipple(t,n,i={}){let a=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=J(J({},Wc),i.animation);i.centered&&(t=a.left+a.width/2,n=a.top+a.height/2);let s=i.radius||Sse(t,n,a),l=t-a.left,c=n-a.top,d=r.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=`${l-s}px`,u.style.top=`${c-s}px`,u.style.height=`${s*2}px`,u.style.width=`${s*2}px`,i.color!=null&&(u.style.backgroundColor=i.color),u.style.transitionDuration=`${d}ms`,this._containerElement.appendChild(u);let m=window.getComputedStyle(u),v=m.transitionProperty,g=m.transitionDuration,x=v==="none"||g==="0s"||g==="0s, 0s"||a.width===0&&a.height===0,S=new yse(this,u,i,x);u.style.transform="scale3d(1, 1, 1)",S.state=ia.FADING_IN,i.persistent||(this._mostRecentTransientRipple=S);let E=null;return!x&&(d||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let M=()=>{E&&(E.fallbackTimer=null),clearTimeout(R),this._finishRippleTransition(S)},L=()=>this._destroyRipple(S),R=setTimeout(L,d+100);u.addEventListener("transitionend",M),u.addEventListener("transitioncancel",L),E={onTransitionEnd:M,onTransitionCancel:L,fallbackTimer:R}}),this._activeRipples.set(S,E),(x||!d)&&this._finishRippleTransition(S),S}fadeOutRipple(t){if(t.state===ia.FADING_OUT||t.state===ia.HIDDEN)return;let n=t.element,i=J(J({},Wc),t.config.animation);n.style.transitionDuration=`${i.exitDuration}ms`,n.style.opacity="0",t.state=ia.FADING_OUT,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let n=Bn(t);!this._platform.isBrowser||!n||n===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=n,Kv.forEach(i=>{Rn._eventManager.addHandler(this._ngZone,i,n,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Xv.forEach(n=>{this._triggerElement.addEventListener(n,this,Zv)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===ia.FADING_IN?this._startFadeOutTransition(t):t.state===ia.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let n=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=ia.VISIBLE,!i&&(!n||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let n=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=ia.HIDDEN,n!==null&&(t.element.removeEventListener("transitionend",n.onTransitionEnd),t.element.removeEventListener("transitioncancel",n.onTransitionCancel),n.fallbackTimer!==null&&clearTimeout(n.fallbackTimer)),t.element.remove()}_onMousedown(t){let n=gw(t),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+xse;!this._target.rippleDisabled&&!n&&!i&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!vw(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let n=t.changedTouches;if(n)for(let i=0;i<n.length;i++)this.fadeInRipple(n[i].clientX,n[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{let n=t.state===ia.VISIBLE||t.config.terminateOnPointerUp&&t.state===ia.FADING_IN;!t.config.persistent&&n&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(Kv.forEach(n=>Rn._eventManager.removeHandler(n,t,this)),this._pointerUpEventsRegistered&&(Xv.forEach(n=>t.removeEventListener(n,this,Zv)),this._pointerUpEventsRegistered=!1))}},o(Rn,"_eventManager",new _se),Rn);function Sse(e,t,n){let i=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),a=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(i*i+a*a)}var df=new G("mat-ripple-global-options"),kse=(()=>{const t=class t{constructor(){o(this,"_elementRef",w(Fe));o(this,"_animationMode",w(Ti,{optional:!0}));o(this,"color");o(this,"unbounded");o(this,"centered");o(this,"radius",0);o(this,"animation");o(this,"_disabled",!1);o(this,"_trigger");o(this,"_rippleRenderer");o(this,"_globalOptions");o(this,"_isInitialized",!1);let i=w(Oe),a=w(Wt),r=w(df,{optional:!0}),s=w(dt);this._globalOptions=r||{},this._rippleRenderer=new Ow(this,i,this._elementRef,a,s)}get disabled(){return this._disabled}set disabled(i){i&&this.fadeOutAllNonPersistent(),this._disabled=i,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(i){this._trigger=i,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:J(J(J({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(i,a=0,r){return typeof i=="number"?this._rippleRenderer.fadeInRipple(i,a,J(J({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,J(J({},this.rippleConfig),i))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,a){i&2&&Ae("mat-ripple-unbounded",a.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]}));let e=t;return e})(),Ese={capture:!0},Cse=["focus","mousedown","mouseenter","touchstart"],Yu="mat-ripple-loader-uninitialized",Wu="mat-ripple-loader-class-name",Qv="mat-ripple-loader-centered",ql="mat-ripple-loader-disabled",Tw=(()=>{const t=class t{constructor(){o(this,"_document",w(Qe));o(this,"_animationMode",w(Ti,{optional:!0}));o(this,"_globalRippleOptions",w(df,{optional:!0}));o(this,"_platform",w(Wt));o(this,"_ngZone",w(Oe));o(this,"_injector",w(dt));o(this,"_eventCleanups");o(this,"_hosts",new Map);o(this,"_onInteraction",i=>{var r;let a=za(i);if(a instanceof HTMLElement){let s=a.closest(`[${Yu}="${((r=this._globalRippleOptions)==null?void 0:r.namespace)??""}"]`);s&&this._createRipple(s)}});let i=w(da).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>Cse.map(a=>fi(i,this._document,a,this._onInteraction,Ese)))}ngOnDestroy(){let i=this._hosts.keys();for(let a of i)this.destroyRipple(a);this._eventCleanups.forEach(a=>a())}configureRipple(i,a){var r;i.setAttribute(Yu,((r=this._globalRippleOptions)==null?void 0:r.namespace)??""),(a.className||!i.hasAttribute(Wu))&&i.setAttribute(Wu,a.className||""),a.centered&&i.setAttribute(Qv,""),a.disabled&&i.setAttribute(ql,"")}setDisabled(i,a){let r=this._hosts.get(i);r?(r.target.rippleDisabled=a,!a&&!r.hasSetUpEvents&&(r.hasSetUpEvents=!0,r.renderer.setupTriggerEvents(i))):a?i.setAttribute(ql,""):i.removeAttribute(ql)}_createRipple(i){var v,g,x;if(!this._document||this._hosts.has(i))return;(v=i.querySelector(".mat-ripple"))==null||v.remove();let a=this._document.createElement("span");a.classList.add("mat-ripple",i.getAttribute(Wu)),i.append(a);let r=this._animationMode==="NoopAnimations",s=this._globalRippleOptions,l=r?0:((g=s==null?void 0:s.animation)==null?void 0:g.enterDuration)??Wc.enterDuration,c=r?0:((x=s==null?void 0:s.animation)==null?void 0:x.exitDuration)??Wc.exitDuration,d={rippleDisabled:r||(s==null?void 0:s.disabled)||i.hasAttribute(ql),rippleConfig:{centered:i.hasAttribute(Qv),terminateOnPointerUp:s==null?void 0:s.terminateOnPointerUp,animation:{enterDuration:l,exitDuration:c}}},u=new Ow(d,this._ngZone,a,this._platform,this._injector),m=!d.rippleDisabled;m&&u.setupTriggerEvents(i),this._hosts.set(i,{target:d,renderer:u,hasSetUpEvents:m}),i.removeAttribute(Yu)}destroyRipple(i){let a=this._hosts.get(i);a&&(a.renderer._removeTriggerEvents(),this._hosts.delete(i))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),cl=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(i,a){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}
22
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Dse=["*"],Ise=new G("MAT_BUTTON_CONFIG"),Ase=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],uf=(()=>{const t=class t{constructor(){o(this,"_elementRef",w(Fe));o(this,"_ngZone",w(Oe));o(this,"_animationMode",w(Ti,{optional:!0}));o(this,"_focusMonitor",w(ll));o(this,"_rippleLoader",w(Tw));o(this,"_isFab",!1);o(this,"color");o(this,"_disableRipple",!1);o(this,"_disabled",!1);o(this,"ariaDisabled");o(this,"disabledInteractive");var s;w(Mi).load(cl);let i=w(Ise,{optional:!0}),a=this._elementRef.nativeElement,r=a.classList;this.disabledInteractive=(i==null?void 0:i.disabledInteractive)??!1,this.color=(i==null?void 0:i.color)??null,(s=this._rippleLoader)==null||s.configureRipple(a,{className:"mat-mdc-button-ripple"});for(let{attribute:l,mdcClasses:c}of Ase)a.hasAttribute(l)&&r.add(...c)}get disableRipple(){return this._disableRipple}set disableRipple(i){this._disableRipple=i,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(i){this._disabled=i,this._updateRippleDisabled()}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){var i;this._focusMonitor.stopMonitoring(this._elementRef),(i=this._rippleLoader)==null||i.destroyRipple(this._elementRef.nativeElement)}focus(i="program",a){i?this._focusMonitor.focusVia(this._elementRef.nativeElement,i,a):this._elementRef.nativeElement.focus(a)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){var i;(i=this._rippleLoader)==null||i.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",He],disabled:[2,"disabled","disabled",He],ariaDisabled:[2,"aria-disabled","ariaDisabled",He],disabledInteractive:[2,"disabledInteractive","disabledInteractive",He]}}));let e=t;return e})(),Ose=(()=>{const t=class t extends uf{constructor(){super(...arguments);o(this,"_renderer",w(ji));o(this,"_cleanupClick");o(this,"tabIndex");o(this,"_haltDisabledEvents",a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())})}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._cleanupClick=this._renderer.listen(this._elementRef.nativeElement,"click",this._haltDisabledEvents)})}ngOnDestroy(){var a;super.ngOnDestroy(),(a=this._cleanupClick)==null||a.call(this)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled||null}};o(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=jt(t)))(r||t)}})()),o(t,"ɵdir",we({type:t,inputs:{tabIndex:[2,"tabIndex","tabIndex",a=>a==null?void 0:Yi(a)]},features:[Mt]}));let e=t;return e})(),zr=(()=>{const t=class t extends uf{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,a){i&2&&(ue("disabled",a._getDisabledAttribute())("aria-disabled",a._getAriaDisabled()),yn(a.color?"mat-"+a.color:""),Ae("mat-mdc-button-disabled",a.disabled)("mat-mdc-button-disabled-interactive",a.disabledInteractive)("_mat-animation-noopable",a._animationMode==="NoopAnimations")("mat-unthemed",!a.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[Mt],ngContentSelectors:Dse,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,a){i&1&&(ti(),se(0,"span",0),qe(1),se(2,"span",1)(3,"span",2))},styles:[`.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-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-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-icon-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}
23
- `,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
24
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Tse=new G("cdk-dir-doc",{providedIn:"root",factory:Mse});function Mse(){return w(Qe)}var Nse=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function Pse(e){let t=(e==null?void 0:e.toLowerCase())||"";return t==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?Nse.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var Xi=(()=>{const t=class t{constructor(){o(this,"value","ltr");o(this,"change",new de);let i=w(Tse,{optional:!0});if(i){let a=i.body?i.body.dir:null,r=i.documentElement?i.documentElement.dir:null;this.value=Pse(a||r||"ltr")}}ngOnDestroy(){this.change.complete()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ds=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({}));let e=t;return e})(),Ft=(()=>{const t=class t{constructor(){w(Sw)._applyBodyHighContrastModeCssClasses()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({imports:[Ds,Ds]}));let e=t;return e})(),hf=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({imports:[Ft,Ft]}));let e=t;return e})(),Mw=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Nw=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],Rse=`.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}
25
- `,Fse=`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
26
- `,Da=(()=>{const t=class t extends uf{};o(t,"ɵfac",(()=>{let i;return function(a){return(i||(i=jt(t)))(a||t)}})()),o(t,"ɵcmp",ve({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,a){i&2&&(ue("disabled",a._getDisabledAttribute())("aria-disabled",a._getAriaDisabled()),yn(a.color?"mat-"+a.color:""),Ae("mat-mdc-button-disabled",a.disabled)("mat-mdc-button-disabled-interactive",a.disabledInteractive)("_mat-animation-noopable",a._animationMode==="NoopAnimations")("mat-unthemed",!a.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[Mt],ngContentSelectors:Nw,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(i,a){i&1&&(ti(Mw),se(0,"span",0),qe(1),I(2,"span",1),qe(3,1),A(),qe(4,2),se(5,"span",2)(6,"span",3)),i&2&&Ae("mdc-button__ripple",!a._isFab)("mdc-fab__ripple",a._isFab)},styles:[`.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}
27
- `,`@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}}
28
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Vse=(()=>{const t=class t extends Ose{};o(t,"ɵfac",(()=>{let i;return function(a){return(i||(i=jt(t)))(a||t)}})()),o(t,"ɵcmp",ve({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(i,a){i&2&&(ue("disabled",a._getDisabledAttribute())("tabindex",a.disabled&&!a.disabledInteractive?-1:a.tabIndex)("aria-disabled",a._getAriaDisabled()),yn(a.color?"mat-"+a.color:""),Ae("mat-mdc-button-disabled",a.disabled)("mat-mdc-button-disabled-interactive",a.disabledInteractive)("_mat-animation-noopable",a._animationMode==="NoopAnimations")("mat-unthemed",!a.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[Mt],ngContentSelectors:Nw,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(i,a){i&1&&(ti(Mw),se(0,"span",0),qe(1),I(2,"span",1),qe(3,1),A(),qe(4,2),se(5,"span",2)(6,"span",3)),i&2&&Ae("mdc-button__ripple",!a._isFab)("mdc-fab__ripple",a._isFab)},styles:[Rse,Fse],encapsulation:2,changeDetection:0}));let e=t;return e})(),Qn=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({imports:[Ft,hf,Ft]}));let e=t;return e})(),pf=class{constructor(){o(this,"_attachedHost")}attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},Un=class extends pf{constructor(t,n,i,a,r){super();o(this,"component");o(this,"viewContainerRef");o(this,"injector");o(this,"componentFactoryResolver");o(this,"projectableNodes");this.component=t,this.viewContainerRef=n,this.injector=i,this.projectableNodes=r}},Xd=class extends pf{constructor(t,n,i,a){super();o(this,"templateRef");o(this,"viewContainerRef");o(this,"context");o(this,"injector");this.templateRef=t,this.viewContainerRef=n,this.context=i,this.injector=a}get origin(){return this.templateRef.elementRef}attach(t,n=this.context){return this.context=n,super.attach(t)}detach(){return this.context=void 0,super.detach()}},Lse=class extends pf{constructor(t){super();o(this,"element");this.element=t instanceof Fe?t.nativeElement:t}},Qd=class{constructor(){o(this,"_attachedPortal");o(this,"_disposeFn");o(this,"_isDisposed",!1);o(this,"attachDomPortal",null)}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof Un)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof Xd)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof Lse)return this._attachedPortal=e,this.attachDomPortal(e)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},zse=class extends Qd{constructor(t,n,i,a,r){super();o(this,"outletElement");o(this,"_appRef");o(this,"_defaultInjector");o(this,"_document");o(this,"attachDomPortal",t=>{let n=t.element;n.parentNode;let i=this._document.createComment("dom-portal");n.parentNode.insertBefore(i,n),this.outletElement.appendChild(n),this._attachedPortal=t,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(n,i)})});this.outletElement=t,this._appRef=i,this._defaultInjector=a,this._document=r}attachComponentPortal(t){let n;if(t.viewContainerRef){let i=t.injector||t.viewContainerRef.injector,a=i.get(Es,null,{optional:!0})||void 0;n=t.viewContainerRef.createComponent(t.component,{index:t.viewContainerRef.length,injector:i,ngModuleRef:a,projectableNodes:t.projectableNodes||void 0}),this.setDisposeFn(()=>n.destroy())}else{let i=this._appRef,a=t.injector||this._defaultInjector||dt.NULL,r=a.get(Ha,i.injector);n=O1(t.component,{elementInjector:a,environmentInjector:r,projectableNodes:t.projectableNodes||void 0}),i.attachView(n.hostView),this.setDisposeFn(()=>{i.viewCount>0&&i.detachView(n.hostView),n.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=t,n}attachTemplatePortal(t){let n=t.viewContainerRef,i=n.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return i.rootNodes.forEach(a=>this.outletElement.appendChild(a)),i.detectChanges(),this.setDisposeFn(()=>{let a=n.indexOf(i);a!==-1&&n.remove(a)}),this._attachedPortal=t,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}},Mr=(()=>{const t=class t extends Qd{constructor(){super();o(this,"_moduleRef",w(Es,{optional:!0}));o(this,"_document",w(Qe));o(this,"_viewContainerRef",w(Ka));o(this,"_isInitialized",!1);o(this,"_attachedRef");o(this,"attached",new de);o(this,"attachDomPortal",a=>{let r=a.element;r.parentNode;let s=this._document.createComment("dom-portal");a.setAttachedHost(this),r.parentNode.insertBefore(s,r),this._getRootNode().appendChild(r),this._attachedPortal=a,super.setDisposeFn(()=>{s.parentNode&&s.parentNode.replaceChild(r,s)})})}get portal(){return this._attachedPortal}set portal(a){this.hasAttached()&&!a&&!this._isInitialized||(this.hasAttached()&&super.detach(),a&&super.attach(a),this._attachedPortal=a||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(a){a.setAttachedHost(this);let r=a.viewContainerRef!=null?a.viewContainerRef:this._viewContainerRef,s=r.createComponent(a.component,{index:r.length,injector:a.injector||r.injector,projectableNodes:a.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return r!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=a,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(a){a.setAttachedHost(this);let r=this._viewContainerRef.createEmbeddedView(a.templateRef,a.context,{injector:a.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=a,this._attachedRef=r,this.attached.emit(r),r}_getRootNode(){let a=this._viewContainerRef.element.nativeElement;return a.nodeType===a.ELEMENT_NODE?a:a.parentNode}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",we({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Mt]}));let e=t;return e})(),Is=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({}));let e=t;return e})(),jse=20,mf=(()=>{const t=class t{constructor(){o(this,"_ngZone",w(Oe));o(this,"_platform",w(Wt));o(this,"_renderer",w(da).createRenderer(null,null));o(this,"_cleanupGlobalListener");o(this,"_scrolled",new he);o(this,"_scrolledCount",0);o(this,"scrollContainers",new Map)}register(i){this.scrollContainers.has(i)||this.scrollContainers.set(i,i.elementScrolled().subscribe(()=>this._scrolled.next(i)))}deregister(i){let a=this.scrollContainers.get(i);a&&(a.unsubscribe(),this.scrollContainers.delete(i))}scrolled(i=jse){return this._platform.isBrowser?new Ot(a=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=i>0?this._scrolled.pipe(b0(i)).subscribe(a):this._scrolled.subscribe(a);return this._scrolledCount++,()=>{var s;r.unsubscribe(),this._scrolledCount--,this._scrolledCount||((s=this._cleanupGlobalListener)==null||s.call(this),this._cleanupGlobalListener=void 0)}}):bt()}ngOnDestroy(){var i;(i=this._cleanupGlobalListener)==null||i.call(this),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((a,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(i,a){let r=this.getAncestorScrollContainers(i);return this.scrolled(a).pipe(di(s=>!s||r.indexOf(s)>-1))}getAncestorScrollContainers(i){let a=[];return this.scrollContainers.forEach((r,s)=>{this._scrollableContainsElement(s,i)&&a.push(s)}),a}_scrollableContainsElement(i,a){let r=Bn(a),s=i.getElementRef().nativeElement;do if(r==s)return!0;while(r=r.parentElement);return!1}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Bse=(()=>{const t=class t{constructor(){o(this,"elementRef",w(Fe));o(this,"scrollDispatcher",w(mf));o(this,"ngZone",w(Oe));o(this,"dir",w(Xi,{optional:!0}));o(this,"_scrollElement",this.elementRef.nativeElement);o(this,"_destroyed",new he);o(this,"_renderer",w(ji));o(this,"_cleanupScroll");o(this,"_elementScrolled",new he)}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",i=>this._elementScrolled.next(i))),this.scrollDispatcher.register(this)}ngOnDestroy(){var i;(i=this._cleanupScroll)==null||i.call(this),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(i){let a=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";i.left==null&&(i.left=r?i.end:i.start),i.right==null&&(i.right=r?i.start:i.end),i.bottom!=null&&(i.top=a.scrollHeight-a.clientHeight-i.bottom),r&&Yo()!=Na.NORMAL?(i.left!=null&&(i.right=a.scrollWidth-a.clientWidth-i.left),Yo()==Na.INVERTED?i.left=i.right:Yo()==Na.NEGATED&&(i.left=i.right?-i.right:i.right)):i.right!=null&&(i.left=a.scrollWidth-a.clientWidth-i.right),this._applyScrollToOptions(i)}_applyScrollToOptions(i){let a=this.elementRef.nativeElement;Aw()?a.scrollTo(i):(i.top!=null&&(a.scrollTop=i.top),i.left!=null&&(a.scrollLeft=i.left))}measureScrollOffset(i){let a="left",r="right",s=this.elementRef.nativeElement;if(i=="top")return s.scrollTop;if(i=="bottom")return s.scrollHeight-s.clientHeight-s.scrollTop;let l=this.dir&&this.dir.value=="rtl";return i=="start"?i=l?r:a:i=="end"&&(i=l?a:r),l&&Yo()==Na.INVERTED?i==a?s.scrollWidth-s.clientWidth-s.scrollLeft:s.scrollLeft:l&&Yo()==Na.NEGATED?i==a?s.scrollLeft+s.scrollWidth-s.clientWidth:-s.scrollLeft:i==a?s.scrollLeft:s.scrollWidth-s.clientWidth-s.scrollLeft}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}));let e=t;return e})(),Hse=20,ff=(()=>{const t=class t{constructor(){o(this,"_platform",w(Wt));o(this,"_listeners");o(this,"_viewportSize");o(this,"_change",new he);o(this,"_document",w(Qe,{optional:!0}));let i=w(Oe),a=w(da).createRenderer(null,null);i.runOutsideAngular(()=>{if(this._platform.isBrowser){let r=s=>this._change.next(s);this._listeners=[a.listen("window","resize",r),a.listen("window","orientationchange",r)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){var i;(i=this._listeners)==null||i.forEach(a=>a()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let i={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),i}getViewportRect(){let i=this.getViewportScrollPosition(),{width:a,height:r}=this.getViewportSize();return{top:i.top,left:i.left,bottom:i.top+r,right:i.left+a,height:r,width:a}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let i=this._document,a=this._getWindow(),r=i.documentElement,s=r.getBoundingClientRect(),l=-s.top||i.body.scrollTop||a.scrollY||r.scrollTop||0,c=-s.left||i.body.scrollLeft||a.scrollX||r.scrollLeft||0;return{top:l,left:c}}change(i=Hse){return i>0?this._change.pipe(b0(i)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let i=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:i.innerWidth,height:i.innerHeight}:{width:0,height:0}}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Zc=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({}));let e=t;return e})(),Jv=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({imports:[Ds,Zc,Ds,Zc]}));let e=t;return e})(),eb=Aw(),$se=class{constructor(e,t){o(this,"_viewportRuler");o(this,"_previousHTMLStyles",{top:"",left:""});o(this,"_previousScrollPosition");o(this,"_isEnabled",!1);o(this,"_document");this._viewportRuler=e,this._document=t}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Qt(-this._previousScrollPosition.left),e.style.top=Qt(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,t=this._document.body,n=e.style,i=t.style,a=n.scrollBehavior||"",r=i.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),eb&&(n.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),eb&&(n.scrollBehavior=a,i.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}},qse=class{constructor(e,t,n,i){o(this,"_scrollDispatcher");o(this,"_ngZone");o(this,"_viewportRuler");o(this,"_config");o(this,"_scrollSubscription",null);o(this,"_overlayRef");o(this,"_initialScrollPosition");o(this,"_detach",()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())});this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=n,this._config=i}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(di(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},Pw=class{enable(){}disable(){}attach(){}};function bp(e,t){return t.some(n=>{let i=e.bottom<n.top,a=e.top>n.bottom,r=e.right<n.left,s=e.left>n.right;return i||a||r||s})}function tb(e,t){return t.some(n=>{let i=e.top<n.top,a=e.bottom>n.bottom,r=e.left<n.left,s=e.right>n.right;return i||a||r||s})}var Gse=class{constructor(e,t,n,i){o(this,"_scrollDispatcher");o(this,"_viewportRuler");o(this,"_ngZone");o(this,"_config");o(this,"_scrollSubscription",null);o(this,"_overlayRef");this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this._config=i}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:n,height:i}=this._viewportRuler.getViewportSize();bp(t,[{width:n,height:i,bottom:i,right:n,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},Use=(()=>{const t=class t{constructor(){o(this,"_scrollDispatcher",w(mf));o(this,"_viewportRuler",w(ff));o(this,"_ngZone",w(Oe));o(this,"_document",w(Qe));o(this,"noop",()=>new Pw);o(this,"close",i=>new qse(this._scrollDispatcher,this._ngZone,this._viewportRuler,i));o(this,"block",()=>new $se(this._viewportRuler,this._document));o(this,"reposition",i=>new Gse(this._scrollDispatcher,this._viewportRuler,this._ngZone,i))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),dl=class{constructor(e){o(this,"positionStrategy");o(this,"scrollStrategy",new Pw);o(this,"panelClass","");o(this,"hasBackdrop",!1);o(this,"backdropClass","cdk-overlay-dark-backdrop");o(this,"width");o(this,"height");o(this,"minWidth");o(this,"minHeight");o(this,"maxWidth");o(this,"maxHeight");o(this,"direction");o(this,"disposeOnNavigation",!1);if(e){let t=Object.keys(e);for(let n of t)e[n]!==void 0&&(this[n]=e[n])}}},Yse=class{constructor(e,t){o(this,"connectionPair");o(this,"scrollableViewProperties");this.connectionPair=e,this.scrollableViewProperties=t}},Rw=(()=>{const t=class t{constructor(){o(this,"_attachedOverlays",[]);o(this,"_document",w(Qe));o(this,"_isAttached")}ngOnDestroy(){this.detach()}add(i){this.remove(i),this._attachedOverlays.push(i)}remove(i){let a=this._attachedOverlays.indexOf(i);a>-1&&this._attachedOverlays.splice(a,1),this._attachedOverlays.length===0&&this.detach()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Wse=(()=>{const t=class t extends Rw{constructor(){super(...arguments);o(this,"_ngZone",w(Oe));o(this,"_renderer",w(da).createRenderer(null,null));o(this,"_cleanupKeydown");o(this,"_keydownListener",a=>{let r=this._attachedOverlays;for(let s=r.length-1;s>-1;s--)if(r[s]._keydownEvents.observers.length>0){this._ngZone.run(()=>r[s]._keydownEvents.next(a));break}})}add(a){super.add(a),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){var a;this._isAttached&&((a=this._cleanupKeydown)==null||a.call(this),this._isAttached=!1)}};o(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=jt(t)))(r||t)}})()),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Zse=(()=>{const t=class t extends Rw{constructor(){super(...arguments);o(this,"_platform",w(Wt));o(this,"_ngZone",w(Oe));o(this,"_renderer",w(da).createRenderer(null,null));o(this,"_cursorOriginalValue");o(this,"_cursorStyleIsSet",!1);o(this,"_pointerDownEventTarget");o(this,"_cleanups");o(this,"_pointerDownListener",a=>{this._pointerDownEventTarget=za(a)});o(this,"_clickListener",a=>{let r=za(a),s=a.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:r;this._pointerDownEventTarget=null;let l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){let d=l[c];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(ib(d.overlayElement,r)||ib(d.overlayElement,s))break;let u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(a)):u.next(a)}})}add(a){if(super.add(a),!this._isAttached){let r=this._document.body,s={capture:!0};this._cleanups=this._ngZone.runOutsideAngular(()=>[fi(this._renderer,r,"pointerdown",this._pointerDownListener,s),fi(this._renderer,r,"click",this._clickListener,s),fi(this._renderer,r,"auxclick",this._clickListener,s),fi(this._renderer,r,"contextmenu",this._clickListener,s)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){var a;this._isAttached&&((a=this._cleanups)==null||a.forEach(r=>r()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}};o(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=jt(t)))(r||t)}})()),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function ib(e,t){let n=typeof ShadowRoot<"u"&&ShadowRoot,i=t;for(;i;){if(i===e)return!0;i=n&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}var Fw=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,a){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
29
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),gf=(()=>{const t=class t{constructor(){o(this,"_platform",w(Wt));o(this,"_containerElement");o(this,"_document",w(Qe));o(this,"_styleLoader",w(Mi))}ngOnDestroy(){var i;(i=this._containerElement)==null||i.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let i="cdk-overlay-container";if(this._platform.isBrowser||Gv()){let r=this._document.querySelectorAll(`.${i}[platform="server"], .${i}[platform="test"]`);for(let s=0;s<r.length;s++)r[s].remove()}let a=this._document.createElement("div");a.classList.add(i),Gv()?a.setAttribute("platform","test"):this._platform.isBrowser||a.setAttribute("platform","server"),this._document.body.appendChild(a),this._containerElement=a}_loadStyles(){this._styleLoader.load(Fw)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Kse=class{constructor(e,t,n,i){o(this,"_renderer");o(this,"_ngZone");o(this,"element");o(this,"_cleanupClick");o(this,"_cleanupTransitionEnd");o(this,"_fallbackTimeout");o(this,"dispose",()=>{var e,t;clearTimeout(this._fallbackTimeout),(e=this._cleanupClick)==null||e.call(this),(t=this._cleanupTransitionEnd)==null||t.call(this),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()});this._renderer=t,this._ngZone=n,this.element=e.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=t.listen(this.element,"click",i)}detach(){this._ngZone.runOutsideAngular(()=>{var t;let e=this.element;clearTimeout(this._fallbackTimeout),(t=this._cleanupTransitionEnd)==null||t.call(this),this._cleanupTransitionEnd=this._renderer.listen(e,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),e.style.pointerEvents="none",e.classList.remove("cdk-overlay-backdrop-showing")})}},vf=class{constructor(e,t,n,i,a,r,s,l,c,d=!1,u,m){o(this,"_portalOutlet");o(this,"_host");o(this,"_pane");o(this,"_config");o(this,"_ngZone");o(this,"_keyboardDispatcher");o(this,"_document");o(this,"_location");o(this,"_outsideClickDispatcher");o(this,"_animationsDisabled");o(this,"_injector");o(this,"_renderer");o(this,"_backdropClick",new he);o(this,"_attachments",new he);o(this,"_detachments",new he);o(this,"_positionStrategy");o(this,"_scrollStrategy");o(this,"_locationChanges",ut.EMPTY);o(this,"_backdropRef",null);o(this,"_previousHostParent");o(this,"_keydownEvents",new he);o(this,"_outsidePointerEvents",new he);o(this,"_renders",new he);o(this,"_afterRenderRef");o(this,"_afterNextRenderRef");this._portalOutlet=e,this._host=t,this._pane=n,this._config=i,this._ngZone=a,this._keyboardDispatcher=r,this._document=s,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._injector=u,this._renderer=m,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy,this._afterRenderRef=va(()=>Dm(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){var e;return((e=this._backdropRef)==null?void 0:e.element)||null}get hostElement(){return this._host}attach(e){var n;!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let t=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),(n=this._afterNextRenderRef)==null||n.destroy(),this._afterNextRenderRef=Ir(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof(t==null?void 0:t.onDestroy)=="function"&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){var t,n,i;let e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),(t=this._backdropRef)==null||t.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),(n=this._host)==null||n.remove(),(i=this._afterNextRenderRef)==null||i.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,e&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=J(J({},this._config),e),this._updateElementSize()}setDirection(e){this._config=tt(J({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=Qt(this._config.width),e.height=Qt(this._config.height),e.minWidth=Qt(this._config.minWidth),e.minHeight=Qt(this._config.minHeight),e.maxWidth=Qt(this._config.maxWidth),e.maxHeight=Qt(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){var t;let e="cdk-overlay-backdrop-showing";(t=this._backdropRef)==null||t.dispose(),this._backdropRef=new Kse(this._document,this._renderer,this._ngZone,n=>{this._backdropClick.next(n)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{var n;return(n=this._backdropRef)==null?void 0:n.element.classList.add(e)})}):this._backdropRef.element.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){var e,t;this._animationsDisabled?((e=this._backdropRef)==null||e.dispose(),this._backdropRef=null):(t=this._backdropRef)==null||t.detach()}_toggleClasses(e,t,n){let i=Uc(t||[]).filter(a=>!!a);i.length&&(n?e.classList.add(...i):e.classList.remove(...i))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let e=this._renders.pipe(At(na(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),e.unsubscribe())})})}_disposeScrollStrategy(){var t;let e=this._scrollStrategy;e==null||e.disable(),(t=e==null?void 0:e.detach)==null||t.call(e)}},ab="cdk-overlay-connected-position-bounding-box",Xse=/([A-Za-z%]+)$/,Vw=class{constructor(e,t,n,i,a){o(this,"_viewportRuler");o(this,"_document");o(this,"_platform");o(this,"_overlayContainer");o(this,"_overlayRef");o(this,"_isInitialRender");o(this,"_lastBoundingBoxSize",{width:0,height:0});o(this,"_isPushed",!1);o(this,"_canPush",!0);o(this,"_growAfterOpen",!1);o(this,"_hasFlexibleDimensions",!0);o(this,"_positionLocked",!1);o(this,"_originRect");o(this,"_overlayRect");o(this,"_viewportRect");o(this,"_containerRect");o(this,"_viewportMargin",0);o(this,"_scrollables",[]);o(this,"_preferredPositions",[]);o(this,"_origin");o(this,"_pane");o(this,"_isDisposed");o(this,"_boundingBox");o(this,"_lastPosition");o(this,"_lastScrollVisibility");o(this,"_positionChanges",new he);o(this,"_resizeSubscription",ut.EMPTY);o(this,"_offsetX",0);o(this,"_offsetY",0);o(this,"_transformOriginSelector");o(this,"_appliedPanelClasses",[]);o(this,"_previousPushAmount");o(this,"positionChanges",this._positionChanges);this._viewportRuler=t,this._document=n,this._platform=i,this._overlayContainer=a,this.setOrigin(e)}get positions(){return this._preferredPositions}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(ab),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._originRect,t=this._overlayRect,n=this._viewportRect,i=this._containerRect,a=[],r;for(let s of this._preferredPositions){let l=this._getOriginPoint(e,i,s),c=this._getOverlayPoint(l,t,s),d=this._getOverlayFit(c,t,n,s);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,l);return}if(this._canFitWithFlexibleDimensions(d,c,n)){a.push({position:s,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,s)});continue}(!r||r.overlayFit.visibleArea<d.visibleArea)&&(r={overlayFit:d,overlayPoint:c,originPoint:l,position:s,overlayRect:t})}if(a.length){let s=null,l=-1;for(let c of a){let d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);d>l&&(l=d,s=c)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(r.position,r.originPoint);return}this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&nr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(ab),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,t)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t,n){let i;if(n.originX=="center")i=e.left+e.width/2;else{let r=this._isRtl()?e.right:e.left,s=this._isRtl()?e.left:e.right;i=n.originX=="start"?r:s}t.left<0&&(i-=t.left);let a;return n.originY=="center"?a=e.top+e.height/2:a=n.originY=="top"?e.top:e.bottom,t.top<0&&(a-=t.top),{x:i,y:a}}_getOverlayPoint(e,t,n){let i;n.overlayX=="center"?i=-t.width/2:n.overlayX==="start"?i=this._isRtl()?-t.width:0:i=this._isRtl()?0:-t.width;let a;return n.overlayY=="center"?a=-t.height/2:a=n.overlayY=="top"?0:-t.height,{x:e.x+i,y:e.y+a}}_getOverlayFit(e,t,n,i){let a=rb(t),{x:r,y:s}=e,l=this._getOffset(i,"x"),c=this._getOffset(i,"y");l&&(r+=l),c&&(s+=c);let d=0-r,u=r+a.width-n.width,m=0-s,v=s+a.height-n.height,g=this._subtractOverflows(a.width,d,u),x=this._subtractOverflows(a.height,m,v),S=g*x;return{visibleArea:S,isCompletelyWithinViewport:a.width*a.height===S,fitsInViewportVertically:x===a.height,fitsInViewportHorizontally:g==a.width}}_canFitWithFlexibleDimensions(e,t,n){if(this._hasFlexibleDimensions){let i=n.bottom-t.y,a=n.right-t.x,r=nb(this._overlayRef.getConfig().minHeight),s=nb(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||r!=null&&r<=i,c=e.fitsInViewportHorizontally||s!=null&&s<=a;return l&&c}return!1}_pushOverlayOnScreen(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let i=rb(t),a=this._viewportRect,r=Math.max(e.x+i.width-a.width,0),s=Math.max(e.y+i.height-a.height,0),l=Math.max(a.top-n.top-e.y,0),c=Math.max(a.left-n.left-e.x,0),d=0,u=0;return i.width<=a.width?d=c||-r:d=e.x<this._viewportMargin?a.left-n.left-e.x:0,i.height<=a.height?u=l||-s:u=e.y<this._viewportMargin?a.top-n.top-e.y:0,this._previousPushAmount={x:d,y:u},{x:e.x+d,y:e.y+u}}_applyPosition(e,t){if(this._setTransformOrigin(e),this._setOverlayElementStyles(t,e),this._setBoundingBoxStyles(t,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._positionChanges.observers.length){let n=this._getScrollVisibility();if(e!==this._lastPosition||!this._lastScrollVisibility||!Qse(this._lastScrollVisibility,n)){let i=new Yse(e,n);this._positionChanges.next(i)}this._lastScrollVisibility=n}this._lastPosition=e,this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;let t=this._boundingBox.querySelectorAll(this._transformOriginSelector),n,i=e.overlayY;e.overlayX==="center"?n="center":this._isRtl()?n=e.overlayX==="start"?"right":"left":n=e.overlayX==="start"?"left":"right";for(let a=0;a<t.length;a++)t[a].style.transformOrigin=`${n} ${i}`}_calculateBoundingBoxRect(e,t){let n=this._viewportRect,i=this._isRtl(),a,r,s;if(t.overlayY==="top")r=e.y,a=n.height-r+this._viewportMargin;else if(t.overlayY==="bottom")s=n.height-e.y+this._viewportMargin*2,a=n.height-s+this._viewportMargin;else{let v=Math.min(n.bottom-e.y+n.top,e.y),g=this._lastBoundingBoxSize.height;a=v*2,r=e.y-v,a>g&&!this._isInitialRender&&!this._growAfterOpen&&(r=e.y-g/2)}let l=t.overlayX==="start"&&!i||t.overlayX==="end"&&i,c=t.overlayX==="end"&&!i||t.overlayX==="start"&&i,d,u,m;if(c)m=n.width-e.x+this._viewportMargin*2,d=e.x-this._viewportMargin;else if(l)u=e.x,d=n.right-e.x;else{let v=Math.min(n.right-e.x+n.left,e.x),g=this._lastBoundingBoxSize.width;d=v*2,u=e.x-v,d>g&&!this._isInitialRender&&!this._growAfterOpen&&(u=e.x-g/2)}return{top:r,left:u,bottom:s,right:m,width:d,height:a}}_setBoundingBoxStyles(e,t){let n=this._calculateBoundingBoxRect(e,t);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let a=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;i.height=Qt(n.height),i.top=Qt(n.top),i.bottom=Qt(n.bottom),i.width=Qt(n.width),i.left=Qt(n.left),i.right=Qt(n.right),t.overlayX==="center"?i.alignItems="center":i.alignItems=t.overlayX==="end"?"flex-end":"flex-start",t.overlayY==="center"?i.justifyContent="center":i.justifyContent=t.overlayY==="bottom"?"flex-end":"flex-start",a&&(i.maxHeight=Qt(a)),r&&(i.maxWidth=Qt(r))}this._lastBoundingBoxSize=n,nr(this._boundingBox.style,i)}_resetBoundingBoxStyles(){nr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){nr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){let n={},i=this._hasExactPosition(),a=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(i){let d=this._viewportRuler.getViewportScrollPosition();nr(n,this._getExactOverlayY(t,e,d)),nr(n,this._getExactOverlayX(t,e,d))}else n.position="static";let s="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(s+=`translateX(${l}px) `),c&&(s+=`translateY(${c}px)`),n.transform=s.trim(),r.maxHeight&&(i?n.maxHeight=Qt(r.maxHeight):a&&(n.maxHeight="")),r.maxWidth&&(i?n.maxWidth=Qt(r.maxWidth):a&&(n.maxWidth="")),nr(this._pane.style,n)}_getExactOverlayY(e,t,n){let i={top:"",bottom:""},a=this._getOverlayPoint(t,this._overlayRect,e);if(this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,n)),e.overlayY==="bottom"){let r=this._document.documentElement.clientHeight;i.bottom=`${r-(a.y+this._overlayRect.height)}px`}else i.top=Qt(a.y);return i}_getExactOverlayX(e,t,n){let i={left:"",right:""},a=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,n));let r;if(this._isRtl()?r=e.overlayX==="end"?"left":"right":r=e.overlayX==="end"?"right":"left",r==="right"){let s=this._document.documentElement.clientWidth;i.right=`${s-(a.x+this._overlayRect.width)}px`}else i.left=Qt(a.x);return i}_getScrollVisibility(){let e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:tb(e,n),isOriginOutsideView:bp(e,n),isOverlayClipped:tb(t,n),isOverlayOutsideView:bp(t,n)}}_subtractOverflows(e,...t){return t.reduce((n,i)=>n-Math.max(i,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+e-this._viewportMargin,bottom:n.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return t==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&Uc(e).forEach(t=>{t!==""&&this._appliedPanelClasses.indexOf(t)===-1&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof Fe)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let t=e.width||0,n=e.height||0;return{top:e.y,bottom:e.y+n,left:e.x,right:e.x+t,height:n,width:t}}};function nr(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function nb(e){if(typeof e!="number"&&e!=null){let[t,n]=e.split(Xse);return!n||n==="px"?parseFloat(t):null}return e||null}function rb(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}function Qse(e,t){return e===t?!0:e.isOriginClipped===t.isOriginClipped&&e.isOriginOutsideView===t.isOriginOutsideView&&e.isOverlayClipped===t.isOverlayClipped&&e.isOverlayOutsideView===t.isOverlayOutsideView}var ob="cdk-global-overlay-wrapper",Jse=class{constructor(){o(this,"_overlayRef");o(this,"_cssPosition","static");o(this,"_topOffset","");o(this,"_bottomOffset","");o(this,"_alignItems","");o(this,"_xPosition","");o(this,"_xOffset","");o(this,"_width","");o(this,"_height","");o(this,"_isDisposed",!1)}attach(e){let t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(ob),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:i,height:a,maxWidth:r,maxHeight:s}=n,l=(i==="100%"||i==="100vw")&&(!r||r==="100%"||r==="100vw"),c=(a==="100%"||a==="100vh")&&(!s||s==="100%"||s==="100vh"),d=this._xPosition,u=this._xOffset,m=this._overlayRef.getConfig().direction==="rtl",v="",g="",x="";l?x="flex-start":d==="center"?(x="center",m?g=u:v=u):m?d==="left"||d==="end"?(x="flex-end",v=u):(d==="right"||d==="start")&&(x="flex-start",g=u):d==="left"||d==="start"?(x="flex-start",v=u):(d==="right"||d==="end")&&(x="flex-end",g=u),e.position=this._cssPosition,e.marginLeft=l?"0":v,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":g,t.justifyContent=x,t.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,n=t.style;t.classList.remove(ob),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},ele=(()=>{const t=class t{constructor(){o(this,"_viewportRuler",w(ff));o(this,"_document",w(Qe));o(this,"_platform",w(Wt));o(this,"_overlayContainer",w(gf))}global(){return new Jse}flexibleConnectedTo(i){return new Vw(i,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Ei=(()=>{const t=class t{constructor(){o(this,"scrollStrategies",w(Use));o(this,"_overlayContainer",w(gf));o(this,"_positionBuilder",w(ele));o(this,"_keyboardDispatcher",w(Wse));o(this,"_injector",w(dt));o(this,"_ngZone",w(Oe));o(this,"_document",w(Qe));o(this,"_directionality",w(Xi));o(this,"_location",w(P1));o(this,"_outsideClickDispatcher",w(Zse));o(this,"_animationsModuleType",w(Ti,{optional:!0}));o(this,"_idGenerator",w(hi));o(this,"_renderer",w(da).createRenderer(null,null));o(this,"_appRef");o(this,"_styleLoader",w(Mi))}create(i){this._styleLoader.load(Fw);let a=this._createHostElement(),r=this._createPaneElement(a),s=this._createPortalOutlet(r),l=new dl(i);return l.direction=l.direction||this._directionality.value,new vf(s,a,r,l,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(Ha),this._renderer)}position(){return this._positionBuilder}_createPaneElement(i){let a=this._document.createElement("div");return a.id=this._idGenerator.getId("cdk-overlay-"),a.classList.add("cdk-overlay-pane"),i.appendChild(a),a}_createHostElement(){let i=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(i),i}_createPortalOutlet(i){return this._appRef||(this._appRef=this._injector.get($n)),new zse(i,null,this._appRef,this._injector,this._document)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),tle=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Lw=new G("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let e=w(Ei);return()=>e.scrollStrategies.reposition()}}),Kc=(()=>{const t=class t{constructor(){o(this,"elementRef",w(Fe))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}));let e=t;return e})(),sb=(()=>{const t=class t{constructor(){o(this,"_overlay",w(Ei));o(this,"_dir",w(Xi,{optional:!0}));o(this,"_overlayRef");o(this,"_templatePortal");o(this,"_backdropSubscription",ut.EMPTY);o(this,"_attachSubscription",ut.EMPTY);o(this,"_detachSubscription",ut.EMPTY);o(this,"_positionSubscription",ut.EMPTY);o(this,"_offsetX");o(this,"_offsetY");o(this,"_position");o(this,"_scrollStrategyFactory",w(Lw));o(this,"_disposeOnNavigation",!1);o(this,"_ngZone",w(Oe));o(this,"origin");o(this,"positions");o(this,"positionStrategy");o(this,"width");o(this,"height");o(this,"minWidth");o(this,"minHeight");o(this,"backdropClass");o(this,"panelClass");o(this,"viewportMargin",0);o(this,"scrollStrategy");o(this,"open",!1);o(this,"disableClose",!1);o(this,"transformOriginSelector");o(this,"hasBackdrop",!1);o(this,"lockPosition",!1);o(this,"flexibleDimensions",!1);o(this,"growAfterOpen",!1);o(this,"push",!1);o(this,"backdropClick",new de);o(this,"positionChange",new de);o(this,"attach",new de);o(this,"detach",new de);o(this,"overlayKeydown",new de);o(this,"overlayOutsideClick",new de);let i=w(bn),a=w(Ka);this._templatePortal=new Xd(i,a),this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(i){this._offsetX=i,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(i){this._offsetY=i,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(i){this._disposeOnNavigation=i}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){var i;this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),(i=this._overlayRef)==null||i.dispose()}ngOnChanges(i){var a;this._position&&(this._updatePositionStrategy(this._position),(a=this._overlayRef)==null||a.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),i.origin&&this.open&&this._position.apply()),i.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=tle);let i=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=i.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=i.detachments().subscribe(()=>this.detach.emit()),i.keydownEvents().subscribe(a=>{this.overlayKeydown.next(a),a.keyCode===27&&!this.disableClose&&!Oi(a)&&(a.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(a=>{let r=this._getOriginElement(),s=za(a);(!r||r!==s&&!r.contains(s))&&this.overlayOutsideClick.next(a)})}_buildConfig(){let i=this._position=this.positionStrategy||this._createPositionStrategy(),a=new dl({direction:this._dir||"ltr",positionStrategy:i,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(a.width=this.width),(this.height||this.height===0)&&(a.height=this.height),(this.minWidth||this.minWidth===0)&&(a.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(a.minHeight=this.minHeight),this.backdropClass&&(a.backdropClass=this.backdropClass),this.panelClass&&(a.panelClass=this.panelClass),a}_updatePositionStrategy(i){let a=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return i.setOrigin(this._getOrigin()).withPositions(a).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let i=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(i),i}_getOrigin(){return this.origin instanceof Kc?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Kc?this.origin.elementRef.nativeElement:this.origin instanceof Fe?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(i=>{this.backdropClick.emit(i)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(qX(()=>this.positionChange.observers.length>0)).subscribe(i=>{this._ngZone.run(()=>this.positionChange.emit(i)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){var i;(i=this._overlayRef)==null||i.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",He],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",He],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",He],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",He],push:[2,"cdkConnectedOverlayPush","push",He],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",He]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[wi]}));let e=t;return e})();function ile(e){return()=>e.scrollStrategies.reposition()}var ale={provide:Lw,deps:[Ei],useFactory:ile},Jd=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({providers:[Ei,ale],imports:[Ds,Is,Jv,Jv]}));let e=t;return e})();function nle(e,t){}var As=class{constructor(){o(this,"viewContainerRef");o(this,"injector");o(this,"id");o(this,"role","dialog");o(this,"panelClass","");o(this,"hasBackdrop",!0);o(this,"backdropClass","");o(this,"disableClose",!1);o(this,"width","");o(this,"height","");o(this,"minWidth");o(this,"minHeight");o(this,"maxWidth");o(this,"maxHeight");o(this,"positionStrategy");o(this,"data",null);o(this,"direction");o(this,"ariaDescribedBy",null);o(this,"ariaLabelledBy",null);o(this,"ariaLabel",null);o(this,"ariaModal",!1);o(this,"autoFocus","first-tabbable");o(this,"restoreFocus",!0);o(this,"scrollStrategy");o(this,"closeOnNavigation",!0);o(this,"closeOnDestroy",!0);o(this,"closeOnOverlayDetachments",!0);o(this,"componentFactoryResolver");o(this,"providers");o(this,"container");o(this,"templateContext")}},zw=(()=>{const t=class t extends Qd{constructor(){super();o(this,"_elementRef",w(Fe));o(this,"_focusTrapFactory",w(xw));o(this,"_config");o(this,"_interactivityChecker",w(lf));o(this,"_ngZone",w(Oe));o(this,"_overlayRef",w(vf));o(this,"_focusMonitor",w(ll));o(this,"_renderer",w(ji));o(this,"_changeDetectorRef",w(Vt));o(this,"_injector",w(dt));o(this,"_platform",w(Wt));o(this,"_document",w(Qe,{optional:!0}));o(this,"_portalOutlet");o(this,"_focusTrapped",new he);o(this,"_focusTrap",null);o(this,"_elementFocusedBeforeDialogWasOpened",null);o(this,"_closeInteractionType",null);o(this,"_ariaLabelledByQueue",[]);o(this,"_isDestroyed",!1);o(this,"attachDomPortal",a=>{this._portalOutlet.hasAttached();let r=this._portalOutlet.attachDomPortal(a);return this._contentAttached(),r});this._config=w(As,{optional:!0})||new As,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(a){this._ariaLabelledByQueue.push(a),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(a){let r=this._ariaLabelledByQueue.indexOf(a);r>-1&&(this._ariaLabelledByQueue.splice(r,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(a){this._portalOutlet.hasAttached();let r=this._portalOutlet.attachComponentPortal(a);return this._contentAttached(),r}attachTemplatePortal(a){this._portalOutlet.hasAttached();let r=this._portalOutlet.attachTemplatePortal(a);return this._contentAttached(),r}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(a,r){this._interactivityChecker.isFocusable(a)||(a.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let s=()=>{l(),c(),a.removeAttribute("tabindex")},l=this._renderer.listen(a,"blur",s),c=this._renderer.listen(a,"mousedown",s)})),a.focus(r)}_focusByCssSelector(a,r){let s=this._elementRef.nativeElement.querySelector(a);s&&this._forceFocus(s,r)}_trapFocus(a){this._isDestroyed||Ir(()=>{var s;let r=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||r.focus(a);break;case!0:case"first-tabbable":(s=this._focusTrap)!=null&&s.focusInitialElement(a)||this._focusDialogContainer(a);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',a);break;default:this._focusByCssSelector(this._config.autoFocus,a);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let a=this._config.restoreFocus,r=null;if(typeof a=="string"?r=this._document.querySelector(a):typeof a=="boolean"?r=a?this._elementFocusedBeforeDialogWasOpened:null:a&&(r=a),this._config.restoreFocus&&r&&typeof r.focus=="function"){let s=lo(),l=this._elementRef.nativeElement;(!s||s===this._document.body||s===l||l.contains(s))&&(this._focusMonitor?(this._focusMonitor.focusVia(r,this._closeInteractionType),this._closeInteractionType=null):r.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(a){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus(a)}_containsFocus(){let a=this._elementRef.nativeElement,r=lo();return a===r||a.contains(r)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=lo()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(a,r){if(a&1&&pt(Mr,7),a&2){let s;Ne(s=Pe())&&(r._portalOutlet=s.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(a,r){a&2&&ue("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},features:[Mt],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(a,r){a&1&&K(0,nle,0,0,"ng-template",0)},dependencies:[Mr],styles:[`.cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}
30
- `],encapsulation:2}));let e=t;return e})(),Zu=class{constructor(e,t){o(this,"overlayRef");o(this,"config");o(this,"componentInstance");o(this,"componentRef");o(this,"containerInstance");o(this,"disableClose");o(this,"closed",new he);o(this,"backdropClick");o(this,"keydownEvents");o(this,"outsidePointerEvents");o(this,"id");o(this,"_detachSubscription");this.overlayRef=e,this.config=t,this.disableClose=t.disableClose,this.backdropClick=e.backdropClick(),this.keydownEvents=e.keydownEvents(),this.outsidePointerEvents=e.outsidePointerEvents(),this.id=t.id,this.keydownEvents.subscribe(n=>{n.keyCode===27&&!this.disableClose&&!Oi(n)&&(n.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=e.detachments().subscribe(()=>{t.closeOnOverlayDetachments!==!1&&this.close()})}close(e,t){if(this.containerInstance){let n=this.closed;this.containerInstance._closeInteractionType=(t==null?void 0:t.focusOrigin)||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),n.next(e),n.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(e="",t=""){return this.overlayRef.updateSize({width:e,height:t}),this}addPanelClass(e){return this.overlayRef.addPanelClass(e),this}removePanelClass(e){return this.overlayRef.removePanelClass(e),this}},rle=new G("DialogScrollStrategy",{providedIn:"root",factory:()=>{let e=w(Ei);return()=>e.scrollStrategies.block()}}),ole=new G("DialogData"),sle=new G("DefaultDialogConfig"),jw=(()=>{const t=class t{constructor(){o(this,"_overlay",w(Ei));o(this,"_injector",w(dt));o(this,"_defaultOptions",w(sle,{optional:!0}));o(this,"_parentDialog",w(t,{optional:!0,skipSelf:!0}));o(this,"_overlayContainer",w(gf));o(this,"_idGenerator",w(hi));o(this,"_openDialogsAtThisLevel",[]);o(this,"_afterAllClosedAtThisLevel",new he);o(this,"_afterOpenedAtThisLevel",new he);o(this,"_ariaHiddenElements",new Map);o(this,"_scrollStrategy",w(rle));o(this,"afterAllClosed",vs(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(ra(void 0))))}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(i,a){let r=this._defaultOptions||new As;a=J(J({},r),a),a.id=a.id||this._idGenerator.getId("cdk-dialog-"),a.id&&this.getDialogById(a.id);let s=this._getOverlayConfig(a),l=this._overlay.create(s),c=new Zu(l,a),d=this._attachContainer(l,c,a);if(c.containerInstance=d,!this.openDialogs.length){let u=this._overlayContainer.getContainerElement();d._focusTrapped?d._focusTrapped.pipe(vi(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(u)}):this._hideNonDialogContentFromAssistiveTechnology(u)}return this._attachDialogContent(i,c,d,a),this.openDialogs.push(c),c.closed.subscribe(()=>this._removeOpenDialog(c,!0)),this.afterOpened.next(c),c}closeAll(){Ku(this.openDialogs,i=>i.close())}getDialogById(i){return this.openDialogs.find(a=>a.id===i)}ngOnDestroy(){Ku(this._openDialogsAtThisLevel,i=>{i.config.closeOnDestroy===!1&&this._removeOpenDialog(i,!1)}),Ku(this._openDialogsAtThisLevel,i=>i.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(i){let a=new dl({positionStrategy:i.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:i.scrollStrategy||this._scrollStrategy(),panelClass:i.panelClass,hasBackdrop:i.hasBackdrop,direction:i.direction,minWidth:i.minWidth,minHeight:i.minHeight,maxWidth:i.maxWidth,maxHeight:i.maxHeight,width:i.width,height:i.height,disposeOnNavigation:i.closeOnNavigation});return i.backdropClass&&(a.backdropClass=i.backdropClass),a}_attachContainer(i,a,r){var u;let s=r.injector||((u=r.viewContainerRef)==null?void 0:u.injector),l=[{provide:As,useValue:r},{provide:Zu,useValue:a},{provide:vf,useValue:i}],c;r.container?typeof r.container=="function"?c=r.container:(c=r.container.type,l.push(...r.container.providers(r))):c=zw;let d=new Un(c,r.viewContainerRef,dt.create({parent:s||this._injector,providers:l}));return i.attach(d).instance}_attachDialogContent(i,a,r,s){if(i instanceof bn){let l=this._createInjector(s,a,r,void 0),c={$implicit:s.data,dialogRef:a};s.templateContext&&(c=J(J({},c),typeof s.templateContext=="function"?s.templateContext():s.templateContext)),r.attachTemplatePortal(new Xd(i,null,c,l))}else{let l=this._createInjector(s,a,r,this._injector),c=r.attachComponentPortal(new Un(i,s.viewContainerRef,l));a.componentRef=c,a.componentInstance=c.instance}}_createInjector(i,a,r,s){var d;let l=i.injector||((d=i.viewContainerRef)==null?void 0:d.injector),c=[{provide:ole,useValue:i.data},{provide:Zu,useValue:a}];return i.providers&&(typeof i.providers=="function"?c.push(...i.providers(a,i,r)):c.push(...i.providers)),i.direction&&(!l||!l.get(Xi,null,{optional:!0}))&&c.push({provide:Xi,useValue:{value:i.direction,change:bt()}}),dt.create({parent:l||s,providers:c})}_removeOpenDialog(i,a){let r=this.openDialogs.indexOf(i);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((s,l)=>{s?l.setAttribute("aria-hidden",s):l.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),a&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(i){if(i.parentElement){let a=i.parentElement.children;for(let r=a.length-1;r>-1;r--){let s=a[r];s!==i&&s.nodeName!=="SCRIPT"&&s.nodeName!=="STYLE"&&!s.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let i=this._parentDialog;return i?i._getAfterAllClosed():this._afterAllClosedAtThisLevel}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Ku(e,t){let n=e.length;for(;n--;)t(e[n])}var lle=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({providers:[jw],imports:[Jd,Is,cf,Is]}));let e=t;return e})();function cle(e,t){}var lb=class{constructor(){o(this,"viewContainerRef");o(this,"injector");o(this,"id");o(this,"role","dialog");o(this,"panelClass","");o(this,"hasBackdrop",!0);o(this,"backdropClass","");o(this,"disableClose",!1);o(this,"width","");o(this,"height","");o(this,"minWidth");o(this,"minHeight");o(this,"maxWidth");o(this,"maxHeight");o(this,"position");o(this,"data",null);o(this,"direction");o(this,"ariaDescribedBy",null);o(this,"ariaLabelledBy",null);o(this,"ariaLabel",null);o(this,"ariaModal",!1);o(this,"autoFocus","first-tabbable");o(this,"restoreFocus",!0);o(this,"delayFocusTrap",!0);o(this,"scrollStrategy");o(this,"closeOnNavigation",!0);o(this,"componentFactoryResolver");o(this,"enterAnimationDuration");o(this,"exitAnimationDuration")}},Xu="mdc-dialog--open",cb="mdc-dialog--opening",db="mdc-dialog--closing",dle=150,ule=75,hle=(()=>{const t=class t extends zw{constructor(){super(...arguments);o(this,"_animationMode",w(Ti,{optional:!0}));o(this,"_animationStateChanged",new de);o(this,"_animationsEnabled",this._animationMode!=="NoopAnimations");o(this,"_actionSectionCount",0);o(this,"_hostElement",this._elementRef.nativeElement);o(this,"_enterAnimationDuration",this._animationsEnabled?hb(this._config.enterAnimationDuration)??dle:0);o(this,"_exitAnimationDuration",this._animationsEnabled?hb(this._config.exitAnimationDuration)??ule:0);o(this,"_animationTimer",null);o(this,"_finishDialogOpen",()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)});o(this,"_finishDialogClose",()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})})}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(ub,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(cb,Xu)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Xu),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Xu),this._animationsEnabled?(this._hostElement.style.setProperty(ub,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(db)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(a){this._actionSectionCount+=a,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(cb,db)}_waitForAnimationToComplete(a,r){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(r,a)}_requestAnimationFrame(a){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(a):a()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(a){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:a})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(a){let r=super.attachComponentPortal(a);return r.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),r}};o(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=jt(t)))(r||t)}})()),o(t,"ɵcmp",ve({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(a,r){a&2&&(kn("id",r._config.id),ue("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),Ae("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},features:[Mt],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(a,r){a&1&&(I(0,"div",0)(1,"div",1),K(2,cle,0,0,"ng-template",2),A()())},dependencies:[Mr],styles:[`.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mdc-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}
31
- `],encapsulation:2}));let e=t;return e})(),ub="--mat-dialog-transition-duration";function hb(e){return e==null?null:typeof e=="number"?e:e.endsWith("ms")?Gc(e.substring(0,e.length-2)):e.endsWith("s")?Gc(e.substring(0,e.length-1))*1e3:e==="0"?0:null}var bc=function(e){return e[e.OPEN=0]="OPEN",e[e.CLOSING=1]="CLOSING",e[e.CLOSED=2]="CLOSED",e}(bc||{}),bf=class{constructor(e,t,n){o(this,"_ref");o(this,"_containerInstance");o(this,"componentInstance");o(this,"componentRef");o(this,"disableClose");o(this,"id");o(this,"_afterOpened",new he);o(this,"_beforeClosed",new he);o(this,"_result");o(this,"_closeFallbackTimeout");o(this,"_state",bc.OPEN);o(this,"_closeInteractionType");this._ref=e,this._containerInstance=n,this.disableClose=t.disableClose,this.id=e.id,e.addPanelClass("mat-mdc-dialog-panel"),n._animationStateChanged.pipe(di(i=>i.state==="opened"),vi(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe(di(i=>i.state==="closed"),vi(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),na(this.backdropClick(),this.keydownEvents().pipe(di(i=>i.keyCode===27&&!this.disableClose&&!Oi(i)))).subscribe(i=>{this.disableClose||(i.preventDefault(),Bw(this,i.type==="keydown"?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(di(t=>t.state==="closing"),vi(1)).subscribe(t=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=bc.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(e){let t=this._ref.config.positionStrategy;return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._ref.updatePosition(),this}updateSize(e="",t=""){return this._ref.updateSize(e,t),this}addPanelClass(e){return this._ref.addPanelClass(e),this}removePanelClass(e){return this._ref.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=bc.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function Bw(e,t,n){return e._closeInteractionType=t,e.close(n)}var yf=new G("MatMdcDialogData"),Hw=new G("mat-mdc-dialog-default-options"),ple=new G("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let e=w(Ei);return()=>e.scrollStrategies.block()}}),No=(()=>{const t=class t{constructor(){o(this,"_overlay",w(Ei));o(this,"_defaultOptions",w(Hw,{optional:!0}));o(this,"_scrollStrategy",w(ple));o(this,"_parentDialog",w(t,{optional:!0,skipSelf:!0}));o(this,"_idGenerator",w(hi));o(this,"_dialog",w(jw));o(this,"_openDialogsAtThisLevel",[]);o(this,"_afterAllClosedAtThisLevel",new he);o(this,"_afterOpenedAtThisLevel",new he);o(this,"dialogConfigClass",lb);o(this,"_dialogRefConstructor");o(this,"_dialogContainerType");o(this,"_dialogDataToken");o(this,"afterAllClosed",vs(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(ra(void 0))));this._dialogRefConstructor=bf,this._dialogContainerType=hle,this._dialogDataToken=yf}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let i=this._parentDialog;return i?i._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(i,a){let r;a=J(J({},this._defaultOptions||new lb),a),a.id=a.id||this._idGenerator.getId("mat-mdc-dialog-"),a.scrollStrategy=a.scrollStrategy||this._scrollStrategy();let s=this._dialog.open(i,tt(J({},a),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:a},{provide:As,useValue:a}]},templateContext:()=>({dialogRef:r}),providers:(l,c,d)=>(r=new this._dialogRefConstructor(l,a,d),r.updatePosition(a==null?void 0:a.position),[{provide:this._dialogContainerType,useValue:d},{provide:this._dialogDataToken,useValue:c.data},{provide:this._dialogRefConstructor,useValue:r}])}));return r.componentRef=s.componentRef,r.componentInstance=s.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let l=this.openDialogs.indexOf(r);l>-1&&(this.openDialogs.splice(l,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(i){return this.openDialogs.find(a=>a.id===i)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(i){let a=i.length;for(;a--;)i[a].close()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),ul=(()=>{const t=class t{constructor(){o(this,"dialogRef",w(bf,{optional:!0}));o(this,"_elementRef",w(Fe));o(this,"_dialog",w(No));o(this,"ariaLabel");o(this,"type","button");o(this,"dialogResult");o(this,"_matDialogClose")}ngOnInit(){this.dialogRef||(this.dialogRef=qw(this._elementRef,this._dialog.openDialogs))}ngOnChanges(i){let a=i._matDialogClose||i._matDialogCloseResult;a&&(this.dialogResult=a.currentValue)}_onButtonClick(i){Bw(this.dialogRef,i.screenX===0&&i.screenY===0?"keyboard":"mouse",this.dialogResult)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,a){i&1&&ce("click",function(r){return a._onButtonClick(r)}),i&2&&ue("aria-label",a.ariaLabel||null)("type",a.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[wi]}));let e=t;return e})(),$w=(()=>{const t=class t{constructor(){o(this,"_dialogRef",w(bf,{optional:!0}));o(this,"_elementRef",w(Fe));o(this,"_dialog",w(No))}ngOnInit(){this._dialogRef||(this._dialogRef=qw(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){var i;(i=this._dialogRef)!=null&&i._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t}));let e=t;return e})(),hl=(()=>{const t=class t extends $w{constructor(){super(...arguments);o(this,"id",w(hi).getId("mat-mdc-dialog-title-"))}_onAdd(){var a,r;(r=(a=this._dialogRef._containerInstance)==null?void 0:a._addAriaLabelledBy)==null||r.call(a,this.id)}_onRemove(){var a,r,s;(s=(r=(a=this._dialogRef)==null?void 0:a._containerInstance)==null?void 0:r._removeAriaLabelledBy)==null||s.call(r,this.id)}};o(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=jt(t)))(r||t)}})()),o(t,"ɵdir",we({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(a,r){a&2&&kn("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[Mt]}));let e=t;return e})(),pl=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[Yie([Bse])]}));let e=t;return e})(),ml=(()=>{const t=class t extends $w{constructor(){super(...arguments);o(this,"align")}_onAdd(){var a,r;(r=(a=this._dialogRef._containerInstance)==null?void 0:a._updateActionSectionCount)==null||r.call(a,1)}_onRemove(){var a,r;(r=(a=this._dialogRef._containerInstance)==null?void 0:a._updateActionSectionCount)==null||r.call(a,-1)}};o(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=jt(t)))(r||t)}})()),o(t,"ɵdir",we({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(a,r){a&2&&Ae("mat-mdc-dialog-actions-align-start",r.align==="start")("mat-mdc-dialog-actions-align-center",r.align==="center")("mat-mdc-dialog-actions-align-end",r.align==="end")},inputs:{align:"align"},features:[Mt]}));let e=t;return e})();function qw(e,t){let n=e.nativeElement.parentElement;for(;n&&!n.classList.contains("mat-mdc-dialog-container");)n=n.parentElement;return n?t.find(i=>i.id===n.id):null}var _f=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({providers:[No],imports:[lle,Jd,Is,Ft,Ft]}));let e=t;return e})(),Gl;function mle(){if(Gl===void 0&&(Gl=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(Gl=e.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Gl}function Wo(e){var t;return((t=mle())==null?void 0:t.createHTML(e))||e}function pb(e){return Error(`Unable to find icon with the name "${e}"`)}function fle(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function mb(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function fb(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var rr=class{constructor(e,t,n){o(this,"url");o(this,"svgText");o(this,"options");o(this,"svgElement");this.url=e,this.svgText=t,this.options=n}},gle=(()=>{const t=class t{constructor(i,a,r,s){o(this,"_httpClient");o(this,"_sanitizer");o(this,"_errorHandler");o(this,"_document");o(this,"_svgIconConfigs",new Map);o(this,"_iconSetConfigs",new Map);o(this,"_cachedIconsByUrl",new Map);o(this,"_inProgressUrlFetches",new Map);o(this,"_fontCssClassesByAlias",new Map);o(this,"_resolvers",[]);o(this,"_defaultFontSetClass",["material-icons","mat-ligature-font"]);this._httpClient=i,this._sanitizer=a,this._errorHandler=s,this._document=r}addSvgIcon(i,a,r){return this.addSvgIconInNamespace("",i,a,r)}addSvgIconLiteral(i,a,r){return this.addSvgIconLiteralInNamespace("",i,a,r)}addSvgIconInNamespace(i,a,r,s){return this._addSvgIconConfig(i,a,new rr(r,null,s))}addSvgIconResolver(i){return this._resolvers.push(i),this}addSvgIconLiteralInNamespace(i,a,r,s){let l=this._sanitizer.sanitize(Pi.HTML,r);if(!l)throw fb(r);let c=Wo(l);return this._addSvgIconConfig(i,a,new rr("",c,s))}addSvgIconSet(i,a){return this.addSvgIconSetInNamespace("",i,a)}addSvgIconSetLiteral(i,a){return this.addSvgIconSetLiteralInNamespace("",i,a)}addSvgIconSetInNamespace(i,a,r){return this._addSvgIconSetConfig(i,new rr(a,null,r))}addSvgIconSetLiteralInNamespace(i,a,r){let s=this._sanitizer.sanitize(Pi.HTML,a);if(!s)throw fb(a);let l=Wo(s);return this._addSvgIconSetConfig(i,new rr("",l,r))}registerFontClassAlias(i,a=i){return this._fontCssClassesByAlias.set(i,a),this}classNameForFontAlias(i){return this._fontCssClassesByAlias.get(i)||i}setDefaultFontSetClass(...i){return this._defaultFontSetClass=i,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(i){let a=this._sanitizer.sanitize(Pi.RESOURCE_URL,i);if(!a)throw mb(i);let r=this._cachedIconsByUrl.get(a);return r?bt(Ul(r)):this._loadSvgIconFromConfig(new rr(i,null)).pipe(oc(s=>this._cachedIconsByUrl.set(a,s)),yt(s=>Ul(s)))}getNamedSvgIcon(i,a=""){let r=gb(a,i),s=this._svgIconConfigs.get(r);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(a,i),s)return this._svgIconConfigs.set(r,s),this._getSvgFromConfig(s);let l=this._iconSetConfigs.get(a);return l?this._getSvgFromIconSetConfigs(i,l):p0(pb(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(i){return i.svgText?bt(Ul(this._svgElementFromConfig(i))):this._loadSvgIconFromConfig(i).pipe(yt(a=>Ul(a)))}_getSvgFromIconSetConfigs(i,a){let r=this._extractIconWithNameFromAnySet(i,a);if(r)return bt(r);let s=a.filter(l=>!l.svgText).map(l=>this._loadSvgIconSetFromConfig(l).pipe(yd(c=>{let d=`Loading icon set URL: ${this._sanitizer.sanitize(Pi.RESOURCE_URL,l.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(d)),bt(null)})));return Kp(s).pipe(yt(()=>{let l=this._extractIconWithNameFromAnySet(i,a);if(!l)throw pb(i);return l}))}_extractIconWithNameFromAnySet(i,a){for(let r=a.length-1;r>=0;r--){let s=a[r];if(s.svgText&&s.svgText.toString().indexOf(i)>-1){let l=this._svgElementFromConfig(s),c=this._extractSvgIconFromSet(l,i,s.options);if(c)return c}}return null}_loadSvgIconFromConfig(i){return this._fetchIcon(i).pipe(oc(a=>i.svgText=a),yt(()=>this._svgElementFromConfig(i)))}_loadSvgIconSetFromConfig(i){return i.svgText?bt(null):this._fetchIcon(i).pipe(oc(a=>i.svgText=a))}_extractSvgIconFromSet(i,a,r){let s=i.querySelector(`[id="${a}"]`);if(!s)return null;let l=s.cloneNode(!0);if(l.removeAttribute("id"),l.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(l,r);if(l.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(l),r);let c=this._svgElementFromString(Wo("<svg></svg>"));return c.appendChild(l),this._setSvgAttributes(c,r)}_svgElementFromString(i){let a=this._document.createElement("DIV");a.innerHTML=i;let r=a.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(i){let a=this._svgElementFromString(Wo("<svg></svg>")),r=i.attributes;for(let s=0;s<r.length;s++){let{name:l,value:c}=r[s];l!=="id"&&a.setAttribute(l,c)}for(let s=0;s<i.childNodes.length;s++)i.childNodes[s].nodeType===this._document.ELEMENT_NODE&&a.appendChild(i.childNodes[s].cloneNode(!0));return a}_setSvgAttributes(i,a){return i.setAttribute("fit",""),i.setAttribute("height","100%"),i.setAttribute("width","100%"),i.setAttribute("preserveAspectRatio","xMidYMid meet"),i.setAttribute("focusable","false"),a&&a.viewBox&&i.setAttribute("viewBox",a.viewBox),i}_fetchIcon(i){let{url:a,options:r}=i,s=(r==null?void 0:r.withCredentials)??!1;if(!this._httpClient)throw fle();if(a==null)throw Error(`Cannot fetch icon from URL "${a}".`);let l=this._sanitizer.sanitize(Pi.RESOURCE_URL,a);if(!l)throw mb(a);let c=this._inProgressUrlFetches.get(l);if(c)return c;let d=this._httpClient.get(l,{responseType:"text",withCredentials:s}).pipe(yt(u=>Wo(u)),Xp(()=>this._inProgressUrlFetches.delete(l)),x0());return this._inProgressUrlFetches.set(l,d),d}_addSvgIconConfig(i,a,r){return this._svgIconConfigs.set(gb(i,a),r),this}_addSvgIconSetConfig(i,a){let r=this._iconSetConfigs.get(i);return r?r.push(a):this._iconSetConfigs.set(i,[a]),this}_svgElementFromConfig(i){if(!i.svgElement){let a=this._svgElementFromString(i.svgText);this._setSvgAttributes(a,i.options),i.svgElement=a}return i.svgElement}_getIconConfigFromResolvers(i,a){for(let r=0;r<this._resolvers.length;r++){let s=this._resolvers[r](a,i);if(s)return vle(s)?new rr(s.url,null,s.options):new rr(s,null)}}};o(t,"ɵfac",function(i){return new(i||t)(ge(nl,8),ge(cw),ge(Qe,8),ge(ka))}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Ul(e){return e.cloneNode(!0)}function gb(e,t){return e+":"+t}function vle(e){return!!(e.url&&e.options)}var ble=["*"],yle=new G("MAT_ICON_DEFAULT_OPTIONS"),_le=new G("mat-icon-location",{providedIn:"root",factory:xle});function xle(){let e=w(Qe),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var Gw=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],wle=Gw.map(e=>`[${e}]`).join(", "),Sle=/^url\(['"]?#(.*?)['"]?\)$/,Xa=(()=>{const t=class t{constructor(){o(this,"_elementRef",w(Fe));o(this,"_iconRegistry",w(gle));o(this,"_location",w(_le));o(this,"_errorHandler",w(ka));o(this,"_defaultColor");o(this,"_color");o(this,"inline",!1);o(this,"_svgIcon");o(this,"_fontSet");o(this,"_fontIcon");o(this,"_previousFontSetClass",[]);o(this,"_previousFontIconClass");o(this,"_svgName");o(this,"_svgNamespace");o(this,"_previousPath");o(this,"_elementsWithExternalReferences");o(this,"_currentIconFetch",ut.EMPTY);let i=w(new _m("aria-hidden"),{optional:!0}),a=w(yle,{optional:!0});a&&(a.color&&(this.color=this._defaultColor=a.color),a.fontSet&&(this.fontSet=a.fontSet)),i||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}get color(){return this._color||this._defaultColor}set color(i){this._color=i}get svgIcon(){return this._svgIcon}set svgIcon(i){i!==this._svgIcon&&(i?this._updateSvgIcon(i):this._svgIcon&&this._clearSvgElement(),this._svgIcon=i)}get fontSet(){return this._fontSet}set fontSet(i){let a=this._cleanupFontValue(i);a!==this._fontSet&&(this._fontSet=a,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(i){let a=this._cleanupFontValue(i);a!==this._fontIcon&&(this._fontIcon=a,this._updateFontIconClasses())}_splitIconName(i){if(!i)return["",""];let a=i.split(":");switch(a.length){case 1:return["",a[0]];case 2:return a;default:throw Error(`Invalid icon name: "${i}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let i=this._elementsWithExternalReferences;if(i&&i.size){let a=this._location.getPathname();a!==this._previousPath&&(this._previousPath=a,this._prependPathToReferences(a))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(i){this._clearSvgElement();let a=this._location.getPathname();this._previousPath=a,this._cacheChildrenWithExternalReferences(i),this._prependPathToReferences(a),this._elementRef.nativeElement.appendChild(i)}_clearSvgElement(){let i=this._elementRef.nativeElement,a=i.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();a--;){let r=i.childNodes[a];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let i=this._elementRef.nativeElement,a=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>i.classList.remove(r)),a.forEach(r=>i.classList.add(r)),this._previousFontSetClass=a,this.fontIcon!==this._previousFontIconClass&&!a.includes("mat-ligature-font")&&(this._previousFontIconClass&&i.classList.remove(this._previousFontIconClass),this.fontIcon&&i.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(i){return typeof i=="string"?i.trim().split(" ")[0]:i}_prependPathToReferences(i){let a=this._elementsWithExternalReferences;a&&a.forEach((r,s)=>{r.forEach(l=>{s.setAttribute(l.name,`url('${i}#${l.value}')`)})})}_cacheChildrenWithExternalReferences(i){let a=i.querySelectorAll(wle),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s<a.length;s++)Gw.forEach(l=>{let c=a[s],d=c.getAttribute(l),u=d?d.match(Sle):null;if(u){let m=r.get(c);m||(m=[],r.set(c,m)),m.push({name:l,value:u[1]})}})}_updateSvgIcon(i){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),i){let[a,r]=this._splitIconName(i);a&&(this._svgNamespace=a),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,a).pipe(vi(1)).subscribe(s=>this._setSvgElement(s),s=>{let l=`Error retrieving icon ${a}:${r}! ${s.message}`;this._errorHandler.handleError(new Error(l))})}}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,a){i&2&&(ue("data-mat-icon-type",a._usingFontIcon()?"font":"svg")("data-mat-icon-name",a._svgName||a.fontIcon)("data-mat-icon-namespace",a._svgNamespace||a.fontSet)("fontIcon",a._usingFontIcon()?a.fontIcon:null),yn(a.color?"mat-"+a.color:""),Ae("mat-icon-inline",a.inline)("mat-icon-no-color",a.color!=="primary"&&a.color!=="accent"&&a.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",He],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:ble,decls:1,vars:0,template:function(i,a){i&1&&(ti(),qe(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}
32
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),xf=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({imports:[Ft,Ft]}));let e=t;return e})(),kle=class{constructor(e){o(this,"_box");o(this,"_destroyed",new he);o(this,"_resizeSubject",new he);o(this,"_resizeObserver");o(this,"_elementObservables",new Map);this._box=e,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(t=>this._resizeSubject.next(t)))}observe(e){return this._elementObservables.has(e)||this._elementObservables.set(e,new Ot(t=>{var i;let n=this._resizeSubject.subscribe(t);return(i=this._resizeObserver)==null||i.observe(e,{box:this._box}),()=>{var a;(a=this._resizeObserver)==null||a.unobserve(e),n.unsubscribe(),this._elementObservables.delete(e)}}).pipe(di(t=>t.some(n=>n.target===e)),bs({bufferSize:1,refCount:!0}),At(this._destroyed))),this._elementObservables.get(e)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Ele=(()=>{const t=class t{constructor(){o(this,"_cleanupErrorListener");o(this,"_observers",new Map);o(this,"_ngZone",w(Oe))}ngOnDestroy(){var i;for(let[,a]of this._observers)a.destroy();this._observers.clear(),(i=this._cleanupErrorListener)==null||i.call(this)}observe(i,a){let r=(a==null?void 0:a.box)||"content-box";return this._observers.has(r)||this._observers.set(r,new kle(r)),this._observers.get(r).observe(i)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Cle=["notch"],Dle=["*"],Ile=["textField"],Ale=["iconPrefixContainer"],Ole=["textPrefixContainer"],Tle=["iconSuffixContainer"],Mle=["textSuffixContainer"],Nle=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Ple=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function Rle(e,t){e&1&&se(0,"span",20)}function Fle(e,t){if(e&1&&(I(0,"label",19),qe(1,1),K(2,Rle,1,0,"span",20),A()),e&2){let n=N(2);$("floating",n._shouldLabelFloat())("monitorResize",n._hasOutline())("id",n._labelId),ue("for",n._control.disableAutomaticLabeling?null:n._control.id),D(2),ae(!n.hideRequiredMarker&&n._control.required?2:-1)}}function Vle(e,t){if(e&1&&K(0,Fle,3,5,"label",19),e&2){let n=N();ae(n._hasFloatingLabel()?0:-1)}}function Lle(e,t){e&1&&se(0,"div",7)}function zle(e,t){}function jle(e,t){if(e&1&&K(0,zle,0,0,"ng-template",13),e&2){N(2);let n=Ri(1);$("ngTemplateOutlet",n)}}function Ble(e,t){if(e&1&&(I(0,"div",9),K(1,jle,1,1,null,13),A()),e&2){let n=N();$("matFormFieldNotchedOutlineOpen",n._shouldLabelFloat()),D(),ae(n._forceDisplayInfixLabel()?-1:1)}}function Hle(e,t){e&1&&(I(0,"div",10,2),qe(2,2),A())}function $le(e,t){e&1&&(I(0,"div",11,3),qe(2,3),A())}function qle(e,t){}function Gle(e,t){if(e&1&&K(0,qle,0,0,"ng-template",13),e&2){N();let n=Ri(1);$("ngTemplateOutlet",n)}}function Ule(e,t){e&1&&(I(0,"div",14,4),qe(2,4),A())}function Yle(e,t){e&1&&(I(0,"div",15,5),qe(2,5),A())}function Wle(e,t){e&1&&se(0,"div",16)}function Zle(e,t){e&1&&qe(0,6)}function Kle(e,t){if(e&1&&(I(0,"mat-hint",21),B(1),A()),e&2){let n=N(2);$("id",n._hintLabelId),D(),Ee(n.hintLabel)}}function Xle(e,t){if(e&1&&(K(0,Kle,2,2,"mat-hint",21),qe(1,7),se(2,"div",22),qe(3,8)),e&2){let n=N();ae(n.hintLabel?0:-1)}}var vb=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t,selectors:[["mat-label"]]}));let e=t;return e})(),Uw=new G("MatError"),Yw=(()=>{const t=class t{constructor(){o(this,"id",w(hi).getId("mat-mdc-error-"))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t,selectors:[["mat-error"],["","matError",""]],hostAttrs:[1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(i,a){i&2&&kn("id",a.id)},inputs:{id:"id"},features:[ki([{provide:Uw,useExisting:t}])]}));let e=t;return e})(),yp=(()=>{const t=class t{constructor(){o(this,"align","start");o(this,"id",w(hi).getId("mat-mdc-hint-"))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,a){i&2&&(kn("id",a.id),ue("align",null),Ae("mat-mdc-form-field-hint-end",a.align==="end"))},inputs:{align:"align",id:"id"}}));let e=t;return e})(),Qle=new G("MatPrefix"),Ww=new G("MatSuffix"),Jle=(()=>{const t=class t{constructor(){o(this,"_isText",!1)}set _isTextSelector(i){this._isText=!0}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[ki([{provide:Ww,useExisting:t}])]}));let e=t;return e})(),Zw=new G("FloatingLabelParent"),bb=(()=>{const t=class t{constructor(){o(this,"_elementRef",w(Fe));o(this,"_floating",!1);o(this,"_monitorResize",!1);o(this,"_resizeObserver",w(Ele));o(this,"_ngZone",w(Oe));o(this,"_parent",w(Zw));o(this,"_resizeSubscription",new ut)}get floating(){return this._floating}set floating(i){this._floating=i,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(i){this._monitorResize=i,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return ece(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,a){i&2&&Ae("mdc-floating-label--float-above",a.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}}));let e=t;return e})();function ece(e){let t=e;if(t.offsetParent!==null)return t.scrollWidth;let n=t.cloneNode(!0);n.style.setProperty("position","absolute"),n.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(n);let i=n.scrollWidth;return n.remove(),i}var yb="mdc-line-ripple--active",Yl="mdc-line-ripple--deactivating",_b=(()=>{const t=class t{constructor(){o(this,"_elementRef",w(Fe));o(this,"_cleanupTransitionEnd");o(this,"_handleTransitionEnd",i=>{let a=this._elementRef.nativeElement.classList,r=a.contains(Yl);i.propertyName==="opacity"&&r&&a.remove(yb,Yl)});let i=w(Oe),a=w(ji);i.runOutsideAngular(()=>{this._cleanupTransitionEnd=a.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let i=this._elementRef.nativeElement.classList;i.remove(Yl),i.add(yb)}deactivate(){this._elementRef.nativeElement.classList.add(Yl)}ngOnDestroy(){this._cleanupTransitionEnd()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}));let e=t;return e})(),xb=(()=>{const t=class t{constructor(){o(this,"_elementRef",w(Fe));o(this,"_ngZone",w(Oe));o(this,"open",!1);o(this,"_notch")}ngAfterViewInit(){let i=this._elementRef.nativeElement.querySelector(".mdc-floating-label");i?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(i.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>i.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(i){!this.open||!i?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${i}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,a){if(i&1&&pt(Cle,5),i&2){let r;Ne(r=Pe())&&(a._notch=r.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,a){i&2&&Ae("mdc-notched-outline--notched",a.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},ngContentSelectors:Dle,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(i,a){i&1&&(ti(),se(0,"div",1),I(1,"div",2,0),qe(3),A(),se(4,"div",3))},encapsulation:2,changeDetection:0}));let e=t;return e})(),wf=(()=>{const t=class t{constructor(){o(this,"value");o(this,"stateChanges");o(this,"id");o(this,"placeholder");o(this,"ngControl");o(this,"focused");o(this,"empty");o(this,"shouldLabelFloat");o(this,"required");o(this,"disabled");o(this,"errorState");o(this,"controlType");o(this,"autofilled");o(this,"userAriaDescribedBy");o(this,"disableAutomaticLabeling")}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t}));let e=t;return e})(),eu=new G("MatFormField"),tce=new G("MAT_FORM_FIELD_DEFAULT_OPTIONS"),wb="fill",ice="auto",Sb="fixed",ace="translateY(-50%)",tu=(()=>{const t=class t{constructor(){o(this,"_elementRef",w(Fe));o(this,"_changeDetectorRef",w(Vt));o(this,"_dir",w(Xi));o(this,"_platform",w(Wt));o(this,"_idGenerator",w(hi));o(this,"_ngZone",w(Oe));o(this,"_injector",w(dt));o(this,"_defaults",w(tce,{optional:!0}));o(this,"_textField");o(this,"_iconPrefixContainer");o(this,"_textPrefixContainer");o(this,"_iconSuffixContainer");o(this,"_textSuffixContainer");o(this,"_floatingLabel");o(this,"_notchedOutline");o(this,"_lineRipple");o(this,"_formFieldControl");o(this,"_prefixChildren");o(this,"_suffixChildren");o(this,"_errorChildren");o(this,"_hintChildren");o(this,"_labelChild",Tie(vb));o(this,"_hideRequiredMarker",!1);o(this,"color","primary");o(this,"_floatLabel");o(this,"_appearance",wb);o(this,"_subscriptSizing",null);o(this,"_hintLabel","");o(this,"_hasIconPrefix",!1);o(this,"_hasTextPrefix",!1);o(this,"_hasIconSuffix",!1);o(this,"_hasTextSuffix",!1);o(this,"_labelId",this._idGenerator.getId("mat-mdc-form-field-label-"));o(this,"_hintLabelId",this._idGenerator.getId("mat-mdc-hint-"));o(this,"_destroyed",new he);o(this,"_isFocused",null);o(this,"_explicitFormFieldControl");o(this,"_needsOutlineLabelOffsetUpdate",!1);o(this,"_previousControl",null);o(this,"_previousControlValidatorFn",null);o(this,"_stateChanges");o(this,"_valueChanges");o(this,"_describedByChanges");o(this,"_animationsDisabled");o(this,"getLabelId",Fi(()=>this._hasFloatingLabel()?this._labelId:null));o(this,"_hasFloatingLabel",Fi(()=>!!this._labelChild()));let i=this._defaults;i&&(i.appearance&&(this.appearance=i.appearance),this._hideRequiredMarker=!!(i!=null&&i.hideRequiredMarker),i.color&&(this.color=i.color)),this._animationsDisabled=w(Ti,{optional:!0})==="NoopAnimations"}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(i){this._hideRequiredMarker=co(i)}get floatLabel(){var i;return this._floatLabel||((i=this._defaults)==null?void 0:i.floatLabel)||ice}set floatLabel(i){i!==this._floatLabel&&(this._floatLabel=i,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(i){var s;let a=this._appearance,r=i||((s=this._defaults)==null?void 0:s.appearance)||wb;this._appearance=r,this._appearance==="outline"&&this._appearance!==a&&(this._needsOutlineLabelOffsetUpdate=!0)}get subscriptSizing(){var i;return this._subscriptSizing||((i=this._defaults)==null?void 0:i.subscriptSizing)||Sb}set subscriptSizing(i){var a;this._subscriptSizing=i||((a=this._defaults)==null?void 0:a.subscriptSizing)||Sb}get hintLabel(){return this._hintLabel}set hintLabel(i){this._hintLabel=i,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(i){this._explicitFormFieldControl=i}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){var i,a,r;(i=this._stateChanges)==null||i.unsubscribe(),(a=this._valueChanges)==null||a.unsubscribe(),(r=this._describedByChanges)==null||r.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(i){var s,l,c;let a=this._control,r="mat-mdc-form-field-type-";i&&this._elementRef.nativeElement.classList.remove(r+i.controlType),a.controlType&&this._elementRef.nativeElement.classList.add(r+a.controlType),(s=this._stateChanges)==null||s.unsubscribe(),this._stateChanges=a.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),(l=this._describedByChanges)==null||l.unsubscribe(),this._describedByChanges=a.stateChanges.pipe(ra([void 0,void 0]),yt(()=>[a.errorState,a.userAriaDescribedBy]),$X(),di(([[d,u],[m,v]])=>d!==m||u!==v)).subscribe(()=>this._syncDescribedByIds()),(c=this._valueChanges)==null||c.unsubscribe(),a.ngControl&&a.ngControl.valueChanges&&(this._valueChanges=a.ngControl.valueChanges.pipe(At(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(i=>!i._isText),this._hasTextPrefix=!!this._prefixChildren.find(i=>i._isText),this._hasIconSuffix=!!this._suffixChildren.find(i=>!i._isText),this._hasTextSuffix=!!this._suffixChildren.find(i=>i._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),na(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){var i,a,r;this._control.focused&&!this._isFocused?(this._isFocused=!0,(i=this._lineRipple)==null||i.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,(a=this._lineRipple)==null||a.deactivate()),(r=this._textField)==null||r.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),Dm(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(At(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(i){let a=this._control?this._control.ngControl:null;return a&&a[i]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){var i,a;!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?(i=this._notchedOutline)==null||i._setNotchWidth(0):(a=this._notchedOutline)==null||a._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let i=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&i.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let a=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,r=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;a?i.push(a.id):this._hintLabel&&i.push(this._hintLabelId),r&&i.push(r.id)}else this._errorChildren&&i.push(...this._errorChildren.map(a=>a.id));this._control.setDescribedByIds(i)}}_updateOutlineLabelOffset(){var E,M,L,R;if(!this._hasOutline()||!this._floatingLabel)return;let i=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){i.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let a=(E=this._iconPrefixContainer)==null?void 0:E.nativeElement,r=(M=this._textPrefixContainer)==null?void 0:M.nativeElement,s=(L=this._iconSuffixContainer)==null?void 0:L.nativeElement,l=(R=this._textSuffixContainer)==null?void 0:R.nativeElement,c=(a==null?void 0:a.getBoundingClientRect().width)??0,d=(r==null?void 0:r.getBoundingClientRect().width)??0,u=(s==null?void 0:s.getBoundingClientRect().width)??0,m=(l==null?void 0:l.getBoundingClientRect().width)??0,v=this._dir.value==="rtl"?"-1":"1",g=`${c+d}px`,x=`calc(${v} * (${g} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;i.style.transform=`var(
33
- --mat-mdc-form-field-label-transform,
34
- ${ace} translateX(${x})
35
- )`;let S=c+d+u+m;this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${S}px)`)}_isAttachedToDom(){let i=this._elementRef.nativeElement;if(i.getRootNode){let a=i.getRootNode();return a&&a!==i}return document.documentElement.contains(i)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,a,r){if(i&1&&(Uae(r,a._labelChild,vb,5),gi(r,wf,5),gi(r,Qle,5),gi(r,Ww,5),gi(r,Uw,5),gi(r,yp,5)),i&2){y1();let s;Ne(s=Pe())&&(a._formFieldControl=s.first),Ne(s=Pe())&&(a._prefixChildren=s),Ne(s=Pe())&&(a._suffixChildren=s),Ne(s=Pe())&&(a._errorChildren=s),Ne(s=Pe())&&(a._hintChildren=s)}},viewQuery:function(i,a){if(i&1&&(pt(Ile,5),pt(Ale,5),pt(Ole,5),pt(Tle,5),pt(Mle,5),pt(bb,5),pt(xb,5),pt(_b,5)),i&2){let r;Ne(r=Pe())&&(a._textField=r.first),Ne(r=Pe())&&(a._iconPrefixContainer=r.first),Ne(r=Pe())&&(a._textPrefixContainer=r.first),Ne(r=Pe())&&(a._iconSuffixContainer=r.first),Ne(r=Pe())&&(a._textSuffixContainer=r.first),Ne(r=Pe())&&(a._floatingLabel=r.first),Ne(r=Pe())&&(a._notchedOutline=r.first),Ne(r=Pe())&&(a._lineRipple=r.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:40,hostBindings:function(i,a){i&2&&Ae("mat-mdc-form-field-label-always-float",a._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",a._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",a._hasIconSuffix)("mat-form-field-invalid",a._control.errorState)("mat-form-field-disabled",a._control.disabled)("mat-form-field-autofilled",a._control.autofilled)("mat-form-field-appearance-fill",a.appearance=="fill")("mat-form-field-appearance-outline",a.appearance=="outline")("mat-form-field-hide-placeholder",a._hasFloatingLabel()&&!a._shouldLabelFloat())("mat-focused",a._control.focused)("mat-primary",a.color!=="accent"&&a.color!=="warn")("mat-accent",a.color==="accent")("mat-warn",a.color==="warn")("ng-untouched",a._shouldForward("untouched"))("ng-touched",a._shouldForward("touched"))("ng-pristine",a._shouldForward("pristine"))("ng-dirty",a._shouldForward("dirty"))("ng-valid",a._shouldForward("valid"))("ng-invalid",a._shouldForward("invalid"))("ng-pending",a._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[ki([{provide:eu,useExisting:t},{provide:Zw,useExisting:t}])],ngContentSelectors:Ple,decls:20,vars:25,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["aria-atomic","true","aria-live","polite"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,a){if(i&1){let r=je();ti(Nle),K(0,Vle,1,1,"ng-template",null,0,Hc),I(2,"div",6,1),ce("click",function(s){return pe(r),me(a._control.onContainerClick(s))}),K(4,Lle,1,0,"div",7),I(5,"div",8),K(6,Ble,2,2,"div",9)(7,Hle,3,0,"div",10)(8,$le,3,0,"div",11),I(9,"div",12),K(10,Gle,1,1,null,13),qe(11),A(),K(12,Ule,3,0,"div",14)(13,Yle,3,0,"div",15),A(),K(14,Wle,1,0,"div",16),A(),I(15,"div",17),Wm(16),I(17,"div",18),K(18,Zle,1,0)(19,Xle,4,1),A()()}if(i&2){let r;D(2),Ae("mdc-text-field--filled",!a._hasOutline())("mdc-text-field--outlined",a._hasOutline())("mdc-text-field--no-label",!a._hasFloatingLabel())("mdc-text-field--disabled",a._control.disabled)("mdc-text-field--invalid",a._control.errorState),D(2),ae(!a._hasOutline()&&!a._control.disabled?4:-1),D(2),ae(a._hasOutline()?6:-1),D(),ae(a._hasIconPrefix?7:-1),D(),ae(a._hasTextPrefix?8:-1),D(2),ae(!a._hasOutline()||a._forceDisplayInfixLabel()?10:-1),D(2),ae(a._hasTextSuffix?12:-1),D(),ae(a._hasIconSuffix?13:-1),D(),ae(a._hasOutline()?-1:14),D(),Ae("mat-mdc-form-field-subscript-dynamic-size",a.subscriptSizing==="dynamic");let s=a._getSubscriptMessageType();D(2),Ae("mat-mdc-form-field-error-wrapper",s==="error")("mat-mdc-form-field-hint-wrapper",s==="hint"),D(),ae((r=s)==="error"?18:r==="hint"?19:-1)}},dependencies:[bb,xb,Xm,_b,yp],styles:[`.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-sys-outline));border-width:var(--mdc-outlined-text-field-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}
36
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),nce=class{constructor(e=!1,t,n=!0,i){o(this,"_multiple");o(this,"_emitChanges");o(this,"compareWith");o(this,"_selection",new Set);o(this,"_deselectedToEmit",[]);o(this,"_selectedToEmit",[]);o(this,"_selected");o(this,"changed",new he);this._multiple=e,this._emitChanges=n,this.compareWith=i,t&&t.length&&(e?t.forEach(a=>this._markSelected(a)):this._markSelected(t[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...e){this._verifyValueAssignment(e),e.forEach(n=>this._markSelected(n));let t=this._hasQueuedChanges();return this._emitChangeEvent(),t}deselect(...e){this._verifyValueAssignment(e),e.forEach(n=>this._unmarkSelected(n));let t=this._hasQueuedChanges();return this._emitChangeEvent(),t}setSelection(...e){this._verifyValueAssignment(e);let t=this.selected,n=new Set(e.map(a=>this._getConcreteValue(a)));e.forEach(a=>this._markSelected(a)),t.filter(a=>!n.has(this._getConcreteValue(a,n))).forEach(a=>this._unmarkSelected(a));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let t=this._hasQueuedChanges();return e&&this._emitChangeEvent(),t}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e,t){if(this.compareWith){t=t??this._selection;for(let n of t)if(this.compareWith(e,n))return n;return e}else return e}},Kw=(()=>{const t=class t{constructor(i,a){o(this,"_renderer");o(this,"_elementRef");o(this,"onChange",i=>{});o(this,"onTouched",()=>{});this._renderer=i,this._elementRef=a}setProperty(i,a){this._renderer.setProperty(this._elementRef.nativeElement,i,a)}registerOnTouched(i){this.onTouched=i}registerOnChange(i){this.onChange=i}setDisabledState(i){this.setProperty("disabled",i)}};o(t,"ɵfac",function(i){return new(i||t)(it(ji),it(Fe))}),o(t,"ɵdir",we({type:t}));let e=t;return e})(),rce=(()=>{const t=class t extends Kw{};o(t,"ɵfac",(()=>{let i;return function(a){return(i||(i=jt(t)))(a||t)}})()),o(t,"ɵdir",we({type:t,features:[Mt]}));let e=t;return e})(),Sf=new G(""),oce={provide:Sf,useExisting:_n(()=>iu),multi:!0};function sce(){let e=br()?br().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var lce=new G(""),iu=(()=>{const t=class t extends Kw{constructor(a,r,s){super(a,r);o(this,"_compositionMode");o(this,"_composing",!1);this._compositionMode=s,this._compositionMode==null&&(this._compositionMode=!sce())}writeValue(a){let r=a??"";this.setProperty("value",r)}_handleInput(a){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(a)}_compositionStart(){this._composing=!0}_compositionEnd(a){this._composing=!1,this._compositionMode&&this.onChange(a)}};o(t,"ɵfac",function(a){return new(a||t)(it(ji),it(Fe),it(lce,8))}),o(t,"ɵdir",we({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(a,r){a&1&&ce("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},standalone:!1,features:[ki([oce]),Mt]}));let e=t;return e})();function kf(e){return e==null||Ef(e)===0}function Ef(e){return e==null?null:Array.isArray(e)||typeof e=="string"?e.length:e instanceof Set?e.size:null}var fl=new G(""),Cf=new G(""),cce=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Df=class{static min(e){return dce(e)}static max(e){return uce(e)}static required(e){return hce(e)}static requiredTrue(e){return pce(e)}static email(e){return mce(e)}static minLength(e){return fce(e)}static maxLength(e){return Xw(e)}static pattern(e){return gce(e)}static nullValidator(e){return Xc()}static compose(e){return aS(e)}static composeAsync(e){return nS(e)}};function dce(e){return t=>{if(t.value==null||e==null)return null;let n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}function uce(e){return t=>{if(t.value==null||e==null)return null;let n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}function hce(e){return kf(e.value)?{required:!0}:null}function pce(e){return e.value===!0?null:{required:!0}}function mce(e){return kf(e.value)||cce.test(e.value)?null:{email:!0}}function fce(e){return t=>{var i;let n=((i=t.value)==null?void 0:i.length)??Ef(t.value);return n===null||n===0?null:n<e?{minlength:{requiredLength:e,actualLength:n}}:null}}function Xw(e){return t=>{var i;let n=((i=t.value)==null?void 0:i.length)??Ef(t.value);return n!==null&&n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}}function gce(e){if(!e)return Xc;let t,n;return typeof e=="string"?(n="",e.charAt(0)!=="^"&&(n+="^"),n+=e,e.charAt(e.length-1)!=="$"&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),i=>{if(kf(i.value))return null;let a=i.value;return t.test(a)?null:{pattern:{requiredPattern:n,actualValue:a}}}}function Xc(e){return null}function Qw(e){return e!=null}function Jw(e){return Hd(e)?Wn(e):e}function eS(e){let t={};return e.forEach(n=>{t=n!=null?J(J({},t),n):t}),Object.keys(t).length===0?null:t}function tS(e,t){return t.map(n=>n(e))}function vce(e){return!e.validate}function iS(e){return e.map(t=>vce(t)?t:n=>t.validate(n))}function aS(e){if(!e)return null;let t=e.filter(Qw);return t.length==0?null:function(n){return eS(tS(n,t))}}function If(e){return e!=null?aS(iS(e)):null}function nS(e){if(!e)return null;let t=e.filter(Qw);return t.length==0?null:function(n){let i=tS(n,t).map(Jw);return Kp(i).pipe(yt(eS))}}function Af(e){return e!=null?nS(iS(e)):null}function kb(e,t){return e===null?[t]:Array.isArray(e)?[...e,t]:[e,t]}function rS(e){return e._rawValidators}function oS(e){return e._rawAsyncValidators}function _p(e){return e?Array.isArray(e)?e:[e]:[]}function Qc(e,t){return Array.isArray(e)?e.includes(t):e===t}function Eb(e,t){let n=_p(t);return _p(e).forEach(i=>{Qc(n,i)||n.push(i)}),n}function Cb(e,t){return _p(t).filter(n=>!Qc(e,n))}var sS=class{constructor(){o(this,"_composedValidatorFn");o(this,"_composedAsyncValidatorFn");o(this,"_rawValidators",[]);o(this,"_rawAsyncValidators",[]);o(this,"_onDestroyCallbacks",[])}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=If(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Af(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,t){return this.control?this.control.hasError(e,t):!1}getError(e,t){return this.control?this.control.getError(e,t):null}},Po=class extends sS{constructor(){super(...arguments);o(this,"name")}get formDirective(){return null}get path(){return null}},gl=class extends sS{constructor(){super(...arguments);o(this,"_parent",null);o(this,"name",null);o(this,"valueAccessor",null)}},lS=class{constructor(e){o(this,"_cd");this._cd=e}get isTouched(){var e,t,n,i,a;return(n=(t=(e=this._cd)==null?void 0:e.control)==null?void 0:t._touched)==null||n.call(t),!!((a=(i=this._cd)==null?void 0:i.control)!=null&&a.touched)}get isUntouched(){var e,t;return!!((t=(e=this._cd)==null?void 0:e.control)!=null&&t.untouched)}get isPristine(){var e,t,n,i,a;return(n=(t=(e=this._cd)==null?void 0:e.control)==null?void 0:t._pristine)==null||n.call(t),!!((a=(i=this._cd)==null?void 0:i.control)!=null&&a.pristine)}get isDirty(){var e,t;return!!((t=(e=this._cd)==null?void 0:e.control)!=null&&t.dirty)}get isValid(){var e,t,n,i,a;return(n=(t=(e=this._cd)==null?void 0:e.control)==null?void 0:t._status)==null||n.call(t),!!((a=(i=this._cd)==null?void 0:i.control)!=null&&a.valid)}get isInvalid(){var e,t;return!!((t=(e=this._cd)==null?void 0:e.control)!=null&&t.invalid)}get isPending(){var e,t;return!!((t=(e=this._cd)==null?void 0:e.control)!=null&&t.pending)}get isSubmitted(){var e,t,n;return(t=(e=this._cd)==null?void 0:e._submitted)==null||t.call(e),!!((n=this._cd)!=null&&n.submitted)}},bce={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"};tt(J({},bce),{"[class.ng-submitted]":"isSubmitted"});var cS=(()=>{const t=class t extends lS{constructor(i){super(i)}};o(t,"ɵfac",function(i){return new(i||t)(it(gl,2))}),o(t,"ɵdir",we({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,a){i&2&&Ae("ng-untouched",a.isUntouched)("ng-touched",a.isTouched)("ng-pristine",a.isPristine)("ng-dirty",a.isDirty)("ng-valid",a.isValid)("ng-invalid",a.isInvalid)("ng-pending",a.isPending)},standalone:!1,features:[Mt]}));let e=t;return e})(),yce=(()=>{const t=class t extends lS{constructor(i){super(i)}};o(t,"ɵfac",function(i){return new(i||t)(it(Po,10))}),o(t,"ɵdir",we({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,a){i&2&&Ae("ng-untouched",a.isUntouched)("ng-touched",a.isTouched)("ng-pristine",a.isPristine)("ng-dirty",a.isDirty)("ng-valid",a.isValid)("ng-invalid",a.isInvalid)("ng-pending",a.isPending)("ng-submitted",a.isSubmitted)},standalone:!1,features:[Mt]}));let e=t;return e})(),Zo="VALID",Wl="INVALID",Ur="PENDING",Ko="DISABLED",Ro=class{},Db=class extends Ro{constructor(t,n){super();o(this,"value");o(this,"source");this.value=t,this.source=n}},Qu=class extends Ro{constructor(t,n){super();o(this,"pristine");o(this,"source");this.pristine=t,this.source=n}},Ju=class extends Ro{constructor(t,n){super();o(this,"touched");o(this,"source");this.touched=t,this.source=n}},Zl=class extends Ro{constructor(t,n){super();o(this,"status");o(this,"source");this.status=t,this.source=n}},dS=class extends Ro{constructor(t){super();o(this,"source");this.source=t}},uS=class extends Ro{constructor(t){super();o(this,"source");this.source=t}};function hS(e){return(au(e)?e.validators:e)||null}function _ce(e){return Array.isArray(e)?If(e):e||null}function pS(e,t){return(au(t)?t.asyncValidators:e)||null}function xce(e){return Array.isArray(e)?Af(e):e||null}function au(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function wce(e,t,n){let i=e.controls;if(!Object.keys(i).length)throw new X(1e3,"");if(!i[n])throw new X(1001,"")}function Sce(e,t,n){e._forEachChild((i,a)=>{if(n[a]===void 0)throw new X(1002,"")})}var mS=class{constructor(e,t){o(this,"_pendingDirty",!1);o(this,"_hasOwnPendingAsyncValidator",null);o(this,"_pendingTouched",!1);o(this,"_onCollectionChange",()=>{});o(this,"_updateOn");o(this,"_parent",null);o(this,"_asyncValidationSubscription");o(this,"_composedValidatorFn");o(this,"_composedAsyncValidatorFn");o(this,"_rawValidators");o(this,"_rawAsyncValidators");o(this,"value");o(this,"_status",Fi(()=>this.statusReactive()));o(this,"statusReactive",la(void 0));o(this,"errors");o(this,"_pristine",Fi(()=>this.pristineReactive()));o(this,"pristineReactive",la(!0));o(this,"_touched",Fi(()=>this.touchedReactive()));o(this,"touchedReactive",la(!1));o(this,"_events",new he);o(this,"events",this._events.asObservable());o(this,"valueChanges");o(this,"statusChanges");o(this,"_onDisabledChange",[]);this._assignValidators(e),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get status(){return va(this.statusReactive)}set status(e){va(()=>this.statusReactive.set(e))}get valid(){return this.status===Zo}get invalid(){return this.status===Wl}get pending(){return this.status==Ur}get disabled(){return this.status===Ko}get enabled(){return this.status!==Ko}get pristine(){return va(this.pristineReactive)}set pristine(e){va(()=>this.pristineReactive.set(e))}get dirty(){return!this.pristine}get touched(){return va(this.touchedReactive)}set touched(e){va(()=>this.touchedReactive.set(e))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(Eb(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Eb(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Cb(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Cb(e,this._rawAsyncValidators))}hasValidator(e){return Qc(this._rawValidators,e)}hasAsyncValidator(e){return Qc(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let t=this.touched===!1;this.touched=!0;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(tt(J({},e),{sourceControl:n})),t&&e.emitEvent!==!1&&this._events.next(new Ju(!0,n))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(e))}markAsUntouched(e={}){let t=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=e.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:n})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,n),t&&e.emitEvent!==!1&&this._events.next(new Ju(!1,n))}markAsDirty(e={}){let t=this.pristine===!0;this.pristine=!1;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(tt(J({},e),{sourceControl:n})),t&&e.emitEvent!==!1&&this._events.next(new Qu(!1,n))}markAsPristine(e={}){let t=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=e.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,n),t&&e.emitEvent!==!1&&this._events.next(new Qu(!0,n))}markAsPending(e={}){this.status=Ur;let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Zl(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(tt(J({},e),{sourceControl:t}))}disable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=Ko,this.errors=null,this._forEachChild(i=>{i.disable(tt(J({},e),{onlySelf:!0}))}),this._updateValue();let n=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Db(this.value,n)),this._events.next(new Zl(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(tt(J({},e),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=Zo,this._forEachChild(n=>{n.enable(tt(J({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(tt(J({},e),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e,t){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Zo||this.status===Ur)&&this._runAsyncValidator(n,e.emitEvent)}let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Db(this.value,t)),this._events.next(new Zl(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(tt(J({},e),{sourceControl:t}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ko:Zo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,t){if(this.asyncValidator){this.status=Ur,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1};let n=Jw(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:t,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){var e;if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=((e=this._hasOwnPendingAsyncValidator)==null?void 0:e.emitEvent)??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(t.emitEvent!==!1,this,t.shouldHaveEmitted)}get(e){let t=e;return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((n,i)=>n&&n._find(i),this)}getError(e,t){let n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,t,n){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||n)&&this._events.next(new Zl(this.status,t)),this._parent&&this._parent._updateControlsErrors(e,t,n)}_initObservables(){this.valueChanges=new de,this.statusChanges=new de}_calculateStatus(){return this._allControlsDisabled()?Ko:this.errors?Wl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ur)?Ur:this._anyControlsHaveStatus(Wl)?Wl:Zo}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,t){let n=!this._anyControlsDirty(),i=this.pristine!==n;this.pristine=n,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,t),i&&this._events.next(new Qu(this.pristine,t))}_updateTouched(e={},t){this.touched=this._anyControlsTouched(),this._events.next(new Ju(this.touched,t)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,t)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){au(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let t=this._parent&&this._parent.dirty;return!e&&!!t&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=_ce(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=xce(this._rawAsyncValidators)}},Ib=class extends mS{constructor(t,n,i){super(hS(n),pS(i,n));o(this,"controls");this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,i={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){Sce(this,!0,t),Object.keys(t).forEach(i=>{wce(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){t!=null&&(Object.keys(t).forEach(i=>{let a=this.controls[i];a&&a.patchValue(t[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((i,a)=>{i.reset(t?t[a]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,i)=>(t[i]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,i)=>i._syncPendingControls()?!0:n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{let i=this.controls[n];i&&t(i,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(let[n,i]of Object.entries(this.controls))if(this.contains(n)&&t(i))return!0;return!1}_reduceValue(){let t={};return this._reduceChildren(t,(n,i,a)=>((i.enabled||this.disabled)&&(n[a]=i.value),n))}_reduceChildren(t,n){let i=t;return this._forEachChild((a,r)=>{i=n(i,a,r)}),i}_allControlsDisabled(){for(let t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}},nu=new G("",{providedIn:"root",factory:()=>Of}),Of="always";function kce(e,t){return[...t.path,e]}function Jc(e,t,n=Of){var i,a;Tf(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||n==="always")&&((a=(i=t.valueAccessor).setDisabledState)==null||a.call(i,e.disabled)),Cce(e,t),Ice(e,t),Dce(e,t),Ece(e,t)}function Ab(e,t,n=!0){let i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),td(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function ed(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function Ece(e,t){if(t.valueAccessor.setDisabledState){let n=i=>{t.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}function Tf(e,t){let n=rS(e);t.validator!==null?e.setValidators(kb(n,t.validator)):typeof n=="function"&&e.setValidators([n]);let i=oS(e);t.asyncValidator!==null?e.setAsyncValidators(kb(i,t.asyncValidator)):typeof i=="function"&&e.setAsyncValidators([i]);let a=()=>e.updateValueAndValidity();ed(t._rawValidators,a),ed(t._rawAsyncValidators,a)}function td(e,t){let n=!1;if(e!==null){if(t.validator!==null){let a=rS(e);if(Array.isArray(a)&&a.length>0){let r=a.filter(s=>s!==t.validator);r.length!==a.length&&(n=!0,e.setValidators(r))}}if(t.asyncValidator!==null){let a=oS(e);if(Array.isArray(a)&&a.length>0){let r=a.filter(s=>s!==t.asyncValidator);r.length!==a.length&&(n=!0,e.setAsyncValidators(r))}}}let i=()=>{};return ed(t._rawValidators,i),ed(t._rawAsyncValidators,i),n}function Cce(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&fS(e,t)})}function Dce(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&fS(e,t),e.updateOn!=="submit"&&e.markAsTouched()})}function fS(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Ice(e,t){let n=(i,a)=>{t.valueAccessor.writeValue(i),a&&t.viewToModelUpdate(i)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}function gS(e,t){Tf(e,t)}function Ace(e,t){return td(e,t)}function Oce(e,t){if(!e.hasOwnProperty("model"))return!1;let n=e.model;return n.isFirstChange()?!0:!Object.is(t,n.currentValue)}function Tce(e){return Object.getPrototypeOf(e.constructor)===rce}function vS(e,t){e._syncPendingControls(),t.forEach(n=>{let i=n.control;i.updateOn==="submit"&&i._pendingChange&&(n.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function Mce(e,t){if(!t)return null;let n,i,a;return t.forEach(r=>{r.constructor===iu?n=r:Tce(r)?i=r:a=r}),a||i||n||null}function Nce(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var Pce={provide:Po,useExisting:_n(()=>ru)},Xo=Promise.resolve(),ru=(()=>{const t=class t extends Po{constructor(a,r,s){super();o(this,"callSetDisabledState");o(this,"_submitted",Fi(()=>this.submittedReactive()));o(this,"submittedReactive",la(!1));o(this,"_directives",new Set);o(this,"form");o(this,"ngSubmit",new de);o(this,"options");this.callSetDisabledState=s,this.form=new Ib({},If(a),Af(r))}get submitted(){return va(this.submittedReactive)}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(a){Xo.then(()=>{let r=this._findContainer(a.path);a.control=r.registerControl(a.name,a.control),Jc(a.control,a,this.callSetDisabledState),a.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(a)})}getControl(a){return this.form.get(a.path)}removeControl(a){Xo.then(()=>{let r=this._findContainer(a.path);r&&r.removeControl(a.name),this._directives.delete(a)})}addFormGroup(a){Xo.then(()=>{let r=this._findContainer(a.path),s=new Ib({});gS(s,a),r.registerControl(a.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(a){Xo.then(()=>{let r=this._findContainer(a.path);r&&r.removeControl(a.name)})}getFormGroup(a){return this.form.get(a.path)}updateModel(a,r){Xo.then(()=>{this.form.get(a.path).setValue(r)})}setValue(a){this.control.setValue(a)}onSubmit(a){var r;return this.submittedReactive.set(!0),vS(this.form,this._directives),this.ngSubmit.emit(a),this.form._events.next(new dS(this.control)),((r=a==null?void 0:a.target)==null?void 0:r.method)==="dialog"}onReset(){this.resetForm()}resetForm(a=void 0){this.form.reset(a),this.submittedReactive.set(!1),this.form._events.next(new uS(this.form))}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(a){return a.pop(),a.length?this.form.get(a):this.form}};o(t,"ɵfac",function(a){return new(a||t)(it(fl,10),it(Cf,10),it(nu,8))}),o(t,"ɵdir",we({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(a,r){a&1&&ce("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ki([Pce]),Mt]}));let e=t;return e})();function Ob(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Tb(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var bS=class extends mS{constructor(t=null,n,i){super(hS(n),pS(i,n));o(this,"defaultValue",null);o(this,"_onChange",[]);o(this,"_pendingValue");o(this,"_pendingChange",!1);this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),au(n)&&(n.nonNullable||n.initialValueIsDefault)&&(Tb(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,n.emitViewToModelChange!==!1)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Ob(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Ob(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){Tb(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},Rce=e=>e instanceof bS,Fce={provide:gl,useExisting:_n(()=>Mf)},Mb=Promise.resolve(),Mf=(()=>{const t=class t extends gl{constructor(a,r,s,l,c,d){super();o(this,"_changeDetectorRef");o(this,"callSetDisabledState");o(this,"control",new bS);o(this,"_registered",!1);o(this,"viewModel");o(this,"name","");o(this,"isDisabled");o(this,"model");o(this,"options");o(this,"update",new de);this._changeDetectorRef=c,this.callSetDisabledState=d,this._parent=a,this._setValidators(r),this._setAsyncValidators(s),this.valueAccessor=Mce(this,l)}ngOnChanges(a){if(this._checkForErrors(),!this._registered||"name"in a){if(this._registered&&(this._checkName(),this.formDirective)){let r=a.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in a&&this._updateDisabled(a),Oce(a,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(a){this.viewModel=a,this.update.emit(a)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Jc(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(a){Mb.then(()=>{var r;this.control.setValue(a,{emitViewToModelChange:!1}),(r=this._changeDetectorRef)==null||r.markForCheck()})}_updateDisabled(a){let r=a.isDisabled.currentValue,s=r!==0&&He(r);Mb.then(()=>{var l;s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),(l=this._changeDetectorRef)==null||l.markForCheck()})}_getPath(a){return this._parent?kce(a,this._parent):[a]}};o(t,"ngAcceptInputType_isDisabled"),o(t,"ɵfac",function(a){return new(a||t)(it(Po,9),it(fl,10),it(Cf,10),it(Sf,10),it(Vt,8),it(nu,8))}),o(t,"ɵdir",we({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[ki([Fce]),Mt,wi]}));let e=t;return e})(),Vce=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1}));let e=t;return e})(),Lce={provide:Po,useExisting:_n(()=>Nf)},Nf=(()=>{const t=class t extends Po{constructor(a,r,s){super();o(this,"callSetDisabledState");o(this,"_submitted",Fi(()=>this._submittedReactive()));o(this,"_submittedReactive",la(!1));o(this,"_oldForm");o(this,"_onCollectionChange",()=>this._updateDomValue());o(this,"directives",[]);o(this,"form",null);o(this,"ngSubmit",new de);this.callSetDisabledState=s,this._setValidators(a),this._setAsyncValidators(r)}get submitted(){return va(this._submittedReactive)}set submitted(a){this._submittedReactive.set(a)}ngOnChanges(a){a.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(td(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(a){let r=this.form.get(a.path);return Jc(r,a,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(a),r}getControl(a){return this.form.get(a.path)}removeControl(a){Ab(a.control||null,a,!1),Nce(this.directives,a)}addFormGroup(a){this._setUpFormContainer(a)}removeFormGroup(a){this._cleanUpFormContainer(a)}getFormGroup(a){return this.form.get(a.path)}addFormArray(a){this._setUpFormContainer(a)}removeFormArray(a){this._cleanUpFormContainer(a)}getFormArray(a){return this.form.get(a.path)}updateModel(a,r){this.form.get(a.path).setValue(r)}onSubmit(a){var r;return this._submittedReactive.set(!0),vS(this.form,this.directives),this.ngSubmit.emit(a),this.form._events.next(new dS(this.control)),((r=a==null?void 0:a.target)==null?void 0:r.method)==="dialog"}onReset(){this.resetForm()}resetForm(a=void 0){this.form.reset(a),this._submittedReactive.set(!1),this.form._events.next(new uS(this.form))}_updateDomValue(){this.directives.forEach(a=>{let r=a.control,s=this.form.get(a.path);r!==s&&(Ab(r||null,a),Rce(s)&&(Jc(s,a,this.callSetDisabledState),a.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(a){let r=this.form.get(a.path);gS(r,a),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(a){if(this.form){let r=this.form.get(a.path);r&&Ace(r,a)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Tf(this.form,this),this._oldForm&&td(this._oldForm,this)}};o(t,"ɵfac",function(a){return new(a||t)(it(fl,10),it(Cf,10),it(nu,8))}),o(t,"ɵdir",we({type:t,selectors:[["","formGroup",""]],hostBindings:function(a,r){a&1&&ce("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ki([Lce]),Mt,wi]}));let e=t;return e})();function zce(e){return typeof e=="number"?e:parseInt(e,10)}var jce=(()=>{const t=class t{constructor(){o(this,"_validator",Xc);o(this,"_onChange");o(this,"_enabled")}ngOnChanges(i){if(this.inputName in i){let a=this.normalizeInput(i[this.inputName].currentValue);this._enabled=this.enabled(a),this._validator=this._enabled?this.createValidator(a):Xc,this._onChange&&this._onChange()}}validate(i){return this._validator(i)}registerOnValidatorChange(i){this._onChange=i}enabled(i){return i!=null}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t,features:[wi]}));let e=t;return e})(),Bce={provide:fl,useExisting:_n(()=>yS),multi:!0},yS=(()=>{const t=class t extends jce{constructor(){super(...arguments);o(this,"maxlength");o(this,"inputName","maxlength");o(this,"normalizeInput",a=>zce(a));o(this,"createValidator",a=>Xw(a))}};o(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=jt(t)))(r||t)}})()),o(t,"ɵdir",we({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(a,r){a&2&&ue("maxlength",r._enabled?r.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[ki([Bce]),Mt]}));let e=t;return e})(),Hce=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({}));let e=t;return e})(),_S=(()=>{const t=class t{static withConfig(i){return{ngModule:t,providers:[{provide:nu,useValue:i.callSetDisabledState??Of}]}}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({imports:[Hce]}));let e=t;return e})(),$ce=(()=>{const t=class t{constructor(){o(this,"_animationMode",w(Ti,{optional:!0}));o(this,"state","unchecked");o(this,"disabled",!1);o(this,"appearance","full")}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,a){i&2&&Ae("mat-pseudo-checkbox-indeterminate",a.state==="indeterminate")("mat-pseudo-checkbox-checked",a.state==="checked")("mat-pseudo-checkbox-disabled",a.disabled)("mat-pseudo-checkbox-minimal",a.appearance==="minimal")("mat-pseudo-checkbox-full",a.appearance==="full")("_mat-animation-noopable",a._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(i,a){},styles:[`.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}
37
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),qce=["text"],Gce=[[["mat-icon"]],"*"],Uce=["mat-icon","*"];function Yce(e,t){if(e&1&&se(0,"mat-pseudo-checkbox",1),e&2){let n=N();$("disabled",n.disabled)("state",n.selected?"checked":"unchecked")}}function Wce(e,t){if(e&1&&se(0,"mat-pseudo-checkbox",3),e&2){let n=N();$("disabled",n.disabled)}}function Zce(e,t){if(e&1&&(I(0,"span",4),B(1),A()),e&2){let n=N();D(),xe("(",n.group.label,")")}}var xS=new G("MAT_OPTION_PARENT_COMPONENT"),wS=new G("MatOptgroup"),Kce=class{constructor(e,t=!1){o(this,"source");o(this,"isUserInput");this.source=e,this.isUserInput=t}},ou=(()=>{const t=class t{constructor(){o(this,"_element",w(Fe));o(this,"_changeDetectorRef",w(Vt));o(this,"_parent",w(xS,{optional:!0}));o(this,"group",w(wS,{optional:!0}));o(this,"_signalDisableRipple",!1);o(this,"_selected",!1);o(this,"_active",!1);o(this,"_disabled",!1);o(this,"_mostRecentViewValue","");o(this,"value");o(this,"id",w(hi).getId("mat-option-"));o(this,"onSelectionChange",new de);o(this,"_text");o(this,"_stateChanges",new he);let i=w(Mi);i.load(cl),i.load(Xn),this._signalDisableRipple=!!this._parent&&ws(this._parent.disableRipple)}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(i){this._disabled=i}get disableRipple(){var i;return this._signalDisableRipple?this._parent.disableRipple():!!((i=this._parent)!=null&&i.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}get active(){return this._active}get viewValue(){var i;return(((i=this._text)==null?void 0:i.nativeElement.textContent)||"").trim()}select(i=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),i&&this._emitSelectionChangeEvent())}deselect(i=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),i&&this._emitSelectionChangeEvent())}focus(i,a){let r=this._getHostElement();typeof r.focus=="function"&&r.focus(a)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(i){(i.keyCode===13||i.keyCode===32)&&!Oi(i)&&(this._selectViaInteraction(),i.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let i=this.viewValue;i!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=i)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(i=!1){this.onSelectionChange.emit(new Kce(this,i))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["mat-option"]],viewQuery:function(i,a){if(i&1&&pt(qce,7),i&2){let r;Ne(r=Pe())&&(a._text=r.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,a){i&1&&ce("click",function(){return a._selectViaInteraction()})("keydown",function(r){return a._handleKeydown(r)}),i&2&&(kn("id",a.id),ue("aria-selected",a.selected)("aria-disabled",a.disabled.toString()),Ae("mdc-list-item--selected",a.selected)("mat-mdc-option-multiple",a.multiple)("mat-mdc-option-active",a.active)("mdc-list-item--disabled",a.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",He]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:Uce,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,a){i&1&&(ti(Gce),K(0,Yce,1,2,"mat-pseudo-checkbox",1),qe(1),I(2,"span",2,0),qe(4,1),A(),K(5,Wce,1,1,"mat-pseudo-checkbox",3)(6,Zce,2,1,"span",4),se(7,"div",5)),i&2&&(ae(a.multiple?0:-1),D(5),ae(!a.multiple&&a.selected&&!a.hideSingleSelectionIndicator?5:-1),D(),ae(a.group&&a.group._inert?6:-1),D(),$("matRippleTrigger",a._getHostElement())("matRippleDisabled",a.disabled||a.disableRipple))},dependencies:[$ce,kse],styles:[`.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}
38
- `],encapsulation:2,changeDetection:0}));let e=t;return e})();function Xce(e,t,n){if(n.length){let i=t.toArray(),a=n.toArray(),r=0;for(let s=0;s<e+1;s++)i[s].group&&i[s].group===a[r]&&r++;return r}return 0}function Qce(e,t,n,i){return e<n?e:e+t>n+i?Math.max(0,e-i+t):n}var Pf=(()=>{const t=class t{isErrorState(i,a){return!!(i&&i.invalid&&(i.touched||a&&a.submitted))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),SS=class{constructor(e,t,n,i,a){o(this,"_defaultMatcher");o(this,"ngControl");o(this,"_parentFormGroup");o(this,"_parentForm");o(this,"_stateChanges");o(this,"errorState",!1);o(this,"matcher");this._defaultMatcher=e,this.ngControl=t,this._parentFormGroup=n,this._parentForm=i,this._stateChanges=a}updateErrorState(){let e=this.errorState,t=this._parentFormGroup||this._parentForm,n=this.matcher||this._defaultMatcher,i=this.ngControl?this.ngControl.control:null,a=(n==null?void 0:n.isErrorState(i,t))??!1;a!==e&&(this.errorState=a,this._stateChanges.next())}},Jce=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({imports:[Ft]}));let e=t;return e})(),xp=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({imports:[hf,Ft,Jce]}));let e=t;return e})(),Os=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({imports:[Ft,yw,Ft]}));let e=t;return e})(),ede=["trigger"],tde=["panel"],ide=[[["mat-select-trigger"]],"*"],ade=["mat-select-trigger","*"];function nde(e,t){if(e&1&&(I(0,"span",4),B(1),A()),e&2){let n=N();D(),Ee(n.placeholder)}}function rde(e,t){e&1&&qe(0)}function ode(e,t){if(e&1&&(I(0,"span",11),B(1),A()),e&2){let n=N(2);D(),Ee(n.triggerValue)}}function sde(e,t){if(e&1&&(I(0,"span",5),K(1,rde,1,0)(2,ode,2,1,"span",11),A()),e&2){let n=N();D(),ae(n.customTrigger?1:2)}}function lde(e,t){if(e&1){let n=je();I(0,"div",12,1),ce("keydown",function(i){pe(n);let a=N();return me(a._handleKeydown(i))}),qe(2,1),A()}if(e&2){let n=N();Cae("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",n._getPanelTheme(),""),Ae("mat-select-panel-animations-enabled",!n._animationsDisabled),$("ngClass",n.panelClass),ue("id",n.id+"-panel")("aria-multiselectable",n.multiple)("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby())}}var kS=new G("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let e=w(Ei);return()=>e.scrollStrategies.reposition()}});function cde(e){return()=>e.scrollStrategies.reposition()}var dde=new G("MAT_SELECT_CONFIG"),ude={provide:kS,deps:[Ei],useFactory:cde},hde=new G("MatSelectTrigger"),pde=class{constructor(e,t){o(this,"source");o(this,"value");this.source=e,this.value=t}},Rf=(()=>{var t,n,i,a;const r=class r{constructor(){o(this,"_viewportRuler",w(ff));o(this,"_changeDetectorRef",w(Vt));o(this,"_elementRef",w(Fe));o(this,"_dir",w(Xi,{optional:!0}));o(this,"_idGenerator",w(hi));o(this,"_renderer",w(ji));o(this,"_parentFormField",w(eu,{optional:!0}));o(this,"ngControl",w(gl,{self:!0,optional:!0}));o(this,"_liveAnnouncer",w(ww));o(this,"_defaultOptions",w(dde,{optional:!0}));o(this,"_animationsDisabled",w(Ti,{optional:!0})==="NoopAnimations");o(this,"_initialized",new he);o(this,"_cleanupDetach");o(this,"options");o(this,"optionGroups");o(this,"customTrigger");o(this,"_positions",[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}]);o(this,"_scrollStrategyFactory",w(kS));o(this,"_panelOpen",!1);o(this,"_compareWith",(l,c)=>l===c);o(this,"_uid",this._idGenerator.getId("mat-select-"));o(this,"_triggerAriaLabelledBy",null);o(this,"_previousControl");o(this,"_destroy",new he);o(this,"_errorStateTracker");o(this,"stateChanges",new he);o(this,"disableAutomaticLabeling",!0);o(this,"userAriaDescribedBy");o(this,"_selectionModel");o(this,"_keyManager");o(this,"_preferredOverlayOrigin");o(this,"_overlayWidth");o(this,"_onChange",()=>{});o(this,"_onTouched",()=>{});o(this,"_valueId",this._idGenerator.getId("mat-select-value-"));o(this,"_scrollStrategy");o(this,"_overlayPanelClass",((t=this._defaultOptions)==null?void 0:t.overlayPanelClass)||"");o(this,"_focused",!1);o(this,"controlType","mat-select");o(this,"trigger");o(this,"panel");o(this,"_overlayDir");o(this,"panelClass");o(this,"disabled",!1);o(this,"disableRipple",!1);o(this,"tabIndex",0);o(this,"_hideSingleSelectionIndicator",((n=this._defaultOptions)==null?void 0:n.hideSingleSelectionIndicator)??!1);o(this,"_placeholder");o(this,"_required");o(this,"_multiple",!1);o(this,"disableOptionCentering",((i=this._defaultOptions)==null?void 0:i.disableOptionCentering)??!1);o(this,"_value");o(this,"ariaLabel","");o(this,"ariaLabelledby");o(this,"typeaheadDebounceInterval");o(this,"sortComparator");o(this,"_id");o(this,"panelWidth",this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto");o(this,"canSelectNullableOptions",((a=this._defaultOptions)==null?void 0:a.canSelectNullableOptions)??!1);o(this,"optionSelectionChanges",vs(()=>{let l=this.options;return l?l.changes.pipe(ra(l),yr(()=>na(...l.map(c=>c.onSelectionChange)))):this._initialized.pipe(yr(()=>this.optionSelectionChanges))}));o(this,"openedChange",new de);o(this,"_openedStream",this.openedChange.pipe(di(l=>l),yt(()=>{})));o(this,"_closedStream",this.openedChange.pipe(di(l=>!l),yt(()=>{})));o(this,"selectionChange",new de);o(this,"valueChange",new de);o(this,"_trackedModal",null);o(this,"_skipPredicate",l=>this.panelOpen?!1:l.disabled);var m;let l=w(Pf),c=w(ru,{optional:!0}),d=w(Nf,{optional:!0}),u=w(new _m("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),((m=this._defaultOptions)==null?void 0:m.typeaheadDebounceInterval)!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new SS(l,this.ngControl,d,c,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=u==null?0:parseInt(u)||0,this.id=this.id}_scrollOptionIntoView(l){let c=this.options.toArray()[l];if(c){let d=this.panel.nativeElement,u=Xce(l,this.options,this.optionGroups),m=c._getHostElement();l===0&&u===1?d.scrollTop=0:d.scrollTop=Qce(m.offsetTop,m.offsetHeight,d.scrollTop,d.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(l){return new pde(this,l)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(l){this._hideSingleSelectionIndicator=l,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(l){this._placeholder=l,this.stateChanges.next()}get required(){var l,c;return this._required??((c=(l=this.ngControl)==null?void 0:l.control)==null?void 0:c.hasValidator(Df.required))??!1}set required(l){this._required=l,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(l){this._selectionModel,this._multiple=l}get compareWith(){return this._compareWith}set compareWith(l){this._compareWith=l,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(l){this._assignValue(l)&&this._onChange(l)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(l){this._errorStateTracker.matcher=l}get id(){return this._id}set id(l){this._id=l||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(l){this._errorStateTracker.errorState=l}ngOnInit(){this._selectionModel=new nce(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(At(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(At(this._destroy)).subscribe(l=>{l.added.forEach(c=>c.select()),l.removed.forEach(c=>c.deselect())}),this.options.changes.pipe(ra(null),At(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let l=this._getTriggerAriaLabelledby(),c=this.ngControl;if(l!==this._triggerAriaLabelledBy){let d=this._elementRef.nativeElement;this._triggerAriaLabelledBy=l,l?d.setAttribute("aria-labelledby",l):d.removeAttribute("aria-labelledby")}c&&(this._previousControl!==c.control&&(this._previousControl!==void 0&&c.disabled!==null&&c.disabled!==this.disabled&&(this.disabled=c.disabled),this._previousControl=c.control),this.updateErrorState())}ngOnChanges(l){(l.disabled||l.userAriaDescribedBy)&&this.stateChanges.next(),l.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){var l,c;(l=this._cleanupDetach)==null||l.call(this),(c=this._keyManager)==null||c.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){var l;this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),(l=this._cleanupDetach)==null||l.call(this),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe(vi(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}_applyModalPanelOwnership(){let l=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!l)return;let c=`${this.id}-panel`;this._trackedModal&&gp(this._trackedModal,"aria-owns",c),Cw(l,"aria-owns",c),this._trackedModal=l}_clearFromModal(){if(!this._trackedModal)return;let l=`${this.id}-panel`;gp(this._trackedModal,"aria-owns",l),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){var u;if(this._animationsDisabled||!this.panel){this._detachOverlay();return}(u=this._cleanupDetach)==null||u.call(this),this._cleanupDetach=()=>{c(),clearTimeout(d),this._cleanupDetach=void 0};let l=this.panel.nativeElement,c=this._renderer.listen(l,"animationend",m=>{var v;m.animationName==="_mat-select-exit"&&((v=this._cleanupDetach)==null||v.call(this),this._detachOverlay())}),d=setTimeout(()=>{var m;(m=this._cleanupDetach)==null||m.call(this),this._detachOverlay()},200);l.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(l){this._assignValue(l)}registerOnChange(l){this._onChange=l}registerOnTouched(l){this._onTouched=l}setDisabledState(l){this.disabled=l,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var l,c;return this.multiple?((l=this._selectionModel)==null?void 0:l.selected)||[]:(c=this._selectionModel)==null?void 0:c.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let l=this._selectionModel.selected.map(c=>c.viewValue);return this._isRtl()&&l.reverse(),l.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(l){this.disabled||(this.panelOpen?this._handleOpenKeydown(l):this._handleClosedKeydown(l))}_handleClosedKeydown(l){let c=l.keyCode,d=c===40||c===38||c===37||c===39,u=c===13||c===32,m=this._keyManager;if(!m.isTyping()&&u&&!Oi(l)||(this.multiple||l.altKey)&&d)l.preventDefault(),this.open();else if(!this.multiple){let v=this.selected;m.onKeydown(l);let g=this.selected;g&&v!==g&&this._liveAnnouncer.announce(g.viewValue,1e4)}}_handleOpenKeydown(l){let c=this._keyManager,d=l.keyCode,u=d===40||d===38,m=c.isTyping();if(u&&l.altKey)l.preventDefault(),this.close();else if(!m&&(d===13||d===32)&&c.activeItem&&!Oi(l))l.preventDefault(),c.activeItem._selectViaInteraction();else if(!m&&this._multiple&&d===65&&l.ctrlKey){l.preventDefault();let v=this.options.some(g=>!g.disabled&&!g.selected);this.options.forEach(g=>{g.disabled||(v?g.select():g.deselect())})}else{let v=c.activeItemIndex;c.onKeydown(l),this._multiple&&u&&l.shiftKey&&c.activeItem&&c.activeItemIndex!==v&&c.activeItem._selectViaInteraction()}}_handleOverlayKeydown(l){l.keyCode===27&&!Oi(l)&&(l.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){var l;this._focused=!1,(l=this._keyManager)==null||l.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(l){if(this.options.forEach(c=>c.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&l)l.forEach(c=>this._selectOptionByValue(c)),this._sortValues();else{let c=this._selectOptionByValue(l);c?this._keyManager.updateActiveItem(c):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(l){let c=this.options.find(d=>{if(this._selectionModel.isSelected(d))return!1;try{return(d.value!=null||this.canSelectNullableOptions)&&this._compareWith(d.value,l)}catch{return!1}});return c&&this._selectionModel.select(c),c}_assignValue(l){return l!==this._value||this._multiple&&Array.isArray(l)?(this.options&&this._setSelectionByValue(l),this._value=l,!0):!1}_getOverlayWidth(l){return this.panelWidth==="auto"?(l instanceof Kc?l.elementRef:l||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let l of this.options)l._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new gse(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let l=na(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(At(l)).subscribe(c=>{this._onSelect(c.source,c.isUserInput),c.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),na(...this.options.map(c=>c._stateChanges)).pipe(At(l)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(l,c){let d=this._selectionModel.isSelected(l);!this.canSelectNullableOptions&&l.value==null&&!this._multiple?(l.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(l.value)):(d!==l.selected&&(l.selected?this._selectionModel.select(l):this._selectionModel.deselect(l)),c&&this._keyManager.setActiveItem(l),this.multiple&&(this._sortValues(),c&&this.focus())),d!==this._selectionModel.isSelected(l)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let l=this.options.toArray();this._selectionModel.sort((c,d)=>this.sortComparator?this.sortComparator(c,d,l):l.indexOf(c)-l.indexOf(d)),this.stateChanges.next()}}_propagateChanges(l){let c;this.multiple?c=this.selected.map(d=>d.value):c=this.selected?this.selected.value:l,this._value=c,this.valueChange.emit(c),this._onChange(c),this.selectionChange.emit(this._getChangeEvent(c)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let l=-1;for(let c=0;c<this.options.length;c++)if(!this.options.get(c).disabled){l=c;break}this._keyManager.setActiveItem(l)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){var l;return!this._panelOpen&&!this.disabled&&((l=this.options)==null?void 0:l.length)>0&&!!this._overlayDir}focus(l){this._elementRef.nativeElement.focus(l)}_getPanelAriaLabelledby(){var d;if(this.ariaLabel)return null;let l=((d=this._parentFormField)==null?void 0:d.getLabelId())||null,c=l?l+" ":"";return this.ariaLabelledby?c+this.ariaLabelledby:l}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var c;if(this.ariaLabel)return null;let l=((c=this._parentFormField)==null?void 0:c.getLabelId())||"";return this.ariaLabelledby&&(l+=" "+this.ariaLabelledby),l||(l=this._valueId),l}setDescribedByIds(l){l.length?this._elementRef.nativeElement.setAttribute("aria-describedby",l.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}};o(r,"ɵfac",function(l){return new(l||r)}),o(r,"ɵcmp",ve({type:r,selectors:[["mat-select"]],contentQueries:function(l,c,d){if(l&1&&(gi(d,hde,5),gi(d,ou,5),gi(d,wS,5)),l&2){let u;Ne(u=Pe())&&(c.customTrigger=u.first),Ne(u=Pe())&&(c.options=u),Ne(u=Pe())&&(c.optionGroups=u)}},viewQuery:function(l,c){if(l&1&&(pt(ede,5),pt(tde,5),pt(sb,5)),l&2){let d;Ne(d=Pe())&&(c.trigger=d.first),Ne(d=Pe())&&(c.panel=d.first),Ne(d=Pe())&&(c._overlayDir=d.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(l,c){l&1&&ce("keydown",function(d){return c._handleKeydown(d)})("focus",function(){return c._onFocus()})("blur",function(){return c._onBlur()}),l&2&&(ue("id",c.id)("tabindex",c.disabled?-1:c.tabIndex)("aria-controls",c.panelOpen?c.id+"-panel":null)("aria-expanded",c.panelOpen)("aria-label",c.ariaLabel||null)("aria-required",c.required.toString())("aria-disabled",c.disabled.toString())("aria-invalid",c.errorState)("aria-activedescendant",c._getAriaActiveDescendant()),Ae("mat-mdc-select-disabled",c.disabled)("mat-mdc-select-invalid",c.errorState)("mat-mdc-select-required",c.required)("mat-mdc-select-empty",c.empty)("mat-mdc-select-multiple",c.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",He],disableRipple:[2,"disableRipple","disableRipple",He],tabIndex:[2,"tabIndex","tabIndex",l=>l==null?0:Yi(l)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",He],placeholder:"placeholder",required:[2,"required","required",He],multiple:[2,"multiple","multiple",He],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",He],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",Yi],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",He]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[ki([{provide:wf,useExisting:r},{provide:xS,useExisting:r}]),wi],ngContentSelectors:ade,decls:11,vars:9,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(l,c){if(l&1){let d=je();ti(ide),I(0,"div",2,0),ce("click",function(){return pe(d),me(c.open())}),I(3,"div",3),K(4,nde,2,1,"span",4)(5,sde,3,1,"span",5),A(),I(6,"div",6)(7,"div",7),xa(),I(8,"svg",8),se(9,"path",9),A()()()(),K(10,lde,3,10,"ng-template",10),ce("detach",function(){return pe(d),me(c.close())})("backdropClick",function(){return pe(d),me(c.close())})("overlayKeydown",function(u){return pe(d),me(c._handleOverlayKeydown(u))})}if(l&2){let d=Ri(1);D(3),ue("id",c._valueId),D(),ae(c.empty?4:5),D(6),$("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",c._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",c._scrollStrategy)("cdkConnectedOverlayOrigin",c._preferredOverlayOrigin||d)("cdkConnectedOverlayPositions",c._positions)("cdkConnectedOverlayWidth",c._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)}},dependencies:[Kc,sb,al],styles:[`@keyframes _mat-select-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-select-exit{from{opacity:1}to{opacity:0}}.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-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-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-disabled .mat-mdc-select-placeholder{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:relative;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-select-panel-animations-enabled{animation:_mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-select-panel-animations-enabled.mat-select-panel-exit{animation:_mat-select-exit 100ms linear}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder,._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}
39
- `],encapsulation:2,changeDetection:0}));let e=r;return e})(),ES=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({providers:[ude],imports:[Jd,xp,Ft,Zc,Os,xp,Ft]}));let e=t;return e})(),mde=["tooltip"],fde=20,gde=new G("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let e=w(Ei);return()=>e.scrollStrategies.reposition({scrollThrottle:fde})}});function vde(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var bde=new G("mat-tooltip-default-options",{providedIn:"root",factory:vde}),Nb="tooltip-panel",Pb=Zd({passive:!0}),yde=8,_de=8,xde=24,wde=200,Sde=(()=>{const t=class t{constructor(){o(this,"_elementRef",w(Fe));o(this,"_ngZone",w(Oe));o(this,"_platform",w(Wt));o(this,"_ariaDescriber",w(Iw));o(this,"_focusMonitor",w(ll));o(this,"_dir",w(Xi));o(this,"_injector",w(dt));o(this,"_viewContainerRef",w(Ka));o(this,"_defaultOptions",w(bde,{optional:!0}));o(this,"_overlayRef");o(this,"_tooltipInstance");o(this,"_portal");o(this,"_position","below");o(this,"_positionAtOrigin",!1);o(this,"_disabled",!1);o(this,"_tooltipClass");o(this,"_viewInitialized",!1);o(this,"_pointerExitEventsInitialized",!1);o(this,"_tooltipComponent",kde);o(this,"_viewportMargin",8);o(this,"_currentPosition");o(this,"_cssClassPrefix","mat-mdc");o(this,"_ariaDescriptionPending");o(this,"_dirSubscribed",!1);o(this,"_showDelay");o(this,"_hideDelay");o(this,"touchGestures","auto");o(this,"_message","");o(this,"_passiveListeners",[]);o(this,"_touchstartTimeout",null);o(this,"_destroyed",new he);o(this,"_isDestroyed",!1);let i=this._defaultOptions;i&&(this._showDelay=i.showDelay,this._hideDelay=i.hideDelay,i.position&&(this.position=i.position),i.positionAtOrigin&&(this.positionAtOrigin=i.positionAtOrigin),i.touchGestures&&(this.touchGestures=i.touchGestures),i.tooltipClass&&(this.tooltipClass=i.tooltipClass)),this._viewportMargin=yde}get position(){return this._position}set position(i){var a;i!==this._position&&(this._position=i,this._overlayRef&&(this._updatePosition(this._overlayRef),(a=this._tooltipInstance)==null||a.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(i){this._positionAtOrigin=co(i),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(i){let a=co(i);this._disabled!==a&&(this._disabled=a,a?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(i){this._showDelay=Gc(i)}get hideDelay(){return this._hideDelay}set hideDelay(i){this._hideDelay=Gc(i),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(i){let a=this._message;this._message=i!=null?String(i).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(a)}get tooltipClass(){return this._tooltipClass}set tooltipClass(i){this._tooltipClass=i,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(At(this._destroyed)).subscribe(i=>{i?i==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let i=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([a,r])=>{i.removeEventListener(a,r,Pb)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(i,this.message,"tooltip"),this._focusMonitor.stopMonitoring(i)}show(i=this.showDelay,a){var l;if(this.disabled||!this.message||this._isTooltipVisible()){(l=this._tooltipInstance)==null||l._cancelPendingAnimations();return}let r=this._createOverlay(a);this._detach(),this._portal=this._portal||new Un(this._tooltipComponent,this._viewContainerRef);let s=this._tooltipInstance=r.attach(this._portal).instance;s._triggerElement=this._elementRef.nativeElement,s._mouseLeaveHideDelay=this._hideDelay,s.afterHidden().pipe(At(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),s.show(i)}hide(i=this.hideDelay){let a=this._tooltipInstance;a&&(a.isVisible()?a.hide(i):(a._cancelPendingAnimations(),this._detach()))}toggle(i){this._isTooltipVisible()?this.hide():this.show(void 0,i)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(i){var l;if(this._overlayRef){let c=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!i)&&c._origin instanceof Fe)return this._overlayRef;this._detach()}let a=this._injector.get(mf).getAncestorScrollContainers(this._elementRef),r=this._injector.get(Ei),s=r.position().flexibleConnectedTo(this.positionAtOrigin?i||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(a);return s.positionChanges.pipe(At(this._destroyed)).subscribe(c=>{this._updateCurrentPositionClass(c.connectionPair),this._tooltipInstance&&c.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=r.create({direction:this._dir,positionStrategy:s,panelClass:`${this._cssClassPrefix}-${Nb}`,scrollStrategy:this._injector.get(gde)()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(At(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(At(this._destroyed)).subscribe(()=>{var c;return(c=this._tooltipInstance)==null?void 0:c._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(At(this._destroyed)).subscribe(c=>{this._isTooltipVisible()&&c.keyCode===27&&!Oi(c)&&(c.preventDefault(),c.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),(l=this._defaultOptions)!=null&&l.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(At(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(i){let a=i.getConfig().positionStrategy,r=this._getOrigin(),s=this._getOverlayPosition();a.withPositions([this._addOffset(J(J({},r.main),s.main)),this._addOffset(J(J({},r.fallback),s.fallback))])}_addOffset(i){let a=_de,r=!this._dir||this._dir.value=="ltr";return i.originY==="top"?i.offsetY=-8:i.originY==="bottom"?i.offsetY=a:i.originX==="start"?i.offsetX=r?-8:a:i.originX==="end"&&(i.offsetX=r?a:-8),i}_getOrigin(){let i=!this._dir||this._dir.value=="ltr",a=this.position,r;a=="above"||a=="below"?r={originX:"center",originY:a=="above"?"top":"bottom"}:a=="before"||a=="left"&&i||a=="right"&&!i?r={originX:"start",originY:"center"}:(a=="after"||a=="right"&&i||a=="left"&&!i)&&(r={originX:"end",originY:"center"});let{x:s,y:l}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:s,originY:l}}}_getOverlayPosition(){let i=!this._dir||this._dir.value=="ltr",a=this.position,r;a=="above"?r={overlayX:"center",overlayY:"bottom"}:a=="below"?r={overlayX:"center",overlayY:"top"}:a=="before"||a=="left"&&i||a=="right"&&!i?r={overlayX:"end",overlayY:"center"}:(a=="after"||a=="right"&&i||a=="left"&&!i)&&(r={overlayX:"start",overlayY:"center"});let{x:s,y:l}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:s,overlayY:l}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),Ir(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(i){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=i,this._tooltipInstance._markForCheck())}_invertPosition(i,a){return this.position==="above"||this.position==="below"?a==="top"?a="bottom":a==="bottom"&&(a="top"):i==="end"?i="start":i==="start"&&(i="end"),{x:i,y:a}}_updateCurrentPositionClass(i){let{overlayY:a,originX:r,originY:s}=i,l;if(a==="center"?this._dir&&this._dir.value==="rtl"?l=r==="end"?"left":"right":l=r==="start"?"left":"right":l=a==="bottom"&&s==="top"?"above":"below",l!==this._currentPosition){let c=this._overlayRef;if(c){let d=`${this._cssClassPrefix}-${Nb}-`;c.removePanelClass(d+this._currentPosition),c.addPanelClass(d+l)}this._currentPosition=l}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",i=>{this._setupPointerExitEventsIfNeeded();let a;i.x!==void 0&&i.y!==void 0&&(a=i),this.show(void 0,a)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",i=>{var l,c;let a=(l=i.targetTouches)==null?void 0:l[0],r=a?{x:a.clientX,y:a.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let s=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r)},((c=this._defaultOptions)==null?void 0:c.touchLongPressShowDelay)??s)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let i=[];if(this._platformSupportsMouseEvents())i.push(["mouseleave",a=>{var s;let r=a.relatedTarget;(!r||!((s=this._overlayRef)!=null&&s.overlayElement.contains(r)))&&this.hide()}],["wheel",a=>this._wheelListener(a)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let a=()=>{var r;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide((r=this._defaultOptions)==null?void 0:r.touchendHideDelay)};i.push(["touchend",a],["touchcancel",a])}this._addListeners(i),this._passiveListeners.push(...i)}_addListeners(i){i.forEach(([a,r])=>{this._elementRef.nativeElement.addEventListener(a,r,Pb)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(i){if(this._isTooltipVisible()){let a=this._injector.get(Qe).elementFromPoint(i.clientX,i.clientY),r=this._elementRef.nativeElement;a!==r&&!r.contains(a)&&this.hide()}}_disableNativeGesturesIfNecessary(){let i=this.touchGestures;if(i!=="off"){let a=this._elementRef.nativeElement,r=a.style;(i==="on"||a.nodeName!=="INPUT"&&a.nodeName!=="TEXTAREA")&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),(i==="on"||!a.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}_syncAriaDescription(i){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,i,"tooltip"),this._isDestroyed||Ir({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,a){i&2&&Ae("mat-mdc-tooltip-disabled",a.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}));let e=t;return e})(),kde=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",w(Vt));o(this,"_elementRef",w(Fe));o(this,"_isMultiline",!1);o(this,"message");o(this,"tooltipClass");o(this,"_showTimeoutId");o(this,"_hideTimeoutId");o(this,"_triggerElement");o(this,"_mouseLeaveHideDelay");o(this,"_animationsDisabled");o(this,"_tooltip");o(this,"_closeOnInteraction",!1);o(this,"_isVisible",!1);o(this,"_onHide",new he);o(this,"_showAnimation","mat-mdc-tooltip-show");o(this,"_hideAnimation","mat-mdc-tooltip-hide");let i=w(Ti,{optional:!0});this._animationsDisabled=i==="NoopAnimations"}show(i){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},i)}hide(i){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},i)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:i}){(!i||!this._triggerElement.contains(i))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let i=this._elementRef.nativeElement.getBoundingClientRect();return i.height>xde&&i.width>=wde}_handleAnimationEnd({animationName:i}){(i===this._showAnimation||i===this._hideAnimation)&&this._finalizeAnimation(i===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(i){i?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(i){let a=this._tooltip.nativeElement,r=this._showAnimation,s=this._hideAnimation;if(a.classList.remove(i?s:r),a.classList.add(i?r:s),this._isVisible!==i&&(this._isVisible=i,this._changeDetectorRef.markForCheck()),i&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let l=getComputedStyle(a);(l.getPropertyValue("animation-duration")==="0s"||l.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}i&&this._onShow(),this._animationsDisabled&&(a.classList.add("_mat-animation-noopable"),this._finalizeAnimation(i))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(i,a){if(i&1&&pt(mde,7),i&2){let r;Ne(r=Pe())&&(a._tooltip=r.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(i,a){i&1&&ce("mouseleave",function(r){return a._handleMouseLeave(r)})},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(i,a){if(i&1){let r=je();I(0,"div",1,0),ce("animationend",function(s){return pe(r),me(a._handleAnimationEnd(s))}),I(2,"div",2),B(3),A()()}i&2&&(Ae("mdc-tooltip--multiline",a._isMultiline),$("ngClass",a.tooltipClass),D(3),Ee(a.message))},dependencies:[al],styles:[`.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel{line-height:normal}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}
40
- `],encapsulation:2,changeDetection:0}));let e=t;return e})();function Ede(e,t){if(e&1&&(I(0,"mat-option",17),B(1),A()),e&2){let n=t.$implicit;$("value",n),D(),xe(" ",n," ")}}function Cde(e,t){if(e&1){let n=je();I(0,"mat-form-field",14)(1,"mat-select",16,0),ce("selectionChange",function(i){pe(n);let a=N(2);return me(a._changePageSize(i.value))}),Bi(3,Ede,2,2,"mat-option",17,Ea),A(),I(5,"div",18),ce("click",function(){pe(n);let i=Ri(2);return me(i.open())}),A()()}if(e&2){let n=N(2);$("appearance",n._formFieldAppearance)("color",n.color),D(),$("value",n.pageSize)("disabled",n.disabled)("aria-labelledby",n._pageSizeLabelId)("panelClass",n.selectConfig.panelClass||"")("disableOptionCentering",n.selectConfig.disableOptionCentering),D(2),Hi(n._displayedPageSizeOptions)}}function Dde(e,t){if(e&1&&(I(0,"div",15),B(1),A()),e&2){let n=N(2);D(),Ee(n.pageSize)}}function Ide(e,t){if(e&1&&(I(0,"div",3)(1,"div",13),B(2),A(),K(3,Cde,6,7,"mat-form-field",14)(4,Dde,2,1,"div",15),A()),e&2){let n=N();D(),ue("id",n._pageSizeLabelId),D(),xe(" ",n._intl.itemsPerPageLabel," "),D(),ae(n._displayedPageSizeOptions.length>1?3:-1),D(),ae(n._displayedPageSizeOptions.length<=1?4:-1)}}function Ade(e,t){if(e&1){let n=je();I(0,"button",19),ce("click",function(){pe(n);let i=N();return me(i._buttonClicked(0,i._previousButtonsDisabled()))}),xa(),I(1,"svg",8),se(2,"path",20),A()()}if(e&2){let n=N();$("matTooltip",n._intl.firstPageLabel)("matTooltipDisabled",n._previousButtonsDisabled())("disabled",n._previousButtonsDisabled())("tabindex",n._previousButtonsDisabled()?-1:null),ue("aria-label",n._intl.firstPageLabel)}}function Ode(e,t){if(e&1){let n=je();I(0,"button",21),ce("click",function(){pe(n);let i=N();return me(i._buttonClicked(i.getNumberOfPages()-1,i._nextButtonsDisabled()))}),xa(),I(1,"svg",8),se(2,"path",22),A()()}if(e&2){let n=N();$("matTooltip",n._intl.lastPageLabel)("matTooltipDisabled",n._nextButtonsDisabled())("disabled",n._nextButtonsDisabled())("tabindex",n._nextButtonsDisabled()?-1:null),ue("aria-label",n._intl.lastPageLabel)}}var Ff=(()=>{const t=class t{constructor(){o(this,"changes",new he);o(this,"itemsPerPageLabel","Items per page:");o(this,"nextPageLabel","Next page");o(this,"previousPageLabel","Previous page");o(this,"firstPageLabel","First page");o(this,"lastPageLabel","Last page");o(this,"getRangeLabel",(i,a,r)=>{if(r==0||a==0)return`0 of ${r}`;r=Math.max(r,0);let s=i*a,l=s<r?Math.min(s+a,r):s+a;return`${s+1} – ${l} of ${r}`})}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Tde=50,Mde=new G("MAT_PAGINATOR_DEFAULT_OPTIONS"),Nde=(()=>{const t=class t{constructor(){o(this,"_intl",w(Ff));o(this,"_changeDetectorRef",w(Vt));o(this,"_formFieldAppearance");o(this,"_pageSizeLabelId",w(hi).getId("mat-paginator-page-size-label-"));o(this,"_intlChanges");o(this,"_isInitialized",!1);o(this,"_initializedStream",new Up(1));o(this,"color");o(this,"_pageIndex",0);o(this,"_length",0);o(this,"_pageSize");o(this,"_pageSizeOptions",[]);o(this,"hidePageSize",!1);o(this,"showFirstLastButtons",!1);o(this,"selectConfig",{});o(this,"disabled",!1);o(this,"page",new de);o(this,"_displayedPageSizeOptions");o(this,"initialized",this._initializedStream);let i=this._intl,a=w(Mde,{optional:!0});if(this._intlChanges=i.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),a){let{pageSize:r,pageSizeOptions:s,hidePageSize:l,showFirstLastButtons:c}=a;r!=null&&(this._pageSize=r),s!=null&&(this._pageSizeOptions=s),l!=null&&(this.hidePageSize=l),c!=null&&(this.showFirstLastButtons=c)}this._formFieldAppearance=(a==null?void 0:a.formFieldAppearance)||"outline"}get pageIndex(){return this._pageIndex}set pageIndex(i){this._pageIndex=Math.max(i||0,0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(i){this._length=i||0,this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(i){this._pageSize=Math.max(i||0,0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(i){this._pageSizeOptions=(i||[]).map(a=>Yi(a,0)),this._updateDisplayedPageSizeOptions()}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){this.hasNextPage()&&this._navigate(this.pageIndex+1)}previousPage(){this.hasPreviousPage()&&this._navigate(this.pageIndex-1)}firstPage(){this.hasPreviousPage()&&this._navigate(0)}lastPage(){this.hasNextPage()&&this._navigate(this.getNumberOfPages()-1)}hasPreviousPage(){return this.pageIndex>=1&&this.pageSize!=0}hasNextPage(){let i=this.getNumberOfPages()-1;return this.pageIndex<i&&this.pageSize!=0}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(i){let a=this.pageIndex*this.pageSize,r=this.pageIndex;this.pageIndex=Math.floor(a/i)||0,this.pageSize=i,this._emitPageEvent(r)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._isInitialized&&(this.pageSize||(this._pageSize=this.pageSizeOptions.length!=0?this.pageSizeOptions[0]:Tde),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),this._displayedPageSizeOptions.indexOf(this.pageSize)===-1&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((i,a)=>i-a),this._changeDetectorRef.markForCheck())}_emitPageEvent(i){this.page.emit({previousPageIndex:i,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}_navigate(i){let a=this.pageIndex;i!==a&&(this.pageIndex=i,this._emitPageEvent(a))}_buttonClicked(i,a){a||this._navigate(i)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",Yi],length:[2,"length","length",Yi],pageSize:[2,"pageSize","pageSize",Yi],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",He],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",He],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",He]},outputs:{page:"page"},exportAs:["matPaginator"],decls:14,vars:14,consts:[["selectRef",""],[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],["mat-icon-button","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],[1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],[1,"mat-mdc-paginator-touch-target",3,"click"],["mat-icon-button","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(i,a){i&1&&(I(0,"div",1)(1,"div",2),K(2,Ide,5,4,"div",3),I(3,"div",4)(4,"div",5),B(5),A(),K(6,Ade,3,5,"button",6),I(7,"button",7),ce("click",function(){return a._buttonClicked(a.pageIndex-1,a._previousButtonsDisabled())}),xa(),I(8,"svg",8),se(9,"path",9),A()(),Oc(),I(10,"button",10),ce("click",function(){return a._buttonClicked(a.pageIndex+1,a._nextButtonsDisabled())}),xa(),I(11,"svg",8),se(12,"path",11),A()(),K(13,Ode,3,5,"button",12),A()()()),i&2&&(D(2),ae(a.hidePageSize?-1:2),D(3),xe(" ",a._intl.getRangeLabel(a.pageIndex,a.pageSize,a.length)," "),D(),ae(a.showFirstLastButtons?6:-1),D(),$("matTooltip",a._intl.previousPageLabel)("matTooltipDisabled",a._previousButtonsDisabled())("disabled",a._previousButtonsDisabled())("tabindex",a._previousButtonsDisabled()?-1:null),ue("aria-label",a._intl.previousPageLabel),D(3),$("matTooltip",a._intl.nextPageLabel)("matTooltipDisabled",a._nextButtonsDisabled())("disabled",a._nextButtonsDisabled())("tabindex",a._nextButtonsDisabled()?-1:null),ue("aria-label",a._intl.nextPageLabel),D(3),ae(a.showFirstLastButtons?13:-1))},dependencies:[tu,Rf,ou,zr,Sde],styles:[`.mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color, var(--mat-sys-on-surface));background-color:var(--mat-paginator-container-background-color, var(--mat-sys-surface));font-family:var(--mat-paginator-container-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-paginator-container-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-paginator-container-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-paginator-container-text-weight, var(--mat-sys-body-small-weight));letter-spacing:var(--mat-paginator-container-text-tracking, var(--mat-sys-body-small-tracking));--mat-form-field-container-height:var(--mat-paginator-form-field-container-height, 40px);--mat-form-field-container-vertical-padding:var(--mat-paginator-form-field-container-vertical-padding, 8px)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size, var(--mat-sys-body-small-size))}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap;width:100%;min-height:var(--mat-paginator-container-size, 56px)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}@media(forced-colors: active){.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon,.mat-mdc-paginator-icon{fill:currentColor}.mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}.mat-mdc-paginator-range-actions .mat-mdc-icon-button[aria-disabled]{color:GrayText}}.mat-mdc-paginator-touch-target{display:var(--mat-paginator-touch-target-display, block);position:absolute;top:50%;left:50%;width:84px;height:48px;background-color:rgba(0,0,0,0);transform:translate(-50%, -50%);cursor:pointer}
41
- `],encapsulation:2,changeDetection:0}));let e=t;return e})();Iy(TK());var Pde=(()=>{const t=class t{constructor(){this.message=Xe.required(),this.fontIcon=Xe("info"),this.translateParams=Xe({})}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["vidis-error-display"]],inputs:{message:[1,"message"],fontIcon:[1,"fontIcon"],translateParams:[1,"translateParams"]},decls:3,vars:5,consts:[[3,"fontIcon"]],template:function(i,a){i&1&&(se(0,"mat-icon",0),B(1),z(2,"translate")),i&2&&($("fontIcon",a.fontIcon()),D(),xe(" ",_i(2,2,"commons.errors."+a.message(),a.translateParams())," "))},dependencies:[Xa,$i],styles:["[_nghost-%COMP%]{display:flex;align-items:center;background:#c41c0d0d;color:#c41c0d;font-weight:700;padding:16px}mat-icon[_ngcontent-%COMP%]{flex-shrink:0;font-size:20px;width:20px;height:20px;line-height:1;margin-right:6px}mat-icon[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}"]});let e=t;return e})(),su=(()=>{const t=class t{setServices(i){this.services=i}getServices(){if(!this.services)throw new Error("ComponentServices has not been set yet.");return this.services}hasServices(){return!!this.services}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=U({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Rde=(()=>{const t=class t{constructor(){this.vidisErrorCode=w(yf)}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({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(i,a){i&1&&(I(0,"h2",0),B(1),z(2,"translate"),A(),I(3,"mat-dialog-content")(4,"p")(5,"span"),B(6),z(7,"translate"),A()()(),I(8,"mat-dialog-actions")(9,"button",1),B(10),z(11,"translate"),A()()),i&2&&(D(),Ee(q(2,4,"commons.errors.action-not-authorized-title")),D(5),Ee(q(7,6,"commons.errors."+a.vidisErrorCode)),D(3),$("mat-dialog-close",!1),D(),xe(" ",q(11,8,"commons.errors.action-not-authorized-close-button")," "))},dependencies:[_f,ul,hl,ml,pl,Qn,Da,$i],encapsulation:2});let e=t;return e})(),Fde=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({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(i,a){i&1&&(I(0,"h2",0),B(1),z(2,"translate"),A(),I(3,"mat-dialog-content")(4,"p")(5,"span"),B(6),z(7,"translate"),A()(),I(8,"p")(9,"span"),B(10),z(11,"translate"),A(),I(12,"a",1),z(13,"translate"),B(14),z(15,"translate"),A(),B(16,"."),A()(),I(17,"mat-dialog-actions")(18,"button",2),B(19),z(20,"translate"),A(),I(21,"button",3),B(22),z(23,"translate"),A()()),i&2&&(D(),Ee(q(2,9,"commons.errors.report-message-title")),D(5),Ee(q(7,11,"commons.errors.report-message-explanation")),D(4),Ee(q(11,13,"commons.errors.report-message-content")),D(2),$("href",q(13,15,"commons.errors.report-message-link"),Tee),D(2),Ee(q(15,17,"commons.errors.report-message-term-use")),D(4),$("mat-dialog-close",!0),D(),xe(" ",q(20,19,"commons.errors.report-message-report-button")," "),D(2),$("mat-dialog-close",!1),D(),xe(" ",q(23,21,"commons.errors.report-message-ignore-button")," "))},dependencies:[_f,ul,hl,ml,pl,Qn,Da,$i],encapsulation:2});let e=t;return e})(),Vde="4.0",wp=Vde,On=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(On||{}),Lde=(()=>{const t=class t{constructor(){o(this,"version");o(this,"language");o(this,"configName");o(this,"services");o(this,"onPrint",new de);o(this,"_ngInitDone",!1);o(this,"correctlySetup",!1);o(this,"extraRequiredFields",[])}validateVersion(){let i=wp.split(".").map(r=>parseInt(r)),a=(this.version||"").split(".").map(r=>parseInt(r));return a.length!==2?(console.error(`[BaseWebComponent] The given version (${this.version}) has the wrong format <major>.<minor>!`),!1):a[0]!==i[0]?(console.error(`[BaseWebComponent] The given version (${this.version})'s major is not compatible with this component's major version (${wp})!`),!1):!0}validateInputs(){let i=this,a=["language","configName","services","version",...this.extraRequiredFields],{missingFields:r,presentFields:s}=a.reduce((l,c)=>(i[c]===void 0?l.missingFields.push(c):l.presentFields.push(c),l),{missingFields:[],presentFields:[]});return r.length?(console.log(`[BaseWebComponent] Waiting for missing inputs: ${r.join(", ")}; Present inputs: ${s.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(i){this.correctlySetup=this.validateInputs(),this.correctlySetup&&(this._ngInitDone?this.onPropsChanged(i):(this.onInitialized(),this._ngInitDone=!0))}isCorrectlySetup(){return this.correctlySetup}onInitialized(){}onPropsChanged(i){}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["ng-component"]],inputs:{version:"version",language:"language",configName:"configName",services:"services"},outputs:{onPrint:"onPrint"},features:[wi],decls:0,vars:0,template:function(i,a){},encapsulation:2}));let e=t;return e})(),CS=class{constructor(e,t,n,i,a){o(this,"logId");o(this,"services");o(this,"key");o(this,"cacheFetchingKey");o(this,"offlineDataStorageEnabled");o(this,"isOfflineAuthenticated");this.logId=a,this.services=e,this.key=t,this.cacheFetchingKey=`fetching-${this.key}`,this.offlineDataStorageEnabled=i,this.isOfflineAuthenticated=n}clearStoredDataWhen(e){return Array.isArray(e)&&e.length===0}fetchBackendData(){return kt(this,null,function*(){let e=yield this.getDataFromBackend();return e&&(yield this.updateStoredData(e)),e})}fetchOfflineData(){return kt(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 kt(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 kt(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 kt(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 kt(this,null,function*(){this.storeDataInCache(e),yield this.clearStoredDataWhen(e)?this.clearStoredData():this.storeDataOffline(e)})}clearStoredData(){return kt(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`))})}},DS=()=>{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)},Ts=function(e){return e.DIARY_NOTES="diarynotes",e.PRESCRIPTIONS="prescriptions",e.MEDICATION_SCHEME="medicationScheme",e.MEDICATION_SCHEME_PAGE_STATE="medicationSchemePageState",e.DELIVERED_MEDICATIONS="deliveredMedications",e.USER_INFOS="userInfos",e.MANDATE_TYPE="mandateType",e}(Ts||{}),h=function(e){return e.NL="nl",e.FR="fr",e.DE="de",e.EN="en",e}(h||{}),vl=function(e){return e.ascending="asc",e.descending="desc",e}(vl||{});h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,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 fr={getAuthorizationHeader:e=>`Bearer ${e}`,getUserType:e=>e.isProfessional?"professional":"patient",clientType:{webApp:"webapp",mobileApp:"mobapp"}},uo={exchangeClientId:"exchange-client-id",authorization:"Authorization",userType:"user-type",clientType:"client-type"},ns=class extends Error{};ns.prototype.name="InvalidTokenError";function zde(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,n)=>{let i=n.charCodeAt(0).toString(16).toUpperCase();return i.length<2&&(i="0"+i),"%"+i}))}function jde(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 zde(t)}catch{return atob(t)}}function Bde(e,t){if(typeof e!="string")throw new ns("Invalid token specified: must be a string");t||(t={});let n=t.header===!0?0:1,i=e.split(".")[n];if(typeof i!="string")throw new ns(`Invalid token specified: missing part #${n+1}`);let a;try{a=jde(i)}catch(r){throw new ns(`Invalid token specified: invalid base64 for part #${n+1} (${r.message})`)}try{return JSON.parse(a)}catch(r){throw new ns(`Invalid token specified: invalid json for part #${n+1} (${r.message})`)}}var Hde=class extends CS{constructor(e,t,n){super(e,Ts.USER_INFOS,t,n,Ts.USER_INFOS),this.getLocalAccessToken=e.getAccessToken}getDataFromBackend(){return kt(this,null,function*(){return Bde(yield this.getLocalAccessToken("")).userProfile})}},IS=(()=>{const t=class t{get isProfessional(){return this._isProfessional}set isProfessional(i){this._isProfessional=i}get patientSsin(){return this._patientSsin}set patientSsin(i){this._patientSsin=i}get isOfflineDataStorageEnabled(){return this._offlineDataStorageEnabled}set isOfflineDataStorageEnabled(i){this._offlineDataStorageEnabled=i}get isOfflineAuthenticated(){return this._isOfflineAuthenticated}set isOfflineAuthenticated(i){this._isOfflineAuthenticated=i}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=U({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function $de(e){var t,n;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0].ssin:((n=e==null?void 0:e.mandators)==null?void 0:n.length)>0?e.mandators[0].ssin:e.ssin}function qde(e){var t,n;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0]:((n=e==null?void 0:e.mandators)==null?void 0:n.length)>0?e.mandators[0]:{ssin:e.ssin,lastName:e==null?void 0:e.lastName,firstName:e==null?void 0:e.firstName}}var Gde=(()=>{const t=class t extends IS{constructor(){super(...arguments),this.servicesStore=w(su)}resolveSsin(){return kt(this,null,function*(){if(this.isProfessional===!0)return this.patientSsin;let i=yield this.fetchUserProfileToken();return $de(i)})}resolvePatientInfo(){return kt(this,null,function*(){let i=yield this.fetchUserProfileToken();return qde(i)})}resolveUserInfo(){return kt(this,null,function*(){var u,m,v,g;let i=yield this.fetchUserProfileToken(),a=i.lastName,r=i.firstName,s=this.extractProfessionalRole(i),l=((u=i==null?void 0:i.organizations)==null?void 0:u.length)>0&&((m=i==null?void 0:i.organizations[0])!=null&&m.pharmacy)?"pharmacist":void 0,c=(v=i==null?void 0:i.organizations)!=null&&v.length&&l!==void 0?i==null?void 0:i.organizations[0]:void 0,d=this.resolveProfessional(i,s)?i[s]:void 0;return{firstName:r,ssin:i.ssin,lastName:a,role:l||s,organization:c&&l?c:void 0,professional:d,mandator:((g=i==null?void 0:i.mandators)==null?void 0:g.length)>0}})}isMandator(){return kt(this,null,function*(){var i,a;return((a=(i=yield this.fetchUserProfileToken())==null?void 0:i.mandators)==null?void 0:a.length)>0})}resolveProfessional(i,a){return a?i[a]:void 0}extractProfessionalRole(i){let a=["physician","nurse","midwife","dentist"],r="patient";return a.forEach(s=>{i[s]&&(r=s)}),r}fetchUserProfileToken(){return this.accessTokenService.getData(!0)}registerAccessTokenService(i,a){this.isOfflineAuthenticated=i,this.isOfflineDataStorageEnabled=a,this.accessTokenService=new Hde(this.servicesStore.getServices(),i,a)}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=jt(t)))(a||t)}})(),t.ɵprov=U({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Ude=(()=>{const t=class t extends IS{resolveSsin(){return kt(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 kt(this,null,function*(){return Promise.resolve(!1)})}registerAccessTokenService(i,a){this.isOfflineAuthenticated=i,this.isOfflineDataStorageEnabled=a}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=jt(t)))(a||t)}})(),t.ɵprov=U({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Yde=(()=>{const t=class t{constructor(){this.http=w(nl)}get(i,a,r){return Kl()?this.http.get(i,{headers:r}):bt(a)}patch(i,a,r){return Kl()?this.http.patch(i,{},{headers:r}):bt(a)}post(i,a,r){return Kl()?this.http.post(i,{},{headers:r}):bt(a)}delete(i,a,r){return Kl()?this.http.delete(i,{headers:r}):bt(a)}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=U({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Kl=()=>window.Cypress,Hn=function(e){return e.INITIAL="INITIAL",e.LOADING="LOADING",e.SUCCESS="SUCCESS",e.UPDATING="UPDATING",e.ERROR="ERROR",e}(Hn||{}),mn=function(e){return e.NO_DATA="NO_DATA",e.TEMP_UNAVAILABLE="TEMP_UNAVAILABLE",e.NOT_AUTHORIZED="NOT_AUTHORIZED",e.OTHER="OTHER",e}(mn||{});function Wde(e,t){return kt(this,null,function*(){t.next({status:Hn.LOADING});try{let n=yield e,i={status:Hn.SUCCESS,data:n};return t.next(i),i}catch(n){let i={status:Hn.ERROR,error:Xde(n)};return t.next(i),i}})}var Rb={[mn.NO_DATA]:["VIDIS_0140"],[mn.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"],[mn.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"],[mn.OTHER]:[]};function Zde(e){for(let t of Object.keys(Rb))if(Rb[t].includes(e))return t;return mn.OTHER}function Kde(e,t,n){let i=e||"UNKNOWN",a=Zde(i);return{code:i,message:n??"An unexpected error occurred",group:a,traceId:t}}function Xde(e){var a,r,s;let t=((a=e.error)==null?void 0:a.code)??void 0,n=((r=e.error)==null?void 0:r.message)??e.message,i=(s=e.headers)==null?void 0:s.get("trace-id");return Kde(t,i,n)}var Pt={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)"},Qde=(e=w(Kd))=>fw(e.observe([Pt.XSmall,Pt.Small]).pipe(yt(t=>t.matches)),{initialValue:!1});function Jde(e){return e.firstName&&e.lastName?e.firstName+" "+e.lastName:e.name}function eue(e,t){if(e&1){let n=je();I(0,"div",1)(1,"button",2),ce("click",function(){pe(n);let i=N();return me(i.action())}),B(2),A()()}if(e&2){let n=N();D(2),xe(" ",n.data.action," ")}}var tue=["label"];function iue(e,t){}var aue=Math.pow(2,31)-1,Sp=class{constructor(e,t){o(this,"_overlayRef");o(this,"instance");o(this,"containerInstance");o(this,"_afterDismissed",new he);o(this,"_afterOpened",new he);o(this,"_onAction",new he);o(this,"_durationTimeoutId");o(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,aue))}_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}},AS=new G("MatSnackBarData"),id=class{constructor(){o(this,"politeness","assertive");o(this,"announcementMessage","");o(this,"viewContainerRef");o(this,"duration",0);o(this,"panelClass");o(this,"direction");o(this,"data",null);o(this,"horizontalPosition","center");o(this,"verticalPosition","bottom")}},nue=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}));let e=t;return e})(),rue=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}));let e=t;return e})(),oue=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}));let e=t;return e})(),sue=(()=>{const t=class t{constructor(){o(this,"snackBarRef",w(Sp));o(this,"data",w(AS))}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",ve({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(i,a){i&1&&(I(0,"div",0),B(1),A(),K(2,eue,3,1,"div",1)),i&2&&(D(),xe(" ",a.data.message,`
42
- `),D(),ae(a.hasAction?2:-1))},dependencies:[Da,nue,rue,oue],styles:[`.mat-mdc-simple-snack-bar{display:flex}
43
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),eh="_mat-snack-bar-enter",th="_mat-snack-bar-exit",lue=(()=>{const t=class t extends Qd{constructor(){super();o(this,"_ngZone",w(Oe));o(this,"_elementRef",w(Fe));o(this,"_changeDetectorRef",w(Vt));o(this,"_platform",w(Wt));o(this,"_rendersRef");o(this,"_animationsDisabled",w(Ti,{optional:!0})==="NoopAnimations");o(this,"snackBarConfig",w(id));o(this,"_document",w(Qe));o(this,"_trackedModals",new Set);o(this,"_enterFallback");o(this,"_exitFallback");o(this,"_renders",new he);o(this,"_announceDelay",150);o(this,"_announceTimeoutId");o(this,"_destroyed",!1);o(this,"_portalOutlet");o(this,"_onAnnounce",new he);o(this,"_onExit",new he);o(this,"_onEnter",new he);o(this,"_animationState","void");o(this,"_live");o(this,"_label");o(this,"_role");o(this,"_liveElementId",w(hi).getId("mat-snack-bar-container-live-"));o(this,"attachDomPortal",a=>{this._assertNotAttached();let r=this._portalOutlet.attachDomPortal(a);return this._afterPortalAttached(),r});let a=this.snackBarConfig;a.politeness==="assertive"&&!a.announcementMessage?this._live="assertive":a.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert")),this._rendersRef=Dm(()=>this._renders.next(),{manualCleanup:!0})}attachComponentPortal(a){this._assertNotAttached();let r=this._portalOutlet.attachComponentPortal(a);return this._afterPortalAttached(),r}attachTemplatePortal(a){this._assertNotAttached();let r=this._portalOutlet.attachTemplatePortal(a);return this._afterPortalAttached(),r}onAnimationEnd(a){a===th?this._completeExit():a===eh&&(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(vi(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(eh)))}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(eh)},200)))}exit(){return this._destroyed?bt(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(vi(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(th)))}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(th),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit(),this._renders.complete(),this._rendersRef.destroy()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let a=this._elementRef.nativeElement,r=this.snackBarConfig.panelClass;r&&(Array.isArray(r)?r.forEach(c=>a.classList.add(c)):a.classList.add(r)),this._exposeToModals();let s=this._label.nativeElement,l="mdc-snackbar__label";s.classList.toggle(l,!s.querySelector(`.${l}`))}_exposeToModals(){let a=this._liveElementId,r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let s=0;s<r.length;s++){let l=r[s],c=l.getAttribute("aria-owns");this._trackedModals.add(l),c?c.indexOf(a)===-1&&l.setAttribute("aria-owns",c+" "+a):l.setAttribute("aria-owns",a)}}_clearFromModals(){this._trackedModals.forEach(a=>{let r=a.getAttribute("aria-owns");if(r){let s=r.replace(this._liveElementId,"").trim();s.length>0?a.setAttribute("aria-owns",s):a.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let a=this._elementRef.nativeElement,r=a.querySelector("[aria-hidden]"),s=a.querySelector("[aria-live]");if(r&&s){let l=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&r.contains(document.activeElement)&&(l=document.activeElement),r.removeAttribute("aria-hidden"),s.appendChild(r),l==null||l.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(a,r){if(a&1&&(pt(Mr,7),pt(tue,7)),a&2){let s;Ne(s=Pe())&&(r._portalOutlet=s.first),Ne(s=Pe())&&(r._label=s.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(a,r){a&1&&ce("animationend",function(s){return r.onAnimationEnd(s.animationName)})("animationcancel",function(s){return r.onAnimationEnd(s.animationName)}),a&2&&Ae("mat-snack-bar-container-enter",r._animationState==="visible")("mat-snack-bar-container-exit",r._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!r._animationsDisabled)},features:[Mt],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(a,r){a&1&&(I(0,"div",1)(1,"div",2,0)(3,"div",3),K(4,iue,0,0,"ng-template",4),A(),se(5,"div"),A()()),a&2&&(D(5),ue("aria-live",r._live)("role",r._role)("id",r._liveElementId))},dependencies:[Mr],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}
44
- `],encapsulation:2}));let e=t;return e})();function cue(){return new id}var due=new G("mat-snack-bar-default-options",{providedIn:"root",factory:cue}),uue=(()=>{const t=class t{constructor(){o(this,"_overlay",w(Ei));o(this,"_live",w(ww));o(this,"_injector",w(dt));o(this,"_breakpointObserver",w(Kd));o(this,"_parentSnackBar",w(t,{optional:!0,skipSelf:!0}));o(this,"_defaultConfig",w(due));o(this,"_snackBarRefAtThisLevel",null);o(this,"simpleSnackBarComponent",sue);o(this,"snackBarContainerComponent",lue);o(this,"handsetCssClass","mat-mdc-snack-bar-handset")}get _openedSnackBarRef(){let i=this._parentSnackBar;return i?i._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(i){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=i:this._snackBarRefAtThisLevel=i}openFromComponent(i,a){return this._attach(i,a)}openFromTemplate(i,a){return this._attach(i,a)}open(i,a="",r){let s=J(J({},this._defaultConfig),r);return s.data={message:i,action:a},s.announcementMessage===i&&(s.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,s)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(i,a){let r=a&&a.viewContainerRef&&a.viewContainerRef.injector,s=dt.create({parent:r||this._injector,providers:[{provide:id,useValue:a}]}),l=new Un(this.snackBarContainerComponent,a.viewContainerRef,s),c=i.attach(l);return c.instance.snackBarConfig=a,c.instance}_attach(i,a){let r=J(J(J({},new id),this._defaultConfig),a),s=this._createOverlay(r),l=this._attachSnackBarContainer(s,r),c=new Sp(l,s);if(i instanceof bn){let d=new Xd(i,null,{$implicit:r.data,snackBarRef:c});c.instance=l.attachTemplatePortal(d)}else{let d=this._createInjector(r,c),u=new Un(i,void 0,d),m=l.attachComponentPortal(u);c.instance=m.instance}return this._breakpointObserver.observe(Pt.HandsetPortrait).pipe(At(s.detachments())).subscribe(d=>{s.overlayElement.classList.toggle(this.handsetCssClass,d.matches)}),r.announcementMessage&&l._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(c,r),this._openedSnackBarRef=c,this._openedSnackBarRef}_animateSnackBar(i,a){i.afterDismissed().subscribe(()=>{this._openedSnackBarRef==i&&(this._openedSnackBarRef=null),a.announcementMessage&&this._live.clear()}),a.duration&&a.duration>0&&i.afterOpened().subscribe(()=>i._dismissAfter(a.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{i.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):i.containerInstance.enter()}_createOverlay(i){let a=new dl;a.direction=i.direction;let r=this._overlay.position().global(),s=i.direction==="rtl",l=i.horizontalPosition==="left"||i.horizontalPosition==="start"&&!s||i.horizontalPosition==="end"&&s,c=!l&&i.horizontalPosition!=="center";return l?r.left("0"):c?r.right("0"):r.centerHorizontally(),i.verticalPosition==="top"?r.top("0"):r.bottom("0"),a.positionStrategy=r,this._overlay.create(a)}_createInjector(i,a){let r=i&&i.viewContainerRef&&i.viewContainerRef.injector;return dt.create({parent:r||this._injector,providers:[{provide:Sp,useValue:a},{provide:AS,useValue:i.data}]})}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),OS=(()=>{const t=class t{constructor(){this.snackbar=w(uue),this.translate=w(Kn)}showSuccess(i,a="commons.close",r=5e3){return this.snackbar.open(this.translate.instant(i),this.translate.instant(a),{duration:r,panelClass:"mh-snackbar--success"})}showError(i,a="commons.close",r=5e3){return this.snackbar.open(this.translate.instant(i),this.translate.instant(a),{duration:r,panelClass:"mh-snackbar--error"})}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=U({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),hue={demo:{env:On.DEMO},dev:{apiUrl:"http://vidis-fake-api.test.paas.vasdc.be",env:On.DEV},int:{apiUrl:"https://vidis-api.int.pub.vascloud.be/REST/vidis",env:On.INT},acc:{apiUrl:"https://vidis-api.acc.vasha.be/REST/vidis",env:On.ACC},prod:{apiUrl:"https://vidis-api.vasha.be/REST/vidis",env:On.PROD}},Fo=(()=>{const t=class t{setEnvironment(i){this.configVariables=hue[On[i.toUpperCase()]]||{}}getEnvironmentVariable(i){return this.configVariables[i]}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=U({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Nr=(()=>{const t=class t{constructor(){this.config=w(Fo),this.injector=w(dt),this._instance=null}getInstance(){if(!this._instance){let i=this.config.getEnvironmentVariable("env")==="demo";this._instance=i?this.injector.get(Ude):this.injector.get(Gde)}return this._instance}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=U({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),pue=(()=>{const t=class t{reportError(i){return bt({status:"ok"})}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=U({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),mue=(()=>{const t=class t{constructor(){this.http=w(nl),this.authService=w(Nr).getInstance(),this.apiUrl=w(Fo).getEnvironmentVariable("apiUrl")}reportError(i){return this.http.post(`${this.apiUrl}/v2/report/error`,i,{headers:{[uo.userType]:fr.getUserType({isProfessional:this.authService.isProfessional}),[uo.clientType]:DS()?fr.clientType.mobileApp:fr.clientType.webApp}})}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=U({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),fue=(()=>{const t=class t{constructor(){this.config=w(Fo),this.injector=w(dt),this._instance=null}getInstance(){if(!this._instance){let i=this.config.getEnvironmentVariable("env")==="demo";this._instance=i?this.injector.get(pue):this.injector.get(mue)}return this._instance}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=U({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),gue={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"}},vue=(e,t,n)=>{let i,a=gue[e];return typeof a=="string"?i=a:t===1?i=a.one:i=a.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function ih(e){return(t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var bue={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},yue={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},_ue={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},xue={date:ih({formats:bue,defaultWidth:"full"}),time:ih({formats:yue,defaultWidth:"full"}),dateTime:ih({formats:_ue,defaultWidth:"full"})},wue={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Sue=(e,t,n,i)=>wue[e];function Qo(e){return(t,n)=>{let i=n!=null&&n.context?String(n.context):"standalone",a;if(i==="formatting"&&e.formattingValues){let s=e.defaultFormattingWidth||e.defaultWidth,l=n!=null&&n.width?String(n.width):s;a=e.formattingValues[l]||e.formattingValues[s]}else{let s=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;a=e.values[l]||e.values[s]}let r=e.argumentCallback?e.argumentCallback(t):t;return a[r]}}var kue={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Eue={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Cue={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"]},Due={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"]},Iue={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"}},Aue={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"}},Oue=(e,t)=>{let n=Number(e),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Tue={ordinalNumber:Oue,era:Qo({values:kue,defaultWidth:"wide"}),quarter:Qo({values:Eue,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Qo({values:Cue,defaultWidth:"wide"}),day:Qo({values:Due,defaultWidth:"wide"}),dayPeriod:Qo({values:Iue,defaultWidth:"wide",formattingValues:Aue,defaultFormattingWidth:"wide"})};function Jo(e){return(t,n={})=>{let i=n.width,a=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],r=t.match(a);if(!r)return null;let s=r[0],l=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?Nue(l,m=>m.test(s)):Mue(l,m=>m.test(s)),d;d=e.valueCallback?e.valueCallback(c):c,d=n.valueCallback?n.valueCallback(d):d;let u=t.slice(s.length);return{value:d,rest:u}}}function Mue(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function Nue(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function Pue(e){return(t,n={})=>{let i=t.match(e.matchPattern);if(!i)return null;let a=i[0],r=t.match(e.parsePattern);if(!r)return null;let s=e.valueCallback?e.valueCallback(r[0]):r[0];s=n.valueCallback?n.valueCallback(s):s;let l=t.slice(a.length);return{value:s,rest:l}}}var Rue=/^(\d+)(th|st|nd|rd)?/i,Fue=/\d+/i,Vue={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},Lue={any:[/^b/i,/^(a|c)/i]},zue={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},jue={any:[/1/i,/2/i,/3/i,/4/i]},Bue={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},Hue={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]},$ue={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},que={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]},Gue={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},Uue={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}},Yue={ordinalNumber:Pue({matchPattern:Rue,parsePattern:Fue,valueCallback:e=>parseInt(e,10)}),era:Jo({matchPatterns:Vue,defaultMatchWidth:"wide",parsePatterns:Lue,defaultParseWidth:"any"}),quarter:Jo({matchPatterns:zue,defaultMatchWidth:"wide",parsePatterns:jue,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Jo({matchPatterns:Bue,defaultMatchWidth:"wide",parsePatterns:Hue,defaultParseWidth:"any"}),day:Jo({matchPatterns:$ue,defaultMatchWidth:"wide",parsePatterns:que,defaultParseWidth:"any"}),dayPeriod:Jo({matchPatterns:Gue,defaultMatchWidth:"any",parsePatterns:Uue,defaultParseWidth:"any"})},TS={code:"en-US",formatDistance:vue,formatLong:xue,formatRelative:Sue,localize:Tue,match:Yue,options:{weekStartsOn:0,firstWeekContainsDate:1}},Wue={};function Vo(){return Wue}var MS=6048e5,Zue=864e5,Kue=6e4,Xue=36e5,Que=1e3,Fb=Symbol.for("constructDateFrom");function li(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Fb in e?e[Fb](t):e instanceof Date?new e.constructor(t):new Date(t)}function oi(e,t){return li(t||e,e)}function ad(e){let t=oi(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function Jue(e,...t){let n=li.bind(null,t.find(i=>typeof i=="object"));return t.map(n)}function Vb(e,t){let n=oi(e,t==null?void 0:t.in);return n.setHours(0,0,0,0),n}function ehe(e,t,n){let[i,a]=Jue(n==null?void 0:n.in,e,t),r=Vb(i),s=Vb(a),l=+r-ad(r),c=+s-ad(s);return Math.round((l-c)/Zue)}function the(e,t){let n=oi(e,t==null?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function ihe(e,t){let n=oi(e,t==null?void 0:t.in);return ehe(n,the(n))+1}function Yn(e,t){var l,c,d,u;let n=Vo(),i=(t==null?void 0:t.weekStartsOn)??((c=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)??n.weekStartsOn??((u=(d=n.locale)==null?void 0:d.options)==null?void 0:u.weekStartsOn)??0,a=oi(e,t==null?void 0:t.in),r=a.getDay(),s=(r<i?7:0)+r-i;return a.setDate(a.getDate()-s),a.setHours(0,0,0,0),a}function xo(e,t){return Yn(e,tt(J({},t),{weekStartsOn:1}))}function NS(e,t){let n=oi(e,t==null?void 0:t.in),i=n.getFullYear(),a=li(n,0);a.setFullYear(i+1,0,4),a.setHours(0,0,0,0);let r=xo(a),s=li(n,0);s.setFullYear(i,0,4),s.setHours(0,0,0,0);let l=xo(s);return n.getTime()>=r.getTime()?i+1:n.getTime()>=l.getTime()?i:i-1}function ahe(e,t){let n=NS(e,t),i=li(e,0);return i.setFullYear(n,0,4),i.setHours(0,0,0,0),xo(i)}function PS(e,t){let n=oi(e,t==null?void 0:t.in),i=+xo(n)-+ahe(n);return Math.round(i/MS)+1}function Vf(e,t){var u,m,v,g;let n=oi(e,t==null?void 0:t.in),i=n.getFullYear(),a=Vo(),r=(t==null?void 0:t.firstWeekContainsDate)??((m=(u=t==null?void 0:t.locale)==null?void 0:u.options)==null?void 0:m.firstWeekContainsDate)??a.firstWeekContainsDate??((g=(v=a.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,s=li((t==null?void 0:t.in)||e,0);s.setFullYear(i+1,0,r),s.setHours(0,0,0,0);let l=Yn(s,t),c=li((t==null?void 0:t.in)||e,0);c.setFullYear(i,0,r),c.setHours(0,0,0,0);let d=Yn(c,t);return+n>=+l?i+1:+n>=+d?i:i-1}function nhe(e,t){var s,l,c,d;let n=Vo(),i=(t==null?void 0:t.firstWeekContainsDate)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.firstWeekContainsDate)??n.firstWeekContainsDate??((d=(c=n.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??1,a=Vf(e,t),r=li((t==null?void 0:t.in)||e,0);return r.setFullYear(a,0,i),r.setHours(0,0,0,0),Yn(r,t)}function RS(e,t){let n=oi(e,t==null?void 0:t.in),i=+Yn(n,t)-+nhe(n,t);return Math.round(i/MS)+1}function ct(e,t){let n=e<0?"-":"",i=Math.abs(e).toString().padStart(t,"0");return n+i}var In={y(e,t){let n=e.getFullYear(),i=n>0?n:1-n;return ct(t==="yy"?i%100:i,t.length)},M(e,t){let n=e.getMonth();return t==="M"?String(n+1):ct(n+1,2)},d(e,t){return ct(e.getDate(),t.length)},a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return ct(e.getHours()%12||12,t.length)},H(e,t){return ct(e.getHours(),t.length)},m(e,t){return ct(e.getMinutes(),t.length)},s(e,t){return ct(e.getSeconds(),t.length)},S(e,t){let n=t.length,i=e.getMilliseconds(),a=Math.trunc(i*Math.pow(10,n-3));return ct(a,t.length)}},Yr={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Lb={G:function(e,t,n){let i=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});case"GGGG":default:return n.era(i,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){let i=e.getFullYear(),a=i>0?i:1-i;return n.ordinalNumber(a,{unit:"year"})}return In.y(e,t)},Y:function(e,t,n,i){let a=Vf(e,i),r=a>0?a:1-a;if(t==="YY"){let s=r%100;return ct(s,2)}return t==="Yo"?n.ordinalNumber(r,{unit:"year"}):ct(r,t.length)},R:function(e,t){let n=NS(e);return ct(n,t.length)},u:function(e,t){let n=e.getFullYear();return ct(n,t.length)},Q:function(e,t,n){let i=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(i);case"QQ":return ct(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,t,n){let i=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(i);case"qq":return ct(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,t,n){let i=e.getMonth();switch(t){case"M":case"MM":return In.M(e,t);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(e,t,n){let i=e.getMonth();switch(t){case"L":return String(i+1);case"LL":return ct(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(e,t,n,i){let a=RS(e,i);return t==="wo"?n.ordinalNumber(a,{unit:"week"}):ct(a,t.length)},I:function(e,t,n){let i=PS(e);return t==="Io"?n.ordinalNumber(i,{unit:"week"}):ct(i,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):In.d(e,t)},D:function(e,t,n){let i=ihe(e);return t==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):ct(i,t.length)},E:function(e,t,n){let i=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});case"EEEE":default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(e,t,n,i){let a=e.getDay(),r=(a-i.weekStartsOn+8)%7||7;switch(t){case"e":return String(r);case"ee":return ct(r,2);case"eo":return n.ordinalNumber(r,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});case"eeee":default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,i){let a=e.getDay(),r=(a-i.weekStartsOn+8)%7||7;switch(t){case"c":return String(r);case"cc":return ct(r,t.length);case"co":return n.ordinalNumber(r,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});case"cccc":default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){let i=e.getDay(),a=i===0?7:i;switch(t){case"i":return String(a);case"ii":return ct(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});case"iiii":default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(e,t,n){let i=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){let i=e.getHours(),a;switch(i===12?a=Yr.noon:i===0?a=Yr.midnight:a=i/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,n){let i=e.getHours(),a;switch(i>=17?a=Yr.evening:i>=12?a=Yr.afternoon:i>=4?a=Yr.morning:a=Yr.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let i=e.getHours()%12;return i===0&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return In.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):In.H(e,t)},K:function(e,t,n){let i=e.getHours()%12;return t==="Ko"?n.ordinalNumber(i,{unit:"hour"}):ct(i,t.length)},k:function(e,t,n){let i=e.getHours();return i===0&&(i=24),t==="ko"?n.ordinalNumber(i,{unit:"hour"}):ct(i,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):In.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):In.s(e,t)},S:function(e,t){return In.S(e,t)},X:function(e,t,n){let i=e.getTimezoneOffset();if(i===0)return"Z";switch(t){case"X":return jb(i);case"XXXX":case"XX":return cr(i);case"XXXXX":case"XXX":default:return cr(i,":")}},x:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"x":return jb(i);case"xxxx":case"xx":return cr(i);case"xxxxx":case"xxx":default:return cr(i,":")}},O:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+zb(i,":");case"OOOO":default:return"GMT"+cr(i,":")}},z:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+zb(i,":");case"zzzz":default:return"GMT"+cr(i,":")}},t:function(e,t,n){let i=Math.trunc(+e/1e3);return ct(i,t.length)},T:function(e,t,n){return ct(+e,t.length)}};function zb(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=Math.trunc(i/60),r=i%60;return r===0?n+String(a):n+String(a)+t+ct(r,2)}function jb(e,t){return e%60===0?(e>0?"-":"+")+ct(Math.abs(e)/60,2):cr(e,t)}function cr(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=ct(Math.trunc(i/60),2),r=ct(i%60,2);return n+a+t+r}var Bb=(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"})}},FS=(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"})}},rhe=(e,t)=>{let n=e.match(/(P+)(p+)?/)||[],i=n[1],a=n[2];if(!a)return Bb(e,t);let r;switch(i){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;case"PPPP":default:r=t.dateTime({width:"full"});break}return r.replace("{{date}}",Bb(i,t)).replace("{{time}}",FS(a,t))},kp={p:FS,P:rhe},ohe=/^D+$/,she=/^Y+$/,lhe=["D","DD","YY","YYYY"];function VS(e){return ohe.test(e)}function LS(e){return she.test(e)}function Ep(e,t,n){let i=che(e,t,n);if(console.warn(i),lhe.includes(e))throw new RangeError(i)}function che(e,t,n){let i=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${i} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}function dhe(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function uhe(e){return!(!dhe(e)&&typeof e!="number"||isNaN(+oi(e)))}var hhe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,phe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,mhe=/^'([^]*?)'?$/,fhe=/''/g,ghe=/[a-zA-Z]/;function Ms(e,t,n){var u,m,v,g,x,S,E,M;let i=Vo(),a=(n==null?void 0:n.locale)??i.locale??TS,r=(n==null?void 0:n.firstWeekContainsDate)??((m=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:m.firstWeekContainsDate)??i.firstWeekContainsDate??((g=(v=i.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,s=(n==null?void 0:n.weekStartsOn)??((S=(x=n==null?void 0:n.locale)==null?void 0:x.options)==null?void 0:S.weekStartsOn)??i.weekStartsOn??((M=(E=i.locale)==null?void 0:E.options)==null?void 0:M.weekStartsOn)??0,l=oi(e,n==null?void 0:n.in);if(!uhe(l))throw new RangeError("Invalid time value");let c=t.match(phe).map(L=>{let R=L[0];if(R==="p"||R==="P"){let le=kp[R];return le(L,a.formatLong)}return L}).join("").match(hhe).map(L=>{if(L==="''")return{isToken:!1,value:"'"};let R=L[0];if(R==="'")return{isToken:!1,value:vhe(L)};if(Lb[R])return{isToken:!0,value:L};if(R.match(ghe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+R+"`");return{isToken:!1,value:L}});a.localize.preprocessor&&(c=a.localize.preprocessor(l,c));let d={firstWeekContainsDate:r,weekStartsOn:s,locale:a};return c.map(L=>{if(!L.isToken)return L.value;let R=L.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&LS(R)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&VS(R))&&Ep(R,t,String(e));let le=Lb[R[0]];return le(l,R,a.localize,d)}).join("")}function vhe(e){let t=e.match(mhe);return t?t[1].replace(fhe,"'"):e}function zS(e,t,n){let i=oi(e,n==null?void 0:n.in);return isNaN(t)?li((n==null?void 0:n.in)||e,NaN):(t&&i.setDate(i.getDate()+t),i)}function jS(){return Object.assign({},Vo())}function bhe(e,t){let n=oi(e,t==null?void 0:t.in).getDay();return n===0?7:n}function yhe(e,t){let n=_he(t)?new t(0):li(t,0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}function _he(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}var xhe=10,BS=class{constructor(){o(this,"subPriority",0)}validate(e,t){return!0}},whe=class extends BS{constructor(e,t,n,i,a){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=i,a&&(this.subPriority=a)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,n){return this.setValue(e,t,this.value,n)}},She=class extends BS{constructor(t,n){super();o(this,"priority",xhe);o(this,"subPriority",-1);this.context=t||(i=>li(n,i))}set(t,n){return n.timestampIsSet?t:li(t,yhe(t,this.context))}},st=class{run(e,t,n,i){let a=this.parse(e,t,n,i);return a?{setter:new whe(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(e,t,n){return!0}},khe=class extends st{constructor(){super(...arguments);o(this,"priority",140);o(this,"incompatibleTokens",["R","u","t","T"])}parse(t,n,i){switch(n){case"G":case"GG":case"GGG":return i.era(t,{width:"abbreviated"})||i.era(t,{width:"narrow"});case"GGGGG":return i.era(t,{width:"narrow"});case"GGGG":default:return i.era(t,{width:"wide"})||i.era(t,{width:"abbreviated"})||i.era(t,{width:"narrow"})}}set(t,n,i){return n.era=i,t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}},qt={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}/},Pa={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 Gt(e,t){return e&&{value:t(e.value),rest:e.rest}}function Rt(e,t){let n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function Ra(e,t){let n=t.match(e);if(!n)return null;if(n[0]==="Z")return{value:0,rest:t.slice(1)};let i=n[1]==="+"?1:-1,a=n[2]?parseInt(n[2],10):0,r=n[3]?parseInt(n[3],10):0,s=n[5]?parseInt(n[5],10):0;return{value:i*(a*Xue+r*Kue+s*Que),rest:t.slice(n[0].length)}}function HS(e){return Rt(qt.anyDigitsSigned,e)}function zt(e,t){switch(e){case 1:return Rt(qt.singleDigit,t);case 2:return Rt(qt.twoDigits,t);case 3:return Rt(qt.threeDigits,t);case 4:return Rt(qt.fourDigits,t);default:return Rt(new RegExp("^\\d{1,"+e+"}"),t)}}function nd(e,t){switch(e){case 1:return Rt(qt.singleDigitSigned,t);case 2:return Rt(qt.twoDigitsSigned,t);case 3:return Rt(qt.threeDigitsSigned,t);case 4:return Rt(qt.fourDigitsSigned,t);default:return Rt(new RegExp("^-?\\d{1,"+e+"}"),t)}}function Lf(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 $S(e,t){let n=t>0,i=n?t:1-t,a;if(i<=50)a=e||100;else{let r=i+50,s=Math.trunc(r/100)*100,l=e>=r%100;a=e+s-(l?100:0)}return n?a:1-a}function qS(e){return e%400===0||e%4===0&&e%100!==0}var Ehe=class extends st{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,n,i){let a=r=>({year:r,isTwoDigitYear:n==="yy"});switch(n){case"y":return Gt(zt(4,t),a);case"yo":return Gt(i.ordinalNumber(t,{unit:"year"}),a);default:return Gt(zt(n.length,t),a)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,i){let a=t.getFullYear();if(i.isTwoDigitYear){let s=$S(i.year,a);return t.setFullYear(s,0,1),t.setHours(0,0,0,0),t}let r=!("era"in n)||n.era===1?i.year:1-i.year;return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}},Che=class extends st{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,n,i){let a=r=>({year:r,isTwoDigitYear:n==="YY"});switch(n){case"Y":return Gt(zt(4,t),a);case"Yo":return Gt(i.ordinalNumber(t,{unit:"year"}),a);default:return Gt(zt(n.length,t),a)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,i,a){let r=Vf(t,a);if(i.isTwoDigitYear){let l=$S(i.year,r);return t.setFullYear(l,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),Yn(t,a)}let s=!("era"in n)||n.era===1?i.year:1-i.year;return t.setFullYear(s,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),Yn(t,a)}},Dhe=class extends st{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,n){return nd(n==="R"?4:n.length,t)}set(t,n,i){let a=li(t,0);return a.setFullYear(i,0,4),a.setHours(0,0,0,0),xo(a)}},Ihe=class extends st{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,n){return nd(n==="u"?4:n.length,t)}set(t,n,i){return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}},Ahe=class extends st{constructor(){super(...arguments);o(this,"priority",120);o(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"Q":case"QQ":return zt(n.length,t);case"Qo":return i.ordinalNumber(t,{unit:"quarter"});case"QQQ":return i.quarter(t,{width:"abbreviated",context:"formatting"})||i.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return i.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return i.quarter(t,{width:"wide",context:"formatting"})||i.quarter(t,{width:"abbreviated",context:"formatting"})||i.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=1&&n<=4}set(t,n,i){return t.setMonth((i-1)*3,1),t.setHours(0,0,0,0),t}},Ohe=class extends st{constructor(){super(...arguments);o(this,"priority",120);o(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"q":case"qq":return zt(n.length,t);case"qo":return i.ordinalNumber(t,{unit:"quarter"});case"qqq":return i.quarter(t,{width:"abbreviated",context:"standalone"})||i.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return i.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return i.quarter(t,{width:"wide",context:"standalone"})||i.quarter(t,{width:"abbreviated",context:"standalone"})||i.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=1&&n<=4}set(t,n,i){return t.setMonth((i-1)*3,1),t.setHours(0,0,0,0),t}},The=class extends st{constructor(){super(...arguments);o(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);o(this,"priority",110)}parse(t,n,i){let a=r=>r-1;switch(n){case"M":return Gt(Rt(qt.month,t),a);case"MM":return Gt(zt(2,t),a);case"Mo":return Gt(i.ordinalNumber(t,{unit:"month"}),a);case"MMM":return i.month(t,{width:"abbreviated",context:"formatting"})||i.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return i.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return i.month(t,{width:"wide",context:"formatting"})||i.month(t,{width:"abbreviated",context:"formatting"})||i.month(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=11}set(t,n,i){return t.setMonth(i,1),t.setHours(0,0,0,0),t}},Mhe=class extends st{constructor(){super(...arguments);o(this,"priority",110);o(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,n,i){let a=r=>r-1;switch(n){case"L":return Gt(Rt(qt.month,t),a);case"LL":return Gt(zt(2,t),a);case"Lo":return Gt(i.ordinalNumber(t,{unit:"month"}),a);case"LLL":return i.month(t,{width:"abbreviated",context:"standalone"})||i.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return i.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return i.month(t,{width:"wide",context:"standalone"})||i.month(t,{width:"abbreviated",context:"standalone"})||i.month(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=11}set(t,n,i){return t.setMonth(i,1),t.setHours(0,0,0,0),t}};function Nhe(e,t,n){let i=oi(e,n==null?void 0:n.in),a=RS(i,n)-t;return i.setDate(i.getDate()-a*7),oi(i,n==null?void 0:n.in)}var Phe=class extends st{constructor(){super(...arguments);o(this,"priority",100);o(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,n,i){switch(n){case"w":return Rt(qt.week,t);case"wo":return i.ordinalNumber(t,{unit:"week"});default:return zt(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,i,a){return Yn(Nhe(t,i,a),a)}};function Rhe(e,t,n){let i=oi(e,n==null?void 0:n.in),a=PS(i,n)-t;return i.setDate(i.getDate()-a*7),i}var Fhe=class extends st{constructor(){super(...arguments);o(this,"priority",100);o(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,n,i){switch(n){case"I":return Rt(qt.week,t);case"Io":return i.ordinalNumber(t,{unit:"week"});default:return zt(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,i){return xo(Rhe(t,i))}},Vhe=[31,28,31,30,31,30,31,31,30,31,30,31],Lhe=[31,29,31,30,31,30,31,31,30,31,30,31],zhe=class extends st{constructor(){super(...arguments);o(this,"priority",90);o(this,"subPriority",1);o(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"d":return Rt(qt.date,t);case"do":return i.ordinalNumber(t,{unit:"date"});default:return zt(n.length,t)}}validate(t,n){let i=t.getFullYear(),a=qS(i),r=t.getMonth();return a?n>=1&&n<=Lhe[r]:n>=1&&n<=Vhe[r]}set(t,n,i){return t.setDate(i),t.setHours(0,0,0,0),t}},jhe=class extends st{constructor(){super(...arguments);o(this,"priority",90);o(this,"subpriority",1);o(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,n,i){switch(n){case"D":case"DD":return Rt(qt.dayOfYear,t);case"Do":return i.ordinalNumber(t,{unit:"date"});default:return zt(n.length,t)}}validate(t,n){let i=t.getFullYear();return qS(i)?n>=1&&n<=366:n>=1&&n<=365}set(t,n,i){return t.setMonth(0,i),t.setHours(0,0,0,0),t}};function zf(e,t,n){var u,m,v,g;let i=Vo(),a=(n==null?void 0:n.weekStartsOn)??((m=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:m.weekStartsOn)??i.weekStartsOn??((g=(v=i.locale)==null?void 0:v.options)==null?void 0:g.weekStartsOn)??0,r=oi(e,n==null?void 0:n.in),s=r.getDay(),l=(t%7+7)%7,c=7-a,d=t<0||t>6?t-(s+c)%7:(l+c)%7-(s+c)%7;return zS(r,d,n)}var Bhe=class extends st{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"E":case"EE":case"EEE":return i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return i.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,i,a){return t=zf(t,i,a),t.setHours(0,0,0,0),t}},Hhe=class extends st{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,n,i,a){let r=s=>{let l=Math.floor((s-1)/7)*7;return(s+a.weekStartsOn+6)%7+l};switch(n){case"e":case"ee":return Gt(zt(n.length,t),r);case"eo":return Gt(i.ordinalNumber(t,{unit:"day"}),r);case"eee":return i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"eeeee":return i.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,i,a){return t=zf(t,i,a),t.setHours(0,0,0,0),t}},$he=class extends st{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,n,i,a){let r=s=>{let l=Math.floor((s-1)/7)*7;return(s+a.weekStartsOn+6)%7+l};switch(n){case"c":case"cc":return Gt(zt(n.length,t),r);case"co":return Gt(i.ordinalNumber(t,{unit:"day"}),r);case"ccc":return i.day(t,{width:"abbreviated",context:"standalone"})||i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"});case"ccccc":return i.day(t,{width:"narrow",context:"standalone"});case"cccccc":return i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return i.day(t,{width:"wide",context:"standalone"})||i.day(t,{width:"abbreviated",context:"standalone"})||i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=6}set(t,n,i,a){return t=zf(t,i,a),t.setHours(0,0,0,0),t}};function qhe(e,t,n){let i=oi(e,n==null?void 0:n.in),a=bhe(i,n),r=t-a;return zS(i,r,n)}var Ghe=class extends st{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,n,i){let a=r=>r===0?7:r;switch(n){case"i":case"ii":return zt(n.length,t);case"io":return i.ordinalNumber(t,{unit:"day"});case"iii":return Gt(i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),a);case"iiiii":return Gt(i.day(t,{width:"narrow",context:"formatting"}),a);case"iiiiii":return Gt(i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),a);case"iiii":default:return Gt(i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),a)}}validate(t,n){return n>=1&&n<=7}set(t,n,i){return t=qhe(t,i),t.setHours(0,0,0,0),t}},Uhe=class extends st{constructor(){super(...arguments);o(this,"priority",80);o(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,n,i){switch(n){case"a":case"aa":case"aaa":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return i.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,i){return t.setHours(Lf(i),0,0,0),t}},Yhe=class extends st{constructor(){super(...arguments);o(this,"priority",80);o(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,n,i){switch(n){case"b":case"bb":case"bbb":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return i.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,i){return t.setHours(Lf(i),0,0,0),t}},Whe=class extends st{constructor(){super(...arguments);o(this,"priority",80);o(this,"incompatibleTokens",["a","b","t","T"])}parse(t,n,i){switch(n){case"B":case"BB":case"BBB":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return i.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,i){return t.setHours(Lf(i),0,0,0),t}},Zhe=class extends st{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,i){switch(n){case"h":return Rt(qt.hour12h,t);case"ho":return i.ordinalNumber(t,{unit:"hour"});default:return zt(n.length,t)}}validate(t,n){return n>=1&&n<=12}set(t,n,i){let a=t.getHours()>=12;return a&&i<12?t.setHours(i+12,0,0,0):!a&&i===12?t.setHours(0,0,0,0):t.setHours(i,0,0,0),t}},Khe=class extends st{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,n,i){switch(n){case"H":return Rt(qt.hour23h,t);case"Ho":return i.ordinalNumber(t,{unit:"hour"});default:return zt(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,i){return t.setHours(i,0,0,0),t}},Xhe=class extends st{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,i){switch(n){case"K":return Rt(qt.hour11h,t);case"Ko":return i.ordinalNumber(t,{unit:"hour"});default:return zt(n.length,t)}}validate(t,n){return n>=0&&n<=11}set(t,n,i){return t.getHours()>=12&&i<12?t.setHours(i+12,0,0,0):t.setHours(i,0,0,0),t}},Qhe=class extends st{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,n,i){switch(n){case"k":return Rt(qt.hour24h,t);case"ko":return i.ordinalNumber(t,{unit:"hour"});default:return zt(n.length,t)}}validate(t,n){return n>=1&&n<=24}set(t,n,i){let a=i<=24?i%24:i;return t.setHours(a,0,0,0),t}},Jhe=class extends st{constructor(){super(...arguments);o(this,"priority",60);o(this,"incompatibleTokens",["t","T"])}parse(t,n,i){switch(n){case"m":return Rt(qt.minute,t);case"mo":return i.ordinalNumber(t,{unit:"minute"});default:return zt(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,i){return t.setMinutes(i,0,0),t}},epe=class extends st{constructor(){super(...arguments);o(this,"priority",50);o(this,"incompatibleTokens",["t","T"])}parse(t,n,i){switch(n){case"s":return Rt(qt.second,t);case"so":return i.ordinalNumber(t,{unit:"second"});default:return zt(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,i){return t.setSeconds(i,0),t}},tpe=class extends st{constructor(){super(...arguments);o(this,"priority",30);o(this,"incompatibleTokens",["t","T"])}parse(t,n){let i=a=>Math.trunc(a*Math.pow(10,-n.length+3));return Gt(zt(n.length,t),i)}set(t,n,i){return t.setMilliseconds(i),t}},ipe=class extends st{constructor(){super(...arguments);o(this,"priority",10);o(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return Ra(Pa.basicOptionalMinutes,t);case"XX":return Ra(Pa.basic,t);case"XXXX":return Ra(Pa.basicOptionalSeconds,t);case"XXXXX":return Ra(Pa.extendedOptionalSeconds,t);case"XXX":default:return Ra(Pa.extended,t)}}set(t,n,i){return n.timestampIsSet?t:li(t,t.getTime()-ad(t)-i)}},ape=class extends st{constructor(){super(...arguments);o(this,"priority",10);o(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return Ra(Pa.basicOptionalMinutes,t);case"xx":return Ra(Pa.basic,t);case"xxxx":return Ra(Pa.basicOptionalSeconds,t);case"xxxxx":return Ra(Pa.extendedOptionalSeconds,t);case"xxx":default:return Ra(Pa.extended,t)}}set(t,n,i){return n.timestampIsSet?t:li(t,t.getTime()-ad(t)-i)}},npe=class extends st{constructor(){super(...arguments);o(this,"priority",40);o(this,"incompatibleTokens","*")}parse(t){return HS(t)}set(t,n,i){return[li(t,i*1e3),{timestampIsSet:!0}]}},rpe=class extends st{constructor(){super(...arguments);o(this,"priority",20);o(this,"incompatibleTokens","*")}parse(t){return HS(t)}set(t,n,i){return[li(t,i),{timestampIsSet:!0}]}},ope={G:new khe,y:new Ehe,Y:new Che,R:new Dhe,u:new Ihe,Q:new Ahe,q:new Ohe,M:new The,L:new Mhe,w:new Phe,I:new Fhe,d:new zhe,D:new jhe,E:new Bhe,e:new Hhe,c:new $he,i:new Ghe,a:new Uhe,b:new Yhe,B:new Whe,h:new Zhe,H:new Khe,K:new Xhe,k:new Qhe,m:new Jhe,s:new epe,S:new tpe,X:new ipe,x:new ape,t:new npe,T:new rpe},spe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,lpe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,cpe=/^'([^]*?)'?$/,dpe=/''/g,upe=/\S/,hpe=/[a-zA-Z]/;function ppe(e,t,n,i){var E,M,L,R;let a=()=>li(n,NaN),r=jS(),s=r.locale??TS,l=r.firstWeekContainsDate??((M=(E=r.locale)==null?void 0:E.options)==null?void 0:M.firstWeekContainsDate)??1,c=r.weekStartsOn??((R=(L=r.locale)==null?void 0:L.options)==null?void 0:R.weekStartsOn)??0,d={firstWeekContainsDate:l,weekStartsOn:c,locale:s},u=[new She(i==null?void 0:i.in,n)],m=t.match(lpe).map(le=>{let ke=le[0];if(ke in kp){let Ve=kp[ke];return Ve(le,s.formatLong)}return le}).join("").match(spe),v=[];for(let le of m){LS(le)&&Ep(le,t,e),VS(le)&&Ep(le,t,e);let ke=le[0],Ve=ope[ke];if(Ve){let{incompatibleTokens:ii}=Ve;if(Array.isArray(ii)){let xt=v.find(Zt=>ii.includes(Zt.token)||Zt.token===ke);if(xt)throw new RangeError(`The format string mustn't contain \`${xt.fullToken}\` and \`${le}\` at the same time`)}else if(Ve.incompatibleTokens==="*"&&v.length>0)throw new RangeError(`The format string mustn't contain \`${le}\` and any other token at the same time`);v.push({token:ke,fullToken:le});let Bt=Ve.run(e,le,s.match,d);if(!Bt)return a();u.push(Bt.setter),e=Bt.rest}else{if(ke.match(hpe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ke+"`");if(le==="''"?le="'":ke==="'"&&(le=mpe(le)),e.indexOf(le)===0)e=e.slice(le.length);else return a()}}if(e.length>0&&upe.test(e))return a();let g=u.map(le=>le.priority).sort((le,ke)=>ke-le).filter((le,ke,Ve)=>Ve.indexOf(le)===ke).map(le=>u.filter(ke=>ke.priority===le).sort((ke,Ve)=>Ve.subPriority-ke.subPriority)).map(le=>le[0]),x=oi(n,i==null?void 0:i.in);if(isNaN(+x))return a();let S={};for(let le of g){if(!le.validate(x,d))return a();let ke=le.set(x,S,d);Array.isArray(ke)?(x=ke[0],Object.assign(S,ke[1])):x=ke}return x}function mpe(e){return e.match(cpe)[1].replace(dpe,"'")}function Hb(e,t,n){let i=jS(),a=vpe(e,n.timeZone,n.locale??i.locale);return"formatToParts"in a?fpe(a,t):gpe(a,t)}function fpe(e,t){let n=e.formatToParts(t);for(let i=n.length-1;i>=0;--i)if(n[i].type==="timeZoneName")return n[i].value}function gpe(e,t){let n=e.format(t).replace(/\u200E/g,""),i=/ [\w-+ ]+$/.exec(n);return i?i[0].substr(1):""}function vpe(e,t,n){return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function bpe(e,t){let n=Spe(t);return"formatToParts"in n?_pe(n,e):xpe(n,e)}var ype={year:0,month:1,day:2,hour:3,minute:4,second:5};function _pe(e,t){try{let n=e.formatToParts(t),i=[];for(let a=0;a<n.length;a++){let r=ype[n[a].type];r!==void 0&&(i[r]=parseInt(n[a].value,10))}return i}catch(n){if(n instanceof RangeError)return[NaN];throw n}}function xpe(e,t){let n=e.format(t),i=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[parseInt(i[3],10),parseInt(i[1],10),parseInt(i[2],10),parseInt(i[4],10),parseInt(i[5],10),parseInt(i[6],10)]}var ah={},$b=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")),wpe=$b==="06/25/2014, 00:00:00"||$b==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";function Spe(e){return ah[e]||(ah[e]=wpe?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"})),ah[e]}function GS(e,t,n,i,a,r,s){let l=new Date(0);return l.setUTCFullYear(e,t,n),l.setUTCHours(i,a,r,s),l}var qb=36e5,kpe=6e4,nh={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function US(e,t,n){if(!e)return 0;let i=nh.timezoneZ.exec(e);if(i)return 0;let a,r;if(i=nh.timezoneHH.exec(e),i)return a=parseInt(i[1],10),Gb(a)?-(a*qb):NaN;if(i=nh.timezoneHHMM.exec(e),i){a=parseInt(i[2],10);let s=parseInt(i[3],10);return Gb(a,s)?(r=Math.abs(a)*qb+s*kpe,i[1]==="+"?-r:r):NaN}if(Dpe(e)){t=new Date(t||Date.now());let s=n?t:Epe(t),l=Cp(s,e);return-(n?l:Cpe(t,l,e))}return NaN}function Epe(e){return GS(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function Cp(e,t){let n=bpe(e,t),i=GS(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime(),a=e.getTime(),r=a%1e3;return a-=r>=0?r:1e3+r,i-a}function Cpe(e,t,n){let i=e.getTime()-t,a=Cp(new Date(i),n);if(t===a)return t;i-=a-t;let r=Cp(new Date(i),n);return a===r?a:Math.max(a,r)}function Gb(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var Ub={};function Dpe(e){if(Ub[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),Ub[e]=!0,!0}catch{return!1}}var Ipe=60*1e3,Ape={X:function(e,t,n){let i=rh(n.timeZone,e);if(i===0)return"Z";switch(t){case"X":return Yb(i);case"XXXX":case"XX":return Zr(i);case"XXXXX":case"XXX":default:return Zr(i,":")}},x:function(e,t,n){let i=rh(n.timeZone,e);switch(t){case"x":return Yb(i);case"xxxx":case"xx":return Zr(i);case"xxxxx":case"xxx":default:return Zr(i,":")}},O:function(e,t,n){let i=rh(n.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+Ope(i,":");case"OOOO":default:return"GMT"+Zr(i,":")}},z:function(e,t,n){switch(t){case"z":case"zz":case"zzz":return Hb("short",e,n);case"zzzz":default:return Hb("long",e,n)}}};function rh(e,t){let n=e?US(e,t,!0)/Ipe:(t==null?void 0:t.getTimezoneOffset())??0;if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+e);return n}function rd(e,t){let n=e<0?"-":"",i=Math.abs(e).toString();for(;i.length<t;)i="0"+i;return n+i}function Zr(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=rd(Math.floor(i/60),2),r=rd(Math.floor(i%60),2);return n+a+t+r}function Yb(e,t){return e%60===0?(e>0?"-":"+")+rd(Math.abs(e)/60,2):Zr(e,t)}function Ope(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=Math.floor(i/60),r=i%60;return r===0?n+String(a):n+String(a)+t+rd(r,2)}function Wb(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 Tpe=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,oh=36e5,Zb=6e4,Mpe=2,Ii={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:Tpe};function Npe(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 n=t.additionalDigits==null?Mpe:Number(t.additionalDigits);if(n!==2&&n!==1&&n!==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 i=Ppe(e),{year:a,restDateString:r}=Rpe(i.date,n),s=Fpe(r,a);if(s===null||isNaN(s.getTime()))return new Date(NaN);if(s){let l=s.getTime(),c=0,d;if(i.time&&(c=Vpe(i.time),c===null||isNaN(c)))return new Date(NaN);if(i.timeZone||t.timeZone){if(d=US(i.timeZone||t.timeZone,new Date(l+c)),isNaN(d))return new Date(NaN)}else d=Wb(new Date(l+c)),d=Wb(new Date(l+c+d));return new Date(l+c+d)}else return new Date(NaN)}function Ppe(e){let t={},n=Ii.dateTimePattern.exec(e),i;if(n?(t.date=n[1],i=n[3]):(n=Ii.datePattern.exec(e),n?(t.date=n[1],i=n[2]):(t.date=null,i=e)),i){let a=Ii.timeZone.exec(i);a?(t.time=i.replace(a[1],""),t.timeZone=a[1].trim()):t.time=i}return t}function Rpe(e,t){if(e){let n=Ii.YYY[t],i=Ii.YYYYY[t],a=Ii.YYYY.exec(e)||i.exec(e);if(a){let r=a[1];return{year:parseInt(r,10),restDateString:e.slice(r.length)}}if(a=Ii.YY.exec(e)||n.exec(e),a){let r=a[1];return{year:parseInt(r,10)*100,restDateString:e.slice(r.length)}}}return{year:null}}function Fpe(e,t){if(t===null)return null;let n,i,a;if(!e||!e.length)return n=new Date(0),n.setUTCFullYear(t),n;let r=Ii.MM.exec(e);if(r)return n=new Date(0),i=parseInt(r[1],10)-1,Xb(t,i)?(n.setUTCFullYear(t,i),n):new Date(NaN);if(r=Ii.DDD.exec(e),r){n=new Date(0);let s=parseInt(r[1],10);return jpe(t,s)?(n.setUTCFullYear(t,0,s),n):new Date(NaN)}if(r=Ii.MMDD.exec(e),r){n=new Date(0),i=parseInt(r[1],10)-1;let s=parseInt(r[2],10);return Xb(t,i,s)?(n.setUTCFullYear(t,i,s),n):new Date(NaN)}if(r=Ii.Www.exec(e),r)return a=parseInt(r[1],10)-1,Qb(a)?Kb(t,a):new Date(NaN);if(r=Ii.WwwD.exec(e),r){a=parseInt(r[1],10)-1;let s=parseInt(r[2],10)-1;return Qb(a,s)?Kb(t,a,s):new Date(NaN)}return null}function Vpe(e){let t,n,i=Ii.HH.exec(e);if(i)return t=parseFloat(i[1].replace(",",".")),sh(t)?t%24*oh:NaN;if(i=Ii.HHMM.exec(e),i)return t=parseInt(i[1],10),n=parseFloat(i[2].replace(",",".")),sh(t,n)?t%24*oh+n*Zb:NaN;if(i=Ii.HHMMSS.exec(e),i){t=parseInt(i[1],10),n=parseInt(i[2],10);let a=parseFloat(i[3].replace(",","."));return sh(t,n,a)?t%24*oh+n*Zb+a*1e3:NaN}return null}function Kb(e,t,n){t=t||0,n=n||0;let i=new Date(0);i.setUTCFullYear(e,0,4);let a=i.getUTCDay()||7,r=t*7+n+1-a;return i.setUTCDate(i.getUTCDate()+r),i}var Lpe=[31,28,31,30,31,30,31,31,30,31,30,31],zpe=[31,29,31,30,31,30,31,31,30,31,30,31];function YS(e){return e%400===0||e%4===0&&e%100!==0}function Xb(e,t,n){if(t<0||t>11)return!1;if(n!=null){if(n<1)return!1;let i=YS(e);if(i&&n>zpe[t]||!i&&n>Lpe[t])return!1}return!0}function jpe(e,t){if(t<1)return!1;let n=YS(e);return!(n&&t>366||!n&&t>365)}function Qb(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function sh(e,t,n){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||n!=null&&(n<0||n>=60))}var Bpe=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function Hpe(e,t,n={}){t=String(t);let i=t.match(Bpe);if(i){let a=Npe(n.originalDate||e,n);t=i.reduce(function(r,s){if(s[0]==="'")return r;let l=r.indexOf(s),c=r[l-1]==="'",d=r.replace(s,"'"+Ape[s[0]](a,s,n)+"'");return c?d.substring(0,l-1)+d.substring(l+1):d},t)}return Ms(e,t,n)}var $pe=(()=>{const t=class t extends Lde{constructor(){super(...arguments),this.version=wp,this.defaultExtraRequiredFields=["offlineDataStorageEnabled","isOfflineAuthenticated","professional","ssin"],this.authServiceSelector=w(Nr),this.translateService=w(Kn),this.webComponentConfig=w(Fo),this.injector=w(dt),this.servicesStore=w(su),this.matDialog=w(No),this.destroyRef=w(Zi),this.errorServiceSelector=w(fue),this.snackbarService=w(OS),this.extraRequiredFields=this.defaultExtraRequiredFields,this.onError=new de}onInitialized(){return kt(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(i=>kt(this,null,function*(){yield this.fetchData(!0),i()}))})}onPropsChanged(i){i.language&&this.translateService.use(this.language)}checkError(i){(i==null?void 0:i.group)===mn.NOT_AUTHORIZED?this.showNotAuthorizedErrorPopup(i.code):(i==null?void 0:i.group)===mn.OTHER&&this.showTechnicalErrorPopup(i)}showTechnicalErrorPopup(i){this.matDialog.open(Fde,{data:{error:i}}).beforeClosed().pipe(Gn(this.destroyRef)).subscribe(a=>{a?(this.reportVidisError(i),this.onError.emit({reported:!0})):this.onError.emit({reported:!1})})}reportVidisError(i){let a={backendTraceId:"",errorMessage:i.message,pageUrl:window.location.href,timestamp:this.formatDateWithZone()};this.errorServiceSelector.getInstance().reportError(a).subscribe({next:r=>{r.status==="ok"?this.snackbarService.showSuccess("commons.errors.report-message-confirm-toast"):this.snackbarService.showError("commons.errors..general")},error:()=>{this.snackbarService.showError("commons.errors.general")}})}showNotAuthorizedErrorPopup(i){this.matDialog.open(Rde,{data:i}).beforeClosed().pipe(Gn(this.destroyRef)).subscribe(()=>{this.onError.emit({reported:!1})})}formatDateWithZone(){return Hpe(new Date,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:"Europe/Brussels"})}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=jt(t)))(a||t)}})(),t.ɵcmp=ve({type:t,selectors:[["ng-component"]],inputs:{isOfflineAuthenticated:"isOfflineAuthenticated",offlineDataStorageEnabled:"offlineDataStorageEnabled",professional:"professional",ssin:"ssin"},outputs:{onError:"onError"},features:[Mt],decls:0,vars:0,template:function(i,a){},encapsulation:2});let e=t;return e})();function qpe(e,t){if(e&1&&(I(0,"mat-option",4),B(1),z(2,"translate"),A()),e&2){let n=t.$implicit;$("value",n),D(),Ee(q(2,2,"commons.sortDropdown."+n))}}function Gpe(e,t){if(e&1){let n=je();I(0,"button",6),z(1,"translate"),ce("click",function(){pe(n);let i=N();return me(i.emitNewData({sort:i.sortData().sort,order:i.sortDirection.descending}))}),se(2,"mat-icon",7),A()}if(e&2){let n=N();$("disabled",n.disabled()),ue("aria-label",q(1,2,"commons.sortDropdown.sorting-ascendant"))}}function Upe(e,t){if(e&1){let n=je();I(0,"button",6),z(1,"translate"),ce("click",function(){pe(n);let i=N();return me(i.emitNewData({sort:i.sortData().sort,order:i.sortDirection.ascending}))}),se(2,"mat-icon",8),A()}if(e&2){let n=N();$("disabled",n.disabled()),ue("aria-label",q(1,2,"commons.sortDropdown.sorting-descendent"))}}var Ype=(()=>{const t=class t{constructor(){this.sortData=Nie.required(),this.sortItems=Xe.required(),this.disabled=Xe(!1),this.sortDirection=vl}emitNewData(i){this.sortData.set(i)}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["vidis-sort-dropdown"]],inputs:{sortData:[1,"sortData"],sortItems:[1,"sortItems"],disabled:[1,"disabled"]},outputs:{sortData:"sortDataChange"},decls:8,vars:3,consts:[[1,"wrap"],[1,"mh-form-field"],["appearance","outline"],[3,"valueChange","value","disabled"],[3,"value"],["mat-icon-button","",3,"disabled"],["mat-icon-button","",3,"click","disabled"],["fontIcon","sort",1,"ascending"],["fontIcon","sort"]],template:function(i,a){i&1&&(I(0,"div",0)(1,"div",1)(2,"mat-form-field",2)(3,"mat-select",3),ce("valueChange",function(r){return a.emitNewData({sort:r,order:a.sortData().order})}),Bi(4,qpe,3,4,"mat-option",4,Ea),A()()(),K(6,Gpe,3,4,"button",5)(7,Upe,3,4,"button",5),A()),i&2&&(D(3),$("value",a.sortData().sort)("disabled",a.disabled()),D(),Hi(a.sortItems()),D(2),ae(a.sortData().order===a.sortDirection.ascending?6:7))},dependencies:[Xa,Qn,zr,Os,tu,ES,Rf,ou,$i],styles:[".wrap[_ngcontent-%COMP%]{margin-bottom:16px;display:flex;gap:16px;align-items:baseline}.wrap[_ngcontent-%COMP%] .mh-form-field[_ngcontent-%COMP%]{width:100%}.wrap[_ngcontent-%COMP%] .ascending[_ngcontent-%COMP%]{transform:rotateX(180deg)}"]});let e=t;return e})(),Wpe=["*"];function Zpe(e,t){e&1&&jn(0)}function Kpe(e,t){if(e&1&&(I(0,"div",3),K(1,Zpe,1,0,"ng-container",5),A()),e&2){N();let n=Ri(5);D(),$("ngTemplateOutlet",n)}}function Xpe(e,t){e&1&&jn(0)}function Qpe(e,t){if(e&1){let n=je();I(0,"div",6),ce("click",function(){pe(n);let i=N();return me(i.toggleExpanded())})("keydown.enter",function(){pe(n);let i=N();return me(i.toggleExpanded())})("keydown.space",function(){pe(n);let i=N();return me(i.toggleExpanded())}),K(1,Xpe,1,0,"ng-container",5),A()}if(e&2){let n=N(),i=Ri(5);ue("aria-label",n.currentExpandIconAriaLabel()),D(),$("ngTemplateOutlet",i)}}function Jpe(e,t){e&1&&jn(0)}function eme(e,t){if(e&1&&K(0,Jpe,1,0,"ng-container",5),e&2){N();let n=Ri(7);$("ngTemplateOutlet",n)}}function tme(e,t){if(e&1&&(I(0,"h2"),B(1),A()),e&2){let n=N(3);D(),Ee(n.alertTitle())}}function ime(e,t){if(e&1&&(I(0,"p"),B(1),A()),e&2){let n=N(3);D(),Ee(n.alertSubtitle())}}function ame(e,t){if(e&1&&(I(0,"div"),K(1,tme,2,1,"h2")(2,ime,2,1,"p"),A()),e&2){let n=N(2);D(),ae(n.alertTitle()?1:-1),D(),ae(n.alertSubtitle()?2:-1)}}function nme(e,t){e&1&&jn(0)}function rme(e,t){if(e&1&&K(0,nme,1,0,"ng-container",5),e&2){N(2);let n=Ri(7);$("ngTemplateOutlet",n)}}function ome(e,t){if(e&1){let n=je();I(0,"mat-icon",11),ce("click",function(){pe(n);let i=N(2);return me(i.onCloseButtonClick())})("keydown.enter",function(){pe(n);let i=N(2);return me(i.onCloseButtonClick())})("keydown.space",function(){pe(n);let i=N(2);return me(i.onCloseButtonClick())}),A()}if(e&2){let n=N(2);ue("aria-label",n.closeButtonAriaLabel())}}function sme(e,t){if(e&1&&se(0,"mat-icon",10),e&2){let n=N(2);$("fontIcon",n.expanded()?"keyboard_arrow_up":"keyboard_arrow_down")}}function lme(e,t){if(e&1&&(se(0,"mat-icon",7),I(1,"div",8),K(2,ame,3,2,"div")(3,rme,1,1,"ng-container"),A(),K(4,ome,1,1,"mat-icon",9)(5,sme,1,1,"mat-icon",10)),e&2){let n=N();$("fontIcon",n.fontIcon()),D(2),ae(n.alertTitle()||n.alertSubtitle()?2:n.dismissMode()!=="expandable"?3:-1),D(2),ae(n.dismissMode()==="closable"?4:n.dismissMode()==="expandable"?5:-1)}}function cme(e,t){if(e&1){let n=je();I(0,"button",14),ce("click",function(){pe(n);let i=N(2);return me(i.onActionButtonClicked())}),B(1),A()}if(e&2){let n=N(2);$("disabled",n.buttonDisabled()),D(),xe(" ",n.buttonLabel()," ")}}function dme(e,t){if(e&1&&(I(0,"span",12),qe(1),A(),K(2,cme,2,2,"button",13)),e&2){let n=N();D(2),ae(n.actionButton()?2:-1)}}var ume=(()=>{const t=class t{constructor(){o(this,"usage",Xe("info"));o(this,"backgroundColor",Xe("color"));o(this,"alertTitle",Xe());o(this,"alertSubtitle",Xe());o(this,"actionButton",Xe(!1));o(this,"buttonDisabled",Xe(!1));o(this,"buttonLabel",Xe());o(this,"dismissMode",Xe("pinned"));o(this,"closeButtonAriaLabel",Xe(""));o(this,"startExpanded",Xe(!1));o(this,"expandedButtonAriaLabel",Xe(""));o(this,"collapsedButtonAriaLabel",Xe(""));o(this,"closeButtonClicked",zg());o(this,"actionButtonClicked",zg());o(this,"expanded",Ine(()=>this.startExpanded()));o(this,"currentExpandIconAriaLabel",Fi(()=>this.expanded()?this.expandedButtonAriaLabel():this.collapsedButtonAriaLabel()));o(this,"expandableExpanded",Fi(()=>this.dismissMode()==="expandable"&&this.expanded()));o(this,"notExpandableMissingTitleAndSubtitle",Fi(()=>this.dismissMode()!=="expandable"&&(this.alertTitle()||this.alertSubtitle())));o(this,"toggleExpanded",()=>{this.expanded.update(i=>!i)});o(this,"onActionButtonClicked",()=>{this.actionButtonClicked.emit()});o(this,"fontIcon",Fi(()=>({info:"info",success:"check_circle",warning:"warning",error:"emergency_home",notification:"notifications"})[this.usage()]??"info"))}onCloseButtonClick(){this.closeButtonClicked.emit()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["mh-alert"]],inputs:{usage:[1,"usage"],backgroundColor:[1,"backgroundColor"],alertTitle:[1,"alertTitle"],alertSubtitle:[1,"alertSubtitle"],actionButton:[1,"actionButton"],buttonDisabled:[1,"buttonDisabled"],buttonLabel:[1,"buttonLabel"],dismissMode:[1,"dismissMode"],closeButtonAriaLabel:[1,"closeButtonAriaLabel"],startExpanded:[1,"startExpanded"],expandedButtonAriaLabel:[1,"expandedButtonAriaLabel"],collapsedButtonAriaLabel:[1,"collapsedButtonAriaLabel"]},outputs:{closeButtonClicked:"closeButtonClicked",actionButtonClicked:"actionButtonClicked"},ngContentSelectors:Wpe,decls:8,vars:6,consts:[["header",""],["details",""],["role","alert","aria-live","assertive"],[1,"display-flex"],["type","button","tabindex","0",1,"display-flex","pointer"],[4,"ngTemplateOutlet"],["type","button","tabindex","0",1,"display-flex","pointer",3,"click","keydown.enter","keydown.space"],[3,"fontIcon"],[1,"flex-grow"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon"],[1,"top-right-icon",3,"fontIcon"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon",3,"click","keydown.enter","keydown.space"],[1,"alert-details"],["type","button","mat-flat-button","",3,"disabled"],["type","button","mat-flat-button","",3,"click","disabled"]],template:function(i,a){i&1&&(ti(),I(0,"div",2),K(1,Kpe,2,1,"div",3)(2,Qpe,2,2,"div",4)(3,eme,1,1,"ng-container"),A(),K(4,lme,6,3,"ng-template",null,0,Hc)(6,dme,3,1,"ng-template",null,1,Hc)),i&2&&(yn(a.usage()),Ae("white",a.backgroundColor()==="white"),D(),ae(a.dismissMode()!=="expandable"?1:2),D(2),ae(a.notExpandableMissingTitleAndSubtitle()||a.expandableExpanded()?3:-1))},dependencies:[B1,Xm,Xa,Da],styles:[".info[_ngcontent-%COMP%]{background:#f2f7fd;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.info[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.info[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.info[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.info[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.info[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#1d5caf;margin:0}.info[_ngcontent-%COMP%]{--mat-icon-color: #1d5caf}.info[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.info[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#2473db;width:max-content}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#1d5caf}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#1d5caf}.success[_ngcontent-%COMP%]{background:#f2fcf8;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.success[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.success[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.success[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.success[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.success[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#1d8657;margin:0}.success[_ngcontent-%COMP%]{--mat-icon-color: #1d8657}.success[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.success[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#1d8657;width:max-content}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#145c3c}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#145c3c}.warning[_ngcontent-%COMP%]{background:#ffeee0;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.warning[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.warning[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.warning[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.warning[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.warning[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#662e00;margin:0}.warning[_ngcontent-%COMP%]{--mat-icon-color: #662e00}.warning[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.warning[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#994500;width:max-content}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#662e00}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#662e00}.error[_ngcontent-%COMP%]{background:#fff6f5;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.error[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.error[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.error[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.error[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.error[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#c41c0d;margin:0}.error[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}.error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.error[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#c41c0d;width:max-content}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#8f0c00}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#8f0c00}.notification[_ngcontent-%COMP%]{background:#f5f5f5;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.notification[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.notification[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.notification[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.notification[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.notification[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#0d0d0d;margin:0}.notification[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}.notification[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.notification[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#2473db;width:max-content}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#1d5caf}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#1d5caf}.notification[_ngcontent-%COMP%] .top-right-icon[_ngcontent-%COMP%]{--mat-icon-color: #0d0d0d}.white[_ngcontent-%COMP%]{background:#fff}.white[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .white[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .white[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#0d0d0d}"]}));let e=t;return e})();function hme(e,t){if(e&1&&(I(0,"mh-alert",0),z(1,"translate"),I(2,"div",1),B(3),z(4,"translate"),A()()),e&2){let n=N();$("alertTitle",q(1,2,"commons.errors.data-not-available-title")),D(3),Ee(q(4,4,"commons.errors."+n.error().code))}}var pme=(()=>{const t=class t{constructor(){this.error=Xe.required(),this.vidisErrorGroup=mn}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["vidis-status-message"]],inputs:{error:[1,"error"]},decls:1,vars:1,consts:[["usage","info",3,"alertTitle"],["alert-details",""]],template:function(i,a){i&1&&K(0,hme,5,6,"mh-alert",0),i&2&&ae(a.error().group===a.vidisErrorGroup.TEMP_UNAVAILABLE?0:-1)},dependencies:[$i,ume],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})(),mme=e=>({value:e});function fme(e,t){if(e&1&&(I(0,"span"),z(1,"translate"),B(2),A()),e&2){let n=N();ue("aria-label",_i(1,2,"commons.accessibility.nihdiLabel",Ya(5,mme,n.idNumber()))),D(2),xe(" (",n.idNumber(),") ")}}var gme=(()=>{const t=class t{constructor(){this.fullname=Xe.required(),this.idNumber=Xe()}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["vidis-person-name"]],inputs:{fullname:[1,"fullname"],idNumber:[1,"idNumber"]},decls:2,vars:2,template:function(i,a){i&1&&(B(0),K(1,fme,3,7,"span")),i&2&&(xe(" ",a.fullname()," "),D(),ae(a.idNumber()?1:-1))},dependencies:[$i],styles:["span[_ngcontent-%COMP%]{color:#8f8f8f}"]});let e=t;return e})(),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||{}),jf=new G("ngx-mask config"),WS=new G("new ngx-mask config"),ZS=new G("initial ngx-mask config"),vme={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 de,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 bme=(()=>{const t=class t{constructor(){o(this,"_config",w(jf));o(this,"dropSpecialCharacters",this._config.dropSpecialCharacters);o(this,"hiddenInput",this._config.hiddenInput);o(this,"showTemplate");o(this,"clearIfNotMatch",this._config.clearIfNotMatch);o(this,"specialCharacters",this._config.specialCharacters);o(this,"patterns",this._config.patterns);o(this,"prefix",this._config.prefix);o(this,"suffix",this._config.suffix);o(this,"thousandSeparator",this._config.thousandSeparator);o(this,"decimalMarker",this._config.decimalMarker);o(this,"customPattern");o(this,"showMaskTyped",this._config.showMaskTyped);o(this,"placeHolderCharacter",this._config.placeHolderCharacter);o(this,"validation",this._config.validation);o(this,"separatorLimit",this._config.separatorLimit);o(this,"allowNegativeNumbers",this._config.allowNegativeNumbers);o(this,"leadZeroDateTime",this._config.leadZeroDateTime);o(this,"leadZero",this._config.leadZero);o(this,"apm",this._config.apm);o(this,"inputTransformFn",this._config.inputTransformFn);o(this,"outputTransformFn",this._config.outputTransformFn);o(this,"keepCharacterPositions",this._config.keepCharacterPositions);o(this,"_shift",new Set);o(this,"plusOnePosition",!1);o(this,"maskExpression","");o(this,"actualValue","");o(this,"showKeepCharacterExp","");o(this,"shownMaskExpression","");o(this,"deletedSpecialCharacter",!1);o(this,"ipError");o(this,"cpfCnpjError");o(this,"_formatWithSeparators",(i,a,r,s)=>{var g;let l=[],c="";if(Array.isArray(r)){let x=new RegExp(r.map(S=>"[\\^$.|?*+()".indexOf(S)>=0?`\\${S}`:S).join("|"));l=i.split(x),c=((g=i.match(x))==null?void 0:g[0])??T.EMPTY_STRING}else l=i.split(r),c=r;let d=l.length>1?`${c}${l[1]}`:T.EMPTY_STRING,u=l[0]??T.EMPTY_STRING,m=this.separatorLimit.replace(/\s/g,T.EMPTY_STRING);m&&+m&&(u[0]===T.MINUS?u=`-${u.slice(1,u.length).slice(0,m.length)}`:u=u.slice(0,m.length));let v=/(\d+)(\d{3})/;for(;a&&v.test(u);)u=u.replace(v,"$1"+a+"$2");return typeof s>"u"?u+d:s===0?u:u+d.substring(0,s+1)});o(this,"percentage",i=>{let a=i.replace(",","."),r=Number(this.allowNegativeNumbers&&i.includes(T.MINUS)?a.slice(1,i.length):a);return!isNaN(r)&&r>=0&&r<=100});o(this,"getPrecision",i=>{let a=i.split(T.DOT);return a.length>1?Number(a[a.length-1]):1/0});o(this,"checkAndRemoveSuffix",i=>{var a,r,s,l;for(let c=((a=this.suffix)==null?void 0:a.length)-1;c>=0;c--){let d=this.suffix.substring(c,(r=this.suffix)==null?void 0:r.length);if(i.includes(d)&&c!==((s=this.suffix)==null?void 0:s.length)-1&&(c-1<0||!i.includes(this.suffix.substring(c-1,(l=this.suffix)==null?void 0:l.length))))return i.replace(d,T.EMPTY_STRING)}return i});o(this,"checkInputPrecision",(i,a,r)=>{var c;let s=i,l=r;if(a<1/0){Array.isArray(l)&&(l=l.find(g=>g!==this.thousandSeparator)||l[0]);let d=new RegExp(this._charToRegExpExpression(l)+`\\d{${a}}.*$`),u=s.match(d),m=(u&&((c=u[0])==null?void 0:c.length))??0;if(m-1>a){let v=m-1-a;s=s.substring(0,s.length-v)}a===0&&this._compareOrIncludes(s[s.length-1],l,this.thousandSeparator)&&(s=s.substring(0,s.length-1))}return s})}applyMaskWithPattern(i,a){let[r,s]=a;return this.customPattern=s,this.applyMask(i,r)}applyMask(i,a,r=0,s=!1,l=!1,c=()=>{}){var Bt,xt,Zt;if(!a||typeof i!="string")return T.EMPTY_STRING;let d=0,u="",m=!1,v=!1,g=1,x=!1,S=i,E=r;S.slice(0,this.prefix.length)===this.prefix&&(S=S.slice(this.prefix.length,S.length)),this.suffix&&S.length>0&&(S=this.checkAndRemoveSuffix(S)),S==="("&&this.prefix&&(S="");let M=S.toString().split(T.EMPTY_STRING);if(this.allowNegativeNumbers&&S.slice(d,d+1)===T.MINUS&&(u+=S.slice(d,d+1)),a===T.IP){let oe=S.split(T.DOT);this.ipError=this._validIP(oe),a="099.099.099.099"}let L=[];for(let oe=0;oe<S.length;oe++)(Bt=S[oe])!=null&&Bt.match("\\d")&&L.push(S[oe]??T.EMPTY_STRING);if(a===T.CPF_CNPJ&&(this.cpfCnpjError=L.length!==11&&L.length!==14,L.length>11?a="00.000.000/0000-00":a="000.000.000-00"),a.startsWith(T.PERCENT)){if(S.match("[a-z]|[A-Z]")||S.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!l){S=this._stripToDecimal(S);let Be=this.getPrecision(a);S=this.checkInputPrecision(S,Be,this.decimalMarker)}let oe=typeof this.decimalMarker=="string"?this.decimalMarker:T.DOT;if(S.indexOf(oe)>0&&!this.percentage(S.substring(0,S.indexOf(oe)))){let Be=S.substring(0,S.indexOf(oe)-1);this.allowNegativeNumbers&&S.slice(d,d+1)===T.MINUS&&!l&&(Be=S.substring(0,S.indexOf(oe))),S=`${Be}${S.substring(S.indexOf(oe),S.length)}`}let ee="";this.allowNegativeNumbers&&S.slice(d,d+1)===T.MINUS?ee=`${T.MINUS}${S.slice(d+1,d+S.length)}`:ee=S,this.percentage(ee)?u=this._splitPercentZero(S):u=this._splitPercentZero(S.substring(0,S.length-1))}else if(a.startsWith(T.SEPARATOR)){(S.match("[wа-яА-Я]")||S.match("[ЁёА-я]")||S.match("[a-z]|[A-Z]")||S.match(/[-@#!$%\\^&*()_£¬'+|~=`{}\]:";<>.?/]/)||S.match("[^A-Za-z0-9,]"))&&(S=this._stripToDecimal(S));let oe=this.getPrecision(a),ee=Array.isArray(this.decimalMarker)?this.thousandSeparator===T.DOT?T.COMMA:T.DOT:this.decimalMarker;if(oe===0?S=this.allowNegativeNumbers?S.length>2&&S[0]===T.MINUS&&S[1]===T.NUMBER_ZERO&&S[2]!==this.thousandSeparator&&S[2]!==T.COMMA&&S[2]!==T.DOT?"-"+S.slice(2,S.length):S[0]===T.NUMBER_ZERO&&S.length>1&&S[1]!==this.thousandSeparator&&S[1]!==T.COMMA&&S[1]!==T.DOT?S.slice(1,S.length):S:S.length>1&&S[0]===T.NUMBER_ZERO&&S[1]!==this.thousandSeparator&&S[1]!==T.COMMA&&S[1]!==T.DOT?S.slice(1,S.length):S:(S[0]===ee&&S.length>1&&(S=T.NUMBER_ZERO+S.slice(0,S.length+1),this.plusOnePosition=!0),S[0]===T.NUMBER_ZERO&&S[1]!==ee&&S[1]!==this.thousandSeparator&&(S=S.length>1?S.slice(0,1)+ee+S.slice(1,S.length+1):S,this.plusOnePosition=!0),this.allowNegativeNumbers&&S[0]===T.MINUS&&(S[1]===ee||S[1]===T.NUMBER_ZERO)&&(S=S[1]===ee&&S.length>2?S.slice(0,1)+T.NUMBER_ZERO+S.slice(1,S.length):S[1]===T.NUMBER_ZERO&&S.length>2&&S[2]!==ee?S.slice(0,2)+ee+S.slice(2,S.length):S,this.plusOnePosition=!0)),l){let Je=S.slice(this._findFirstNonZeroDigitIndex(S),S.length),nt=S[E]===T.NUMBER_ZERO||S[E]===ee,Nt=S[0]===T.NUMBER_ZERO,ua=S[0]===T.MINUS,wt=S[0]===this.thousandSeparator,mi=S[1]===ee,ai=S[1]===T.NUMBER_ZERO,Ia=S[2]===ee;Nt&&mi&&nt&&E<2&&(S=Je),ua&&ai&&Ia&&nt&&E<3&&(S=T.MINUS+Je),Je!==T.MINUS&&(E===0&&(Nt||wt)||this.allowNegativeNumbers&&E===1&&ua&&!ai)&&(S=ua?T.MINUS+Je:Je)}let Be=this._charToRegExpExpression(this.thousandSeparator),H='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(Be,"");if(Array.isArray(this.decimalMarker))for(let Je of this.decimalMarker)H=H.replace(this._charToRegExpExpression(Je),T.EMPTY_STRING);else H=H.replace(this._charToRegExpExpression(this.decimalMarker),"");let W=new RegExp("["+H+"]");S.match(W)&&(S=S.substring(0,S.length-1)),S=this.checkInputPrecision(S,oe,this.decimalMarker);let ne=S.replace(new RegExp(Be,"g"),"");u=this._formatWithSeparators(ne,this.thousandSeparator,this.decimalMarker,oe);let Ye=u.indexOf(T.COMMA)-S.indexOf(T.COMMA),gt=u.length-S.length,pi=l&&u.length<i.length&&this.separatorLimit;if((u[E-1]===this.thousandSeparator||u[E-this.prefix.length])&&this.prefix&&l)E=E-1;else if(gt>0&&u[E]!==this.thousandSeparator||pi){v=!0;let Je=0;do this._shift.add(E+Je),Je++;while(Je<gt)}else u[E-1]===this.thousandSeparator||gt===-4||gt===-3||u[E]===this.thousandSeparator?(this._shift.clear(),this._shift.add(E-1)):Ye!==0&&E>0&&!(u.indexOf(T.COMMA)>=E&&E>3)||!(u.indexOf(T.DOT)>=E&&E>3)&&gt<=0?(this._shift.clear(),v=!0,g=gt,E+=gt,this._shift.add(E)):this._shift.clear()}else for(let oe=0,ee=M[0];oe<M.length&&d!==a.length;oe++,ee=M[oe]??T.EMPTY_STRING){let Be=T.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(ee,a[d]??T.EMPTY_STRING)&&a[d+1]===T.SYMBOL_QUESTION)u+=ee,d+=2;else if(a[d+1]===T.SYMBOL_STAR&&m&&this._checkSymbolMask(ee,a[d+2]??T.EMPTY_STRING))u+=ee,d+=3,m=!1;else if(this._checkSymbolMask(ee,a[d]??T.EMPTY_STRING)&&a[d+1]===T.SYMBOL_STAR&&!Be)u+=ee,m=!0;else if(a[d+1]===T.SYMBOL_QUESTION&&this._checkSymbolMask(ee,a[d+2]??T.EMPTY_STRING))u+=ee,d+=3;else if(this._checkSymbolMask(ee,a[d]??T.EMPTY_STRING)){if(a[d]===T.HOURS&&(this.apm?Number(ee)>9:Number(ee)>2)){E=this.leadZeroDateTime?E:E+1,d+=1,this._shiftStep(a,d,M.length),oe--,this.leadZeroDateTime&&(u+="0");continue}if(a[d]===T.HOUR&&(this.apm?u.length===1&&Number(u)>1||u==="1"&&Number(ee)>2||S.slice(d-1,d).length===1&&Number(S.slice(d-1,d))>2||S.slice(d-1,d)==="1"&&Number(ee)>2:u==="2"&&Number(ee)>3||(u.slice(d-2,d)==="2"||u.slice(d-3,d)==="2"||u.slice(d-4,d)==="2"||u.slice(d-1,d)==="2")&&Number(ee)>3&&d>10)){E=E+1,d+=1,oe--;continue}if((a[d]===T.MINUTE||a[d]===T.SECOND)&&Number(ee)>5){E=this.leadZeroDateTime?E:E+1,d+=1,this._shiftStep(a,d,M.length),oe--,this.leadZeroDateTime&&(u+="0");continue}let H=31,W=S[d],ne=S[d+1],Ye=S[d+2],gt=S[d-1],pi=S[d-2],Je=S.slice(d-3,d-1),nt=S.slice(d-1,d+1),Nt=S.slice(d,d+2),ua=S.slice(d-2,d);if(a[d]===T.DAY){let wt=a.slice(0,2)===T.MONTHS,mi=a.slice(0,2)===T.MONTHS&&this.specialCharacters.includes(pi);if(Number(ee)>3&&this.leadZeroDateTime||!wt&&(Number(Nt)>H||Number(nt)>H||this.specialCharacters.includes(ne))||(mi?Number(nt)>H||!this.specialCharacters.includes(W)&&this.specialCharacters.includes(Ye)||this.specialCharacters.includes(W):Number(Nt)>H||this.specialCharacters.includes(ne)&&!l)){E=this.leadZeroDateTime?E:E+1,d+=1,this._shiftStep(a,d,M.length),oe--,this.leadZeroDateTime&&(u+="0");continue}}if(a[d]===T.MONTH){let wt=d===0&&(Number(ee)>2||Number(Nt)>12||this.specialCharacters.includes(ne)&&!l),mi=a.slice(d+2,d+3),ai=Je.includes(mi)&&a.includes("d0")&&(this.specialCharacters.includes(pi)&&Number(nt)>12&&!this.specialCharacters.includes(W)||this.specialCharacters.includes(W)),Ia=Number(Je)<=H&&!this.specialCharacters.includes(Je)&&this.specialCharacters.includes(gt)&&(Number(Nt)>12||this.specialCharacters.includes(ne)),En=Number(Nt)>12&&d===5||this.specialCharacters.includes(ne)&&d===5,bl=Number(Je)>H&&!this.specialCharacters.includes(Je)&&!this.specialCharacters.includes(ua)&&Number(ua)>12&&a.includes("d0"),yl=Number(Je)<=H&&!this.specialCharacters.includes(Je)&&!this.specialCharacters.includes(gt)&&Number(nt)>12;if(Number(ee)>1&&this.leadZeroDateTime||wt||ai||yl||bl||Ia||En&&!this.leadZeroDateTime){E=this.leadZeroDateTime?E:E+1,d+=1,this._shiftStep(a,d,M.length),oe--,this.leadZeroDateTime&&(u+="0");continue}}u+=ee,d++}else this.specialCharacters.includes(ee)&&a[d]===ee?(u+=ee,d++):this.specialCharacters.indexOf(a[d]??T.EMPTY_STRING)!==-1?(u+=a[d],d++,this._shiftStep(a,d,M.length),oe--):a[d]===T.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(a,d,M.length):this.patterns[a[d]??T.EMPTY_STRING]&&((xt=this.patterns[a[d]??T.EMPTY_STRING])!=null&&xt.optional)?(M[d]&&a!=="099.099.099.099"&&a!=="000.000.000-00"&&a!=="00.000.000/0000-00"&&!a.match(/^9+\.0+$/)&&!((Zt=this.patterns[a[d]??T.EMPTY_STRING])!=null&&Zt.optional)&&(u+=M[d]),a.includes(T.NUMBER_NINE+T.SYMBOL_STAR)&&a.includes(T.NUMBER_ZERO+T.SYMBOL_STAR)&&d++,d++,oe--):this.maskExpression[d+1]===T.SYMBOL_STAR&&this._findSpecialChar(this.maskExpression[d+2]??T.EMPTY_STRING)&&this._findSpecialChar(ee)===this.maskExpression[d+2]&&m||this.maskExpression[d+1]===T.SYMBOL_QUESTION&&this._findSpecialChar(this.maskExpression[d+2]??T.EMPTY_STRING)&&this._findSpecialChar(ee)===this.maskExpression[d+2]&&m?(d+=3,u+=ee):this.showMaskTyped&&this.specialCharacters.indexOf(ee)<0&&ee!==this.placeHolderCharacter&&this.placeHolderCharacter.length===1&&(x=!0)}u.length+1===a.length&&this.specialCharacters.indexOf(a[a.length-1]??T.EMPTY_STRING)!==-1&&(u+=a[a.length-1]);let R=E+1;for(;this._shift.has(R);)g++,R++;let le=s&&!a.startsWith(T.SEPARATOR)?d:this._shift.has(E)?g:0;x&&le--,c(le,v),g<0&&this._shift.clear();let ke=!1;l&&(ke=M.every(oe=>this.specialCharacters.includes(oe)));let Ve=`${this.prefix}${ke?T.EMPTY_STRING:u}${this.showMaskTyped?"":this.suffix}`;u.length===0&&(Ve=this.dropSpecialCharacters?`${u}`:`${this.prefix}${u}`);let ii=S.length===1&&this.specialCharacters.includes(a[0])&&S!==a[0];if(!this._checkSymbolMask(S,a[1])&&ii)return"";if(u.includes(T.MINUS)&&this.prefix&&this.allowNegativeNumbers){if(l&&u===T.MINUS)return"";Ve=`${T.MINUS}${this.prefix}${u.split(T.MINUS).join(T.EMPTY_STRING)}${this.suffix}`}return Ve}_findDropSpecialChar(i){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(a=>a===i):this._findSpecialChar(i)}_findSpecialChar(i){return this.specialCharacters.find(a=>a===i)}_checkSymbolMask(i,a){var r,s;return this.patterns=this.customPattern?this.customPattern:this.patterns,(((r=this.patterns[a])==null?void 0:r.pattern)&&((s=this.patterns[a])==null?void 0:s.pattern.test(i)))??!1}_stripToDecimal(i){return i.split(T.EMPTY_STRING).filter((a,r)=>{let s=typeof this.decimalMarker=="string"?a===this.decimalMarker:this.decimalMarker.includes(a);return a.match("^-?\\d")||a===this.thousandSeparator||s||a===T.MINUS&&r===0&&this.allowNegativeNumbers}).join(T.EMPTY_STRING)}_charToRegExpExpression(i){return i&&(i===" "?"\\s":"[\\^$.|?*+()".indexOf(i)>=0?`\\${i}`:i)}_shiftStep(i,a,r){let s=/[*?]/g.test(i.slice(0,a))?r:a;this._shift.add(s+this.prefix.length||0)}_compareOrIncludes(i,a,r){return Array.isArray(a)?a.filter(s=>s!==r).includes(i):i===a}_validIP(i){return!(i.length===4&&!i.some((a,r)=>i.length!==r+1?a===T.EMPTY_STRING||Number(a)>255:a===T.EMPTY_STRING||Number(a.substring(0,3))>255))}_splitPercentZero(i){if(i===T.MINUS&&this.allowNegativeNumbers)return i;let a=typeof this.decimalMarker=="string"?i.indexOf(this.decimalMarker):i.indexOf(T.DOT),r=this.allowNegativeNumbers&&i.includes(T.MINUS)?"-":"";if(a===-1){let s=parseInt(r?i.slice(1,i.length):i,10);return isNaN(s)?T.EMPTY_STRING:`${r}${s}`}else{let s=parseInt(i.replace("-","").substring(0,a),10),l=i.substring(a+1),c=isNaN(s)?"":s.toString(),d=typeof this.decimalMarker=="string"?this.decimalMarker:T.DOT;return c===T.EMPTY_STRING?T.EMPTY_STRING:`${r}${c}${d}${l}`}}_findFirstNonZeroDigitIndex(i){for(let a=0;a<i.length;a++){let r=i[a];if(r&&r>="1"&&r<="9")return a}return-1}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})(),yme=(()=>{const t=class t extends bme{constructor(){super(...arguments);o(this,"isNumberValue",!1);o(this,"maskIsShown","");o(this,"selStart",null);o(this,"selEnd",null);o(this,"writingValue",!1);o(this,"maskChanged",!1);o(this,"_maskExpressionArray",[]);o(this,"triggerOnMaskChange",!1);o(this,"_previousValue","");o(this,"_currentValue","");o(this,"_emitValue",!1);o(this,"_start");o(this,"_end");o(this,"onChange",a=>{});o(this,"_elementRef",w(Fe,{optional:!0}));o(this,"document",w(Qe));o(this,"_config",w(jf));o(this,"_renderer",w(ji,{optional:!0}))}applyMask(a,r,s=0,l=!1,c=!1,d=()=>{}){if(!r)return a!==this.actualValue?this.actualValue:a;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():T.EMPTY_STRING,this.maskExpression===T.IP&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(a||T.HASH)),this.maskExpression===T.CPF_CNPJ&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(a||T.HASH)),!a&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;let u=a&&typeof this.selStart=="number"?a[this.selStart]??T.EMPTY_STRING:T.EMPTY_STRING,m="",v=s;if(this.hiddenInput!==null&&!this.writingValue){let E=a&&a.length===1?a.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)):a!==T.EMPTY_STRING&&E.length?typeof this.selStart=="number"&&typeof this.selEnd=="number"&&(a.length>E.length?E.splice(this.selStart,0,u):a.length<E.length&&(E.length-a.length===1?c?E.splice(this.selStart-1,1):E.splice(a.length-1,1):E.splice(this.selStart,this.selEnd-this.selStart))):E=[],this.showMaskTyped&&!this.hiddenInput&&(m=this.removeMask(a)),m=this.actualValue.length&&E.length<=a.length?this.shiftTypedSymbols(E.join(T.EMPTY_STRING)):a}if(l&&(this.hiddenInput||!this.hiddenInput)&&(m=a),c&&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:r.slice(v-1,v+1)!==T.MONTHS&&(v=v-2),this.deletedSpecialCharacter=!1),this.showMaskTyped&&this.placeHolderCharacter.length===1&&!this.leadZeroDateTime&&(m=this.removeMask(a)),this.maskChanged?m=a:m=m&&m.length?m:a,this.showMaskTyped&&this.keepCharacterPositions&&this.actualValue&&!l&&!this.writingValue){let E=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(E),this.actualValue?this.actualValue:`${this.prefix}${this.maskIsShown}${this.suffix}`}let g=super.applyMask(m,r,v,l,c,d);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(E=>!this._compareOrIncludes(E,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?c?this.hideInput(g,this.maskExpression):`${this.hideInput(g,this.maskExpression)}${this.maskIsShown.slice(g.length)}`:g;let x=g.length,S=`${this.prefix}${this.maskIsShown}${this.suffix}`;if(this.maskExpression.includes(T.HOURS)){let E=this._numberSkipedSymbols(g);return`${g}${S.slice(x+E)}`}else if(this.maskExpression===T.IP||this.maskExpression===T.CPF_CNPJ)return`${g}${S}`;return`${g}${S.slice(x)}`}_numberSkipedSymbols(a){let r=/(^|\D)(\d\D)/g,s=r.exec(a),l=0;for(;s!=null;)l+=1,s=r.exec(a);return l}applyValueChanges(a,r,s,l=()=>{}){var d;let c=(d=this._elementRef)==null?void 0:d.nativeElement;c&&(c.value=this.applyMask(c.value,this.maskExpression,a,r,s,l),c!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(a,r){return a.split(T.EMPTY_STRING).map((s,l)=>{var c,d;return this.patterns&&this.patterns[r[l]??T.EMPTY_STRING]&&((c=this.patterns[r[l]??T.EMPTY_STRING])!=null&&c.symbol)?(d=this.patterns[r[l]??T.EMPTY_STRING])==null?void 0:d.symbol:s}).join(T.EMPTY_STRING)}getActualValue(a){let r=a.split(T.EMPTY_STRING).filter((s,l)=>{let c=this.maskExpression[l]??T.EMPTY_STRING;return this._checkSymbolMask(s,c)||this.specialCharacters.includes(c)&&s===c});return r.join(T.EMPTY_STRING)===a?r.join(T.EMPTY_STRING):a}shiftTypedSymbols(a){let r="";return(a&&a.split(T.EMPTY_STRING).map((s,l)=>{if(this.specialCharacters.includes(a[l+1]??T.EMPTY_STRING)&&a[l+1]!==this.maskExpression[l+1])return r=s,a[l+1];if(r.length){let c=r;return r=T.EMPTY_STRING,c}return s})||[]).join(T.EMPTY_STRING)}numberToString(a){return!a&&a!==0||this.maskExpression.startsWith(T.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith(T.SEPARATOR)&&this.separatorLimit.length>14&&String(a).length>14?String(a):Number(a).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace(`/${T.MINUS}/`,T.MINUS)}showMaskInInput(a){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}else if(this.showMaskTyped){if(a){if(this.maskExpression===T.IP)return this._checkForIp(a);if(this.maskExpression===T.CPF_CNPJ)return this._checkForCpfCnpj(a)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){var r;let a=(r=this._elementRef)==null?void 0:r.nativeElement;a&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==a.value.replace(this.placeHolderCharacter,T.EMPTY_STRING).length&&(this.formElementProperty=["value",T.EMPTY_STRING],this.applyMask("",this.maskExpression))}set formElementProperty([a,r]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>{var s,l;return(l=this._renderer)==null?void 0:l.setProperty((s=this._elementRef)==null?void 0:s.nativeElement,a,r)})}checkDropSpecialCharAmount(a){return a.split(T.EMPTY_STRING).filter(r=>this._findDropSpecialChar(r)).length}removeMask(a){return this._removeMask(this._removeSuffix(this._removePrefix(a)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(a){if(a===T.HASH)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;let r=[];for(let s=0;s<a.length;s++){let l=a[s]??T.EMPTY_STRING;l&&l.match("\\d")&&r.push(l)}return r.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>3&&r.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>6&&r.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(a){let r=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,s=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if(a===T.HASH)return r;let l=[];for(let c=0;c<a.length;c++){let d=a[c]??T.EMPTY_STRING;d&&d.match("\\d")&&l.push(d)}return l.length<=3?r.slice(l.length,r.length):l.length>3&&l.length<=6?r.slice(l.length+1,r.length):l.length>6&&l.length<=9?r.slice(l.length+2,r.length):l.length>9&&l.length<11?r.slice(l.length+3,r.length):l.length===11?"":l.length===12?a.length===17?s.slice(16,s.length):s.slice(15,s.length):l.length>12&&l.length<=14?s.slice(l.length+4,s.length):""}_getActiveElement(a=this.document){var s;let r=(s=a==null?void 0:a.activeElement)==null?void 0:s.shadowRoot;return r!=null&&r.activeElement?this._getActiveElement(r):a.activeElement}formControlResult(a){if(this.writingValue&&!a){this.onChange("");return}if(this.writingValue||!this.triggerOnMaskChange&&this.maskChanged){this.triggerOnMaskChange&&this.maskChanged&&this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(a)))))),this.maskChanged=!1;return}Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(a)),this.dropSpecialCharacters))))):this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===a?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(a)))))):this.onChange(this.outputTransformFn(this._toNumber(a)))}_toNumber(a){if(!this.isNumberValue||a===T.EMPTY_STRING||this.maskExpression.startsWith(T.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters))return a;if(String(a).length>14&&this.maskExpression.startsWith(T.SEPARATOR))return String(a);let r=Number(a);if(this.maskExpression.startsWith(T.SEPARATOR)&&Number.isNaN(r)){let s=String(a).replace(",",".");return Number(s)}return Number.isNaN(r)?a:r}_removeMask(a,r){return this.maskExpression.startsWith(T.PERCENT)&&a.includes(T.DOT)?a:a&&a.replace(this._regExpForRemove(r),T.EMPTY_STRING)}_removePrefix(a){return this.prefix?a&&a.replace(this.prefix,T.EMPTY_STRING):a}_removeSuffix(a){return this.suffix?a&&a.replace(this.suffix,T.EMPTY_STRING):a}_retrieveSeparatorValue(a){let r=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(s=>this.dropSpecialCharacters.includes(s)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&a.includes(T.WHITE_SPACE)&&this.maskExpression.includes(T.SYMBOL_STAR)&&(r=r.filter(s=>s!==T.WHITE_SPACE)),this._removeMask(a,r)}_regExpForRemove(a){return new RegExp(a.map(r=>`\\${r}`).join("|"),"gi")}_replaceDecimalMarkerToDot(a){let r=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return a.replace(this._regExpForRemove(r),T.DOT)}_checkSymbols(a){let r=a;if(r===T.EMPTY_STRING)return r;this.maskExpression.startsWith(T.PERCENT)&&this.decimalMarker===T.COMMA&&(r=r.replace(T.COMMA,T.DOT));let s=this._retrieveSeparatorPrecision(this.maskExpression),l=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(r));return this.isNumberValue&&s?r===this.decimalMarker?null:l.length>14?String(l):this._checkPrecision(this.maskExpression,l):l}_checkPatternForSpace(){var a,r,s;for(let l in this.patterns)if(this.patterns[l]&&((a=this.patterns[l])!=null&&a.hasOwnProperty("pattern"))){let c=(r=this.patterns[l])==null?void 0:r.pattern.toString(),d=(s=this.patterns[l])==null?void 0:s.pattern;if(c!=null&&c.includes(T.WHITE_SPACE)&&(d!=null&&d.test(this.maskExpression)))return!0}return!1}_retrieveSeparatorPrecision(a){let r=a.match(new RegExp("^separator\\.([^d]*)"));return r?Number(r[1]):null}_checkPrecision(a,r){let s=this.getPrecision(a),l=r;return a.indexOf("2")>0||this.leadZero&&Number(s)>0?(this.decimalMarker===T.COMMA&&this.leadZero&&(l=l.replace(",",".")),this.leadZero?Number(l).toFixed(Number(s)):Number(l).toFixed(2)):this.numberToString(l)}_repeatPatternSymbols(a){return a.match(/{[0-9]+}/)&&a.split(T.EMPTY_STRING).reduce((r,s,l)=>{if(this._start=s===T.CURLY_BRACKETS_LEFT?l:this._start,s!==T.CURLY_BRACKETS_RIGHT)return this._findSpecialChar(s)?r+s:r;this._end=l;let c=Number(a.slice(this._start+1,this._end)),d=new Array(c+1).join(a[this._start-1]);if(a.slice(0,this._start).length>1&&a.includes(T.LETTER_S)){let u=a.slice(0,this._start-1);return u.includes(T.CURLY_BRACKETS_LEFT)?r+d:u+r+d}else return r+d},"")||a}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}};o(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=jt(t)))(r||t)}})()),o(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})();function _me(){let e=w(ZS),t=w(WS);return t instanceof Function?J(J({},e),t()):J(J({},e),t)}function xme(e){return[{provide:WS,useValue:e},{provide:ZS,useValue:vme},{provide:jf,useFactory:_me},yme]}function wme(e){return tm(xme(e))}var KS={"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(KS);var Sme=KS,XS={"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(XS);var kme=XS,ta=function(e,t,n,i){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 n==="m"?i:n==="a"?i.call(e):i?i.value:t.get(e)},Kr,rs,dr,Eme=class{constructor(...e){Kr.set(this,new Map),rs.set(this,new Map),dr.set(this,new Map);for(let t of e)this.define(t)}define(e,t=!1){for(let[n,i]of Object.entries(e)){n=n.toLowerCase(),i=i.map(s=>s.toLowerCase()),ta(this,dr,"f").has(n)||ta(this,dr,"f").set(n,new Set);let a=ta(this,dr,"f").get(n),r=!0;for(let s of i){let l=s.startsWith("*");if(s=l?s.slice(1):s,a==null||a.add(s),r&&ta(this,rs,"f").set(n,s),r=!1,l)continue;let c=ta(this,Kr,"f").get(s);if(c&&c!=n&&!t)throw new Error(`"${n} -> ${s}" conflicts with "${c} -> ${s}". Pass \`force=true\` to override this definition.`);ta(this,Kr,"f").set(s,n)}}return this}getType(e){if(typeof e!="string")return null;let t=e.replace(/^.*[/\\]/s,"").toLowerCase(),n=t.replace(/^.*\./s,"").toLowerCase(),i=t.length<e.length;return!(n.length<t.length-1)&&i?null:ta(this,Kr,"f").get(n)??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&&ta(this,rs,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:ta(this,dr,"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 ta(this,dr,"f").values())Object.freeze(e);return this}_getTestState(){return{types:ta(this,Kr,"f"),extensions:ta(this,rs,"f")}}};Kr=new WeakMap,rs=new WeakMap,dr=new WeakMap;var Cme=Eme,QS=new Cme(kme,Sme)._freeze(),Dme=(()=>{const t=class t{constructor(){this.translate=w(Kn),this.cdRef=w(Vt),this.destroyRef=w(Zi),this.result="",this.translate.onLangChange.pipe(Gn(this.destroyRef)).subscribe(()=>{this.result=this.getResult(this.contentType,this.index),this.cdRef.markForCheck()})}transform(i,a){return i!==this.contentType&&a!==this.index&&(this.contentType=i,this.index=a,this.result=this.getResult(i,a)),this.result}getResult(i,a){let r=i?QS.getExtension(i):"unknown";return this.translate.instant("commons.file")+"_"+(a+1)+"."+r}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=Lr({name:"attachementFilename",type:t,pure:!0});let e=t;return e})(),Bf=(()=>{const t=class t{transform(i){let a="";return Array.isArray(i)&&i.forEach(r=>{a+=r.charAt(0).toUpperCase()+r.slice(1)+" "}),typeof i=="string"&&i.split(" ").length>1&&i.split(" ").forEach((r,s)=>{s===0?a=r.charAt(0).toUpperCase()+r.slice(1):a+=" "+r}),typeof i=="string"&&i.split(" ").length===1&&(a=i.charAt(0).toUpperCase()+i.slice(1)),a}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=Lr({name:"firstLetterUppercase",type:t,pure:!0});let e=t;return e})(),Ime=(()=>{const t=class t{transform(i){return Jde(i)}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=Lr({name:"fullname",type:t,pure:!0});let e=t;return e})(),Ame=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],Ome=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function Tme(e,t){e&1&&(I(0,"span",3),qe(1,1),A())}function Mme(e,t){e&1&&(I(0,"span",6),qe(1,2),A())}var Nme=["*"],Pme=new G("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),Jb=new G("MatChipAvatar"),ey=new G("MatChipTrailingIcon"),Dp=new G("MatChipRemove"),JS=new G("MatChip"),Ip=(()=>{const t=class t{constructor(){o(this,"_elementRef",w(Fe));o(this,"_parentChip",w(JS));o(this,"isInteractive",!0);o(this,"_isPrimary",!0);o(this,"_disabled",!1);o(this,"tabIndex",-1);o(this,"_allowFocusWhenDisabled",!1);w(Mi).load(cl),this._elementRef.nativeElement.nodeName==="BUTTON"&&this._elementRef.nativeElement.setAttribute("type","button")}get disabled(){var i;return this._disabled||((i=this._parentChip)==null?void 0:i.disabled)||!1}set disabled(i){this._disabled=i}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}focus(){this._elementRef.nativeElement.focus()}_handleClick(i){!this.disabled&&this.isInteractive&&this._isPrimary&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(i){(i.keyCode===13||i.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(i,a){i&1&&ce("click",function(r){return a._handleClick(r)})("keydown",function(r){return a._handleKeydown(r)}),i&2&&(ue("tabindex",a._getTabindex())("disabled",a._getDisabledAttribute())("aria-disabled",a.disabled),Ae("mdc-evolution-chip__action--primary",a._isPrimary)("mdc-evolution-chip__action--presentational",!a.isInteractive)("mdc-evolution-chip__action--trailing",!a._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",He],tabIndex:[2,"tabIndex","tabIndex",i=>i==null?-1:Yi(i)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}}));let e=t;return e})(),ek=(()=>{const t=class t extends Ip{constructor(){super(...arguments);o(this,"_isPrimary",!1)}_handleClick(a){this.disabled||(a.stopPropagation(),a.preventDefault(),this._parentChip.remove())}_handleKeydown(a){(a.keyCode===13||a.keyCode===32)&&!this.disabled&&(a.stopPropagation(),a.preventDefault(),this._parentChip.remove())}};o(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=jt(t)))(r||t)}})()),o(t,"ɵdir",we({type:t,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(a,r){a&2&&ue("aria-hidden",null)},features:[ki([{provide:Dp,useExisting:t}]),Mt]}));let e=t;return e})(),lu=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",w(Vt));o(this,"_elementRef",w(Fe));o(this,"_ngZone",w(Oe));o(this,"_focusMonitor",w(ll));o(this,"_globalRippleOptions",w(df,{optional:!0}));o(this,"_document",w(Qe));o(this,"_onFocus",new he);o(this,"_onBlur",new he);o(this,"_isBasicChip");o(this,"role",null);o(this,"_hasFocusInternal",!1);o(this,"_pendingFocus");o(this,"_actionChanges");o(this,"_animationsDisabled");o(this,"_allLeadingIcons");o(this,"_allTrailingIcons");o(this,"_allRemoveIcons");o(this,"id",w(hi).getId("mat-mdc-chip-"));o(this,"ariaLabel",null);o(this,"ariaDescription",null);o(this,"_ariaDescriptionId",`${this.id}-aria-description`);o(this,"_chipListDisabled",!1);o(this,"_textElement");o(this,"_value");o(this,"color");o(this,"removable",!0);o(this,"highlighted",!1);o(this,"disableRipple",!1);o(this,"_disabled",!1);o(this,"removed",new de);o(this,"destroyed",new de);o(this,"basicChipAttrName","mat-basic-chip");o(this,"leadingIcon");o(this,"trailingIcon");o(this,"removeIcon");o(this,"primaryAction");o(this,"_rippleLoader",w(Tw));o(this,"_injector",w(dt));var r;let i=w(Mi);i.load(cl),i.load(Xn);let a=w(Ti,{optional:!0});this._animationsDisabled=a==="NoopAnimations",this._monitorFocus(),(r=this._rippleLoader)==null||r.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}_hasFocus(){return this._hasFocusInternal}get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(i){this._value=i}get disabled(){return this._disabled||this._chipListDisabled}set disabled(i){this._disabled=i}ngOnInit(){let i=this._elementRef.nativeElement;this._isBasicChip=i.hasAttribute(this.basicChipAttrName)||i.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=na(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){var i,a;this._focusMonitor.stopMonitoring(this._elementRef),(i=this._rippleLoader)==null||i.destroyRipple(this._elementRef.nativeElement),(a=this._actionChanges)==null||a.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){var i;return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!((i=this._globalRippleOptions)!=null&&i.disabled)}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(i){(i.keyCode===8&&!i.repeat||i.keyCode===46)&&(i.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(i){return this._getActions().find(a=>{let r=a._elementRef.nativeElement;return r===i||r.contains(i)})}_getActions(){let i=[];return this.primaryAction&&i.push(this.primaryAction),this.removeIcon&&i.push(this.removeIcon),this.trailingIcon&&i.push(this.trailingIcon),i}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(i=>{let a=i!==null;a!==this._hasFocusInternal&&(this._hasFocusInternal=a,a?this._onFocus.next({chip:this}):(this._changeDetectorRef.markForCheck(),setTimeout(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})))))})}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(i,a,r){if(i&1&&(gi(r,Jb,5),gi(r,ey,5),gi(r,Dp,5),gi(r,Jb,5),gi(r,ey,5),gi(r,Dp,5)),i&2){let s;Ne(s=Pe())&&(a.leadingIcon=s.first),Ne(s=Pe())&&(a.trailingIcon=s.first),Ne(s=Pe())&&(a.removeIcon=s.first),Ne(s=Pe())&&(a._allLeadingIcons=s),Ne(s=Pe())&&(a._allTrailingIcons=s),Ne(s=Pe())&&(a._allRemoveIcons=s)}},viewQuery:function(i,a){if(i&1&&pt(Ip,5),i&2){let r;Ne(r=Pe())&&(a.primaryAction=r.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(i,a){i&1&&ce("keydown",function(r){return a._handleKeydown(r)}),i&2&&(kn("id",a.id),ue("role",a.role)("aria-label",a.ariaLabel),yn("mat-"+(a.color||"primary")),Ae("mdc-evolution-chip",!a._isBasicChip)("mdc-evolution-chip--disabled",a.disabled)("mdc-evolution-chip--with-trailing-action",a._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",a.leadingIcon)("mdc-evolution-chip--with-primary-icon",a.leadingIcon)("mdc-evolution-chip--with-avatar",a.leadingIcon)("mat-mdc-chip-with-avatar",a.leadingIcon)("mat-mdc-chip-highlighted",a.highlighted)("mat-mdc-chip-disabled",a.disabled)("mat-mdc-basic-chip",a._isBasicChip)("mat-mdc-standard-chip",!a._isBasicChip)("mat-mdc-chip-with-trailing-icon",a._hasTrailingIcon())("_mat-animation-noopable",a._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",He],highlighted:[2,"highlighted","highlighted",He],disableRipple:[2,"disableRipple","disableRipple",He],disabled:[2,"disabled","disabled",He]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[ki([{provide:JS,useExisting:t}])],ngContentSelectors:Ome,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(i,a){i&1&&(ti(Ame),se(0,"span",0),I(1,"span",1)(2,"span",2),K(3,Tme,2,0,"span",3),I(4,"span",4),qe(5),se(6,"span",5),A()()(),K(7,Mme,2,0,"span",6)),i&2&&(D(2),$("isInteractive",!1),D(),ae(a.leadingIcon?3:-1),D(4),ae(a._hasTrailingIcon()?7:-1))},dependencies:[Ip],styles:[`.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}@media(forced-colors: active){.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{forced-color-adjust:none}}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width, 1px);border-radius:var(--mdc-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size, 24px);height:var(--mdc-chip-with-avatar-avatar-size, 24px);font-size:var(--mdc-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius, 8px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mdc-chip-with-icon-icon-size, 18px);height:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}.mdc-evolution-chip__icon,.mat-mdc-chip-remove .mat-icon{min-height:fit-content}
45
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),tk=(()=>{const t=class t{constructor(){o(this,"_elementRef",w(Fe));o(this,"_changeDetectorRef",w(Vt));o(this,"_dir",w(Xi,{optional:!0}));o(this,"_lastDestroyedFocusedChipIndex",null);o(this,"_keyManager");o(this,"_destroyed",new he);o(this,"_defaultRole","presentation");o(this,"_disabled",!1);o(this,"tabIndex",0);o(this,"_explicitRole",null);o(this,"_chips");o(this,"_chipActions",new Fc)}get chipFocusChanges(){return this._getChipStream(i=>i._onFocus)}get chipDestroyedChanges(){return this._getChipStream(i=>i.destroyed)}get chipRemovedChanges(){return this._getChipStream(i=>i.removed)}get disabled(){return this._disabled}set disabled(i){this._disabled=i,this._syncChipsState()}get empty(){return!this._chips||this._chips.length===0}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(i){this._explicitRole=i}get focused(){return this._hasFocusedChip()}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){var i;(i=this._keyManager)==null||i.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(i=>i._hasFocus())}_syncChipsState(){var i;(i=this._chips)==null||i.forEach(a=>{a._chipListDisabled=this._disabled,a._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(i){this._originatesFromChip(i)&&this._keyManager.onKeydown(i)}_isValidIndex(i){return i>=0&&i<this._chips.length}_allowFocusEscape(){let i=this._elementRef.nativeElement.tabIndex;i!==-1&&(this._elementRef.nativeElement.tabIndex=-1,setTimeout(()=>this._elementRef.nativeElement.tabIndex=i))}_getChipStream(i){return this._chips.changes.pipe(ra(null),yr(()=>na(...this._chips.map(i))))}_originatesFromChip(i){let a=i.target;for(;a&&a!==this._elementRef.nativeElement;){if(a.classList.contains("mat-mdc-chip"))return!0;a=a.parentElement}return!1}_setUpFocusManagement(){var i;this._chips.changes.pipe(ra(this._chips)).subscribe(a=>{let r=[];a.forEach(s=>s._getActions().forEach(l=>r.push(l))),this._chipActions.reset(r),this._chipActions.notifyOnChanges()}),this._keyManager=new vse(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(a=>this._skipPredicate(a)),this.chipFocusChanges.pipe(At(this._destroyed)).subscribe(({chip:a})=>{let r=a._getSourceAction(document.activeElement);r&&this._keyManager.updateActiveItem(r)}),(i=this._dir)==null||i.change.pipe(At(this._destroyed)).subscribe(a=>this._keyManager.withHorizontalOrientation(a))}_skipPredicate(i){return!i.isInteractive||i.disabled}_trackChipSetChanges(){this._chips.changes.pipe(ra(null),At(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(At(this._destroyed)).subscribe(i=>{let a=this._chips.toArray().indexOf(i.chip);this._isValidIndex(a)&&i.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=a)})}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let i=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),a=this._chips.toArray()[i];a.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():a.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["mat-chip-set"]],contentQueries:function(i,a,r){if(i&1&&gi(r,lu,5),i&2){let s;Ne(s=Pe())&&(a._chips=s)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(i,a){i&1&&ce("keydown",function(r){return a._handleKeydown(r)}),i&2&&ue("role",a.role)},inputs:{disabled:[2,"disabled","disabled",He],role:"role",tabIndex:[2,"tabIndex","tabIndex",i=>i==null?0:Yi(i)]},ngContentSelectors:Nme,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(i,a){i&1&&(ti(),I(0,"div",0),qe(1),A())},styles:[`.mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}
46
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Rme=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({providers:[Pf,{provide:Pme,useValue:{separatorKeyCodes:[13]}}],imports:[Ft,hf,Ft]}));let e=t;return e})(),Fme=["determinateSpinner"];function Vme(e,t){if(e&1&&(xa(),I(0,"svg",11),se(1,"circle",12),A()),e&2){let n=N();ue("viewBox",n._viewBox()),D(),Or("stroke-dasharray",n._strokeCircumference(),"px")("stroke-dashoffset",n._strokeCircumference()/2,"px")("stroke-width",n._circleStrokeWidth(),"%"),ue("r",n._circleRadius())}}var Lme=new G("mat-progress-spinner-default-options",{providedIn:"root",factory:zme});function zme(){return{diameter:ik}}var ik=100,jme=10,Bme=(()=>{const t=class t{constructor(){o(this,"_elementRef",w(Fe));o(this,"_noopAnimations");o(this,"_color");o(this,"_defaultColor","primary");o(this,"_determinateCircle");o(this,"mode");o(this,"_value",0);o(this,"_diameter",ik);o(this,"_strokeWidth");let i=w(Ti,{optional:!0}),a=w(Lme);this._noopAnimations=i==="NoopAnimations"&&!!a&&!a._forceAnimations,this.mode=this._elementRef.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",a&&(a.color&&(this.color=this._defaultColor=a.color),a.diameter&&(this.diameter=a.diameter),a.strokeWidth&&(this.strokeWidth=a.strokeWidth))}get color(){return this._color||this._defaultColor}set color(i){this._color=i}get value(){return this.mode==="determinate"?this._value:0}set value(i){this._value=Math.max(0,Math.min(100,i||0))}get diameter(){return this._diameter}set diameter(i){this._diameter=i||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(i){this._strokeWidth=i||0}_circleRadius(){return(this.diameter-jme)/2}_viewBox(){let i=this._circleRadius()*2+this.strokeWidth;return`0 0 ${i} ${i}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(i,a){if(i&1&&pt(Fme,5),i&2){let r;Ne(r=Pe())&&(a._determinateCircle=r.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(i,a){i&2&&(ue("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",a.mode==="determinate"?a.value:null)("mode",a.mode),yn("mat-"+a.color),Or("width",a.diameter,"px")("height",a.diameter,"px")("--mdc-circular-progress-size",a.diameter+"px")("--mdc-circular-progress-active-indicator-width",a.diameter+"px"),Ae("_mat-animation-noopable",a._noopAnimations)("mdc-circular-progress--indeterminate",a.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",Yi],diameter:[2,"diameter","diameter",Yi],strokeWidth:[2,"strokeWidth","strokeWidth",Yi]},exportAs:["matProgressSpinner"],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(i,a){if(i&1&&(K(0,Vme,2,8,"ng-template",null,0,Hc),I(2,"div",2,1),xa(),I(4,"svg",3),se(5,"circle",4),A()(),Oc(),I(6,"div",5)(7,"div",6)(8,"div",7),jn(9,8),A(),I(10,"div",9),jn(11,8),A(),I(12,"div",10),jn(13,8),A()()()),i&2){let r=Ri(1);D(4),ue("viewBox",a._viewBox()),D(),Or("stroke-dasharray",a._strokeCircumference(),"px")("stroke-dashoffset",a._strokeDashOffset(),"px")("stroke-width",a._circleStrokeWidth(),"%"),ue("r",a._circleRadius()),D(4),$("ngTemplateOutlet",r),D(2),$("ngTemplateOutlet",r),D(2),$("ngTemplateOutlet",r)}},dependencies:[Xm],styles:[`.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0;position:relative;direction:ltr;transition:opacity 250ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width, 4px)}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1;animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, var(--mat-sys-primary))}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}
47
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Hme=["spinner"];function $me(e,t){e&1&&(I(0,"div",1,0),z(2,"translate"),se(3,"mat-spinner"),A()),e&2&&ue("aria-label",q(2,1,"commons.downloading"))}var qme=(()=>{const t=class t{constructor(){this.isDownloading=Xe.required(),this.spinnerRef=Aie("spinner"),Gd(()=>{this.isDownloading()&&this.spinnerRef()&&this.spinnerRef().nativeElement.focus()})}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["vidis-loading-spinner"]],viewQuery:function(i,a){i&1&&Yae(a.spinnerRef,Hme,5),i&2&&y1()},inputs:{isDownloading:[1,"isDownloading"]},decls:1,vars:1,consts:[["spinner",""],["role","status","aria-live","polite","tabindex","-1",1,"loading-overlay"]],template:function(i,a){i&1&&K(0,$me,4,3,"div",1),i&2&&ae(a.isDownloading()?0:-1)},dependencies:[Bme,$i],styles:[".loading-overlay[_ngcontent-%COMP%]{position:fixed;inset:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#0d0d0d99}"]});let e=t;return e})(),ak=(()=>{const t=class t{constructor(){this.authService=w(Nr).getInstance(),this.templateRef=w(bn),this.viewContainer=w(Ka),this.cdRef=w(Vt)}ngOnInit(){this.authService.isOfflineAuthenticated?this.viewContainer.clear():this.viewContainer.createEmbeddedView(this.templateRef),this.cdRef.markForCheck()}};t.ɵfac=function(i){return new(i||t)},t.ɵdir=we({type:t,selectors:[["","hideIfOffline",""]]});let e=t;return e})(),Gme={XS:[Pt.XSmall],S:[Pt.Small,Pt.XSmall],M:[Pt.Medium],L:[Pt.Large,Pt.XLarge],"!XS":[Pt.Small,Pt.Medium,Pt.Large,Pt.XLarge],"!S":[Pt.Medium,Pt.Large,Pt.XLarge],"!M":[Pt.Small,Pt.XSmall,Pt.Large,Pt.XLarge],"!L":[Pt.Small,Pt.XSmall,Pt.Medium]},nk=(()=>{const t=class t{constructor(){this.observer=w(Kd),this.vcRef=w(Ka),this.cdRef=w(Vt),this.templateRef=w(bn),this.destroyRef=w(Zi),this.size=Xe("L",{alias:"vidisIfViewportSize"}),this.updateView=({matches:i})=>{i&&!this.vcRef.length?this.vcRef.createEmbeddedView(this.templateRef):!i&&this.vcRef.length&&this.vcRef.clear(),this.cdRef.markForCheck()},Gd(()=>{this.observer.observe(Gme[this.size()]).pipe(Gn(this.destroyRef)).subscribe(this.updateView)})}};t.ɵfac=function(i){return new(i||t)},t.ɵdir=we({type:t,selectors:[["","vidisIfViewportSize",""]],inputs:{size:[1,"vidisIfViewportSize","size"]}});let e=t;return e})(),Ume=["*"],Yme=(e,t,n,i,a)=>({"custom-content":e,circle:t,progress:n,"progress-dark":i,pulse:a});function Wme(e,t){e&1&&qe(0)}function Zme(e,t){if(e&1&&(I(0,"div",0),K(1,Wme,1,0),A()),e&2){let n=N(),i=vv(0),a=vv(1);$("ngClass",Jae(5,Yme,i==="custom-content",i==="circle",a==="progress",a==="progress-dark",a==="pulse"))("ngStyle",n.styles()),ue("aria-label",n.ariaLabel())("aria-valuetext",n.loadingText()),D(),ae(i==="custom-content"?1:-1)}}var rk=new G("ngx-skeleton-loader.config"),Kme=(()=>{var t;const n=class n{constructor(){fg(this,t);var a,r,s,l,c,d;gg(this,t,w(rk,{optional:!0})),this.count=Xe(((a=ln(this,t))==null?void 0:a.count)||1,{transform:Yi}),this.loadingText=Xe(((r=ln(this,t))==null?void 0:r.loadingText)||"Loading..."),this.appearance=Xe(((s=ln(this,t))==null?void 0:s.appearance)||"line"),this.animation=Xe(((l=ln(this,t))==null?void 0:l.animation)||"progress"),this.ariaLabel=Xe(((c=ln(this,t))==null?void 0:c.ariaLabel)||"loading"),this.theme=Xe(((d=ln(this,t))==null?void 0:d.theme)||null),this.items=Fi(()=>{let u=this.count()||1;return this.appearance()==="custom-content"&&fne(),[...Array(u)].map((m,v)=>v)}),this.styles=Fi(()=>{var m,v,g;let u=this.theme();return(v=(m=ln(this,t))==null?void 0:m.theme)!=null&&v.extendsFromRoot?J(J({},(g=ln(this,t))==null?void 0:g.theme),u):u})}};t=new WeakMap,n.ɵfac=function(a){return new(a||n)},n.ɵcmp=ve({type:n,selectors:[["ngx-skeleton-loader"]],inputs:{count:[1,"count"],loadingText:[1,"loadingText"],appearance:[1,"appearance"],animation:[1,"animation"],ariaLabel:[1,"ariaLabel"],theme:[1,"theme"]},ngContentSelectors:Ume,decls:4,vars:2,consts:[["aria-busy","true","aria-valuemin","0","aria-valuemax","100","role","progressbar","tabindex","-1",1,"skeleton-loader",3,"ngClass","ngStyle"]],template:function(a,r){a&1&&(ti(),Wm(0)(1),Bi(2,Zme,2,11,"div",0,Ea)),a&2&&(gv(r.appearance()),D(),gv(r.animation()),D(),Hi(r.items()))},dependencies:[al,gre],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=n;return e})(),Xme=(()=>{const t=class t{static forRoot(i){return{ngModule:t,providers:[{provide:rk,useValue:i}]}}};t.ɵfac=function(i){return new(i||t)},t.ɵmod=ft({type:t}),t.ɵinj=mt({imports:[B1]});let e=t;return e})(),Hf=function(e){return e.author="author",e.date="date",e.role="role",e}(Hf||{}),cu=(()=>{const t=class t{setClientId(i){this.clientId=i}buildClientIdHeader(){return this.clientId&&new qn().set(uo.exchangeClientId,this.clientId)}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=U({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Ns=(()=>{const t=class t extends CS{constructor(i,a){super(i.getServices(),Ts.DIARY_NOTES,a.getInstance().isOfflineAuthenticated,a.getInstance().isOfflineDataStorageEnabled,Ts.DIARY_NOTES),this.diarynoteApiService=w(cu),this.snackbarService=w(OS),this.translate=w(Kn),this.authServiceSelector=w(Nr),this.diarynotesStateSubject$=new ur({status:Hn.INITIAL}),this.filterStateSubject$=new ur({dateRange:{from:null,until:null}}),this.paginationStateSubject$=new ur({page:0,pageSize:10,totalPages:void 0}),this.sortStateSubject$=new ur({sort:Hf.date,order:vl.descending}),this.patientSubject$=new ur(void 0),this.diarynotesState$=this.diarynotesStateSubject$.asObservable(),this.filterState$=this.filterStateSubject$.asObservable(),this.paginationState$=this.paginationStateSubject$.asObservable(),this.sortState$=this.sortStateSubject$.asObservable()}setClientId(i){this.diarynoteApiService.setClientId(i)}fetchDiarynotes(i=!0){return kt(this,null,function*(){return Wde(this.getData(i),this.diarynotesStateSubject$)})}getDataFromBackend(){return kt(this,null,function*(){let i=yield this.authServiceSelector.getInstance().resolvePatientInfo(),a=this.authServiceSelector.getInstance().isProfessional?yield this.authServiceSelector.getInstance().resolveSsin():"";this.patientSubject$.next(i);let r=this.diarynoteApiService.search(this.filterStateSubject$.getValue(),this.paginationStateSubject$.getValue(),this.sortStateSubject$.getValue(),a);return wX(r)})}static isDiaryNoteCompleted(i){return(i==null?void 0:i.toLowerCase())==="completed"}updatePagination(i){return kt(this,null,function*(){let a=this.paginationStateSubject$.getValue(),r=tt(J({},a),{page:(i==null?void 0:i.page)!==void 0?i.page:a.page,pageSize:(i==null?void 0:i.pageSize)||a.pageSize});this.paginationStateSubject$.next(r),yield this.fetchDiarynotes(!0)})}updateSorting(i){return kt(this,null,function*(){let a=this.sortStateSubject$.getValue(),r={sort:(i==null?void 0:i.sort)!==void 0?i.sort:a.sort,order:(i==null?void 0:i.order)||a.order};this.sortStateSubject$.next(r),yield this.updatePagination({page:0})})}updateFilter(i,a){return kt(this,null,function*(){this.filterStateSubject$.next(i),a&&this.sortStateSubject$.next(a);let r=this.paginationStateSubject$.getValue();this.paginationStateSubject$.next(tt(J({},r),{page:void 0})),yield this.fetchDiarynotes(!0)})}clearFilter(){return kt(this,null,function*(){this.filterStateSubject$.next({dateRange:{from:null,until:null},author:"",role:"",tags:[]}),yield this.fetchDiarynotes(!0)})}clearFilterByKey(i){return kt(this,null,function*(){let a=this.filterStateSubject$.getValue(),r;i==="range"?r=tt(J({},a),{dateRange:{from:null,until:null}}):r=tt(J({},a),{[i]:void 0}),this.filterStateSubject$.next(r),yield this.fetchDiarynotes(!0)})}downloadAttachment$(i){return this.diarynoteApiService.downloadDiaryNoteAttachment(i).pipe(yt(a=>{let r=a.body;if(!r||r.size===0)throw new Error("EMPTY_BLOB");let s=a.headers.get("Content-Type")||r.type||"application/octet-stream";return{fileName:this.getAttachmentFileName(i.attachmentIndex,s),content:r,mimeType:s}}),yd(()=>(this.snackbarService.showError("commons.errors.general"),bd)))}getAttachmentFileName(i,a){let r=a?QS.getExtension(a):"unknown";return this.translate.instant("commons.file")+"_"+(i+1)+"."+r}postDiarynote(i,a){this.diarynoteApiService.postDiaryNote(i,a,this.patientSubject$.getValue(),this.translate.currentLang).subscribe({next:()=>{this.fetchDiarynotes(!0).catch(r=>{console.error("Error fetching diary note:",r)}),this.snackbarService.showSuccess("diaryNotesPage.add-note-dialog.success-note-added")},error:r=>{console.error("Error posting diary note:",r),this.handleDiaryNoteError(r)}})}handleDiaryNoteError(i){let a="diaryNotesPage.add-note-error.default";["VIDIS_0410","VIDIS_0415","VIDIS_0420","VIDIS_0425","VIDIS_1005","VIDIS_1000"].includes(i==null?void 0:i.code)&&(a="diaryNotesPage.add-note-error."+i.code),this.snackbarService.showError(a)}deleteDiaryNote(i,a,r,s){this.diarynoteApiService.deleteDiaryNote(i,a,r,s).subscribe({next:l=>{var d,u;let c=this.diarynotesStateSubject$.getValue();if(l.statusCode===204){let m=((d=c.data)==null?void 0:d.items.filter(v=>v.id!==i))||[];this.diarynotesStateSubject$.next(tt(J({},c),{data:tt(J({},c.data),{items:m}),status:Hn.SUCCESS}))}else{let m=((u=c.data)==null?void 0:u.items.map(v=>v.id===l.diaryNote.note.id?l.diaryNote.note:v))||[];this.diarynotesStateSubject$.next(tt(J({},c),{data:tt(J({},c.data),{items:m}),status:Hn.SUCCESS}))}this.updateStoredData(this.diarynotesStateSubject$.getValue().data)},error:l=>{var c;this.snackbarService.showError(((c=l.error)==null?void 0:c.code)==="VIDIS_0500"?"commons.errors.general":"commons.errors.VIDIS_0400")}})}};t.ɵfac=function(i){return new(i||t)(ge(su),ge(Nr))},t.ɵprov=U({token:t,factory:t.ɵfac});let e=t;return e})(),ok=(()=>{const t=class t extends cu{constructor(){super(...arguments),this.http=w(nl)}search(i,a,r,s){let l={};return s&&(l.ssin=s),i.dateRange.from&&(l.fromDate=Ms(i.dateRange.from,"yyyy-MM-dd")),i.dateRange.until&&(l.toDate=Ms(i.dateRange.until,"yyyy-MM-dd")),i.role&&(l.roles=[i.role]),i.tags&&(l.tags=i.tags),i.author&&(l.authors=[i.author]),r.sort&&(l.sort=Hf[r.sort]),r.order===vl.ascending&&(l.sortDirection="ascending"),a.page&&(l.page=a.page),a.pageSize&&(l.pageSize=a.pageSize),this.http.get("/v1/mydiarynotes",{params:J({},l),headers:this.buildClientIdHeader()})}downloadDiaryNoteAttachment({id:i,attachmentIndex:a,patientSsin:r,source:s,version:l}){let c={patientSsin:r,source:s??"vitalink",version:String(l??"")};return this.http.get(`/v1/diarynotes/${i}/download/${a}`,{params:c,headers:this.buildClientIdHeader(),responseType:"blob",observe:"response"}).pipe(yd(d=>p0(()=>d)))}postDiaryNote(i,a,r,s){return this.http.post("/v1/diarynotes",this.buildFormData(i,a,r,s),{headers:this.buildClientIdHeader()})}deleteDiaryNote(i,a,r,s){return this.http.delete(`/v1/diarynotes/${i}`,{params:{version:a,source:r??"vitalink",patientSsin:s},observe:"response",headers:this.buildClientIdHeader()}).pipe(yt(l=>({diaryNote:l.body,statusCode:l.status})))}buildFormData(i,a,r,s){let l=new FormData,c={language:s,subject:{firstName:r.firstName,lastName:r.lastName,ssin:r.ssin},content:i,contentType:"plaintext"};return l.append("attachments",a),l.append("diaryNote",new Blob([JSON.stringify(c)],{type:"application/json"})),l}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=jt(t)))(a||t)}})(),t.ɵprov=U({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Qme={items:[{language:"fr",id:"7530f63b-7e82-4884-8ddd-fa137e0a9b42",creation:"2021-02-10T06:17:16.176194+02:00",version:1,source:"vitalink",status:"completed",author:{firstName:"Laurent",lastName:"Dupont",nihdi:"10000000004",role:"persphysician"},subject:{ssin:"00000000097",firstName:"John",lastName:"Doe"},content:"Ce matin, après la prise de son médicament, le patient avait le ventre gonflé",contentType:"plaintext",attachments:[],tags:["medication"]},{language:"fr",id:"7a82de0a-ab8e-4985-bb3d-6aed1c8e7894",creation:"2020-12-31T12:27:16.176194+02:00",version:1,source:"vitalink",status:"deleted",author:{firstName:"Gerard",lastName:"Pierre",nihdi:"10000000004",role:"persphysician"},subject:{ssin:"00000000097",firstName:"John",lastName:"Doe"},content:"<strike>Ceci est une note supprimée</strike>",contentType:"html",attachments:[],tags:[]},{language:"nl",id:"b394a649-c91c-4088-a2d1-45e2f54cf071",creation:"2018-04-13T15:38:16.176194+02:00",version:1,source:"vitalink",status:"completed",author:{firstName:"François",lastName:"Dupont",ssin:"12345678902",nihdi:"20000000001",role:"perspharmacist"},subject:{ssin:"00000000097",firstName:"John",lastName:"Doe"},content:"Inhoud van het journaal item, in Vitalink beperkt tot maximaal 320 karakters.",contentType:"plaintext",attachments:[],tags:[]}],availableFilters:{authors:["Francois Alexandre","Pieter Dumont"],roles:["pharmacist","physician"],tags:["medication"]},errors:[],page:0,totalItems:3,totalPages:1},Jme={note:{language:"nl",id:"7530f63b-7e82-4884-8ddd-fa137e0a9b42",creation:"2021-03-10T15:38:16.176194+02:00",version:1,source:"vitalink",status:"completed",author:{firstName:"Maxwel",lastName:"Bernard",ssin:"82012419934",nihdi:"10025840123",role:"persorthopedist"},subject:{ssin:"80120532330",firstName:"Benjamin",lastName:"Van Rietvelde"},content:"Fis parturient montes, nascetur ridiculus mus. Donec quam felis... (demo)",contentType:"plaintext",tags:[]},attachments:[]},efe={diaryNote:Jme,statusCode:200},sk=(()=>{const t=class t extends cu{constructor(){super(...arguments),this.demoService=w(Yde)}search(i,a,r,s){return this.demoService.get("/v1/mydiarynotes",Qme,this.buildClientIdHeader())}downloadDiaryNoteAttachment({id:i,attachmentIndex:a,patientSsin:r,source:s,version:l}){let c="application/pdf",d=new Blob([`Demo PDF content for note=${i} idx=${a}`],{type:c}),u=new qn({"Content-Type":c});return bt(new af({status:200,body:d,headers:u}))}postDiaryNote(i,a,r,s){return this.demoService.post("/v1/diarynotes",{},this.buildClientIdHeader())}deleteDiaryNote(i,a,r,s){return this.demoService.delete(`/v1/diarynotes/${i}`,efe,this.buildClientIdHeader())}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=jt(t)))(a||t)}})(),t.ɵprov=U({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),tfe=(e,t)=>e.getEnvironmentVariable("env")===On.DEMO?t.get(sk):t.get(ok),ife={provide:cu,useFactory:tfe,deps:[Fo,dt]},afe=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(i,a){},styles:[`textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}
48
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),nfe={passive:!0},rfe=(()=>{const t=class t{constructor(){o(this,"_platform",w(Wt));o(this,"_ngZone",w(Oe));o(this,"_renderer",w(da).createRenderer(null,null));o(this,"_styleLoader",w(Mi));o(this,"_monitoredElements",new Map)}monitor(i){if(!this._platform.isBrowser)return bd;this._styleLoader.load(afe);let a=Bn(i),r=this._monitoredElements.get(a);if(r)return r.subject;let s=new he,l="cdk-text-field-autofilled",c=u=>{u.animationName==="cdk-text-field-autofill-start"&&!a.classList.contains(l)?(a.classList.add(l),this._ngZone.run(()=>s.next({target:u.target,isAutofilled:!0}))):u.animationName==="cdk-text-field-autofill-end"&&a.classList.contains(l)&&(a.classList.remove(l),this._ngZone.run(()=>s.next({target:u.target,isAutofilled:!1})))},d=this._ngZone.runOutsideAngular(()=>(a.classList.add("cdk-text-field-autofill-monitored"),fi(this._renderer,a,"animationstart",c,nfe)));return this._monitoredElements.set(a,{subject:s,unlisten:d}),s}stopMonitoring(i){let a=Bn(i),r=this._monitoredElements.get(a);r&&(r.unlisten(),r.subject.complete(),a.classList.remove("cdk-text-field-autofill-monitored"),a.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(a))}ngOnDestroy(){this._monitoredElements.forEach((i,a)=>this.stopMonitoring(a))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),ofe=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({}));let e=t;return e})(),lk=new G("MAT_INPUT_VALUE_ACCESSOR"),sfe=["button","checkbox","file","hidden","image","radio","range","reset","submit"],lfe=new G("MAT_INPUT_CONFIG"),ck=(()=>{const t=class t{constructor(){o(this,"_elementRef",w(Fe));o(this,"_platform",w(Wt));o(this,"ngControl",w(gl,{optional:!0,self:!0}));o(this,"_autofillMonitor",w(rfe));o(this,"_ngZone",w(Oe));o(this,"_formField",w(eu,{optional:!0}));o(this,"_renderer",w(ji));o(this,"_uid",w(hi).getId("mat-input-"));o(this,"_previousNativeValue");o(this,"_inputValueAccessor");o(this,"_signalBasedValueAccessor");o(this,"_previousPlaceholder");o(this,"_errorStateTracker");o(this,"_config",w(lfe,{optional:!0}));o(this,"_cleanupIosKeyup");o(this,"_cleanupWebkitWheel");o(this,"_formFieldDescribedBy");o(this,"_isServer");o(this,"_isNativeSelect");o(this,"_isTextarea");o(this,"_isInFormField");o(this,"focused",!1);o(this,"stateChanges",new he);o(this,"controlType","mat-input");o(this,"autofilled",!1);o(this,"_disabled",!1);o(this,"_id");o(this,"placeholder");o(this,"name");o(this,"_required");o(this,"_type","text");o(this,"userAriaDescribedBy");o(this,"_readonly",!1);o(this,"disabledInteractive");o(this,"_neverEmptyInputTypes",["date","datetime","datetime-local","month","time","week"].filter(i=>Yv().has(i)));o(this,"_iOSKeyupListener",i=>{let a=i.target;!a.value&&a.selectionStart===0&&a.selectionEnd===0&&(a.setSelectionRange(1,1),a.setSelectionRange(0,0))});o(this,"_webkitBlinkWheelListener",()=>{});var d;let i=w(ru,{optional:!0}),a=w(Nf,{optional:!0}),r=w(Pf),s=w(lk,{optional:!0,self:!0}),l=this._elementRef.nativeElement,c=l.nodeName.toLowerCase();s?ws(s.value)?this._signalBasedValueAccessor=s:this._inputValueAccessor=s:this._inputValueAccessor=l,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(l,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new SS(r,this.ngControl,a,i,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=c==="select",this._isTextarea=c==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=((d=this._config)==null?void 0:d.disabledInteractive)||!1,this._isNativeSelect&&(this.controlType=l.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&Gd(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}get disabled(){return this._disabled}set disabled(i){this._disabled=co(i),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(i){this._id=i||this._uid}get required(){var i,a;return this._required??((a=(i=this.ngControl)==null?void 0:i.control)==null?void 0:a.hasValidator(Df.required))??!1}set required(i){this._required=co(i)}get type(){return this._type}set type(i){let a=this._type;this._type=i||"text",this._validateType(),!this._isTextarea&&Yv().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._type!==a&&this._ensureWheelDefaultBehavior()}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(i){this._errorStateTracker.matcher=i}get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(i){i!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(i):this._inputValueAccessor.value=i,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(i){this._readonly=co(i)}get errorState(){return this._errorStateTracker.errorState}set errorState(i){this._errorStateTracker.errorState=i}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(i=>{this.autofilled=i.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){var i,a;this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),(i=this._cleanupIosKeyup)==null||i.call(this),(a=this._cleanupWebkitWheel)==null||a.call(this)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(i){this._elementRef.nativeElement.focus(i)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(i){if(i!==this.focused){if(!this._isNativeSelect&&i&&this.disabled&&this.disabledInteractive){let a=this._elementRef.nativeElement;a.type==="number"?(a.type="text",a.setSelectionRange(0,0),a.type="number"):a.setSelectionRange(0,0)}this.focused=i,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let i=this._elementRef.nativeElement.value;this._previousNativeValue!==i&&(this._previousNativeValue=i,this.stateChanges.next())}_dirtyCheckPlaceholder(){let i=this._getPlaceholder();if(i!==this._previousPlaceholder){let a=this._elementRef.nativeElement;this._previousPlaceholder=i,i?a.setAttribute("placeholder",i):a.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){sfe.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let i=this._elementRef.nativeElement.validity;return i&&i.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let i=this._elementRef.nativeElement,a=i.options[0];return this.focused||i.multiple||!this.empty||!!(i.selectedIndex>-1&&a&&a.label)}else return this.focused&&!this.disabled||!this.empty}setDescribedByIds(i){let a=this._elementRef.nativeElement,r=a.getAttribute("aria-describedby"),s;if(r){let l=this._formFieldDescribedBy||i;s=i.concat(r.split(" ").filter(c=>c&&!l.includes(c)))}else s=i;this._formFieldDescribedBy=i,s.length?a.setAttribute("aria-describedby",s.join(" ")):a.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let i=this._elementRef.nativeElement;return this._isNativeSelect&&(i.multiple||i.size>1)}_ensureWheelDefaultBehavior(){var i;(i=this._cleanupWebkitWheel)==null||i.call(this),this._type==="number"&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._cleanupWebkitWheel=this._renderer.listen(this._elementRef.nativeElement,"wheel",this._webkitBlinkWheelListener))}_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(i,a){i&1&&ce("focus",function(){return a._focusChanged(!0)})("blur",function(){return a._focusChanged(!1)})("input",function(){return a._onInput()}),i&2&&(kn("id",a.id)("disabled",a.disabled&&!a.disabledInteractive)("required",a.required),ue("name",a.name||null)("readonly",a._getReadonlyAttribute())("aria-disabled",a.disabled&&a.disabledInteractive?"true":null)("aria-invalid",a.empty&&a.required?null:a.errorState)("aria-required",a.required)("id",a.id),Ae("mat-input-server",a._isServer)("mat-mdc-form-field-textarea-control",a._isInFormField&&a._isTextarea)("mat-mdc-form-field-input-control",a._isInFormField)("mat-mdc-input-disabled-interactive",a.disabledInteractive)("mdc-text-field__input",a._isInFormField)("mat-mdc-native-select-inline",a._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",He]},exportAs:["matInput"],features:[ki([{provide:wf,useExisting:t}]),wi]}));let e=t;return e})(),cfe=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({imports:[Ft,Os,Os,ofe,Ft]}));let e=t;return e})(),dfe=(e,t)=>({text:e,file:t});function ufe(e,t){if(e&1){let n=je();I(0,"mat-chip",11),ce("removed",function(){pe(n);let i=N();return me(i.selectedFile=void 0)}),B(1),I(2,"button",12),se(3,"mat-icon",13),A()()}if(e&2){let n=N();$("removable",!0),D(),xe(" ",(n.selectedFile==null?null:n.selectedFile.name)||"No file selected"," ")}}function hfe(e,t){if(e&1){let n=je();I(0,"mat-chip",6)(1,"label",14),B(2),z(3,"translate"),A(),I(4,"input",15),ce("change",function(i){pe(n);let a=N();return me(a.fileChanged(i))}),A()()}e&2&&(D(2),xe(" ",q(3,1,"diaryNotesPage.add-note-dialog.file-upload-button")," "))}function pfe(e,t){e&1&&(I(0,"mat-error",8),B(1),z(2,"translate"),A()),e&2&&(D(),Ee(q(2,1,"diaryNotesPage.add-note-dialog.file-size-error")))}var mfe=(()=>{const t=class t{constructor(){this.inputtedData="",this.showSizeError=!1}fileChanged(i){let a=i.target.files[0],r=a.size/1024/1024;this.showSizeError=r>6,this.selectedFile=this.showSizeError?void 0:a}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["ng-component"]],decls:32,vars:31,consts:[["mat-dialog-title",""],[1,"contact-info-form"],["for","note"],["appearance","outline",1,"formfield-wrapper"],["id","note","matInput","","maxlength","319",3,"ngModelChange","ngModel"],[3,"removable"],["clickable","",1,"mh-black","file-upload-chip"],["align","start"],[1,"size-error"],["mat-button","","mat-dialog-close",""],["mat-flat-button","","type","button",3,"disabled","mat-dialog-close"],[3,"removed","removable"],["matChipRemove",""],["fontIcon","close"],["for","file-upload"],["tabindex","0","id","file-upload","type","file","accept",".jpeg, .pdf, .png, .tiff, .jpg",3,"change"]],template:function(i,a){i&1&&(I(0,"h2",0),B(1),z(2,"translate"),A(),I(3,"mat-dialog-content")(4,"div",1)(5,"label",2),B(6),z(7,"translate"),A(),I(8,"mat-form-field",3)(9,"textarea",4),Sa("ngModelChange",function(r){return Ua(a.inputtedData,r)||(a.inputtedData=r),r}),A(),I(10,"mat-hint"),B(11),z(12,"translate"),A()()(),I(13,"div")(14,"h3"),B(15),z(16,"translate"),A(),K(17,ufe,4,2,"mat-chip",5)(18,hfe,5,3,"mat-chip",6),I(19,"div")(20,"mat-hint",7),B(21),z(22,"translate"),A(),K(23,pfe,3,3,"mat-error",8),A(),se(24,"div"),A()(),I(25,"mat-dialog-actions")(26,"button",9),B(27),z(28,"translate"),A(),I(29,"button",10),B(30),z(31,"translate"),A()()),i&2&&(D(),Ee(q(2,14,"diaryNotesPage.add-note-dialog.title")),D(5),Ee(q(7,16,"diaryNotesPage.add-note-dialog.field-description")),D(3),wa("ngModel",a.inputtedData),D(2),Tr(" ",a.inputtedData.length,"/319 ",q(12,18,"diaryNotesPage.add-note-dialog.character-counter")," "),D(4),Ee(q(16,20,"diaryNotesPage.add-note-dialog.file-upload-title")),D(2),ae(a.selectedFile?17:18),D(4),Ee(q(22,22,"diaryNotesPage.add-note-dialog.file-info")),D(2),ae(a.showSizeError?23:-1),D(4),xe(" ",q(28,24,"diaryNotesPage.add-note-dialog.cancel")," "),D(2),$("disabled",!a.showSizeError)("disabled",a.inputtedData.length===0)("mat-dialog-close",Zm(28,dfe,a.inputtedData,a.selectedFile)),D(),xe(" ",q(31,26,"diaryNotesPage.add-note-dialog.confirm")," "))},dependencies:[pl,tu,$i,yp,ml,Yw,_S,iu,cS,yS,Mf,hl,ck,Qn,Da,Xa,lu,ek,ul],styles:["textarea[_ngcontent-%COMP%]{height:120px!important}.formfield-wrapper[_ngcontent-%COMP%]{width:100%;min-width:50vw}.text-length[_ngcontent-%COMP%]{margin-bottom:16px}input[type=file][_ngcontent-%COMP%]{display:none}.close-button[_ngcontent-%COMP%]{position:absolute;top:1px;right:1px;z-index:1}.file-input-container[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;cursor:pointer}.file-label[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;margin:0;width:100%}.close-file-button[_ngcontent-%COMP%]{padding:0;margin-left:8px}.file-upload-chip[_ngcontent-%COMP%], .file-upload-chip[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{cursor:pointer}"]});let e=t;return e})();function ffe(e,t){if(e&1){let n=je();I(0,"mat-chip",4),ce("removed",function(){pe(n);let i=N(2);return me(i.onClearFilter("author"))}),B(1),z(2,"translate"),I(3,"span"),B(4),z(5,"firstLetterUppercase"),A(),I(6,"button",5),se(7,"mat-icon",6),A()()}if(e&2){let n=N(),i=N();$("removable",!0)("disabled",i.disabled),D(),xe(" ",q(2,5,"diaryNotesPage.filters.author"),": "),D(2),ue("translate","no"),D(),Ee(q(5,7,n.author))}}function gfe(e,t){if(e&1){let n=je();I(0,"mat-chip",4),ce("removed",function(){pe(n);let i=N(2);return me(i.onClearFilter("role"))}),B(1),z(2,"translate"),I(3,"span"),B(4),z(5,"translate"),z(6,"firstLetterUppercase"),A(),I(7,"button",5),se(8,"mat-icon",6),A()()}if(e&2){let n=N(),i=N();$("removable",!0)("disabled",i.disabled),D(),xe(" ",q(2,5,"diaryNotesPage.filters.role"),": "),D(2),ue("translate","no"),D(),xe("",q(6,9,q(5,7,"commons.roles."+n.role.toLowerCase()))," ")}}function vfe(e,t){e&1&&B(0," , ")}function bfe(e,t){if(e&1&&(B(0),z(1,"translate"),z(2,"firstLetterUppercase"),K(3,vfe,1,0)),e&2){let n=t.$implicit,i=t.$index,a=t.$count;xe(" ",q(2,4,q(1,2,"commons.tags."+n.toLowerCase()))," "),D(3),ae(i!==a-1?3:-1)}}function yfe(e,t){if(e&1){let n=je();I(0,"mat-chip",4),ce("removed",function(){pe(n);let i=N(2);return me(i.onClearFilter("tags"))}),B(1),z(2,"translate"),I(3,"span"),Bi(4,bfe,4,6,null,null,Ea),A(),I(6,"button",5),se(7,"mat-icon",6),A()()}if(e&2){let n=N(),i=N();$("removable",!0)("disabled",i.disabled),D(),xe(" ",q(2,4,"diaryNotesPage.filters.tags"),":"),D(2),ue("translate","no"),D(),Hi(n==null?null:n.tags)}}function _fe(e,t){if(e&1&&(B(0),z(1,"translate"),z(2,"date")),e&2){let n=N(2);Tr(" ",q(1,2,"diaryNotesPage.filters.from")," : ",_i(2,4,n==null?null:n.dateRange.from,"dd/MM/yyyy")," ")}}function xfe(e,t){if(e&1&&(B(0),z(1,"translate"),z(2,"date")),e&2){let n=N(2);Tr(" ",q(1,2,"diaryNotesPage.filters.until")," : ",_i(2,4,n==null?null:n.dateRange.until,"dd/MM/yyyy")," ")}}function wfe(e,t){if(e&1){let n=je();I(0,"mat-chip",4),ce("removed",function(){pe(n);let i=N(2);return me(i.onClearFilter("range"))}),K(1,_fe,3,7)(2,xfe,3,7),I(3,"button",5),se(4,"mat-icon",6),A()()}if(e&2){let n=N(),i=N();$("removable",!0)("disabled",i.disabled),D(),ae(n.dateRange.from?1:-1),D(),ae(n!=null&&n.dateRange.until?2:-1)}}function Sfe(e,t){if(e&1&&(I(0,"mat-chip-set"),K(1,ffe,8,9,"mat-chip",3)(2,gfe,9,11,"mat-chip",3)(3,yfe,8,6,"mat-chip",3)(4,wfe,5,4,"mat-chip",3),A()),e&2){let n=t;D(),ae(n!=null&&n.author&&n.author!==""?1:-1),D(),ae(n!=null&&n.role&&n.role!==""?2:-1),D(),ae(n!=null&&n.tags&&n.tags.length>0?3:-1),D(),ae(n.dateRange.from||n!=null&&n.dateRange.until?4:-1)}}var kfe=(()=>{const t=class t{constructor(){this.diarynoteService=w(Ns),this.clickShowFilterDialog=new de,this.activeFilters$=this.diarynoteService.filterState$.pipe(bs({refCount:!0,bufferSize:1}))}onClearFilter(i){this.diarynoteService.clearFilterByKey(i)}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["vidis-diarynotes-filter-block"]],inputs:{filterOptions:"filterOptions",services:"services",disabled:"disabled"},outputs:{clickShowFilterDialog:"clickShowFilterDialog"},decls:7,vars:7,consts:[[1,"filter-container"],["mat-stroked-button","",3,"click","disabled"],["fontIcon","tune"],[3,"removable","disabled"],[3,"removed","removable","disabled"],["matChipRemove",""],["fontIcon","close"]],template:function(i,a){if(i&1&&(I(0,"div",0)(1,"button",1),ce("click",function(){return a.clickShowFilterDialog.emit(a.filterOptions)}),se(2,"mat-icon",2),B(3),z(4,"translate"),A(),K(5,Sfe,5,4,"mat-chip-set"),z(6,"async"),A()),i&2){let r;D(),$("disabled",a.disabled),D(2),xe(" ",q(4,3,"diaryNotesPage.filters.filter")," "),D(2),ae((r=q(6,5,a.activeFilters$))?5:-1,r)}},dependencies:[$i,Bf,j1,z1,Da,Xa,Rme,lu,ek,tk],styles:[".filter-container[_ngcontent-%COMP%]{margin-bottom:1rem;display:flex;align-items:center}"]});let e=t;return e})(),Efe=["*"],Cfe=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],Dfe=["[mat-card-avatar], [matCardAvatar]",`mat-card-title, mat-card-subtitle,
49
- [mat-card-title], [mat-card-subtitle],
50
- [matCardTitle], [matCardSubtitle]`,"*"],Ife=new G("MAT_CARD_CONFIG"),dk=(()=>{const t=class t{constructor(){o(this,"appearance");let i=w(Ife,{optional:!0});this.appearance=(i==null?void 0:i.appearance)||"raised"}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(i,a){i&2&&Ae("mat-mdc-card-outlined",a.appearance==="outlined")("mdc-card--outlined",a.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:Efe,decls:1,vars:0,template:function(i,a){i&1&&(ti(),qe(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}
51
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Afe=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]}));let e=t;return e})(),uk=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}));let e=t;return e})(),Ofe=(()=>{const t=class t{constructor(){o(this,"align","start")}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(i,a){i&2&&Ae("mat-mdc-card-actions-align-end",a.align==="end")},inputs:{align:"align"},exportAs:["matCardActions"]}));let e=t;return e})(),Tfe=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:Dfe,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(i,a){i&1&&(ti(Cfe),qe(0),I(1,"div",0),qe(2,1),A(),qe(3,2))},encapsulation:2,changeDetection:0}));let e=t;return e})(),Mfe=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({imports:[Ft,Ft]}));let e=t;return e})(),Nfe=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["vidis-see-details-button"]],decls:8,vars:7,consts:[[1,"see-details"],["tabindex","0","role","link",1,"see-details-text"],["aria-hidden","true","fontIcon","arrow_forward_ios"],["id","seeDetailsText","hidden",""]],template:function(i,a){i&1&&(I(0,"div",0)(1,"span",1),B(2),z(3,"translate"),A(),se(4,"mat-icon",2),A(),I(5,"div",3),B(6),z(7,"translate"),A()),i&2&&(D(),ue("aria-labelledby","seeDetailsText medication"),D(),xe(" ",q(3,3,"commons.seeDetails")," "),D(4),Ee(q(7,5,"commons.medicationDetails")))},dependencies:[$i,xf,Xa],styles:[".see-details[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;align-items:center;gap:6px;color:#2473db}.see-details[_ngcontent-%COMP%] .see-details-text[_ngcontent-%COMP%]{text-decoration:underline}.see-details[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:1.25rem;line-height:1}"]});let e=t;return e})(),Pfe=[[["vidis-card-header-left"]],[["vidis-card-header-right"]],[["vidis-card-content"]]],Rfe=["vidis-card-header-left","vidis-card-header-right","vidis-card-content"];function Ffe(e,t){e&1&&se(0,"mat-icon",1)}function Vfe(e,t){if(e&1&&(I(0,"mat-card-title")(1,"span",6),B(2),A()()),e&2){let n=N();D(2),Ee(n.title())}}function Lfe(e,t){e&1&&(I(0,"mat-card-actions",5),se(1,"vidis-see-details-button"),A())}var zfe=(()=>{const t=class t{constructor(){this.title=Xe(""),this.withError=Xe(!1),this.showDetailsLink=Xe(!0)}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["vidis-card"]],inputs:{title:[1,"title"],withError:[1,"withError"],showDetailsLink:[1,"showDetailsLink"]},ngContentSelectors:Rfe,decls:13,vars:5,consts:[[1,"icon-error"],["fontIcon","warning"],[1,"header"],[1,"header-left"],[1,"header-right"],["align","end"],[1,"vidis-textOverflow"]],template:function(i,a){i&1&&(ti(Pfe),I(0,"mat-card")(1,"mat-card-header")(2,"div",0),K(3,Ffe,1,0,"mat-icon",1),A(),I(4,"div",2)(5,"div",3),qe(6),A(),I(7,"div",4),qe(8,1),A()()(),I(9,"mat-card-content"),K(10,Vfe,3,1,"mat-card-title"),qe(11,2),K(12,Lfe,2,0,"mat-card-actions",5),A()()),i&2&&(Ae("error-row",a.withError()),D(3),ae(a.withError()?3:-1),D(7),ae(a.title()?10:-1),D(2),ae(a.showDetailsLink()?12:-1))},dependencies:[Mfe,dk,Ofe,uk,Tfe,Afe,Qn,Nfe,xf,Xa],styles:["mat-card[_ngcontent-%COMP%]{margin:0 6px 6px;padding:0}mat-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{margin:0 20px;padding:0}mat-card[_ngcontent-%COMP%] mat-card-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;padding:0!important;margin:16px 10px 0}mat-card[_ngcontent-%COMP%] mat-card-header[_ngcontent-%COMP%] .icon-error[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:24px;height:24px;margin-left:8px}mat-card[_ngcontent-%COMP%] mat-card-header[_ngcontent-%COMP%] .icon-error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#c41c0d;font-size:20px}mat-card[_ngcontent-%COMP%] mat-card-header[_ngcontent-%COMP%] .icon-error[_ngcontent-%COMP%]:empty{display:none}mat-card[_ngcontent-%COMP%] mat-card-header[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{display:flex;flex:1 1 auto;align-items:center;justify-content:space-between;gap:10px}mat-card[_ngcontent-%COMP%] mat-card-header[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .header-left[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:.5rem}mat-card[_ngcontent-%COMP%] mat-card-header[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .header-right[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;margin-right:10px}mat-card[_ngcontent-%COMP%] mat-card-actions[_ngcontent-%COMP%]{margin:0;padding:0}mat-card.error-row[_ngcontent-%COMP%]{border:2px solid #c41c0d}",".vidis-textOverflow[_ngcontent-%COMP%]{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;overflow:hidden;text-overflow:ellipsis}.vidis-align-left[_ngcontent-%COMP%]{text-align:left}.vidis-no-content[_ngcontent-%COMP%]{font-style:italic;padding:0 16px}"],changeDetection:0});let e=t;return e})(),jfe=["*"],Bfe=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["vidis-card-content"]],ngContentSelectors:jfe,decls:1,vars:0,template:function(i,a){i&1&&(ti(),qe(0))},encapsulation:2});let e=t;return e})(),Hfe=(()=>{const t=class t{constructor(){this.label=Xe.required(),this.value=Xe.required(),this.textIsOverflow=Xe.required()}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["vidis-card-field"]],inputs:{label:[1,"label"],value:[1,"value"],textIsOverflow:[1,"textIsOverflow"]},decls:4,vars:4,template:function(i,a){i&1&&(I(0,"p")(1,"span"),B(2),A(),B(3),A()),i&2&&(Ae("vidis-textOverflow",a.textIsOverflow()),D(2),Ee(a.label()),D(),xe(" ",a.value()," "))},styles:["span[_ngcontent-%COMP%]{display:block;color:#8f8f8f}",".vidis-textOverflow[_ngcontent-%COMP%]{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;overflow:hidden;text-overflow:ellipsis}.vidis-align-left[_ngcontent-%COMP%]{text-align:left}.vidis-no-content[_ngcontent-%COMP%]{font-style:italic;padding:0 16px}"]});let e=t;return e})(),$fe=["*"],qfe=(()=>{const t=class t{constructor(){this.label=Xe.required(),this.textIsOverflow=Xe.required()}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["vidis-card-field-slot"]],inputs:{label:[1,"label"],textIsOverflow:[1,"textIsOverflow"]},ngContentSelectors:$fe,decls:4,vars:3,template:function(i,a){i&1&&(ti(),I(0,"p")(1,"span"),B(2),A(),qe(3),A()),i&2&&(Ae("vidis-textOverflow",a.textIsOverflow()),D(2),Ee(a.label()))},styles:["span[_ngcontent-%COMP%]{display:block;color:#8f8f8f}",".vidis-textOverflow[_ngcontent-%COMP%]{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;overflow:hidden;text-overflow:ellipsis}.vidis-align-left[_ngcontent-%COMP%]{text-align:left}.vidis-no-content[_ngcontent-%COMP%]{font-style:italic;padding:0 16px}"]});let e=t;return e})(),Gfe=["*"],Ufe=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["vidis-card-header-right"]],ngContentSelectors:Gfe,decls:2,vars:0,template:function(i,a){i&1&&(ti(),I(0,"mat-chip-set"),qe(1),A())},dependencies:[tk],encapsulation:2});let e=t;return e})(),Yfe=(()=>{const t=class t{constructor(){this.rolesMapData={patient:"patient",physician:"persphysician",midwife:"persmidwife",nurse:"persnurse",dentist:"persdentist",pharmacist:"perspharmacist"}}transform(i,a){return this.diaryNote!==i&&(this.diaryNote=i,this.user=a,this.setCanDelete()),this.canDelete}setCanDelete(){this.canDelete=this.diaryNote&&this.user?this.canDeleteDiaryNote(this.diaryNote):!1}canDeleteDiaryNote(i){var r,s,l,c,d,u,m,v,g;let a=this.user.organization?(r=this.user.organization[this.getOrganizationType(this.user.organization)])==null?void 0:r.nihii:void 0;return((s=i==null?void 0:i.source)==null?void 0:s.toLowerCase())==="vitalink"&&(i==null?void 0:i.status)==="completed"&&this.equalsCheck((l=i==null?void 0:i.author)==null?void 0:l.role,this.mapRole(this.user.role))&&(this.equalsCheck((c=i==null?void 0:i.author)==null?void 0:c.ssin,(d=this.user)==null?void 0:d.ssin)||this.equalsCheck((u=i==null?void 0:i.author)==null?void 0:u.nihdi,(m=this.user.professional)==null?void 0:m.nihii11)||this.equalsCheck((g=(v=i==null?void 0:i.author)==null?void 0:v.organization)==null?void 0:g.nihdi,a))}mapRole(i){return this.rolesMapData[i]||"patient"}equalsCheck(i,a){return i===a&&!!i}getOrganizationType(i){let a=["pharmacy"],r=null;return a.forEach(s=>{i[s]&&(r=s)}),r}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=Lr({name:"canDeleteDiarynote",type:t,pure:!0});let e=t;return e})(),Wfe=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["ng-component"]],decls:14,vars:14,consts:[["mat-dialog-title",""],["mat-flat-button","","type","button",3,"mat-dialog-close"],["mat-button","","type","button",3,"mat-dialog-close"]],template:function(i,a){i&1&&(I(0,"h2",0),B(1),z(2,"translate"),A(),I(3,"mat-dialog-content")(4,"p"),B(5),z(6,"translate"),A()(),I(7,"mat-dialog-actions")(8,"button",1),B(9),z(10,"translate"),A(),I(11,"button",2),B(12),z(13,"translate"),A()()),i&2&&(D(),Ee(q(2,6,"diaryNotesPage.delete-dialog.title")),D(4),Ee(q(6,8,"diaryNotesPage.delete-dialog.message")),D(3),$("mat-dialog-close",!0),D(),xe(" ",q(10,10,"diaryNotesPage.delete-dialog.confirm")," "),D(2),$("mat-dialog-close",!1),D(),xe(" ",q(13,12,"diaryNotesPage.delete-dialog.cancel")," "))},dependencies:[pl,ml,$i,Da,ul,hl],encapsulation:2});let e=t;return e})(),hk=e=>({"strike-through":e}),Zfe=e=>({content:e}),Kfe=e=>({count:e}),Xfe=(e,t)=>({fileName:e,noteContent:t});function Qfe(e,t){if(e&1&&(I(0,"mat-card")(1,"mat-card-content")(2,"div",2)(3,"span",3),B(4),z(5,"translate"),A()()()()),e&2){let n=N().$implicit;D(4),Tr("",q(5,2,"diaryNotesPage.table.error")," ( ",n.id," )")}}function Jfe(e,t){if(e&1&&(I(0,"mat-chip",11),B(1),z(2,"translate"),A()),e&2){let n=t.$implicit;$("disableRipple",!0),D(),xe(" ",q(2,2,"commons.tags."+n)," ")}}function ege(e,t){if(e&1&&Bi(0,Jfe,3,4,"mat-chip",11,Ea),e&2){let n=N(2).$implicit;Hi(n.tags)}}function tge(e,t){if(e&1){let n=je();I(0,"button",13),z(1,"translate"),ce("click",function(){pe(n);let i=N(3).$implicit,a=N();return me(a.onDeleteNote(i))}),se(2,"mat-icon",14),A()}if(e&2){let n=N(3).$implicit;ue("aria-label",_i(1,1,"diaryNotesPage.accessibility.deleteNote",Ya(4,Zfe,n.content)))}}function ige(e,t){e&1&&K(0,tge,3,6,"button",12)}function age(e,t){e&1&&(I(0,"span",16),B(1),z(2,"translate"),A(),I(3,"mat-icon",17),B(4,"expand_less"),A()),e&2&&(D(),Ee(q(2,1,"diaryNotesPage.table.readLess")))}function nge(e,t){e&1&&(B(0),z(1,"translate")),e&2&&xe(" ",q(1,1,"diaryNotesPage.table.readMore")," ")}function rge(e,t){if(e&1){let n=je();I(0,"a",15),ce("click",function(){pe(n);let i=N(2).$implicit,a=N();return me(a.toggleNoteExpanded(i.id))}),K(1,age,5,3)(2,nge,2,3),A()}if(e&2){let n=N(2).$implicit,i=N();ue("aria-expanded",i.isNoteExpanded(n.id)),D(),ae(i.isNoteExpanded(n.id)?1:2)}}function oge(e,t){if(e&1){let n=je();I(0,"a",19),z(1,"attachementFilename"),z(2,"translate"),ce("click",function(){let i=pe(n).$index,a=N(3).$implicit,r=N();return me(r.onDownloadFile(a,i))}),se(3,"mat-icon",20),B(4),z(5,"attachementFilename"),A()}if(e&2){let n=t.$implicit,i=t.$index,a=N(3).$implicit,r=N();$("disabled",r.isOffline),ue("aria-label",_i(2,6,"diaryNotesPage.accessibility.downloadAttachment",Zm(12,Xfe,_i(1,3,n.contentType,i),a.content))),D(4),xe(" ",_i(5,9,n.contentType,i)," ")}}function sge(e,t){if(e&1&&(I(0,"vidis-card-field-slot",5),z(1,"translate"),I(2,"div",6),Bi(3,oge,6,15,"a",18,Ea),A()()),e&2){let n=N(2).$implicit,i=N();$("label",_i(1,3,"diaryNotesPage.table.attachment",Ya(6,Kfe,n.attachments.length)))("textIsOverflow",!1),D(2),$("ngClass",Ya(8,hk,!i.diaryNoteCompleted(n.status))),D(),Hi(n.attachments)}}function lge(e,t){if(e&1&&(I(0,"vidis-card",1)(1,"vidis-card-header-right"),K(2,ege,2,0)(3,ige,1,0,"button",4),z(4,"canDeleteDiarynote"),A(),I(5,"vidis-card-content")(6,"vidis-card-field-slot",5),z(7,"translate"),I(8,"div",6),se(9,"div",7,0),z(11,"firstLetterUppercase"),K(12,rge,3,2,"a",8),A()(),I(13,"vidis-card-field-slot",5),z(14,"translate"),se(15,"vidis-person-name",9),z(16,"fullname"),A(),se(17,"vidis-card-field",10),z(18,"translate"),z(19,"date"),K(20,sge,5,10,"vidis-card-field-slot",5),A()()),e&2){let n=Ri(10),i=N().$implicit,a=N();$("showDetailsLink",!1),D(2),ae((i.tags==null?null:i.tags.length)>0?2:-1),D(),ae(_i(4,18,i,a.userInfo)?3:-1),D(3),$("label",q(7,21,"diaryNotesPage.table.note"))("textIsOverflow",!1),D(2),$("ngClass",Ya(34,hk,!a.diaryNoteCompleted(i.status))),D(),Ae("expanded",a.isNoteExpanded(i.id)),$("innerHTML",q(11,23,i.content),Oee),D(3),ae(a.checkOverflow(n)||a.isNoteExpanded(i.id)?12:-1),D(),$("label",q(14,25,"diaryNotesPage.table.author"))("textIsOverflow",!0),D(2),$("fullname",q(16,27,i.author))("idNumber",i.author.nihdi),D(2),$("label",q(18,29,"diaryNotesPage.table.addedOn"))("value",_i(19,31,i.creation,"dd/MM/yyyy HH:mm"))("textIsOverflow",!0),D(3),ae((i.attachments==null?null:i.attachments.length)>0?20:-1)}}function cge(e,t){if(e&1&&K(0,Qfe,6,4,"mat-card")(1,lge,21,36,"vidis-card",1),e&2){let n=t.$implicit;ae(n!=null&&n.error?0:1)}}var dge=(()=>{const t=class t{constructor(){this.authService=w(Nr).getInstance(),this.diarynoteService=w(Ns),this.dialog=w(No),this.destroyRef=w(Zi),this.downloadRequested=new de,this.expandedNotes=la(new Set)}get isOffline(){return this.authService.isOfflineAuthenticated}diaryNoteCompleted(i){return Ns.isDiaryNoteCompleted(i)}toggleNoteExpanded(i){let a=new Set(this.expandedNotes());a.has(i)?a.delete(i):a.add(i),this.expandedNotes.set(a)}isNoteExpanded(i){return this.expandedNotes().has(i)}checkOverflow(i){return i?i.scrollHeight>i.offsetHeight:!1}onDeleteNote(i){this.dialog.open(Wfe).beforeClosed().pipe(di(a=>a),Gn(this.destroyRef)).subscribe(()=>{this.diarynoteService.deleteDiaryNote(i.id,i.version,i.source,i.subject.ssin)})}onDownloadFile(i,a){this.downloadRequested.emit({id:i.id,version:i.version,source:i.source,patientSsin:i.subject.ssin,attachmentIndex:a})}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["vidis-diarynotes-table"]],inputs:{diaryNoteDataItems:"diaryNoteDataItems",services:"services",userInfo:"userInfo"},outputs:{downloadRequested:"downloadRequested"},decls:2,vars:0,consts:[["noteText",""],[3,"showDetailsLink"],[1,"content-wrapper"],[1,"error-text"],["mat-icon-button",""],[3,"label","textIsOverflow"],[3,"ngClass"],[1,"nota-content",3,"innerHTML"],["href","javascript:void(0)","aria-controls","note-content-id",1,"toggle-link"],[3,"fullname","idNumber"],[3,"label","value","textIsOverflow"],[1,"mh-blue","mh-no-overlay",3,"disableRipple"],["mat-icon-button","",3,"click",4,"hideIfOffline"],["mat-icon-button","",3,"click"],["fontIcon","delete"],["href","javascript:void(0)","aria-controls","note-content-id",1,"toggle-link",3,"click"],[1,"cdk-visually-hidden"],["aria-hidden","true"],["mat-button","","href","javascript:void(0)",3,"disabled"],["mat-button","","href","javascript:void(0)",3,"click","disabled"],["fontIcon","attach_file"]],template:function(i,a){i&1&&Bi(0,cge,2,1,null,null,Ea),i&2&&Hi(a.diaryNoteDataItems)},dependencies:[al,j1,$i,Bf,Xa,zr,lu,dk,uk,Dme,Yfe,ak,zfe,Bfe,Hfe,qfe,Ufe,Ime,gme,Vse],styles:["vidis-card-header-right[_ngcontent-%COMP%] button[mat-icon-button][_ngcontent-%COMP%]{margin-left:10px}.nota-content[_ngcontent-%COMP%]{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.nota-content.expanded[_ngcontent-%COMP%]{display:block;-webkit-line-clamp:unset}.toggle-link[_ngcontent-%COMP%]{cursor:pointer;color:#2473db}.toggle-link[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#2473db}.toggle-link[_ngcontent-%COMP%]:hover{opacity:.8}.strike-through[_ngcontent-%COMP%], .strike-through[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{text-decoration:line-through!important}"]});let e=t;return e})(),Ap=new G("MAT_DATE_LOCALE",{providedIn:"root",factory:uge});function uge(){return w(qd)}var Wr="Method not implemented",Ji=class{constructor(){o(this,"locale");o(this,"_localeChanges",new he);o(this,"localeChanges",this._localeChanges)}setTime(e,t,n,i){throw new Error(Wr)}getHours(e){throw new Error(Wr)}getMinutes(e){throw new Error(Wr)}getSeconds(e){throw new Error(Wr)}parseTime(e,t){throw new Error(Wr)}addSeconds(e,t){throw new Error(Wr)}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 n=this.isValid(e),i=this.isValid(t);return n&&i?!this.compareDate(e,t):n==i}return e==t}sameTime(e,t){if(e&&t){let n=this.isValid(e),i=this.isValid(t);return n&&i?!this.compareTime(e,t):n==i}return e==t}clampDate(e,t,n){return t&&this.compareDate(e,t)<0?t:n&&this.compareDate(e,n)>0?n:e}},Lo=new G("mat-date-formats"),hge=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,pge=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function lh(e,t){let n=Array(e);for(let i=0;i<e;i++)n[i]=t(i);return n}var mge=(()=>{const t=class t extends Ji{constructor(){super();o(this,"useUtcForDisplay",!1);o(this,"_matDateLocale",w(Ap,{optional:!0}));let a=w(Ap,{optional:!0});a!==void 0&&(this._matDateLocale=a),super.setLocale(this._matDateLocale)}getYear(a){return a.getFullYear()}getMonth(a){return a.getMonth()}getDate(a){return a.getDate()}getDayOfWeek(a){return a.getDay()}getMonthNames(a){let r=new Intl.DateTimeFormat(this.locale,{month:a,timeZone:"utc"});return lh(12,s=>this._format(r,new Date(2017,s,1)))}getDateNames(){let a=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return lh(31,r=>this._format(a,new Date(2017,0,r+1)))}getDayOfWeekNames(a){let r=new Intl.DateTimeFormat(this.locale,{weekday:a,timeZone:"utc"});return lh(7,s=>this._format(r,new Date(2017,0,s+1)))}getYearName(a){let r=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(r,a)}getFirstDayOfWeek(){var a,r;if(typeof Intl<"u"&&Intl.Locale){let s=new Intl.Locale(this.locale),l=((r=((a=s.getWeekInfo)==null?void 0:a.call(s))||s.weekInfo)==null?void 0:r.firstDay)??0;return l===7?0:l}return 0}getNumDaysInMonth(a){return this.getDate(this._createDateWithOverflow(this.getYear(a),this.getMonth(a)+1,0))}clone(a){return new Date(a.getTime())}createDate(a,r,s){let l=this._createDateWithOverflow(a,r,s);return l.getMonth()!=r,l}today(){return new Date}parse(a,r){return typeof a=="number"?new Date(a):a?new Date(Date.parse(a)):null}format(a,r){if(!this.isValid(a))throw Error("NativeDateAdapter: Cannot format invalid date.");let s=new Intl.DateTimeFormat(this.locale,tt(J({},r),{timeZone:"utc"}));return this._format(s,a)}addCalendarYears(a,r){return this.addCalendarMonths(a,r*12)}addCalendarMonths(a,r){let s=this._createDateWithOverflow(this.getYear(a),this.getMonth(a)+r,this.getDate(a));return this.getMonth(s)!=((this.getMonth(a)+r)%12+12)%12&&(s=this._createDateWithOverflow(this.getYear(s),this.getMonth(s),0)),s}addCalendarDays(a,r){return this._createDateWithOverflow(this.getYear(a),this.getMonth(a),this.getDate(a)+r)}toIso8601(a){return[a.getUTCFullYear(),this._2digit(a.getUTCMonth()+1),this._2digit(a.getUTCDate())].join("-")}deserialize(a){if(typeof a=="string"){if(!a)return null;if(hge.test(a)){let r=new Date(a);if(this.isValid(r))return r}}return super.deserialize(a)}isDateInstance(a){return a instanceof Date}isValid(a){return!isNaN(a.getTime())}invalid(){return new Date(NaN)}setTime(a,r,s,l){let c=this.clone(a);return c.setHours(r,s,l,0),c}getHours(a){return a.getHours()}getMinutes(a){return a.getMinutes()}getSeconds(a){return a.getSeconds()}parseTime(a,r){if(typeof a!="string")return a instanceof Date?new Date(a.getTime()):null;let s=a.trim();if(s.length===0)return null;let l=this._parseTimeString(s);if(l===null){let c=s.replace(/[^0-9:(AM|PM)]/gi,"").trim();c.length>0&&(l=this._parseTimeString(c))}return l||this.invalid()}addSeconds(a,r){return new Date(a.getTime()+r*1e3)}_createDateWithOverflow(a,r,s){let l=new Date;return l.setFullYear(a,r,s),l.setHours(0,0,0,0),l}_2digit(a){return("00"+a).slice(-2)}_format(a,r){let s=new Date;return s.setUTCFullYear(r.getFullYear(),r.getMonth(),r.getDate()),s.setUTCHours(r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()),a.format(s)}_parseTimeString(a){let r=a.toUpperCase().match(pge);if(r){let s=parseInt(r[1]),l=parseInt(r[2]),c=r[3]==null?void 0:parseInt(r[3]),d=r[4];if(s===12?s=d==="AM"?0:s:d==="PM"&&(s+=12),ch(s,0,23)&&ch(l,0,59)&&(c==null||ch(c,0,59)))return this.setTime(this.today(),s,l,c||0)}return null}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})();function ch(e,t,n){return!isNaN(e)&&e>=t&&e<=n}function fge(e,t){return this._trackRow(t)}var pk=(e,t)=>t.id;function gge(e,t){if(e&1&&(I(0,"tr",0)(1,"td",3),B(2),A()()),e&2){let n=N();D(),Or("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),ue("colspan",n.numCols),D(),xe(" ",n.label," ")}}function vge(e,t){if(e&1&&(I(0,"td",3),B(1),A()),e&2){let n=N(2);Or("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),ue("colspan",n._firstRowOffset),D(),xe(" ",n._firstRowOffset>=n.labelMinRequiredCells?n.label:""," ")}}function bge(e,t){if(e&1){let n=je();I(0,"td",6)(1,"button",7),ce("click",function(i){let a=pe(n).$implicit,r=N(2);return me(r._cellClicked(a,i))})("focus",function(i){let a=pe(n).$implicit,r=N(2);return me(r._emitActiveDateChange(a,i))}),I(2,"span",8),B(3),A(),se(4,"span",9),A()()}if(e&2){let n=t.$implicit,i=t.$index,a=N().$index,r=N();Or("width",r._cellWidth)("padding-top",r._cellPadding)("padding-bottom",r._cellPadding),ue("data-mat-row",a)("data-mat-col",i),D(),Ae("mat-calendar-body-disabled",!n.enabled)("mat-calendar-body-active",r._isActiveCell(a,i))("mat-calendar-body-range-start",r._isRangeStart(n.compareValue))("mat-calendar-body-range-end",r._isRangeEnd(n.compareValue))("mat-calendar-body-in-range",r._isInRange(n.compareValue))("mat-calendar-body-comparison-bridge-start",r._isComparisonBridgeStart(n.compareValue,a,i))("mat-calendar-body-comparison-bridge-end",r._isComparisonBridgeEnd(n.compareValue,a,i))("mat-calendar-body-comparison-start",r._isComparisonStart(n.compareValue))("mat-calendar-body-comparison-end",r._isComparisonEnd(n.compareValue))("mat-calendar-body-in-comparison-range",r._isInComparisonRange(n.compareValue))("mat-calendar-body-preview-start",r._isPreviewStart(n.compareValue))("mat-calendar-body-preview-end",r._isPreviewEnd(n.compareValue))("mat-calendar-body-in-preview",r._isInPreview(n.compareValue)),$("ngClass",n.cssClasses)("tabindex",r._isActiveCell(a,i)?0:-1),ue("aria-label",n.ariaLabel)("aria-disabled",!n.enabled||null)("aria-pressed",r._isSelected(n.compareValue))("aria-current",r.todayValue===n.compareValue?"date":null)("aria-describedby",r._getDescribedby(n.compareValue)),D(),Ae("mat-calendar-body-selected",r._isSelected(n.compareValue))("mat-calendar-body-comparison-identical",r._isComparisonIdentical(n.compareValue))("mat-calendar-body-today",r.todayValue===n.compareValue),D(),xe(" ",n.displayValue," ")}}function yge(e,t){if(e&1&&(I(0,"tr",1),K(1,vge,2,6,"td",4),Bi(2,bge,5,48,"td",5,pk),A()),e&2){let n=t.$implicit,i=t.$index,a=N();D(),ae(i===0&&a._firstRowOffset?1:-1),D(),Hi(n)}}function _ge(e,t){if(e&1&&(I(0,"th",2)(1,"span",6),B(2),A(),I(3,"span",3),B(4),A()()),e&2){let n=t.$implicit;D(2),Ee(n.long),D(2),Ee(n.narrow)}}var xge=["*"];function wge(e,t){}function Sge(e,t){if(e&1){let n=je();I(0,"mat-month-view",4),Sa("activeDateChange",function(i){pe(n);let a=N();return Ua(a.activeDate,i)||(a.activeDate=i),me(i)}),ce("_userSelection",function(i){pe(n);let a=N();return me(a._dateSelected(i))})("dragStarted",function(i){pe(n);let a=N();return me(a._dragStarted(i))})("dragEnded",function(i){pe(n);let a=N();return me(a._dragEnded(i))}),A()}if(e&2){let n=N();wa("activeDate",n.activeDate),$("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)("comparisonStart",n.comparisonStart)("comparisonEnd",n.comparisonEnd)("startDateAccessibleName",n.startDateAccessibleName)("endDateAccessibleName",n.endDateAccessibleName)("activeDrag",n._activeDrag)}}function kge(e,t){if(e&1){let n=je();I(0,"mat-year-view",5),Sa("activeDateChange",function(i){pe(n);let a=N();return Ua(a.activeDate,i)||(a.activeDate=i),me(i)}),ce("monthSelected",function(i){pe(n);let a=N();return me(a._monthSelectedInYearView(i))})("selectedChange",function(i){pe(n);let a=N();return me(a._goToDateInView(i,"month"))}),A()}if(e&2){let n=N();wa("activeDate",n.activeDate),$("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)}}function Ege(e,t){if(e&1){let n=je();I(0,"mat-multi-year-view",6),Sa("activeDateChange",function(i){pe(n);let a=N();return Ua(a.activeDate,i)||(a.activeDate=i),me(i)}),ce("yearSelected",function(i){pe(n);let a=N();return me(a._yearSelectedInMultiYearView(i))})("selectedChange",function(i){pe(n);let a=N();return me(a._goToDateInView(i,"year"))}),A()}if(e&2){let n=N();wa("activeDate",n.activeDate),$("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)}}function Cge(e,t){}var Dge=["button"],Ige=[[["","matDatepickerToggleIcon",""]]],Age=["[matDatepickerToggleIcon]"];function Oge(e,t){e&1&&(xa(),I(0,"svg",2),se(1,"path",3),A())}var zo=(()=>{const t=class t{constructor(){o(this,"changes",new he);o(this,"calendarLabel","Calendar");o(this,"openCalendarLabel","Open calendar");o(this,"closeCalendarLabel","Close calendar");o(this,"prevMonthLabel","Previous month");o(this,"nextMonthLabel","Next month");o(this,"prevYearLabel","Previous year");o(this,"nextYearLabel","Next year");o(this,"prevMultiYearLabel","Previous 24 years");o(this,"nextMultiYearLabel","Next 24 years");o(this,"switchToMonthViewLabel","Choose date");o(this,"switchToMultiYearViewLabel","Choose month and year");o(this,"startDateLabel","Start date");o(this,"endDateLabel","End date");o(this,"comparisonDateLabel","Comparison range")}formatYearRange(i,a){return`${i} – ${a}`}formatYearRangeLabel(i,a){return`${i} to ${a}`}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Tge=0,$f=class{constructor(e,t,n,i,a={},r=e,s){o(this,"value");o(this,"displayValue");o(this,"ariaLabel");o(this,"enabled");o(this,"cssClasses");o(this,"compareValue");o(this,"rawValue");o(this,"id",Tge++);this.value=e,this.displayValue=t,this.ariaLabel=n,this.enabled=i,this.cssClasses=a,this.compareValue=r,this.rawValue=s}},Mge={passive:!1,capture:!0},Xl={passive:!0,capture:!0},ty={passive:!0},wo=(()=>{const t=class t{constructor(){o(this,"_elementRef",w(Fe));o(this,"_ngZone",w(Oe));o(this,"_platform",w(Wt));o(this,"_intl",w(zo));o(this,"_eventCleanups");o(this,"_skipNextFocus");o(this,"_focusActiveCellAfterViewChecked",!1);o(this,"label");o(this,"rows");o(this,"todayValue");o(this,"startValue");o(this,"endValue");o(this,"labelMinRequiredCells");o(this,"numCols",7);o(this,"activeCell",0);o(this,"isRange",!1);o(this,"cellAspectRatio",1);o(this,"comparisonStart");o(this,"comparisonEnd");o(this,"previewStart",null);o(this,"previewEnd",null);o(this,"startDateAccessibleName");o(this,"endDateAccessibleName");o(this,"selectedValueChange",new de);o(this,"previewChange",new de);o(this,"activeDateChange",new de);o(this,"dragStarted",new de);o(this,"dragEnded",new de);o(this,"_firstRowOffset");o(this,"_cellPadding");o(this,"_cellWidth");o(this,"_startDateLabelId");o(this,"_endDateLabelId");o(this,"_comparisonStartDateLabelId");o(this,"_comparisonEndDateLabelId");o(this,"_didDragSinceMouseDown",!1);o(this,"_injector",w(dt));o(this,"comparisonDateAccessibleName",this._intl.comparisonDateLabel);o(this,"_trackRow",i=>i);o(this,"_enterHandler",i=>{if(this._skipNextFocus&&i.type==="focus"){this._skipNextFocus=!1;return}if(i.target&&this.isRange){let a=this._getCellFromElement(i.target);a&&this._ngZone.run(()=>this.previewChange.emit({value:a.enabled?a:null,event:i}))}});o(this,"_touchmoveHandler",i=>{if(!this.isRange)return;let a=iy(i),r=a?this._getCellFromElement(a):null;a!==i.target&&(this._didDragSinceMouseDown=!0),uh(i.target)&&i.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:r!=null&&r.enabled?r:null,event:i}))});o(this,"_leaveHandler",i=>{this.previewEnd!==null&&this.isRange&&(i.type!=="blur"&&(this._didDragSinceMouseDown=!0),i.target&&this._getCellFromElement(i.target)&&!(i.relatedTarget&&this._getCellFromElement(i.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:i})))});o(this,"_mousedownHandler",i=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let a=i.target&&this._getCellFromElement(i.target);!a||!this._isInRange(a.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:a.rawValue,event:i})})});o(this,"_mouseupHandler",i=>{if(!this.isRange)return;let a=uh(i.target);if(!a){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:i})});return}a.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{let r=this._getCellFromElement(a);this.dragEnded.emit({value:(r==null?void 0:r.rawValue)??null,event:i})})});o(this,"_touchendHandler",i=>{let a=iy(i);a&&this._mouseupHandler({target:a})});let i=w(ji),a=w(hi);this._startDateLabelId=a.getId("mat-calendar-body-start-"),this._endDateLabelId=a.getId("mat-calendar-body-end-"),this._comparisonStartDateLabelId=a.getId("mat-calendar-body-comparison-start-"),this._comparisonEndDateLabelId=a.getId("mat-calendar-body-comparison-end-"),w(Mi).load(cl),this._ngZone.runOutsideAngular(()=>{let r=this._elementRef.nativeElement,s=[fi(i,r,"touchmove",this._touchmoveHandler,Mge),fi(i,r,"mouseenter",this._enterHandler,Xl),fi(i,r,"focus",this._enterHandler,Xl),fi(i,r,"mouseleave",this._leaveHandler,Xl),fi(i,r,"blur",this._leaveHandler,Xl),fi(i,r,"mousedown",this._mousedownHandler,ty),fi(i,r,"touchstart",this._mousedownHandler,ty)];this._platform.isBrowser&&s.push(i.listen("window","mouseup",this._mouseupHandler),i.listen("window","touchend",this._touchendHandler)),this._eventCleanups=s})}ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}_cellClicked(i,a){this._didDragSinceMouseDown||i.enabled&&this.selectedValueChange.emit({value:i.value,event:a})}_emitActiveDateChange(i,a){i.enabled&&this.activeDateChange.emit({value:i.value,event:a})}_isSelected(i){return this.startValue===i||this.endValue===i}ngOnChanges(i){let a=i.numCols,{rows:r,numCols:s}=this;(i.rows||a)&&(this._firstRowOffset=r&&r.length&&r[0].length?s-r[0].length:0),(i.cellAspectRatio||a||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/s}%`),(a||!this._cellWidth)&&(this._cellWidth=`${100/s}%`)}ngOnDestroy(){this._eventCleanups.forEach(i=>i())}_isActiveCell(i,a){let r=i*this.numCols+a;return i&&(r-=this._firstRowOffset),r==this.activeCell}_focusActiveCell(i=!0){Ir(()=>{setTimeout(()=>{let a=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");a&&(i||(this._skipNextFocus=!0),a.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(i){return hh(i,this.startValue,this.endValue)}_isRangeEnd(i){return ph(i,this.startValue,this.endValue)}_isInRange(i){return mh(i,this.startValue,this.endValue,this.isRange)}_isComparisonStart(i){return hh(i,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(i,a,r){if(!this._isComparisonStart(i)||this._isRangeStart(i)||!this._isInRange(i))return!1;let s=this.rows[a][r-1];if(!s){let l=this.rows[a-1];s=l&&l[l.length-1]}return s&&!this._isRangeEnd(s.compareValue)}_isComparisonBridgeEnd(i,a,r){if(!this._isComparisonEnd(i)||this._isRangeEnd(i)||!this._isInRange(i))return!1;let s=this.rows[a][r+1];if(!s){let l=this.rows[a+1];s=l&&l[0]}return s&&!this._isRangeStart(s.compareValue)}_isComparisonEnd(i){return ph(i,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(i){return mh(i,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(i){return this.comparisonStart===this.comparisonEnd&&i===this.comparisonStart}_isPreviewStart(i){return hh(i,this.previewStart,this.previewEnd)}_isPreviewEnd(i){return ph(i,this.previewStart,this.previewEnd)}_isInPreview(i){return mh(i,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(i){if(!this.isRange)return null;if(this.startValue===i&&this.endValue===i)return`${this._startDateLabelId} ${this._endDateLabelId}`;if(this.startValue===i)return this._startDateLabelId;if(this.endValue===i)return this._endDateLabelId;if(this.comparisonStart!==null&&this.comparisonEnd!==null){if(i===this.comparisonStart&&i===this.comparisonEnd)return`${this._comparisonStartDateLabelId} ${this._comparisonEndDateLabelId}`;if(i===this.comparisonStart)return this._comparisonStartDateLabelId;if(i===this.comparisonEnd)return this._comparisonEndDateLabelId}return null}_getCellFromElement(i){let a=uh(i);if(a){let r=a.getAttribute("data-mat-row"),s=a.getAttribute("data-mat-col");if(r&&s)return this.rows[parseInt(r)][parseInt(s)]}return null}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[wi],decls:11,vars:11,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(i,a){i&1&&(K(0,gge,3,6,"tr",0),Bi(1,yge,4,1,"tr",1,fge,!0),I(3,"span",2),B(4),A(),I(5,"span",2),B(6),A(),I(7,"span",2),B(8),A(),I(9,"span",2),B(10),A()),i&2&&(ae(a._firstRowOffset<a.labelMinRequiredCells?0:-1),D(),Hi(a.rows),D(2),$("id",a._startDateLabelId),D(),xe(" ",a.startDateAccessibleName,`
52
- `),D(),$("id",a._endDateLabelId),D(),xe(" ",a.endDateAccessibleName,`
53
- `),D(),$("id",a._comparisonStartDateLabelId),D(),Tr(" ",a.comparisonDateAccessibleName," ",a.startDateAccessibleName,`
54
- `),D(),$("id",a._comparisonEndDateLabelId),D(),Tr(" ",a.comparisonDateAccessibleName," ",a.endDateAccessibleName,`
55
- `))},dependencies:[al],styles:[`.mat-calendar-body{min-width:224px}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-outline-color, var(--mat-sys-primary))}.mat-calendar-body-label{height:0;line-height:0;text-align:start;padding-left:4.7142857143%;padding-right:4.7142857143%;font-size:var(--mat-datepicker-calendar-body-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-body-label-text-weight, var(--mat-sys-title-small-weight));color:var(--mat-datepicker-calendar-body-label-text-color, var(--mat-sys-on-surface))}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0;font-family:var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size));-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;display:block;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview{color:var(--mat-datepicker-calendar-date-preview-state-outline-color, var(--mat-sys-primary))}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mat-calendar-body-disabled{opacity:.5}}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color, var(--mat-sys-on-surface));border-color:var(--mat-datepicker-calendar-date-outline-color, transparent)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}@media(forced-colors: active){.mat-calendar-body-cell-content{border:none}}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color, var(--mat-sys-primary));color:var(--mat-datepicker-calendar-date-selected-state-text-color, var(--mat-sys-on-primary))}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color, var(--mat-sys-primary))}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container))}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color, var(--mat-sys-secondary-container))}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color, var(--mat-sys-secondary))}@media(forced-colors: active){.mat-datepicker-popup:not(:empty),.mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.mat-calendar-body-today{outline:dotted 1px}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-selected{background:none}.mat-calendar-body-in-range::before,.mat-calendar-body-comparison-bridge-start::before,.mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}}
56
- `],encapsulation:2,changeDetection:0}));let e=t;return e})();function dh(e){return(e==null?void 0:e.nodeName)==="TD"}function uh(e){var n;let t;return dh(e)?t=e:dh(e.parentNode)?t=e.parentNode:dh((n=e.parentNode)==null?void 0:n.parentNode)&&(t=e.parentNode.parentNode),(t==null?void 0:t.getAttribute("data-mat-row"))!=null?t:null}function hh(e,t,n){return n!==null&&t!==n&&e<n&&e===t}function ph(e,t,n){return t!==null&&t!==n&&e>=t&&e===n}function mh(e,t,n,i){return i&&t!==null&&n!==null&&t!==n&&e>=t&&e<=n}function iy(e){let t=e.changedTouches[0];return document.elementFromPoint(t.clientX,t.clientY)}var ja=class{constructor(e,t){o(this,"start");o(this,"end");o(this,"_disableStructuralEquivalency");this.start=e,this.end=t}},Ps=(()=>{const t=class t{constructor(i,a){o(this,"selection");o(this,"_adapter");o(this,"_selectionChanged",new he);o(this,"selectionChanged",this._selectionChanged);this.selection=i,this._adapter=a,this.selection=i}updateSelection(i,a){let r=this.selection;this.selection=i,this._selectionChanged.next({selection:i,source:a,oldValue:r})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(i){return this._adapter.isDateInstance(i)&&this._adapter.isValid(i)}};o(t,"ɵfac",function(i){Ute()}),o(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})(),Nge=(()=>{const t=class t extends Ps{constructor(i){super(null,i)}add(i){super.updateSelection(i,this)}isValid(){return this.selection!=null&&this._isValidDateInstance(this.selection)}isComplete(){return this.selection!=null}clone(){let i=new t(this._adapter);return i.updateSelection(this.selection,this),i}};o(t,"ɵfac",function(i){return new(i||t)(ge(Ji))}),o(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})();function Pge(e,t){return e||new Nge(t)}var mk={provide:Ps,deps:[[new V0,new L0,Ps],Ji],useFactory:Pge},fk=new G("MAT_DATE_RANGE_SELECTION_STRATEGY"),fh=7,Rge=0,ay=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",w(Vt));o(this,"_dateFormats",w(Lo,{optional:!0}));o(this,"_dateAdapter",w(Ji,{optional:!0}));o(this,"_dir",w(Xi,{optional:!0}));o(this,"_rangeStrategy",w(fk,{optional:!0}));o(this,"_rerenderSubscription",ut.EMPTY);o(this,"_selectionKeyPressed");o(this,"_activeDate");o(this,"_selected");o(this,"_minDate");o(this,"_maxDate");o(this,"dateFilter");o(this,"dateClass");o(this,"comparisonStart");o(this,"comparisonEnd");o(this,"startDateAccessibleName");o(this,"endDateAccessibleName");o(this,"activeDrag",null);o(this,"selectedChange",new de);o(this,"_userSelection",new de);o(this,"dragStarted",new de);o(this,"dragEnded",new de);o(this,"activeDateChange",new de);o(this,"_matCalendarBody");o(this,"_monthLabel");o(this,"_weeks");o(this,"_firstWeekOffset");o(this,"_rangeStart");o(this,"_rangeEnd");o(this,"_comparisonRangeStart");o(this,"_comparisonRangeEnd");o(this,"_previewStart");o(this,"_previewEnd");o(this,"_isRange");o(this,"_todayDate");o(this,"_weekdays");w(Mi).load(Xn),this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(i){let a=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._hasSameMonthAndYear(a,this._activeDate)||this._init()}get selected(){return this._selected}set selected(i){i instanceof ja?this._selected=i:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(i){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get maxDate(){return this._maxDate}set maxDate(i){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(ra(null)).subscribe(()=>this._init())}ngOnChanges(i){let a=i.comparisonStart||i.comparisonEnd;a&&!a.firstChange&&this._setRanges(this.selected),i.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(i){let a=i.value,r=this._getDateFromDayOfMonth(a),s,l;this._selected instanceof ja?(s=this._getDateInCurrentMonth(this._selected.start),l=this._getDateInCurrentMonth(this._selected.end)):s=l=this._getDateInCurrentMonth(this._selected),(s!==a||l!==a)&&this.selectedChange.emit(r),this._userSelection.emit({value:r,event:i.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(i){let a=i.value,r=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(a),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(i){let a=this._activeDate,r=this._isRtl();switch(i.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=i.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=i.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0,this._canSelect(this._activeDate)&&i.preventDefault();return;case 27:this._previewEnd!=null&&!Oi(i)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:i}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:i})),i.preventDefault(),i.stopPropagation());return;default:return}this._dateAdapter.compareDate(a,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),i.preventDefault()}_handleCalendarBodyKeyup(i){(i.keyCode===32||i.keyCode===13)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:i}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(fh+this._dateAdapter.getDayOfWeek(i)-this._dateAdapter.getFirstDayOfWeek())%fh,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(i){this._matCalendarBody._focusActiveCell(i)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:i,value:a}){var r,s;if(this._rangeStrategy){let l=a?a.rawValue:null,c=this._rangeStrategy.createPreview(l,this.selected,i);if(this._previewStart=this._getCellCompareValue(c.start),this._previewEnd=this._getCellCompareValue(c.end),this.activeDrag&&l){let d=(s=(r=this._rangeStrategy).createDrag)==null?void 0:s.call(r,this.activeDrag.value,this.selected,l,i);d&&(this._previewStart=this._getCellCompareValue(d.start),this._previewEnd=this._getCellCompareValue(d.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(i){var a,r;if(this.activeDrag)if(i.value){let s=(r=(a=this._rangeStrategy)==null?void 0:a.createDrag)==null?void 0:r.call(a,this.activeDrag.value,this.selected,i.value,i.event);this.dragEnded.emit({value:s??null,event:i.event})}else this.dragEnded.emit({value:null,event:i.event})}_getDateFromDayOfMonth(i){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),i)}_initWeekdays(){let i=this._dateAdapter.getFirstDayOfWeek(),a=this._dateAdapter.getDayOfWeekNames("narrow"),r=this._dateAdapter.getDayOfWeekNames("long").map((s,l)=>({long:s,narrow:a[l],id:Rge++}));this._weekdays=r.slice(i).concat(r.slice(0,i))}_createWeekCells(){let i=this._dateAdapter.getNumDaysInMonth(this.activeDate),a=this._dateAdapter.getDateNames();this._weeks=[[]];for(let r=0,s=this._firstWeekOffset;r<i;r++,s++){s==fh&&(this._weeks.push([]),s=0);let l=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),r+1),c=this._shouldEnableDate(l),d=this._dateAdapter.format(l,this._dateFormats.display.dateA11yLabel),u=this.dateClass?this.dateClass(l,"month"):void 0;this._weeks[this._weeks.length-1].push(new $f(r+1,a[r],d,c,u,this._getCellCompareValue(l),l))}}_shouldEnableDate(i){return!!i&&(!this.minDate||this._dateAdapter.compareDate(i,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(i,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(i))}_getDateInCurrentMonth(i){return i&&this._hasSameMonthAndYear(i,this.activeDate)?this._dateAdapter.getDate(i):null}_hasSameMonthAndYear(i,a){return!!(i&&a&&this._dateAdapter.getMonth(i)==this._dateAdapter.getMonth(a)&&this._dateAdapter.getYear(i)==this._dateAdapter.getYear(a))}_getCellCompareValue(i){if(i){let a=this._dateAdapter.getYear(i),r=this._dateAdapter.getMonth(i),s=this._dateAdapter.getDate(i);return new Date(a,r,s).getTime()}return null}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setRanges(i){i instanceof ja?(this._rangeStart=this._getCellCompareValue(i.start),this._rangeEnd=this._getCellCompareValue(i.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(i),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(i){return!this.dateFilter||this.dateFilter(i)}_clearPreview(){this._previewStart=this._previewEnd=null}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["mat-month-view"]],viewQuery:function(i,a){if(i&1&&pt(wo,5),i&2){let r;Ne(r=Pe())&&(a._matCalendarBody=r.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[wi],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col"],["aria-hidden","true"],["colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"]],template:function(i,a){i&1&&(I(0,"table",0)(1,"thead",1)(2,"tr"),Bi(3,_ge,5,2,"th",2,pk),A(),I(5,"tr",3),se(6,"th",4),A()(),I(7,"tbody",5),ce("selectedValueChange",function(r){return a._dateSelected(r)})("activeDateChange",function(r){return a._updateActiveDate(r)})("previewChange",function(r){return a._previewChanged(r)})("dragStarted",function(r){return a.dragStarted.emit(r)})("dragEnded",function(r){return a._dragEnded(r)})("keyup",function(r){return a._handleCalendarBodyKeyup(r)})("keydown",function(r){return a._handleCalendarBodyKeydown(r)}),A()()),i&2&&(D(3),Hi(a._weekdays),D(4),$("label",a._monthLabel)("rows",a._weeks)("todayValue",a._todayDate)("startValue",a._rangeStart)("endValue",a._rangeEnd)("comparisonStart",a._comparisonRangeStart)("comparisonEnd",a._comparisonRangeEnd)("previewStart",a._previewStart)("previewEnd",a._previewEnd)("isRange",a._isRange)("labelMinRequiredCells",3)("activeCell",a._dateAdapter.getDate(a.activeDate)-1)("startDateAccessibleName",a.startDateAccessibleName)("endDateAccessibleName",a.endDateAccessibleName))},dependencies:[wo],encapsulation:2,changeDetection:0}));let e=t;return e})(),La=24,ny=4,ry=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",w(Vt));o(this,"_dateAdapter",w(Ji,{optional:!0}));o(this,"_dir",w(Xi,{optional:!0}));o(this,"_rerenderSubscription",ut.EMPTY);o(this,"_selectionKeyPressed");o(this,"_activeDate");o(this,"_selected");o(this,"_minDate");o(this,"_maxDate");o(this,"dateFilter");o(this,"dateClass");o(this,"selectedChange",new de);o(this,"yearSelected",new de);o(this,"activeDateChange",new de);o(this,"_matCalendarBody");o(this,"_years");o(this,"_todayYear");o(this,"_selectedYear");this._dateAdapter,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(i){let a=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),gk(this._dateAdapter,a,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(i){i instanceof ja?this._selected=i:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i)),this._setSelectedYear(i)}get minDate(){return this._minDate}set minDate(i){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get maxDate(){return this._maxDate}set maxDate(i){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(ra(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());let i=this._dateAdapter.getYear(this._activeDate)-os(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let a=0,r=[];a<La;a++)r.push(i+a),r.length==ny&&(this._years.push(r.map(s=>this._createCellForYear(s))),r=[]);this._changeDetectorRef.markForCheck()}_yearSelected(i){let a=i.value,r=this._dateAdapter.createDate(a,0,1),s=this._getDateFromYear(a);this.yearSelected.emit(r),this.selectedChange.emit(s)}_updateActiveDate(i){let a=i.value,r=this._activeDate;this.activeDate=this._getDateFromYear(a),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(i){let a=this._activeDate,r=this._isRtl();switch(i.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ny);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-os(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,La-os(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i.altKey?-24*10:-24);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i.altKey?La*10:La);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(a,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),i.preventDefault()}_handleCalendarBodyKeyup(i){(i.keyCode===32||i.keyCode===13)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:i}),this._selectionKeyPressed=!1)}_getActiveCell(){return os(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(i){let a=this._dateAdapter.getMonth(this.activeDate),r=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(i,a,1));return this._dateAdapter.createDate(i,a,Math.min(this._dateAdapter.getDate(this.activeDate),r))}_createCellForYear(i){let a=this._dateAdapter.createDate(i,0,1),r=this._dateAdapter.getYearName(a),s=this.dateClass?this.dateClass(a,"multi-year"):void 0;return new $f(i,r,r,this._shouldEnableYear(i),s)}_shouldEnableYear(i){if(i==null||this.maxDate&&i>this._dateAdapter.getYear(this.maxDate)||this.minDate&&i<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;let a=this._dateAdapter.createDate(i,0,1);for(let r=a;this._dateAdapter.getYear(r)==i;r=this._dateAdapter.addCalendarDays(r,1))if(this.dateFilter(r))return!0;return!1}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setSelectedYear(i){if(this._selectedYear=null,i instanceof ja){let a=i.start||i.end;a&&(this._selectedYear=this._dateAdapter.getYear(a))}else i&&(this._selectedYear=this._dateAdapter.getYear(i))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["mat-multi-year-view"]],viewQuery:function(i,a){if(i&1&&pt(wo,5),i&2){let r;Ne(r=Pe())&&(a._matCalendarBody=r.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell"]],template:function(i,a){i&1&&(I(0,"table",0)(1,"thead",1)(2,"tr"),se(3,"th",2),A()(),I(4,"tbody",3),ce("selectedValueChange",function(r){return a._yearSelected(r)})("activeDateChange",function(r){return a._updateActiveDate(r)})("keyup",function(r){return a._handleCalendarBodyKeyup(r)})("keydown",function(r){return a._handleCalendarBodyKeydown(r)}),A()()),i&2&&(D(4),$("rows",a._years)("todayValue",a._todayYear)("startValue",a._selectedYear)("endValue",a._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",a._getActiveCell()))},dependencies:[wo],encapsulation:2,changeDetection:0}));let e=t;return e})();function gk(e,t,n,i,a){let r=e.getYear(t),s=e.getYear(n),l=vk(e,i,a);return Math.floor((r-l)/La)===Math.floor((s-l)/La)}function os(e,t,n,i){let a=e.getYear(t);return Fge(a-vk(e,n,i),La)}function vk(e,t,n){let i=0;return n?i=e.getYear(n)-La+1:t&&(i=e.getYear(t)),i}function Fge(e,t){return(e%t+t)%t}var oy=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",w(Vt));o(this,"_dateFormats",w(Lo,{optional:!0}));o(this,"_dateAdapter",w(Ji,{optional:!0}));o(this,"_dir",w(Xi,{optional:!0}));o(this,"_rerenderSubscription",ut.EMPTY);o(this,"_selectionKeyPressed");o(this,"_activeDate");o(this,"_selected");o(this,"_minDate");o(this,"_maxDate");o(this,"dateFilter");o(this,"dateClass");o(this,"selectedChange",new de);o(this,"monthSelected",new de);o(this,"activeDateChange",new de);o(this,"_matCalendarBody");o(this,"_months");o(this,"_yearLabel");o(this,"_todayMonth");o(this,"_selectedMonth");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(i){let a=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._dateAdapter.getYear(a)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(i){i instanceof ja?this._selected=i:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i)),this._setSelectedMonth(i)}get minDate(){return this._minDate}set minDate(i){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get maxDate(){return this._maxDate}set maxDate(i){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(ra(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(i){let a=i.value,r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),a,1);this.monthSelected.emit(r);let s=this._getDateFromMonth(a);this.selectedChange.emit(s)}_updateActiveDate(i){let a=i.value,r=this._activeDate;this.activeDate=this._getDateFromMonth(a),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(i){let a=this._activeDate,r=this._isRtl();switch(i.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(a,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),i.preventDefault()}_handleCalendarBodyKeyup(i){(i.keyCode===32||i.keyCode===13)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:i}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let i=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(a=>a.map(r=>this._createCellForMonth(r,i[r]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(i){return i&&this._dateAdapter.getYear(i)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(i):null}_getDateFromMonth(i){let a=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),i,1),r=this._dateAdapter.getNumDaysInMonth(a);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),i,Math.min(this._dateAdapter.getDate(this.activeDate),r))}_createCellForMonth(i,a){let r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),i,1),s=this._dateAdapter.format(r,this._dateFormats.display.monthYearA11yLabel),l=this.dateClass?this.dateClass(r,"year"):void 0;return new $f(i,a.toLocaleUpperCase(),s,this._shouldEnableMonth(i),l)}_shouldEnableMonth(i){let a=this._dateAdapter.getYear(this.activeDate);if(i==null||this._isYearAndMonthAfterMaxDate(a,i)||this._isYearAndMonthBeforeMinDate(a,i))return!1;if(!this.dateFilter)return!0;let r=this._dateAdapter.createDate(a,i,1);for(let s=r;this._dateAdapter.getMonth(s)==i;s=this._dateAdapter.addCalendarDays(s,1))if(this.dateFilter(s))return!0;return!1}_isYearAndMonthAfterMaxDate(i,a){if(this.maxDate){let r=this._dateAdapter.getYear(this.maxDate),s=this._dateAdapter.getMonth(this.maxDate);return i>r||i===r&&a>s}return!1}_isYearAndMonthBeforeMinDate(i,a){if(this.minDate){let r=this._dateAdapter.getYear(this.minDate),s=this._dateAdapter.getMonth(this.minDate);return i<r||i===r&&a<s}return!1}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setSelectedMonth(i){i instanceof ja?this._selectedMonth=this._getMonthInCurrentYear(i.start)||this._getMonthInCurrentYear(i.end):this._selectedMonth=this._getMonthInCurrentYear(i)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["mat-year-view"]],viewQuery:function(i,a){if(i&1&&pt(wo,5),i&2){let r;Ne(r=Pe())&&(a._matCalendarBody=r.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell"]],template:function(i,a){i&1&&(I(0,"table",0)(1,"thead",1)(2,"tr"),se(3,"th",2),A()(),I(4,"tbody",3),ce("selectedValueChange",function(r){return a._monthSelected(r)})("activeDateChange",function(r){return a._updateActiveDate(r)})("keyup",function(r){return a._handleCalendarBodyKeyup(r)})("keydown",function(r){return a._handleCalendarBodyKeydown(r)}),A()()),i&2&&(D(4),$("label",a._yearLabel)("rows",a._months)("todayValue",a._todayMonth)("startValue",a._selectedMonth)("endValue",a._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",a._dateAdapter.getMonth(a.activeDate)))},dependencies:[wo],encapsulation:2,changeDetection:0}));let e=t;return e})(),bk=(()=>{const t=class t{constructor(){o(this,"_intl",w(zo));o(this,"calendar",w(Op));o(this,"_dateAdapter",w(Ji,{optional:!0}));o(this,"_dateFormats",w(Lo,{optional:!0}));o(this,"_periodButtonLabelId",w(hi).getId("mat-calendar-period-label-"));w(Mi).load(Xn);let i=w(Vt);this.calendar.stateChanges.subscribe(()=>i.markForCheck())}get periodButtonText(){return this.calendar.currentView=="month"?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():this.calendar.currentView=="year"?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return this.calendar.currentView=="month"?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():this.calendar.currentView=="year"?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return this.calendar.currentView=="month"?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView=this.calendar.currentView=="month"?"multi-year":"month"}previousClicked(){this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?-1:-24)}nextClicked(){this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?1:La)}previousEnabled(){return this.calendar.minDate?!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate):!0}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(i,a){return this.calendar.currentView=="month"?this._dateAdapter.getYear(i)==this._dateAdapter.getYear(a)&&this._dateAdapter.getMonth(i)==this._dateAdapter.getMonth(a):this.calendar.currentView=="year"?this._dateAdapter.getYear(i)==this._dateAdapter.getYear(a):gk(this._dateAdapter,i,a,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){let i=this._dateAdapter.getYear(this.calendar.activeDate)-os(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),a=i+La-1,r=this._dateAdapter.getYearName(this._dateAdapter.createDate(i,0,1)),s=this._dateAdapter.getYearName(this._dateAdapter.createDate(a,0,1));return[r,s]}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:xge,decls:17,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["aria-live","polite",1,"cdk-visually-hidden",3,"id"],["mat-button","","type","button",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"click","disabled"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"click","disabled"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],template:function(i,a){i&1&&(ti(),I(0,"div",0)(1,"div",1)(2,"span",2),B(3),A(),I(4,"button",3),ce("click",function(){return a.currentPeriodClicked()}),I(5,"span",4),B(6),A(),xa(),I(7,"svg",5),se(8,"polygon",6),A()(),Oc(),se(9,"div",7),qe(10),I(11,"button",8),ce("click",function(){return a.previousClicked()}),xa(),I(12,"svg",9),se(13,"path",10),A()(),Oc(),I(14,"button",11),ce("click",function(){return a.nextClicked()}),xa(),I(15,"svg",9),se(16,"path",12),A()()()()),i&2&&(D(2),$("id",a._periodButtonLabelId),D(),Ee(a.periodButtonDescription),D(),ue("aria-label",a.periodButtonLabel)("aria-describedby",a._periodButtonLabelId),D(2),Ee(a.periodButtonText),D(),Ae("mat-calendar-invert",a.calendar.currentView!=="month"),D(4),$("disabled",!a.previousEnabled()),ue("aria-label",a.prevButtonLabel),D(3),$("disabled",!a.nextEnabled()),ue("aria-label",a.nextButtonLabel))},dependencies:[Da,zr],encapsulation:2,changeDetection:0}));let e=t;return e})(),Op=(()=>{const t=class t{constructor(){o(this,"_dateAdapter",w(Ji,{optional:!0}));o(this,"_dateFormats",w(Lo,{optional:!0}));o(this,"_changeDetectorRef",w(Vt));o(this,"_elementRef",w(Fe));o(this,"headerComponent");o(this,"_calendarHeaderPortal");o(this,"_intlChanges");o(this,"_moveFocusOnNextTick",!1);o(this,"_startAt");o(this,"startView","month");o(this,"_selected");o(this,"_minDate");o(this,"_maxDate");o(this,"dateFilter");o(this,"dateClass");o(this,"comparisonStart");o(this,"comparisonEnd");o(this,"startDateAccessibleName");o(this,"endDateAccessibleName");o(this,"selectedChange",new de);o(this,"yearSelected",new de);o(this,"monthSelected",new de);o(this,"viewChanged",new de(!0));o(this,"_userSelection",new de);o(this,"_userDragDrop",new de);o(this,"monthView");o(this,"yearView");o(this,"multiYearView");o(this,"_clampedActiveDate");o(this,"_currentView");o(this,"_activeDrag",null);o(this,"stateChanges",new he);this._intlChanges=w(zo).changes.subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(i){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get selected(){return this._selected}set selected(i){i instanceof ja?this._selected=i:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get minDate(){return this._minDate}set minDate(i){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get maxDate(){return this._maxDate}set maxDate(i){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get activeDate(){return this._clampedActiveDate}set activeDate(i){this._clampedActiveDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(i){let a=this._currentView!==i?i:null;this._currentView=i,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),a&&this.viewChanged.emit(a)}ngAfterContentInit(){this._calendarHeaderPortal=new Un(this.headerComponent||bk),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(i){let a=i.minDate&&!this._dateAdapter.sameDate(i.minDate.previousValue,i.minDate.currentValue)?i.minDate:void 0,r=i.maxDate&&!this._dateAdapter.sameDate(i.maxDate.previousValue,i.maxDate.currentValue)?i.maxDate:void 0,s=a||r||i.dateFilter;if(s&&!s.firstChange){let l=this._getCurrentViewComponent();l&&(this._elementRef.nativeElement.contains(lo())&&(this._moveFocusOnNextTick=!0),this._changeDetectorRef.detectChanges(),l._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(i){let a=i.value;(this.selected instanceof ja||a&&!this._dateAdapter.sameDate(a,this.selected))&&this.selectedChange.emit(a),this._userSelection.emit(i)}_yearSelectedInMultiYearView(i){this.yearSelected.emit(i)}_monthSelectedInYearView(i){this.monthSelected.emit(i)}_goToDateInView(i,a){this.activeDate=i,this.currentView=a}_dragStarted(i){this._activeDrag=i}_dragEnded(i){this._activeDrag&&(i.value&&this._userDragDrop.emit(i),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["mat-calendar"]],viewQuery:function(i,a){if(i&1&&(pt(ay,5),pt(oy,5),pt(ry,5)),i&2){let r;Ne(r=Pe())&&(a.monthView=r.first),Ne(r=Pe())&&(a.yearView=r.first),Ne(r=Pe())&&(a.multiYearView=r.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[ki([mk]),wi],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function(i,a){if(i&1&&(K(0,wge,0,0,"ng-template",0),I(1,"div",1),K(2,Sge,1,11,"mat-month-view",2)(3,kge,1,6,"mat-year-view",3)(4,Ege,1,6,"mat-multi-year-view",3),A()),i&2){let r;$("cdkPortalOutlet",a._calendarHeaderPortal),D(2),ae((r=a.currentView)==="month"?2:r==="year"?3:r==="multi-year"?4:-1)}},dependencies:[Mr,Yoe,ay,oy,ry],styles:[`.mat-calendar{display:block;line-height:normal;font-family:var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size))}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-period-button-text-weight, var(--mat-sys-title-small-weight));--mdc-text-button-label-text-color:var(--mat-datepicker-calendar-period-button-text-color, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}@media(forced-colors: active){.mat-calendar-arrow{fill:CanvasText}}.mat-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled),.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled){color:var(--mat-datepicker-calendar-navigation-button-icon-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color, var(--mat-sys-on-surface-variant));font-size:var(--mat-datepicker-calendar-header-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-header-text-weight, var(--mat-sys-title-small-weight))}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color, transparent)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}
57
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),yk=new G("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{let e=w(Ei);return()=>e.scrollStrategies.reposition()}});function Vge(e){return()=>e.scrollStrategies.reposition()}var Lge={provide:yk,deps:[Ei],useFactory:Vge},_k=(()=>{const t=class t{constructor(){o(this,"_elementRef",w(Fe));o(this,"_animationsDisabled",w(Ti,{optional:!0})==="NoopAnimations");o(this,"_changeDetectorRef",w(Vt));o(this,"_globalModel",w(Ps));o(this,"_dateAdapter",w(Ji));o(this,"_ngZone",w(Oe));o(this,"_rangeSelectionStrategy",w(fk,{optional:!0}));o(this,"_stateChanges");o(this,"_model");o(this,"_eventCleanups");o(this,"_animationFallback");o(this,"_calendar");o(this,"color");o(this,"datepicker");o(this,"comparisonStart");o(this,"comparisonEnd");o(this,"startDateAccessibleName");o(this,"endDateAccessibleName");o(this,"_isAbove");o(this,"_animationDone",new he);o(this,"_isAnimating",!1);o(this,"_closeButtonText");o(this,"_closeButtonFocused");o(this,"_actionsPortal",null);o(this,"_dialogLabelId");o(this,"_handleAnimationEvent",i=>{let a=this._elementRef.nativeElement;i.target!==a||!i.animationName.startsWith("_mat-datepicker-content")||(clearTimeout(this._animationFallback),this._isAnimating=i.type==="animationstart",a.classList.toggle("mat-datepicker-content-animating",this._isAnimating),this._isAnimating||this._animationDone.next())});if(w(Mi).load(Xn),this._closeButtonText=w(zo).closeCalendarLabel,!this._animationsDisabled){let i=this._elementRef.nativeElement,a=w(ji);this._eventCleanups=this._ngZone.runOutsideAngular(()=>[a.listen(i,"animationstart",this._handleAnimationEvent),a.listen(i,"animationend",this._handleAnimationEvent),a.listen(i,"animationcancel",this._handleAnimationEvent)])}}ngAfterViewInit(){this._stateChanges=this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()}),this._calendar.focusActiveCell()}ngOnDestroy(){var i,a;clearTimeout(this._animationFallback),(i=this._eventCleanups)==null||i.forEach(r=>r()),(a=this._stateChanges)==null||a.unsubscribe(),this._animationDone.complete()}_handleUserSelection(i){let a=this._model.selection,r=i.value,s=a instanceof ja;if(s&&this._rangeSelectionStrategy){let l=this._rangeSelectionStrategy.selectionFinished(r,a,i.event);this._model.updateSelection(l,this)}else r&&(s||!this._dateAdapter.sameDate(r,a))&&this._model.add(r);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(i){this._model.updateSelection(i.value,this)}_startExitAnimation(){this._elementRef.nativeElement.classList.add("mat-datepicker-content-exit"),this._animationsDisabled?this._animationDone.next():(clearTimeout(this._animationFallback),this._animationFallback=setTimeout(()=>{this._isAnimating||this._animationDone.next()},200))}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(i,a){this._model=i?this._globalModel.clone():this._globalModel,this._actionsPortal=i,a&&this._changeDetectorRef.detectChanges()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(i,a){if(i&1&&pt(Op,5),i&2){let r;Ne(r=Pe())&&(a._calendar=r.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:6,hostBindings:function(i,a){i&2&&(yn(a.color?"mat-"+a.color:""),Ae("mat-datepicker-content-touch",a.datepicker.touchUi)("mat-datepicker-content-animations-enabled",!a._animationsDisabled))},inputs:{color:"color"},exportAs:["matDatepickerContent"],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(i,a){if(i&1&&(I(0,"div",0)(1,"mat-calendar",1),ce("yearSelected",function(r){return a.datepicker._selectYear(r)})("monthSelected",function(r){return a.datepicker._selectMonth(r)})("viewChanged",function(r){return a.datepicker._viewChanged(r)})("_userSelection",function(r){return a._handleUserSelection(r)})("_userDragDrop",function(r){return a._handleUserDragDrop(r)}),A(),K(2,Cge,0,0,"ng-template",2),I(3,"button",3),ce("focus",function(){return a._closeButtonFocused=!0})("blur",function(){return a._closeButtonFocused=!1})("click",function(){return a.datepicker.close()}),B(4),A()()),i&2){let r;Ae("mat-datepicker-content-container-with-custom-header",a.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",a._actionsPortal),ue("aria-modal",!0)("aria-labelledby",(r=a._dialogLabelId)!==null&&r!==void 0?r:void 0),D(),yn(a.datepicker.panelClass),$("id",a.datepicker.id)("startAt",a.datepicker.startAt)("startView",a.datepicker.startView)("minDate",a.datepicker._getMinDate())("maxDate",a.datepicker._getMaxDate())("dateFilter",a.datepicker._getDateFilter())("headerComponent",a.datepicker.calendarHeaderComponent)("selected",a._getSelected())("dateClass",a.datepicker.dateClass)("comparisonStart",a.comparisonStart)("comparisonEnd",a.comparisonEnd)("startDateAccessibleName",a.startDateAccessibleName)("endDateAccessibleName",a.endDateAccessibleName),D(),$("cdkPortalOutlet",a._actionsPortal),D(),Ae("cdk-visually-hidden",!a._closeButtonFocused),$("color",a.color||"primary"),D(),Ee(a._closeButtonText)}},dependencies:[cse,Op,Mr,Da],styles:[`@keyframes _mat-datepicker-content-dropdown-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-datepicker-content-dialog-enter{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:none}}@keyframes _mat-datepicker-content-exit{from{opacity:1}to{opacity:0}}.mat-datepicker-content{display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color, var(--mat-sys-surface-container-high));color:var(--mat-datepicker-calendar-container-text-color, var(--mat-sys-on-surface));box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-shape, var(--mat-sys-corner-large))}.mat-datepicker-content.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-dropdown-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.mat-datepicker-content-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;box-shadow:var(--mat-datepicker-calendar-container-touch-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-touch-shape, var(--mat-sys-corner-extra-large));position:relative;overflow:visible}.mat-datepicker-content-touch.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-dialog-enter 150ms cubic-bezier(0, 0, 0.2, 1)}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}.mat-datepicker-content-exit.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-exit 100ms linear}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}
58
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),sy=(()=>{const t=class t{constructor(){o(this,"_overlay",w(Ei));o(this,"_viewContainerRef",w(Ka));o(this,"_dateAdapter",w(Ji,{optional:!0}));o(this,"_dir",w(Xi,{optional:!0}));o(this,"_model",w(Ps));o(this,"_scrollStrategy",w(yk));o(this,"_inputStateChanges",ut.EMPTY);o(this,"_document",w(Qe));o(this,"calendarHeaderComponent");o(this,"_startAt");o(this,"startView","month");o(this,"_color");o(this,"touchUi",!1);o(this,"_disabled");o(this,"xPosition","start");o(this,"yPosition","below");o(this,"restoreFocus",!0);o(this,"yearSelected",new de);o(this,"monthSelected",new de);o(this,"viewChanged",new de(!0));o(this,"dateClass");o(this,"openedStream",new de);o(this,"closedStream",new de);o(this,"_panelClass");o(this,"_opened",!1);o(this,"id",w(hi).getId("mat-datepicker-"));o(this,"_overlayRef");o(this,"_componentRef");o(this,"_focusedElementBeforeOpen",null);o(this,"_backdropHarnessClass",`${this.id}-backdrop`);o(this,"_actionsPortal");o(this,"datepickerInput");o(this,"stateChanges",new he);o(this,"_injector",w(dt));o(this,"_changeDetectorRef",w(Vt));this._dateAdapter,this._model.selectionChanged.subscribe(()=>{this._changeDetectorRef.markForCheck()})}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(i){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(i){this._color=i}get disabled(){return this._disabled===void 0&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(i){i!==this._disabled&&(this._disabled=i,this.stateChanges.next(void 0))}get panelClass(){return this._panelClass}set panelClass(i){this._panelClass=bse(i)}get opened(){return this._opened}set opened(i){i?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(i){let a=i.xPosition||i.yPosition;if(a&&!a.firstChange&&this._overlayRef){let r=this._overlayRef.getConfig().positionStrategy;r instanceof Vw&&(this._setConnectedPositions(r),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(i){this._model.add(i)}_selectYear(i){this.yearSelected.emit(i)}_selectMonth(i){this.monthSelected.emit(i)}_viewChanged(i){this.viewChanged.emit(i)}registerInput(i){return this.datepickerInput,this._inputStateChanges.unsubscribe(),this.datepickerInput=i,this._inputStateChanges=i.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(i){var a;this._actionsPortal,this._actionsPortal=i,(a=this._componentRef)==null||a.instance._assignActions(i,!0)}removeActions(i){var a;i===this._actionsPortal&&(this._actionsPortal=null,(a=this._componentRef)==null||a.instance._assignActions(null,!0))}open(){var i;this._opened||this.disabled||(i=this._componentRef)!=null&&i.instance._isAnimating||(this.datepickerInput,this._focusedElementBeforeOpen=lo(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){var r;if(!this._opened||(r=this._componentRef)!=null&&r.instance._isAnimating)return;let i=this.restoreFocus&&this._focusedElementBeforeOpen&&typeof this._focusedElementBeforeOpen.focus=="function",a=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){let{instance:s,location:l}=this._componentRef;s._animationDone.pipe(vi(1)).subscribe(()=>{let c=this._document.activeElement;i&&(!c||c===this._document.activeElement||l.nativeElement.contains(c))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()}),s._startExitAnimation()}i?setTimeout(a):a()}_applyPendingSelection(){var i,a;(a=(i=this._componentRef)==null?void 0:i.instance)==null||a._applyPendingSelection()}_forwardContentValues(i){i.datepicker=this,i.color=this.color,i._dialogLabelId=this.datepickerInput.getOverlayLabelId(),i._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();let i=this.touchUi,a=new Un(_k,this._viewContainerRef),r=this._overlayRef=this._overlay.create(new dl({positionStrategy:i?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[i?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir||"ltr",scrollStrategy:i?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:`mat-datepicker-${i?"dialog":"popup"}`}));this._getCloseStream(r).subscribe(s=>{s&&s.preventDefault(),this.close()}),r.keydownEvents().subscribe(s=>{let l=s.keyCode;(l===38||l===40||l===37||l===39||l===33||l===34)&&s.preventDefault()}),this._componentRef=r.attach(a),this._forwardContentValues(this._componentRef.instance),i||Ir(()=>{r.updatePosition()},{injector:this._injector})}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){let i=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(i)}_setConnectedPositions(i){let a=this.xPosition==="end"?"end":"start",r=a==="start"?"end":"start",s=this.yPosition==="above"?"bottom":"top",l=s==="top"?"bottom":"top";return i.withPositions([{originX:a,originY:l,overlayX:a,overlayY:s},{originX:a,originY:s,overlayX:a,overlayY:l},{originX:r,originY:l,overlayX:r,overlayY:s},{originX:r,originY:s,overlayX:r,overlayY:l}])}_getCloseStream(i){let a=["ctrlKey","shiftKey","metaKey"];return na(i.backdropClick(),i.detachments(),i.keydownEvents().pipe(di(r=>r.keyCode===27&&!Oi(r)||this.datepickerInput&&Oi(r,"altKey")&&r.keyCode===38&&a.every(s=>!Oi(r,s)))))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[2,"touchUi","touchUi",He],disabled:[2,"disabled","disabled",He],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[2,"restoreFocus","restoreFocus",He],dateClass:"dateClass",panelClass:"panelClass",opened:[2,"opened","opened",He]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[wi]}));let e=t;return e})(),zge=(()=>{const t=class t extends sy{};o(t,"ɵfac",(()=>{let i;return function(a){return(i||(i=jt(t)))(a||t)}})()),o(t,"ɵcmp",ve({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[ki([mk,{provide:sy,useExisting:t}]),Mt],decls:0,vars:0,template:function(i,a){},encapsulation:2,changeDetection:0}));let e=t;return e})(),Ql=class{constructor(e,t){o(this,"target");o(this,"targetElement");o(this,"value");this.target=e,this.targetElement=t,this.value=this.target.value}},jge=(()=>{const t=class t{constructor(){o(this,"_elementRef",w(Fe));o(this,"_dateAdapter",w(Ji,{optional:!0}));o(this,"_dateFormats",w(Lo,{optional:!0}));o(this,"_isInitialized");o(this,"_model");o(this,"_disabled");o(this,"dateChange",new de);o(this,"dateInput",new de);o(this,"stateChanges",new he);o(this,"_onTouched",()=>{});o(this,"_validatorOnChange",()=>{});o(this,"_cvaOnChange",()=>{});o(this,"_valueChangesSubscription",ut.EMPTY);o(this,"_localeSubscription",ut.EMPTY);o(this,"_pendingValue");o(this,"_parseValidator",()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}});o(this,"_filterValidator",i=>{let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i.value));return!a||this._matchesFilter(a)?null:{matDatepickerFilter:!0}});o(this,"_minValidator",i=>{let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i.value)),r=this._getMinDate();return!r||!a||this._dateAdapter.compareDate(r,a)<=0?null:{matDatepickerMin:{min:r,actual:a}}});o(this,"_maxValidator",i=>{let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i.value)),r=this._getMaxDate();return!r||!a||this._dateAdapter.compareDate(r,a)>=0?null:{matDatepickerMax:{max:r,actual:a}}});o(this,"_lastValueValid",!1);this._localeSubscription=this._dateAdapter.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(i){this._assignValueProgrammatically(i)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(i){let a=i,r=this._elementRef.nativeElement;this._disabled!==a&&(this._disabled=a,this.stateChanges.next(void 0)),a&&this._isInitialized&&r.blur&&r.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(i){this._model=i,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(a=>{if(this._shouldHandleChangeEvent(a)){let r=this._getValueFromModel(a.selection);this._lastValueValid=this._isValidValue(r),this._cvaOnChange(r),this._onTouched(),this._formatValue(r),this.dateInput.emit(new Ql(this,this._elementRef.nativeElement)),this.dateChange.emit(new Ql(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(i){Bge(i,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(i){this._validatorOnChange=i}validate(i){return this._validator?this._validator(i):null}writeValue(i){this._assignValueProgrammatically(i)}registerOnChange(i){this._cvaOnChange=i}registerOnTouched(i){this._onTouched=i}setDisabledState(i){this.disabled=i}_onKeydown(i){let a=["ctrlKey","shiftKey","metaKey"];Oi(i,"altKey")&&i.keyCode===40&&a.every(r=>!Oi(i,r))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),i.preventDefault())}_onInput(i){let a=this._lastValueValid,r=this._dateAdapter.parse(i,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(r),r=this._dateAdapter.getValidDateOrNull(r);let s=!this._dateAdapter.sameDate(r,this.value);!r||s?this._cvaOnChange(r):(i&&!this.value&&this._cvaOnChange(r),a!==this._lastValueValid&&this._validatorOnChange()),s&&(this._assignValue(r),this.dateInput.emit(new Ql(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Ql(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(i){this._elementRef.nativeElement.value=i!=null?this._dateAdapter.format(i,this._dateFormats.display.dateInput):""}_assignValue(i){this._model?(this._assignValueToModel(i),this._pendingValue=null):this._pendingValue=i}_isValidValue(i){return!i||this._dateAdapter.isValid(i)}_parentDisabled(){return!1}_assignValueProgrammatically(i){i=this._dateAdapter.deserialize(i),this._lastValueValid=this._isValidValue(i),i=this._dateAdapter.getValidDateOrNull(i),this._assignValue(i),this._formatValue(i)}_matchesFilter(i){let a=this._getDateFilter();return!a||a(i)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t,inputs:{value:"value",disabled:[2,"disabled","disabled",He]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[wi]}));let e=t;return e})();function Bge(e,t){let n=Object.keys(e);for(let i of n){let{previousValue:a,currentValue:r}=e[i];if(t.isDateInstance(a)&&t.isDateInstance(r)){if(!t.sameDate(a,r))return!0}else return!0}return!1}var Hge={provide:Sf,useExisting:_n(()=>qf),multi:!0},$ge={provide:fl,useExisting:_n(()=>qf),multi:!0},qf=(()=>{const t=class t extends jge{constructor(){super();o(this,"_formField",w(eu,{optional:!0}));o(this,"_closedSubscription",ut.EMPTY);o(this,"_openedSubscription",ut.EMPTY);o(this,"_datepicker");o(this,"_ariaOwns",la(null));o(this,"_min");o(this,"_max");o(this,"_dateFilter");o(this,"_validator");this._validator=Df.compose(super._getValidators())}set matDatepicker(a){a&&(this._datepicker=a,this._ariaOwns.set(a.opened?a.id:null),this._closedSubscription=a.closedStream.subscribe(()=>{this._onTouched(),this._ariaOwns.set(null)}),this._openedSubscription=a.openedStream.subscribe(()=>{this._ariaOwns.set(a.id)}),this._registerModel(a.registerInput(this)))}get min(){return this._min}set min(a){let r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a));this._dateAdapter.sameDate(r,this._min)||(this._min=r,this._validatorOnChange())}get max(){return this._max}set max(a){let r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a));this._dateAdapter.sameDate(r,this._max)||(this._max=r,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(a){let r=this._matchesFilter(this.value);this._dateFilter=a,this._matchesFilter(this.value)!==r&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe(),this._openedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(a){return a}_assignValueToModel(a){this._model&&this._model.updateSelection(a,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(a){return a.source!==this}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",we({type:t,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(a,r){a&1&&ce("input",function(s){return r._onInput(s.target.value)})("change",function(){return r._onChange()})("blur",function(){return r._onBlur()})("keydown",function(s){return r._onKeydown(s)}),a&2&&(kn("disabled",r.disabled),ue("aria-haspopup",r._datepicker?"dialog":null)("aria-owns",r._ariaOwns())("min",r.min?r._dateAdapter.toIso8601(r.min):null)("max",r.max?r._dateAdapter.toIso8601(r.max):null)("data-mat-calendar",r._datepicker?r._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[0,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[ki([Hge,$ge,{provide:lk,useExisting:t}]),Mt]}));let e=t;return e})(),qge=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t,selectors:[["","matDatepickerToggleIcon",""]]}));let e=t;return e})(),xk=(()=>{const t=class t{constructor(){o(this,"_intl",w(zo));o(this,"_changeDetectorRef",w(Vt));o(this,"_stateChanges",ut.EMPTY);o(this,"datepicker");o(this,"tabIndex");o(this,"ariaLabel");o(this,"_disabled");o(this,"disableRipple");o(this,"_customIcon");o(this,"_button");let i=w(new _m("tabindex"),{optional:!0}),a=Number(i);this.tabIndex=a||a===0?a:null}get disabled(){return this._disabled===void 0&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(i){this._disabled=i}ngOnChanges(i){i.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(i){this.datepicker&&!this.disabled&&(this.datepicker.open(),i.stopPropagation())}_watchStateChanges(){let i=this.datepicker?this.datepicker.stateChanges:bt(),a=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:bt(),r=this.datepicker?na(this.datepicker.openedStream,this.datepicker.closedStream):bt();this._stateChanges.unsubscribe(),this._stateChanges=na(this._intl.changes,i,a,r).subscribe(()=>this._changeDetectorRef.markForCheck())}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(i,a,r){if(i&1&&gi(r,qge,5),i&2){let s;Ne(s=Pe())&&(a._customIcon=s.first)}},viewQuery:function(i,a){if(i&1&&pt(Dge,5),i&2){let r;Ne(r=Pe())&&(a._button=r.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(i,a){i&1&&ce("click",function(r){return a._open(r)}),i&2&&(ue("tabindex",null)("data-mat-calendar",a.datepicker?a.datepicker.id:null),Ae("mat-datepicker-toggle-active",a.datepicker&&a.datepicker.opened)("mat-accent",a.datepicker&&a.datepicker.color==="accent")("mat-warn",a.datepicker&&a.datepicker.color==="warn"))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",He],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[wi],ngContentSelectors:Age,decls:4,vars:7,consts:[["button",""],["mat-icon-button","","type","button",3,"disabled","disableRipple"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(i,a){i&1&&(ti(Ige),I(0,"button",1,0),K(2,Oge,2,0,":svg:svg",2),qe(3),A()),i&2&&($("disabled",a.disabled)("disableRipple",a.disableRipple),ue("aria-haspopup",a.datepicker?"dialog":null)("aria-label",a.ariaLabel||a._intl.openCalendarLabel)("tabindex",a.disabled?-1:a.tabIndex)("aria-expanded",a.datepicker?a.datepicker.opened:null),D(2),ae(a._customIcon?-1:2))},dependencies:[zr],styles:[`.mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color, var(--mat-sys-on-surface-variant))}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color, var(--mat-sys-on-surface-variant))}@media(forced-colors: active){.mat-datepicker-toggle-default-icon{color:CanvasText}}
59
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Gge=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({providers:[zo,Lge],imports:[Qn,Jd,cf,Is,Ft,_k,xk,bk,Zc]}));let e=t;return e})(),Uge=(e,t)=>({filter:e,order:t}),Gf=e=>({filter:e});function Yge(e,t){if(e&1){let n=je();I(0,"div",7)(1,"label",18),B(2),z(3,"translate"),A(),I(4,"mat-form-field",9)(5,"mat-select",19),Sa("ngModelChange",function(i){pe(n);let a=N();return Ua(a.order,i)||(a.order=i),me(i)}),I(6,"mat-option",20),B(7),z(8,"translate"),A(),I(9,"mat-option",21),B(10),z(11,"translate"),A()()()()}if(e&2){let n=N();D(2),Ee(q(3,6,"commons.sortDropdown.sort")),D(3),wa("ngModel",n.order),D(),ue("translate","no"),D(),xe(" ",q(8,8,"diaryNotesPage.sortDropdown.newestFirst")," "),D(2),ue("translate","no"),D(),xe(" ",q(11,10,"diaryNotesPage.sortDropdown.oldestFirst")," ")}}function Wge(e,t){e&1&&(I(0,"mat-error"),B(1),z(2,"translate"),A()),e&2&&(D(),Ee(q(2,1,"commons.errors.invalid_date_format")))}function Zge(e,t){e&1&&(I(0,"mat-error"),B(1),z(2,"translate"),A()),e&2&&(D(),Ee(q(2,1,"diaryNotesPage.filters.errFrom")))}function Kge(e,t){e&1&&(I(0,"mat-error"),B(1),z(2,"translate"),A()),e&2&&(D(),Ee(q(2,1,"commons.errors.invalid_date_format")))}function Xge(e,t){e&1&&(I(0,"mat-error"),B(1),z(2,"translate"),A()),e&2&&(D(),Ee(q(2,1,"diaryNotesPage.filters.errUntil")))}function Qge(e,t){e&1&&se(0,"mat-option",24)}function Jge(e,t){if(e&1&&(I(0,"mat-option",25),B(1),A()),e&2){let n=t.$implicit;$d("value",n),ue("translate","no"),D(),Ee(n)}}function eve(e,t){if(e&1){let n=je();I(0,"button",27),z(1,"translate"),z(2,"translate"),z(3,"translate"),ce("click",function(i){pe(n);let a=N(2);return a.filter.author="",me(i.stopPropagation())}),se(4,"mat-icon",28),A()}e&2&&($("title",q(1,2,"diaryNotesPage.filters.deleteSelection")),ue("aria-label",_i(3,6,"diaryNotesPage.accessibility.filterClear",Ya(9,Gf,q(2,4,"diaryNotesPage.filters.author")))))}function tve(e,t){if(e&1){let n=je();I(0,"div",7)(1,"label",22),B(2),z(3,"translate"),A(),I(4,"mat-form-field",9)(5,"mat-select",23),Sa("ngModelChange",function(i){pe(n);let a=N();return Ua(a.filter.author,i)||(a.filter.author=i),me(i)}),K(6,Qge,1,0,"mat-option",24),Bi(7,Jge,2,3,"mat-option",25,Ea),A(),K(9,eve,5,11,"button",26),A()()}if(e&2){let n=N();D(2),Ee(q(3,4,"diaryNotesPage.filters.author")),D(3),wa("ngModel",n.filter.author),D(),ae(n.filter.author?6:-1),D(),Hi(t),D(2),ae(n.filter.author?9:-1)}}function ive(e,t){e&1&&se(0,"mat-option",24)}function ave(e,t){if(e&1&&(I(0,"mat-option",25),B(1),z(2,"translate"),z(3,"firstLetterUppercase"),A()),e&2){let n=t.$implicit;$d("value",n),ue("translate","no"),D(),xe("",q(3,5,q(2,3,"commons.roles."+n.toLowerCase()))," ")}}function nve(e,t){if(e&1){let n=je();I(0,"button",27),z(1,"translate"),z(2,"translate"),z(3,"translate"),ce("click",function(i){pe(n);let a=N(2);return a.filter.role=void 0,me(i.stopPropagation())}),se(4,"mat-icon",28),A()}e&2&&($("title",q(1,2,"diaryNotesPage.filters.deleteSelection")),ue("aria-label",_i(3,6,"diaryNotesPage.accessibility.filterClear",Ya(9,Gf,q(2,4,"diaryNotesPage.filters.role")))))}function rve(e,t){if(e&1){let n=je();I(0,"div",7)(1,"label",29),B(2),z(3,"translate"),A(),I(4,"mat-form-field",9)(5,"mat-select",30),Sa("ngModelChange",function(i){pe(n);let a=N();return Ua(a.filter.role,i)||(a.filter.role=i),me(i)}),K(6,ive,1,0,"mat-option",24),Bi(7,ave,4,7,"mat-option",25,Ea),A(),K(9,nve,5,11,"button",26),A()()}if(e&2){let n=N();D(2),Ee(q(3,4,"diaryNotesPage.filters.role")),D(3),wa("ngModel",n.filter.role),D(),ae(n.filter.role?6:-1),D(),Hi(t),D(2),ae(n.filter.role?9:-1)}}function ove(e,t){if(e&1&&(I(0,"mat-option",25),B(1),z(2,"translate"),z(3,"firstLetterUppercase"),A()),e&2){let n=t.$implicit;$d("value",n),D(),xe(" ",q(3,4,q(2,2,"commons.tags."+n.toLowerCase()))," ")}}function sve(e,t){if(e&1){let n=je();I(0,"button",27),z(1,"translate"),z(2,"translate"),z(3,"translate"),ce("click",function(i){pe(n);let a=N(2);return a.filter.tags=[],me(i.stopPropagation())}),se(4,"mat-icon",28),A()}e&2&&($("title",q(1,2,"diaryNotesPage.filters.deleteSelection")),ue("aria-label",_i(3,6,"diaryNotesPage.accessibility.filterClear",Ya(9,Gf,q(2,4,"diaryNotesPage.filters.tags")))))}function lve(e,t){if(e&1){let n=je();I(0,"div",7)(1,"label",31),B(2),z(3,"translate"),A(),I(4,"mat-form-field",9)(5,"mat-select",32),Sa("ngModelChange",function(i){pe(n);let a=N();return Ua(a.filter.tags,i)||(a.filter.tags=i),me(i)}),Bi(6,ove,4,6,"mat-option",25,Ea),A(),K(8,sve,5,11,"button",26),A()()}if(e&2){let n=N();D(2),Ee(q(3,3,"diaryNotesPage.filters.tags")),D(3),wa("ngModel",n.filter.tags),D(),Hi(t),D(2),ae((n.filter==null||n.filter.tags==null?null:n.filter.tags.length)>0?8:-1)}}var cve=(()=>{const t=class t{constructor(){this.translateService=w(Kn),this.dateAdapter=w(Ji),this.destroyRef=w(Zi),this.data=w(yf),this.today=new Date,this.filter={dateRange:{from:null,until:null}},this.setActiveFilters=i=>{this.filter=tt(J({},i),{dateRange:{from:i.dateRange.from?new Date(i.dateRange.from):null,until:i.dateRange.until?new Date(i.dateRange.until):null}})}}ngOnInit(){this.dateAdapter.setLocale(this.translateService.currentLang),this.filterOptions=this.data.filterOptions,this.authors=this.filterOptions.authors,this.roles=this.filterOptions.roles,this.tags=this.filterOptions.tags,this.data.activeFilters$.pipe(HX()).subscribe(this.setActiveFilters),this.translateService.onLangChange.pipe(Gn(this.destroyRef)).subscribe(({lang:i})=>{this.dateAdapter.setLocale(i)}),this.order=this.data.order}onSelectFromDate(i){this.filter.dateRange.from=i.value,this.onDateSelected(i.value)}onSelectUntilDate(i){this.filter.dateRange.until=i.value,this.onDateSelected(i.value)}onCalendarOpened(){this.announceLiveRegion(this.translateService.instant("diaryNotesPage.accessibility.calendarOpen"))}onDateSelected(i){if(!i)return;let a=this.translateService.instant("diaryNotesPage.accessibility.selectedDate",{date:Ms(i,"d MMMM y")});this.announceLiveRegion(a)}announceLiveRegion(i){let a=document.getElementById("calendarLiveRegion");a&&(a.textContent=i)}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=ve({type:t,selectors:[["ng-component"]],decls:44,vars:43,consts:[["dateRangeFrom","ngModel"],["fromPicker",""],["dateRangeUntil","ngModel"],["untilPicker",""],["mat-dialog-title",""],["class","mh-form-field",4,"vidisIfViewportSize"],[1,"date-range"],[1,"mh-form-field"],["for","fromFilter"],["appearance","outline"],["id","fromFilter","matInput","","name","fromPicker","placeholder","dd/mm/yyyy",3,"ngModelChange","dateChange","ngModel","matDatepicker","max"],["matSuffix","",3,"for"],["startView","month",3,"opened","startAt"],["for","untilDate"],["id","untilDate","matInput","","name","untilPicker","placeholder","dd/mm/yyyy",3,"ngModelChange","dateChange","ngModel","matDatepicker","min","max"],["aria-live","polite","id","calendarLiveRegion",1,"cdk-visually-hidden"],["mat-button","","mat-dialog-close",""],["mat-flat-button","","type","button",3,"disabled","mat-dialog-close"],["for","sort"],["id","sort","name","sort",3,"ngModelChange","ngModel"],["value","desc"],["value","asc"],["for","author"],["id","author","name","author",3,"ngModelChange","ngModel"],["value",""],[3,"value"],["matSuffix","","mat-icon-button","",3,"title"],["matSuffix","","mat-icon-button","",3,"click","title"],["aria-hidden","true","fontIcon","close"],["for","role"],["id","role","name","role",3,"ngModelChange","ngModel"],["for","tags"],["id","tags","name","tags","multiple","",3,"ngModelChange","ngModel"]],template:function(i,a){if(i&1){let r=je();I(0,"h2",4),B(1),z(2,"translate"),A(),I(3,"mat-dialog-content")(4,"form"),K(5,Yge,12,12,"div",5),I(6,"div",6)(7,"div",7)(8,"label",8),B(9),z(10,"translate"),A(),I(11,"mat-form-field",9)(12,"input",10,0),z(14,"translate"),Sa("ngModelChange",function(s){return pe(r),Ua(a.filter.dateRange.from,s)||(a.filter.dateRange.from=s),me(s)}),ce("dateChange",function(s){return pe(r),me(a.onSelectFromDate(s))}),A(),se(15,"mat-datepicker-toggle",11),I(16,"mat-datepicker",12,1),ce("opened",function(){return pe(r),me(a.onCalendarOpened())}),A(),K(18,Wge,3,3,"mat-error")(19,Zge,3,3,"mat-error"),A()(),I(20,"div",7)(21,"label",13),B(22),z(23,"translate"),A(),I(24,"mat-form-field",9)(25,"input",14,2),z(27,"translate"),Sa("ngModelChange",function(s){return pe(r),Ua(a.filter.dateRange.until,s)||(a.filter.dateRange.until=s),me(s)}),ce("dateChange",function(s){return pe(r),me(a.onSelectUntilDate(s))}),A(),se(28,"mat-datepicker-toggle",11),I(29,"mat-datepicker",12,3),ce("opened",function(){return pe(r),me(a.onCalendarOpened())}),A(),K(31,Kge,3,3,"mat-error")(32,Xge,3,3,"mat-error"),A()(),se(33,"div",15),A(),K(34,tve,10,6,"div",7)(35,rve,10,6,"div",7)(36,lve,9,5,"div",7),A()(),I(37,"mat-dialog-actions")(38,"button",16),B(39),z(40,"translate"),A(),I(41,"button",17),B(42),z(43,"translate"),A()()}if(i&2){let r,s,l,c=Ri(13),d=Ri(17),u=Ri(26),m=Ri(30);D(),Ee(q(2,26,"diaryNotesPage.filters.filter")),D(4),$("vidisIfViewportSize","S"),D(4),Ee(q(10,28,"diaryNotesPage.filters.from")),D(3),wa("ngModel",a.filter.dateRange.from),$("matDatepicker",d)("max",a.filter.dateRange.until?a.filter.dateRange.until:a.today),ue("aria-label",q(14,30,"diaryNotesPage.accessibility.startDate")),D(3),$("for",d),D(),$("startAt",a.today),D(2),ae(c.hasError("matDatepickerParse")?18:c.hasError("matDatepickerMax")?19:-1),D(4),Ee(q(23,32,"diaryNotesPage.filters.until")),D(3),wa("ngModel",a.filter.dateRange.until),$("matDatepicker",m)("min",a.filter.dateRange.from)("max",a.today),ue("aria-label",q(27,34,"diaryNotesPage.accessibility.endDate")),D(3),$("for",m),D(),$("startAt",a.today),D(2),ae(u.hasError("matDatepickerParse")?31:u.hasError("matDatepickerMin")?32:-1),D(3),ae((r=a.authors)?34:-1,r),D(),ae((s=a.roles)?35:-1,s),D(),ae((l=a.tags)?36:-1,l),D(3),xe(" ",q(40,36,"diaryNotesPage.cancel")," "),D(2),$("disabled",c.invalid||u.invalid)("mat-dialog-close",Zm(40,Uge,a.filter,a.order)),D(),xe(" ",q(43,38,"diaryNotesPage.confirm")," ")}},dependencies:[pl,tu,xk,zge,Rf,ou,ml,ul,_S,Vce,iu,cS,yce,Mf,ru,zr,qf,ck,hl,_f,Os,Yw,Jle,cfe,Gge,ES,xp,Qn,Da,$i,Bf,Xa,xf,nk],styles:["@media only screen and (min-width: 960px){.date-range[_ngcontent-%COMP%]{display:flex;gap:16px}.date-range[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:100%}}"]});let e=t;return e})(),ly="mat-badge-content",dve=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",ve({type:t,selectors:[["ng-component"]],decls:0,vars:0,template:function(i,a){},styles:[`.mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;transition:transform 200ms ease-in-out;transform:scale(0.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;pointer-events:none;background-color:var(--mat-badge-background-color, var(--mat-sys-error));color:var(--mat-badge-text-color, var(--mat-sys-on-error));font-family:var(--mat-badge-text-font, var(--mat-sys-label-small-font));font-weight:var(--mat-badge-text-weight, var(--mat-sys-label-small-weight));border-radius:var(--mat-badge-container-shape, var(--mat-sys-corner-full))}.mat-badge-above .mat-badge-content{bottom:100%}.mat-badge-below .mat-badge-content{top:100%}.mat-badge-before .mat-badge-content{right:100%}[dir=rtl] .mat-badge-before .mat-badge-content{right:auto;left:100%}.mat-badge-after .mat-badge-content{left:100%}[dir=rtl] .mat-badge-after .mat-badge-content{left:auto;right:100%}@media(forced-colors: active){.mat-badge-content{outline:solid 1px;border-radius:0}}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color, color-mix(in srgb, var(--mat-sys-error) 38%, transparent));color:var(--mat-badge-disabled-state-text-color, var(--mat-sys-on-error))}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:var(--mat-badge-legacy-small-size-container-size, unset);height:var(--mat-badge-legacy-small-size-container-size, unset);min-width:var(--mat-badge-small-size-container-size, 6px);min-height:var(--mat-badge-small-size-container-size, 6px);line-height:var(--mat-badge-small-size-line-height, 6px);padding:var(--mat-badge-small-size-container-padding, 0);font-size:var(--mat-badge-small-size-text-size, 0);margin:var(--mat-badge-small-size-container-offset, -6px 0)}.mat-badge-small.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-small-size-container-overlap-offset, -6px)}.mat-badge-medium .mat-badge-content{width:var(--mat-badge-legacy-container-size, unset);height:var(--mat-badge-legacy-container-size, unset);min-width:var(--mat-badge-container-size, 16px);min-height:var(--mat-badge-container-size, 16px);line-height:var(--mat-badge-line-height, 16px);padding:var(--mat-badge-container-padding, 0 4px);font-size:var(--mat-badge-text-size, var(--mat-sys-label-small-size));margin:var(--mat-badge-container-offset, -12px 0)}.mat-badge-medium.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-container-overlap-offset, -12px)}.mat-badge-large .mat-badge-content{width:var(--mat-badge-legacy-large-size-container-size, unset);height:var(--mat-badge-legacy-large-size-container-size, unset);min-width:var(--mat-badge-large-size-container-size, 16px);min-height:var(--mat-badge-large-size-container-size, 16px);line-height:var(--mat-badge-large-size-line-height, 16px);padding:var(--mat-badge-large-size-container-padding, 0 4px);font-size:var(--mat-badge-large-size-text-size, var(--mat-sys-label-small-size));margin:var(--mat-badge-large-size-container-offset, -12px 0)}.mat-badge-large.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-large-size-container-overlap-offset, -12px)}
60
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),uve=(()=>{const t=class t{constructor(){o(this,"_ngZone",w(Oe));o(this,"_elementRef",w(Fe));o(this,"_ariaDescriber",w(Iw));o(this,"_renderer",w(ji));o(this,"_animationMode",w(Ti,{optional:!0}));o(this,"_idGenerator",w(hi));o(this,"_color","primary");o(this,"overlap",!0);o(this,"disabled");o(this,"position","above after");o(this,"_content");o(this,"_description");o(this,"size","medium");o(this,"hidden");o(this,"_badgeElement");o(this,"_inlineBadgeDescription");o(this,"_isInitialized",!1);o(this,"_interactivityChecker",w(lf));o(this,"_document",w(Qe));let i=w(Mi);i.load(dve),i.load(Xn)}get color(){return this._color}set color(i){this._setColor(i),this._color=i}get content(){return this._content}set content(i){this._updateRenderedContent(i)}get description(){return this._description}set description(i){this._updateDescription(i)}isAbove(){return this.position.indexOf("below")===-1}isAfter(){return this.position.indexOf("before")===-1}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){var i;this._renderer.destroyNode&&(this._renderer.destroyNode(this._badgeElement),(i=this._inlineBadgeDescription)==null||i.remove()),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_isHostInteractive(){return this._interactivityChecker.isFocusable(this._elementRef.nativeElement,{ignoreVisibility:!0})}_createBadgeElement(){let i=this._renderer.createElement("span"),a="mat-badge-active";return i.setAttribute("id",this._idGenerator.getId("mat-badge-content-")),i.setAttribute("aria-hidden","true"),i.classList.add(ly),this._animationMode==="NoopAnimations"&&i.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(i),typeof requestAnimationFrame=="function"&&this._animationMode!=="NoopAnimations"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{i.classList.add(a)})}):i.classList.add(a),i}_updateRenderedContent(i){let a=`${i??""}`.trim();this._isInitialized&&a&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=a),this._content=a}_updateDescription(i){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),(!i||this._isHostInteractive())&&this._removeInlineDescription(),this._description=i,this._isHostInteractive()?this._ariaDescriber.describe(this._elementRef.nativeElement,i):this._updateInlineDescription()}_updateInlineDescription(){var i;this._inlineBadgeDescription||(this._inlineBadgeDescription=this._document.createElement("span"),this._inlineBadgeDescription.classList.add("cdk-visually-hidden")),this._inlineBadgeDescription.textContent=this.description,(i=this._badgeElement)==null||i.appendChild(this._inlineBadgeDescription)}_removeInlineDescription(){var i;(i=this._inlineBadgeDescription)==null||i.remove(),this._inlineBadgeDescription=void 0}_setColor(i){let a=this._elementRef.nativeElement.classList;a.remove(`mat-badge-${this._color}`),i&&a.add(`mat-badge-${i}`)}_clearExistingBadges(){let i=this._elementRef.nativeElement.querySelectorAll(`:scope > .${ly}`);for(let a of Array.from(i))a!==this._badgeElement&&a.remove()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",we({type:t,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(i,a){i&2&&Ae("mat-badge-overlap",a.overlap)("mat-badge-above",a.isAbove())("mat-badge-below",!a.isAbove())("mat-badge-before",!a.isAfter())("mat-badge-after",a.isAfter())("mat-badge-small",a.size==="small")("mat-badge-medium",a.size==="medium")("mat-badge-large",a.size==="large")("mat-badge-hidden",a.hidden||!a.content)("mat-badge-disabled",a.disabled)},inputs:{color:[0,"matBadgeColor","color"],overlap:[2,"matBadgeOverlap","overlap",He],disabled:[2,"matBadgeDisabled","disabled",He],position:[0,"matBadgePosition","position"],content:[0,"matBadge","content"],description:[0,"matBadgeDescription","description"],size:[0,"matBadgeSize","size"],hidden:[2,"matBadgeHidden","hidden",He]}}));let e=t;return e})(),hve=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",ft({type:t})),o(t,"ɵinj",mt({imports:[cf,Ft,Ft]}));let e=t;return e})(),pve=e=>({nbrFilter:e}),mve=()=>[10,25,50],fve=e=>({addNote:e}),gve=()=>({height:"47px",margin:"0"});function vve(e,t){e&1&&(I(0,"div"),B(1,"Component not properly initialized!"),A())}function bve(e,t){if(e&1){let n=je();I(0,"button",7),ce("click",function(){pe(n);let i=N(4);return me(i.onAddNote())}),I(1,"mat-icon",8),B(2,"add_circle"),A(),B(3),z(4,"translate"),A()}if(e&2){let n=N(2),i=N(2);$("disabled",n.status===i.loadingStatus.LOADING),D(3),xe(" ",q(4,2,"diaryNotesPage.table.addNote")," ")}}function yve(e,t){if(e&1){let n=je();I(0,"button",10),ce("click",function(){pe(n);let i=N(5);return me(i.onAddNote())}),I(1,"mat-icon",8),B(2,"add"),A(),B(3),z(4,"translate"),A()}if(e&2){let n=N(3),i=N(2);$("disabled",n.status===i.loadingStatus.LOADING),D(3),xe(" ",q(4,2,"diaryNotesPage.table.addNote")," ")}}function _ve(e,t){e&1&&K(0,yve,5,4,"button",9),e&2&&$("vidisIfViewportSize","S")}function xve(e,t){if(e&1&&(I(0,"div",4),K(1,bve,5,4,"button",5)(2,_ve,1,1,"button",6),A()),e&2){let n,i=N();D(),$("vidisIfViewportSize","!S"),D(),ae(((n=i.data==null?null:i.data.totalItems)!==null&&n!==void 0?n:0)<=0?2:-1)}}function wve(e,t){if(e&1){let n=je();I(0,"vidis-diarynotes-filter-block",16),ce("clickShowFilterDialog",function(i){pe(n);let a=N(5);return me(a.onShowFilterDialog(i))}),A()}if(e&2){let n=N(3),i=N(2);$("filterOptions",n.data==null?null:n.data.availableFilters)("services",i.services)("disabled",n.status===i.loadingStatus.LOADING)}}function Sve(e,t){if(e&1){let n=je();I(0,"vidis-sort-dropdown",17),ce("sortDataChange",function(i){pe(n);let a=N(5);return me(a.handleSortEvent(i))}),A()}if(e&2){let n=N(3),i=N(2);$("sortItems",i.sortDropdownData)("sortData",i.sortDataState())("disabled",n.status===i.loadingStatus.LOADING)}}function kve(e,t){e&1&&(I(0,"div",13),K(1,wve,1,3,"vidis-diarynotes-filter-block",14)(2,Sve,1,3,"vidis-sort-dropdown",15),A()),e&2&&(D(),$("vidisIfViewportSize","!S"),D(),$("vidisIfViewportSize","!S"))}function Eve(e,t){if(e&1){let n=je();I(0,"button",10),ce("click",function(){pe(n);let i=N(5);return me(i.onAddNote())}),I(1,"mat-icon",8),B(2,"add"),A(),B(3),z(4,"translate"),A()}if(e&2){let n=N(3),i=N(2);$("disabled",n.status===i.loadingStatus.LOADING),D(3),xe(" ",q(4,2,"diaryNotesPage.table.addNote")," ")}}function Cve(e,t){if(e&1){let n=je();I(0,"button",20),z(1,"translate"),z(2,"translate"),ce("click",function(){pe(n);let i=N(3),a=N(2);return me(a.onShowFilterDialog(i.data==null?null:i.data.availableFilters))}),se(3,"mat-icon",21),A()}if(e&2){let n=N(5);$("matBadge",n.filterCount)("matBadgeHidden",n.filterCount<=0),ue("aria-label",n.filterCount>0?_i(1,3,"diaryNotesPage.accessibility.filterWithBadge",Ya(8,pve,n.filterCount)):q(2,6,"diaryNotesPage.accessibility.filter"))}}function Dve(e,t){e&1&&(I(0,"div",18),K(1,Eve,5,4,"button",9)(2,Cve,4,10,"button",19),A()),e&2&&(D(),$("vidisIfViewportSize","S"),D(),$("vidisIfViewportSize","S"))}function Ive(e,t){e&1&&K(0,kve,3,2,"div",11)(1,Dve,3,2,"div",12)}function Ave(e,t){if(e&1&&se(0,"vidis-status-message",2),e&2){let n=N();$("error",n.error)}}function Ove(e,t){if(e&1&&se(0,"vidis-error-display",23),e&2){let n=t.$implicit;$("message",n.code)}}function Tve(e,t){if(e&1&&Bi(0,Ove,1,1,"vidis-error-display",23,Ea),e&2){let n=N(2);Hi(n.data==null?null:n.data.errors)}}function Mve(e,t){if(e&1){let n=je();I(0,"vidis-diarynotes-table",24),ce("downloadRequested",function(i){pe(n);let a=N(4);return me(a.onDownloadRequested(i))}),A(),I(1,"mat-paginator",25),z(2,"async"),ce("page",function(i){pe(n);let a=N(4);return me(a.handlePageEvent(i))}),A()}if(e&2){let n=N(2),i=N(2);$("diaryNoteDataItems",n.data==null?null:n.data.items)("services",i.services)("userInfo",i.userInfo),D(),$("length",n.data==null?null:n.data.totalItems)("pageSize",q(2,8,i.paginationState$).pageSize)("pageIndex",n.data==null?null:n.data.page)("pageSizeOptions",S1(10,mve))("disabled",(n.data==null?null:n.data.totalItems)<=0)}}function Nve(e,t){e&1&&(I(0,"h3"),B(1),z(2,"translate"),A(),I(3,"div",26)(4,"p",27),B(5),z(6,"translate"),se(7,"br"),B(8),z(9,"translate"),z(10,"translate"),A(),I(11,"p",27),B(12),z(13,"translate"),se(14,"br"),B(15),z(16,"translate"),se(17,"br"),B(18),z(19,"translate"),se(20,"br"),B(21),z(22,"translate"),A()()),e&2&&(D(),Ee(q(2,7,"diaryNotesPage.noDiaryNotes")),D(4),xe(" ",q(6,9,"diaryNotesPage.noNote.part1"),""),D(3),xe(" ",_i(10,13,"diaryNotesPage.noNote.part2",Ya(24,fve,q(9,11,"diaryNotesPage.table.addNote")))," "),D(4),xe(" ",q(13,16,"diaryNotesPage.noNote.part3")," :"),D(3),xe(" ",q(16,18,"diaryNotesPage.noNote.part4"),""),D(3),xe(" ",q(19,20,"diaryNotesPage.noNote.part5"),""),D(3),xe(" ",q(22,22,"diaryNotesPage.noNote.part6")," "))}function Pve(e,t){if(e&1){let n=je();I(0,"p",22)(1,"span"),B(2),z(3,"translate"),A(),I(4,"button",28),ce("click",function(){pe(n);let i=N(4);return me(i.clearAllFilters())}),B(5),z(6,"translate"),A()()}e&2&&(D(2),Ee(q(3,2,"diaryNotesPage.filters.nonefound")),D(3),xe(" ",q(6,4,"diaryNotesPage.filters.clearfilters")," "))}function Rve(e,t){if(e&1&&(K(0,Tve,2,0)(1,Mve,3,11),z(2,"async"),K(3,Nve,23,26)(4,Pve,7,6,"p",22)),e&2){let n=N(),i=N(2);ae(!(n.data==null||n.data.errors==null)&&n.data.errors.length?0:-1),D(),ae((n.data==null?null:n.data.totalItems)>0?1:q(2,2,i.isFilterEmpty$)?3:4)}}function Fve(e,t){e&1&&se(0,"ngx-skeleton-loader",3),e&2&&$("count",10)("theme",S1(2,gve))}function Vve(e,t){if(e&1&&(K(0,xve,3,2,"div",1)(1,Ive,2,0),z(2,"async"),K(3,Ave,1,1,"vidis-status-message",2)(4,Rve,5,4)(5,Fve,1,3,"ngx-skeleton-loader",3)),e&2){let n,i=t,a=N(2);D(),ae((i.data==null?null:i.data.totalItems)>0||q(2,2,a.isFilterEmpty$)===!1?1:-1),D(2),ae((n=i.status)===a.loadingStatus.ERROR?3:n===a.loadingStatus.SUCCESS?4:n===a.loadingStatus.LOADING?5:-1)}}function Lve(e,t){if(e&1&&(K(0,Vve,6,4),z(1,"async"),I(2,"span"),B(3),z(4,"translate"),A(),se(5,"vidis-loading-spinner",0)),e&2){let n,i=N();ae((n=q(1,3,i.diarynotesState$))?0:-1,n),D(3),Ee(q(4,5,"diaryNotesPage.disclaimer")),D(2),$("isDownloading",i.isDownloading())}}var zve=(()=>{const t=class t extends $pe{constructor(){super(...arguments),this.dialog=w(No),this.getTotalItems=new de,this.onDownload=new de,this.extraRequiredFields=[...this.defaultExtraRequiredFields,"exchangeClientId"],this.isMobile=Qde(),this.loadingStatus=Hn,this.isDownloading=la(!1),this.sortDropdownData=["date","author","role"],this.filterCount=0}fetchData(i){return kt(this,null,function*(){return this.diarynoteService.setClientId(this.exchangeClientId),this.diarynoteService.fetchDiarynotes(i)})}onAddNote(){this.dialog.open(mfe).beforeClosed().pipe(di(i=>i),Gn(this.destroyRef)).subscribe(i=>{this.diarynoteService.postDiarynote(i.text,i.file)})}clearAllFilters(){this.diarynoteService.clearFilter()}onShowFilterDialog(i){this.dialog.open(cve,{data:{filterOptions:i,activeFilters$:this.activeFilters$,order:this.sortDataState().order}}).beforeClosed().pipe(di(a=>!!a),Gn(this.destroyRef)).subscribe(a=>{this.filterCount=this.getFilterCount(a.filter,a.order);let r=this.isMobile()?{sort:"date",order:a.order}:null;this.diarynoteService.updateFilter(a.filter,r)})}getFilterCount(i,a){let r=0;return i.dateRange.from&&r++,i.dateRange.until&&r++,i.author&&i.author.trim()!==""&&r++,i.role&&i.role.trim()!==""&&r++,i.tags&&i.tags.length>0&&r++,a===vl.ascending&&r++,r}handlePageEvent(i){let a={page:i.pageIndex,pageSize:i.pageSize};this.diarynoteService.updatePagination(a)}handleSortEvent(i){this.diarynoteService.updateSorting(i)}onDownloadRequested(i){this.isDownloading.set(!0),this.diarynoteService.downloadAttachment$(i).pipe(vi(1),Xp(()=>{this.isDownloading.set(!1)})).subscribe(a=>{a&&this.onDownload.emit(a)})}injectService(){this.authServiceSelector.getInstance().resolveUserInfo().then(i=>{this.userInfo=i}).catch(i=>console.error("Failed to load user info",i)),this.diarynoteService=this.injector.get(Ns),this.diarynotesState$=this.diarynoteService.diarynotesState$,this.paginationState$=this.diarynoteService.paginationState$,kd(this.injector,()=>{this.sortDataState=fw(this.diarynoteService.sortState$)}),this.isFilterEmpty$=this.diarynoteService.filterState$.pipe(yt(i=>!i.dateRange.from&&!i.dateRange.until&&!i.author&&!i.role&&(!i.tags||i.tags.length===0))),this.diarynoteService.diarynotesState$.pipe(yt(i=>{var a;return((a=i==null?void 0:i.data)==null?void 0:a.totalItems)??0})).subscribe(i=>this.getTotalItems.emit(i)),this.activeFilters$=this.diarynoteService.filterState$.pipe(bs({refCount:!0,bufferSize:1})),this.diarynotesState$.subscribe(i=>{this.checkError(i.error)})}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=jt(t)))(a||t)}})(),t.ɵcmp=ve({type:t,selectors:[["ng-component"]],inputs:{exchangeClientId:"exchangeClientId"},outputs:{getTotalItems:"getTotalItems",onDownload:"onDownload"},features:[ki([Ns,ok,sk,ife]),Mt],decls:2,vars:1,consts:[[3,"isDownloading"],["class","add-container",4,"hideIfOffline"],[3,"error"],[3,"count","theme"],[1,"add-container"],["mat-button","","color","primary",3,"disabled","click",4,"vidisIfViewportSize"],["mat-flat-button","",3,"disabled"],["mat-button","","color","primary",3,"click","disabled"],[1,"mr-2"],["mat-flat-button","",3,"disabled","click",4,"vidisIfViewportSize"],["mat-flat-button","",3,"click","disabled"],["class","filter-container",4,"hideIfOffline"],["class","small-container",4,"hideIfOffline"],[1,"filter-container"],[3,"filterOptions","services","disabled","clickShowFilterDialog",4,"vidisIfViewportSize"],[3,"sortItems","sortData","disabled","sortDataChange",4,"vidisIfViewportSize"],[3,"clickShowFilterDialog","filterOptions","services","disabled"],[3,"sortDataChange","sortItems","sortData","disabled"],[1,"small-container"],["mat-icon-button","",3,"matBadge","matBadgeHidden","click",4,"vidisIfViewportSize"],["mat-icon-button","",3,"click","matBadge","matBadgeHidden"],["fontIcon","filter_alt",1,"ascending"],[1,"text-center"],[3,"message"],[3,"downloadRequested","diaryNoteDataItems","services","userInfo"],["showFirstLastButtons","",3,"page","length","pageSize","pageIndex","pageSizeOptions","disabled"],[1,"no-diary-notes__content"],[1,"description"],["mat-button","",3,"click"]],template:function(i,a){i&1&&K(0,vve,2,0,"div")(1,Lve,6,7),i&2&&ae(a.isCorrectlySetup()?1:0)},dependencies:[Nde,Qn,Da,zr,Xa,hve,uve,dge,kfe,Ype,Xme,Kme,$i,z1,pme,Pde,ak,nk,qme],styles:[".filter-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.small-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:16px}.add-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}.text-center[_ngcontent-%COMP%]{text-align:center}.no-diary-notes[_ngcontent-%COMP%]{background:#fff;padding:40px;border-radius:8px;position:relative}.no-diary-notes__content[_ngcontent-%COMP%]{margin-top:30px;border-left:8px solid #2473db;padding-left:30px}.no-diary-notes__content[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{max-width:50%}"]});let e=t;return e})(),wk={};Te(wk,{default:()=>jve,friday:()=>Dk,monday:()=>Sk,saturday:()=>Ik,sunday:()=>Ak,thursday:()=>Ck,tuesday:()=>kk,wednesday:()=>Ek});var Sk="Montag",kk="Dienstag",Ek="Mittwoch",Ck="Donnerstag",Dk="Freitag",Ik="Samstag",Ak="Sonntag",jve={monday:Sk,tuesday:kk,wednesday:Ek,thursday:Ck,friday:Dk,saturday:Ik,sunday:Ak},Ok={};Te(Ok,{default:()=>Bve,friday:()=>Rk,monday:()=>Tk,saturday:()=>Fk,sunday:()=>Vk,thursday:()=>Pk,tuesday:()=>Mk,wednesday:()=>Nk});var Tk="Monday",Mk="Tuesday",Nk="Wednesday",Pk="Thursday",Rk="Friday",Fk="Saturday",Vk="Sunday",Bve={monday:Tk,tuesday:Mk,wednesday:Nk,thursday:Pk,friday:Rk,saturday:Fk,sunday:Vk},Lk={};Te(Lk,{default:()=>Hve,friday:()=>$k,monday:()=>zk,saturday:()=>qk,sunday:()=>Gk,thursday:()=>Hk,tuesday:()=>jk,wednesday:()=>Bk});var zk="Lundi",jk="Mardi",Bk="Mercredi",Hk="Jeudi",$k="Vendredi",qk="Samedi",Gk="Dimanche",Hve={monday:zk,tuesday:jk,wednesday:Bk,thursday:Hk,friday:$k,saturday:qk,sunday:Gk},Uk={};Te(Uk,{default:()=>$ve,friday:()=>Xk,monday:()=>Yk,saturday:()=>Qk,sunday:()=>Jk,thursday:()=>Kk,tuesday:()=>Wk,wednesday:()=>Zk});var Yk="Maandag",Wk="Dinsdag",Zk="Woensdag",Kk="Donderdag",Xk="Vrijdag",Qk="Zaterdag",Jk="Zondag",$ve={monday:Yk,tuesday:Wk,wednesday:Zk,thursday:Kk,friday:Xk,saturday:Qk,sunday:Jk},qve={nl:Uk,fr:Lk,de:wk,en:Ok},eE={};Te(eE,{VIDIS_0035:()=>tE,VIDIS_0050:()=>iE,VIDIS_0090:()=>aE,VIDIS_0100:()=>NE,VIDIS_0110:()=>RE,VIDIS_0120:()=>PE,VIDIS_0121:()=>nE,VIDIS_0122:()=>rE,VIDIS_0123:()=>oE,VIDIS_0124:()=>sE,VIDIS_0125:()=>lE,VIDIS_0126:()=>cE,VIDIS_0131:()=>dE,VIDIS_0132:()=>uE,VIDIS_0133:()=>hE,VIDIS_0134:()=>pE,VIDIS_0135:()=>mE,VIDIS_0136:()=>fE,VIDIS_0190:()=>gE,VIDIS_0200:()=>FE,VIDIS_0210:()=>vE,VIDIS_0211:()=>bE,VIDIS_0230:()=>yE,VIDIS_0290:()=>_E,VIDIS_0330:()=>xE,VIDIS_0340:()=>VE,VIDIS_0341:()=>LE,VIDIS_0400:()=>TE,VIDIS_04001:()=>zE,VIDIS_0435:()=>wE,VIDIS_0440:()=>SE,VIDIS_3030:()=>ME,VIDIS_3090:()=>DE,VIDIS_3100:()=>AE,VIDIS_3120:()=>OE,VIDIS_3140:()=>IE,VIDIS_3150:()=>CE,VIDIS_5000:()=>kE,VIDIS_7000:()=>EE,"action-not-authorized-close-button":()=>oC,"action-not-authorized-title":()=>rC,"data-not-available-title":()=>nC,default:()=>Gve,general:()=>BE,"has-hidden-prescriptions":()=>ZE,"incorrect-elements-ms-detail":()=>lC,"incorrect-elements-ms-list":()=>sC,invalid_date_format:()=>UE,myHealth:()=>$E,myHealthUrl:()=>qE,network_error:()=>GE,"no-access":()=>HE,prescriptionList:()=>jE,"report-message-confirm-toast":()=>aC,"report-message-content":()=>QE,"report-message-explanation":()=>XE,"report-message-ignore-button":()=>iC,"report-message-link":()=>eC,"report-message-report-button":()=>tC,"report-message-term-use":()=>JE,"report-message-title":()=>KE,"status-message-content":()=>WE,"status-message-title":()=>YE});var tE="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",iE="Die Patienten-INSS fehlt. (VIDIS_0050)",aE="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",nE="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",rE="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",oE="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",sE="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",lE="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",cE="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",dE="Der Zugriff auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",uE="Der Zugriff auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",hE="Der Zugriff eines Elternteils auf die Daten eines Brüsseler Kindes ist derzeit nicht erlaubt.",pE="Der Zugriff eines Elternteils auf die Daten eines wallonischen Kindes ist derzeit nicht erlaubt.",mE="Der Zugriff eines Bevollmächtigten auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",fE="Der Zugriff eines Bevollmächtigten auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",gE="Ungültige INSS-Patientennummer. (VIDIS_0190)",vE="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",bE="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",yE="Der Vorgang ist ungültig (VIDIS_0230)",_E='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',xE="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)",wE="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",SE="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",kE="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",EE="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",CE="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",DE="Das Rezept ist abgelaufen.",IE="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.",AE="Das Visi-Flag muss auf dieselbe Apotheke gesetzt sein, bei der Sie reserviert haben.",OE="Der Patient in der Sitzung ist nicht derselbe wie der Patient in der Anfrage.",TE="Der Benutzer ist nicht berechtigt, die Anfrage zu stellen.",ME="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",NE="Vorgang nicht erlaubt.",PE="Es besteht keine therapeutische Beziehung zwischen Anfragendem und Patient.",RE="Keine Zustimmung zur Weitergabe von Gesundheitsdaten.",FE="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen.",VE="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.",LE="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.",zE="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später erneut.",jE="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",BE="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",HE="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",$E="Zurück zum Portal Meine Gesundheit",qE="https://wwwint.meinegesundheit.belgien.be/#/",GE="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",UE="Ungültiges Datumsformat.",YE="Dienst vorübergehend nicht verfügbar",WE=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
61
- Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.`,ZE="Der Patient hat ein oder mehrere Verschreibungen ausgeblendet.",KE="Technisches Problem",XE="Bitte versuchen Sie es später noch einmal.",QE="Helfen Sie uns, das Problem zu identifizieren und zu lösen. Mit dem Melden akzeptieren Sie ",JE="unsere Nutzungsbedingungen",eC="https://www.riziv.fgov.be/nl/pagina/datenschutzerklarung-der-mobilen-anwendung-meinegesundheit",tC="Problem melden",iC="Nicht melden",aC="Das Problem wurde gemeldet",nC="Daten nicht verfügbar",rC="Aktion nicht erlaubt",oC="Schließen",sC="Ein Warnzeichen weist auf fehlerhafte Angaben in Ihrem Medikamentenplan hin. Bitte wenden Sie sich an den verschreibenden Arzt.",lC="Bitten Sie {prescriber}, die mit einem Warnzeichen gekennzeichneten fehlerhaften Angaben zu korrigieren.",Gve={VIDIS_0035:tE,VIDIS_0050:iE,VIDIS_0090:aE,VIDIS_0121:nE,VIDIS_0122:rE,VIDIS_0123:oE,VIDIS_0124:sE,VIDIS_0125:lE,VIDIS_0126:cE,VIDIS_0131:dE,VIDIS_0132:uE,VIDIS_0133:hE,VIDIS_0134:pE,VIDIS_0135:mE,VIDIS_0136:fE,VIDIS_0190:gE,VIDIS_0210:vE,VIDIS_0211:bE,VIDIS_0230:yE,VIDIS_0290:_E,VIDIS_0330:xE,VIDIS_0435:wE,VIDIS_0440:SE,VIDIS_5000:kE,VIDIS_7000:EE,VIDIS_3150:CE,VIDIS_3090:DE,VIDIS_3140:IE,VIDIS_3100:AE,VIDIS_3120:OE,VIDIS_0400:TE,VIDIS_3030:ME,VIDIS_0100:NE,VIDIS_0120:PE,VIDIS_0110:RE,VIDIS_0200:FE,VIDIS_0340:VE,VIDIS_0341:LE,VIDIS_04001:zE,prescriptionList:jE,general:BE,"no-access":HE,myHealth:$E,myHealthUrl:qE,network_error:GE,invalid_date_format:UE,"status-message-title":YE,"status-message-content":WE,"has-hidden-prescriptions":ZE,"report-message-title":KE,"report-message-explanation":XE,"report-message-content":QE,"report-message-term-use":JE,"report-message-link":eC,"report-message-report-button":tC,"report-message-ignore-button":iC,"report-message-confirm-toast":aC,"data-not-available-title":nC,"action-not-authorized-title":rC,"action-not-authorized-close-button":oC,"incorrect-elements-ms-list":sC,"incorrect-elements-ms-detail":lC},cC={};Te(cC,{VIDIS_0035:()=>dC,VIDIS_0050:()=>uC,VIDIS_0090:()=>hC,VIDIS_0100:()=>HC,VIDIS_0110:()=>qC,VIDIS_0120:()=>$C,VIDIS_0121:()=>pC,VIDIS_0122:()=>mC,VIDIS_0123:()=>fC,VIDIS_0124:()=>gC,VIDIS_0125:()=>vC,VIDIS_0126:()=>bC,VIDIS_0131:()=>yC,VIDIS_0132:()=>_C,VIDIS_0133:()=>xC,VIDIS_0134:()=>wC,VIDIS_0135:()=>SC,VIDIS_0136:()=>kC,VIDIS_0190:()=>EC,VIDIS_0200:()=>GC,VIDIS_0210:()=>CC,VIDIS_0211:()=>DC,VIDIS_0230:()=>IC,VIDIS_0290:()=>AC,VIDIS_0330:()=>OC,VIDIS_0340:()=>UC,VIDIS_0341:()=>YC,VIDIS_0400:()=>jC,VIDIS_04001:()=>WC,VIDIS_0435:()=>TC,VIDIS_0440:()=>MC,VIDIS_3030:()=>BC,VIDIS_3090:()=>FC,VIDIS_3100:()=>LC,VIDIS_3120:()=>zC,VIDIS_3140:()=>VC,VIDIS_3150:()=>RC,VIDIS_5000:()=>NC,VIDIS_7000:()=>PC,"action-not-authorized-close-button":()=>fD,"action-not-authorized-title":()=>mD,"data-not-available-title":()=>pD,default:()=>Uve,general:()=>KC,"has-hidden-prescriptions":()=>nD,"incorrect-elements-ms-detail":()=>vD,"incorrect-elements-ms-list":()=>gD,invalid_date_format:()=>tD,myHealth:()=>QC,myHealthUrl:()=>JC,network_error:()=>eD,"no-access":()=>XC,prescriptionList:()=>ZC,"report-message-confirm-toast":()=>hD,"report-message-content":()=>sD,"report-message-explanation":()=>oD,"report-message-ignore-button":()=>uD,"report-message-link":()=>cD,"report-message-report-button":()=>dD,"report-message-term-use":()=>lD,"report-message-title":()=>rD,"status-message-content":()=>aD,"status-message-title":()=>iD});var dC="Unfortunately, this did not succeed. Please try again. (VIDIS_0035)",uC="The patient's NISS number is missing (VIDIS_0050)",hC="The personal information provided was not recognised. (VIDIS_0090)",pC="Consulting data of a Brussels patient is currently not authorised.",mC="Consulting data of a Walloon patient is currently not authorised.",fC="Consulting data of a Brussels child by a parent is currently not authorised.",gC="Consulting data of a Walloon child by a parent is currently not authorised.",vC="Consulting data of a Brussels patient by a power of attorney is currently not authorised.",bC="Consulting data of a Walloon patient by a power of attorney is currently not authorised.",yC="Access to the data of a Brussels patient is currently not permitted.",_C="Access to the data of a Walloon patient is currently not permitted.",xC="A parent’s access to the data of a Brussels child is currently not permitted.",wC="A parent’s access to the data of a Walloon child is currently not permitted.",SC="A representative’s access to the data of a Brussels patient is currently not permitted.",kC="A representative’s access to the data of a Walloon patient is currently not permitted.",EC="The patient's NISS number is invalid. (VIDIS_0190)",CC="The login was unsuccessful. Please try again. (VIDIS_0210)",DC="The login was unsuccessful. Please try again. (VIDIS_0211)",IC="The request is invalid. (VIDIS_0230)",AC="User role must be citizen. (VIDIS_0290)",OC="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)",TC="Cannot determine the storage region of the medication scheme. (VIDIS_0435)",MC="Unfortunately, this did not succeed. Please try again. (VIDIS_0440)",NC="Unfortunately your data could not be retrieved. Please try again. (VIDIS_5000)",PC="Unfortunately, this did not succeed. Please try again. (VIDIS_7000)",RC="No mandate found between patient and mandateholder.",FC="Prescription has expired.",VC="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.",LC="The vision-flag must be set to the same pharmacy as the pharmacy where you have reserved.",zC="The patient in the session is different from the patient in the request.",jC="User is not authorized to make the request.",BC="No mandate found between patient and mandateholder.",HC="Operation is not allowed.",$C="A therapeutic relation between the requester and the patient is not available.",qC="There is no consent to share personal health information.",GC="User is not allowed to perform the operation due to an exclusion between requester and patient.",UC="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",YC="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",WC="Your request is invalid. Please try again later.",ZC="Unfortunately the details of the prescription could not be retrieved. Please try again.",KC="An internal technical error has occured. Please try again later.",XC="An internal technical error has occured. Please try again later.",QC="Back to the MyHealth portal.",JC="https://www.myhealth.belgium.be/",eD="A network error unfortunately has occured. Please contact your network manager if the problem persists.",tD="Invalid date format.",iD="Service temporarily unavailable",aD=`We are currently having a problem connecting to the server.
62
- Please try again later.`,nD="The patient has hidden one or more prescriptions.",rD="Technical problem",oD="Please try again later.",sD="Help us identify and resolve the issue. By reporting it, you accept ",lD="our terms of use",cD="https://www.riziv.fgov.be/nl/pagina/privacy-statement-for-the-mobile-application-myhealth",dD="Report the problem",uD="Don't report",hD="The problem has been reported",pD="Data not available",mD="Action not authorized",fD="Close",gD="An alert indicates the incorrect elements in your medical scheme. Please contact the prescriber.",vD="Please ask {prescriber} to amend the incorrect elements signalled by an alert.",Uve={VIDIS_0035:dC,VIDIS_0050:uC,VIDIS_0090:hC,VIDIS_0121:pC,VIDIS_0122:mC,VIDIS_0123:fC,VIDIS_0124:gC,VIDIS_0125:vC,VIDIS_0126:bC,VIDIS_0131:yC,VIDIS_0132:_C,VIDIS_0133:xC,VIDIS_0134:wC,VIDIS_0135:SC,VIDIS_0136:kC,VIDIS_0190:EC,VIDIS_0210:CC,VIDIS_0211:DC,VIDIS_0230:IC,VIDIS_0290:AC,VIDIS_0330:OC,VIDIS_0435:TC,VIDIS_0440:MC,VIDIS_5000:NC,VIDIS_7000:PC,VIDIS_3150:RC,VIDIS_3090:FC,VIDIS_3140:VC,VIDIS_3100:LC,VIDIS_3120:zC,VIDIS_0400:jC,VIDIS_3030:BC,VIDIS_0100:HC,VIDIS_0120:$C,VIDIS_0110:qC,VIDIS_0200:GC,VIDIS_0340:UC,VIDIS_0341:YC,VIDIS_04001:WC,prescriptionList:ZC,general:KC,"no-access":XC,myHealth:QC,myHealthUrl:JC,network_error:eD,invalid_date_format:tD,"status-message-title":iD,"status-message-content":aD,"has-hidden-prescriptions":nD,"report-message-title":rD,"report-message-explanation":oD,"report-message-content":sD,"report-message-term-use":lD,"report-message-link":cD,"report-message-report-button":dD,"report-message-ignore-button":uD,"report-message-confirm-toast":hD,"data-not-available-title":pD,"action-not-authorized-title":mD,"action-not-authorized-close-button":fD,"incorrect-elements-ms-list":gD,"incorrect-elements-ms-detail":vD},bD={};Te(bD,{VIDIS_0035:()=>yD,VIDIS_0050:()=>_D,VIDIS_0090:()=>xD,VIDIS_0100:()=>XD,VIDIS_0110:()=>JD,VIDIS_0120:()=>QD,VIDIS_0121:()=>wD,VIDIS_0122:()=>SD,VIDIS_0123:()=>kD,VIDIS_0124:()=>ED,VIDIS_0125:()=>CD,VIDIS_0126:()=>DD,VIDIS_0131:()=>ID,VIDIS_0132:()=>AD,VIDIS_0133:()=>OD,VIDIS_0134:()=>TD,VIDIS_0135:()=>MD,VIDIS_0136:()=>ND,VIDIS_0190:()=>PD,VIDIS_0200:()=>eI,VIDIS_0210:()=>RD,VIDIS_0211:()=>FD,VIDIS_0230:()=>VD,VIDIS_0290:()=>LD,VIDIS_0330:()=>zD,VIDIS_0340:()=>tI,VIDIS_0341:()=>iI,VIDIS_0400:()=>ZD,VIDIS_04001:()=>aI,VIDIS_0435:()=>jD,VIDIS_0440:()=>BD,VIDIS_3030:()=>KD,VIDIS_3090:()=>GD,VIDIS_3100:()=>YD,VIDIS_3120:()=>WD,VIDIS_3140:()=>UD,VIDIS_3150:()=>qD,VIDIS_5000:()=>HD,VIDIS_7000:()=>$D,"action-not-authorized-close-button":()=>kI,"action-not-authorized-title":()=>SI,"data-not-available-title":()=>wI,default:()=>Yve,general:()=>rI,"has-hidden-prescriptions":()=>pI,"incorrect-elements-ms-detail":()=>CI,"incorrect-elements-ms-list":()=>EI,invalid_date_format:()=>dI,myHealth:()=>sI,myHealthUrl:()=>lI,network_error:()=>cI,"no-access":()=>oI,prescriptionList:()=>nI,"report-message-confirm-toast":()=>xI,"report-message-content":()=>gI,"report-message-explanation":()=>fI,"report-message-ignore-button":()=>_I,"report-message-link":()=>bI,"report-message-report-button":()=>yI,"report-message-term-use":()=>vI,"report-message-title":()=>mI,"status-message-content":()=>hI,"status-message-title":()=>uI});var yD="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0035)",_D="Le NISS du patient est manquant. (VIDIS_0050)",xD="Les informations personnelles fournies n'ont pas été reconnues. (VIDIS_0090)",wD="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",SD="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",kD="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",ED="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",CD="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",DD="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",ID="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",AD="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",OD="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",TD="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",MD="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",ND="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",PD="Le NISS du patient n’est pas valide. (VIDIS_0190)",RD="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0210)",FD="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0211)",VD="L’opération n’est pas valide. (VIDIS_0230)",LD="Le rôle d’utilisateur doit être citoyen (VIDIS_0290)",zD="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)",jD="Impossible de déterminer la région de stockage du schéma de médication. (VIDIS_0435)",BD="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0440)",HD="Malheureusement, nous n'avons pas pu récupérer vos données. Voulez-vous réessayer ? (VIDIS_5000)",$D="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_7000)",qD="Aucun mandat trouvé entre le patient et le mandataire.",GD="L’ordonnance est expirée.",UD="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.",YD="Le visi-flag doit être défini pour la même pharmacie que celle auprès de laquelle vous avez réservé.",WD="Le patient dans la session est différent de celui dans la demande.",ZD="L’utilisateur n’est pas autorisé à effectuer la requête.",KD="Aucun mandat trouvé entre le patient et le mandataire.",XD="Opération non autorisée.",QD="Aucune relation thérapeutique entre le demandeur et le patient.",JD="Aucun consentement au partage des données de santé.",eI="L’utilisateur n’est pas autorisé à effectuer l’opération en raison d’une exclusion entre le demandeur et le patient",tI="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",iI="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",aI="Votre requête est invalide. Veuillez réessayer plus tard.",nI="Malheureusement, il n’a pas été possible de retrouver les détails de la prescription. Essayez-vous à nouveau?",rI="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",oI="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",sI="Revenir au portail MaSanté",lI="https://wwwint.masante.belgique.be/#/",cI="Désolé, une erreur réseau s'est produite. Veuillez contacter votre administrateur réseau si le problème persiste.",dI="Le format de date est invalide.",uI="Service temporairement indisponible",hI=`Nous rencontrons actuellement un problème de connexion au serveur.
63
- Veuillez réessayer plus tard.`,pI="Le patient a masqué une ou plusieurs prescriptions.",mI="Problème technique",fI="Veuillez réessayer plus tard.",gI="Aidez-nous à identifier et résoudre le problème. En le signalant vous acceptez nos ",vI="conditions d'utilisation",bI="https://www.riziv.fgov.be/fr/page/declaration-de-confidentialite-application-mobile-masante",yI="Signaler le problème",_I="Ignorer",xI="Le problème a été signalé",wI="Données non disponibles",SI="Action non autorisée",kI="Fermer",EI="Un signal d’alerte indique des éléments incorrects dans votre schéma de médication. Veuillez contacter le prescripteur.",CI="Veuillez demander à {prescriber} de revoir le contenu des éléments indiqués par un signal d’alerte.",Yve={VIDIS_0035:yD,VIDIS_0050:_D,VIDIS_0090:xD,VIDIS_0121:wD,VIDIS_0122:SD,VIDIS_0123:kD,VIDIS_0124:ED,VIDIS_0125:CD,VIDIS_0126:DD,VIDIS_0131:ID,VIDIS_0132:AD,VIDIS_0133:OD,VIDIS_0134:TD,VIDIS_0135:MD,VIDIS_0136:ND,VIDIS_0190:PD,VIDIS_0210:RD,VIDIS_0211:FD,VIDIS_0230:VD,VIDIS_0290:LD,VIDIS_0330:zD,VIDIS_0435:jD,VIDIS_0440:BD,VIDIS_5000:HD,VIDIS_7000:$D,VIDIS_3150:qD,VIDIS_3090:GD,VIDIS_3140:UD,VIDIS_3100:YD,VIDIS_3120:WD,VIDIS_0400:ZD,VIDIS_3030:KD,VIDIS_0100:XD,VIDIS_0120:QD,VIDIS_0110:JD,VIDIS_0200:eI,VIDIS_0340:tI,VIDIS_0341:iI,VIDIS_04001:aI,prescriptionList:nI,general:rI,"no-access":oI,myHealth:sI,myHealthUrl:lI,network_error:cI,invalid_date_format:dI,"status-message-title":uI,"status-message-content":hI,"has-hidden-prescriptions":pI,"report-message-title":mI,"report-message-explanation":fI,"report-message-content":gI,"report-message-term-use":vI,"report-message-link":bI,"report-message-report-button":yI,"report-message-ignore-button":_I,"report-message-confirm-toast":xI,"data-not-available-title":wI,"action-not-authorized-title":SI,"action-not-authorized-close-button":kI,"incorrect-elements-ms-list":EI,"incorrect-elements-ms-detail":CI},DI={};Te(DI,{VIDIS_0035:()=>II,VIDIS_0050:()=>AI,VIDIS_0090:()=>OI,VIDIS_0100:()=>o2,VIDIS_0110:()=>l2,VIDIS_0120:()=>s2,VIDIS_0121:()=>TI,VIDIS_0122:()=>MI,VIDIS_0123:()=>NI,VIDIS_0124:()=>PI,VIDIS_0125:()=>RI,VIDIS_0126:()=>FI,VIDIS_0131:()=>VI,VIDIS_0132:()=>LI,VIDIS_0133:()=>zI,VIDIS_0134:()=>jI,VIDIS_0135:()=>BI,VIDIS_0136:()=>HI,VIDIS_0190:()=>$I,VIDIS_0200:()=>c2,VIDIS_0210:()=>qI,VIDIS_0211:()=>GI,VIDIS_0230:()=>UI,VIDIS_0290:()=>YI,VIDIS_0330:()=>WI,VIDIS_0340:()=>d2,VIDIS_0341:()=>u2,VIDIS_0400:()=>n2,VIDIS_04001:()=>h2,VIDIS_0435:()=>ZI,VIDIS_0440:()=>KI,VIDIS_3030:()=>r2,VIDIS_3090:()=>e2,VIDIS_3100:()=>i2,VIDIS_3120:()=>a2,VIDIS_3140:()=>t2,VIDIS_3150:()=>JI,VIDIS_5000:()=>XI,VIDIS_7000:()=>QI,"action-not-authorized-close-button":()=>N2,"action-not-authorized-title":()=>M2,"data-not-available-title":()=>T2,default:()=>Wve,general:()=>m2,"has-hidden-prescriptions":()=>w2,"incorrect-elements-ms-detail":()=>R2,"incorrect-elements-ms-list":()=>P2,invalid_date_format:()=>y2,myHealth:()=>g2,myHealthUrl:()=>v2,network_error:()=>b2,"no-access":()=>f2,prescriptionList:()=>p2,"report-message-confirm-toast":()=>O2,"report-message-content":()=>E2,"report-message-explanation":()=>k2,"report-message-ignore-button":()=>A2,"report-message-link":()=>D2,"report-message-report-button":()=>I2,"report-message-term-use":()=>C2,"report-message-title":()=>S2,"status-message-content":()=>x2,"status-message-title":()=>_2});var II="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0035)",AI="Het INSZ-patiëntnummer ontbreekt. (VIDIS_0050)",OI="De persoonlijke informatie verstrekt werd niet herkend. (VIDIS_0090)",TI="Het raadplegen van gegevens van een Brusselse patiënt is momenteel niet toegelaten.",MI="Het raadplegen van gegevens van een Waalse patiënt is op dit moment niet toegelaten.",NI="Het raadplegen van gegevens van een Brusselse kind door een ouder is momenteel niet toegelaten.",PI="Het raadplegen van gegevens van een Waalse kind door een ouder is momenteel niet toegelaten.",RI="Het raadplegen van gegevens van een Brusselse patiënt door een volmacht is momenteel niet toegelaten.",FI="Het raadplegen van gegevens van een Waalse patiënt door een volmacht is momenteel niet toegelaten.",VI="Het raadplegen van de gegevens van een Brusselse patiënt is momenteel niet toegestaan.",LI="Het raadplegen van de gegevens van een Waalse patiënt is momenteel niet toegestaan.",zI="Het raadplegen van de gegevens van een Brussels kind door een ouder is momenteel niet toegestaan.",jI="Het raadplegen van de gegevens van een Waals kind door een ouder is momenteel niet toegestaan.",BI="Het raadplegen van de gegevens van een Brusselse patiënt door een gemachtigde is momenteel niet toegestaan.",HI="Het raadplegen van de gegevens van een Waalse patiënt door een gemachtigde is momenteel niet toegestaan.",$I="Het INSZ-patiëntnummer is ongeldig. (VIDIS_0190)",qI="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0210)",GI="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0211)",UI="Het verzoek is ongeldig. (VIDIS_0230)",YI="Gebruikersrol moet burger zijn. (VIDIS_0290)",WI="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)",ZI="Kan de opslagregio van het medicatieschema niet bepalen. (VIDIS_0435)",KI="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0440)",XI="Het is jammer genoeg niet gelukt uw gegevens op te halen. Probeert u het even opnieuw? (VIDIS_5000)",QI="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_7000)",JI="Geen mandaat gevonden tussen patiënt en mandataris.",e2="Voorschrift is verlopen.",t2="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.",i2="De visivlag moet ingesteld zijn op dezelfde apotheek als waar u gereserveerd heeft.",a2="De patiënt in de sessie is anders dan de patiënt in de aanvraag.",n2="De gebruiker is niet gemachtigd om de aanvraag te doen.",r2="Geen mandaat gevonden tussen patiënt en mandataris.",o2="Bewerking is niet toegestaan.",s2="Er bestaat geen therapeutische relatie tussen aanvrager en patiënt.",l2="Er is geen toestemming om gezondheidsgegevens te delen.",c2="De gebruiker mag de bewerking niet uitvoeren omdat er een uitsluiting bestaat tussen de aanvrager en de patiënt.",d2="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",u2="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",h2="Uw verzoek is ongeldig. Probeer later opnieuw.",p2="Het is jammer genoeg niet gelukt de details van het voorschrift op te halen. Probeert u het even opnieuw?",m2="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",f2="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",g2="Terug naar het MijnGezondheid portaal",v2="http://wwwint.mijngezondheid.belgie.be/",b2="Er is helaas een netwerkfout opgetreden. Neem contact op met uw netwerkbeheerder als het probleem aanhoudt.",y2="Ongeldig datumformaat.",_2="Service tijdelijk niet beschikbaar",x2=`Er is momenteel een probleem met de verbinding met de server.
64
- Probeer het later nog eens.`,w2="De patiënt heeft 1 of meerdere voorschriften verborgen.",S2="Technisch probleem",k2="Probeer het later opnieuw.",E2="Help ons het probleem te identificeren en op te lossen. Door het te melden gaat u akkoord met onze ",C2="gebruiksvoorwaarden",D2="https://www.riziv.fgov.be/nl/pagina/privacyverklaring-mobiele-applicatie-mijngezondheid",I2="Probleem melden",A2="Niet melden",O2="Het probleem is gemeld",T2="Gegevens niet beschikbaar",M2="Actie niet toegestaan",N2="Sluiten",P2="Een waarschuwingsicoon duidt op onjuiste elementen in uw medicatieschema. Neem contact op met de voorschrijver.",R2="Vraag {prescriber} om de als fout aangeduide elementen te verbeteren.",Wve={VIDIS_0035:II,VIDIS_0050:AI,VIDIS_0090:OI,VIDIS_0121:TI,VIDIS_0122:MI,VIDIS_0123:NI,VIDIS_0124:PI,VIDIS_0125:RI,VIDIS_0126:FI,VIDIS_0131:VI,VIDIS_0132:LI,VIDIS_0133:zI,VIDIS_0134:jI,VIDIS_0135:BI,VIDIS_0136:HI,VIDIS_0190:$I,VIDIS_0210:qI,VIDIS_0211:GI,VIDIS_0230:UI,VIDIS_0290:YI,VIDIS_0330:WI,VIDIS_0435:ZI,VIDIS_0440:KI,VIDIS_5000:XI,VIDIS_7000:QI,VIDIS_3150:JI,VIDIS_3090:e2,VIDIS_3140:t2,VIDIS_3100:i2,VIDIS_3120:a2,VIDIS_0400:n2,VIDIS_3030:r2,VIDIS_0100:o2,VIDIS_0120:s2,VIDIS_0110:l2,VIDIS_0200:c2,VIDIS_0340:d2,VIDIS_0341:u2,VIDIS_04001:h2,prescriptionList:p2,general:m2,"no-access":f2,myHealth:g2,myHealthUrl:v2,network_error:b2,invalid_date_format:y2,"status-message-title":_2,"status-message-content":x2,"has-hidden-prescriptions":w2,"report-message-title":S2,"report-message-explanation":k2,"report-message-content":E2,"report-message-term-use":C2,"report-message-link":D2,"report-message-report-button":I2,"report-message-ignore-button":A2,"report-message-confirm-toast":O2,"data-not-available-title":T2,"action-not-authorized-title":M2,"action-not-authorized-close-button":N2,"incorrect-elements-ms-list":P2,"incorrect-elements-ms-detail":R2},Zve={nl:DI,fr:bD,de:eE,en:cC},F2={};Te(F2,{accessibility:()=>Y2,close:()=>V2,default:()=>Kve,downloadLeaflet:()=>L2,downloading:()=>W2,file:()=>z2,medicationDetails:()=>U2,notSpecified:()=>j2,patient:()=>H2,prescribedOn:()=>q2,prescriber:()=>$2,prescription:()=>B2,seeDetails:()=>G2});var V2="Schließen",L2="Download Packungsbeilage (pdf)",z2="feile",j2="Nicht angegeben",B2="Rezept",H2="Patient",$2="Verordnende Person",q2="Drucken",G2="Details anzeigen",U2="Details zum Medikament",Y2={nihdiLabel:"RIZIV nummer {{value}}"},W2="Download läuft",Kve={close:V2,downloadLeaflet:L2,file:z2,notSpecified:j2,prescription:B2,patient:H2,prescriber:$2,prescribedOn:q2,seeDetails:G2,medicationDetails:U2,accessibility:Y2,downloading:W2},Z2={};Te(Z2,{accessibility:()=>oA,close:()=>K2,default:()=>Xve,downloadLeaflet:()=>X2,downloading:()=>sA,file:()=>Q2,medicationDetails:()=>rA,notSpecified:()=>J2,patient:()=>tA,prescribedOn:()=>aA,prescriber:()=>iA,prescription:()=>eA,seeDetails:()=>nA});var K2="Close",X2="Download leaflet (pdf)",Q2="file",J2="Not specified",eA="Prescription",tA="Patient",iA="Prescriber",aA="Prescribed on",nA="View details",rA="Details for the medication",oA={nihdiLabel:"RIZIV number {{value}}"},sA="Download in progress",Xve={close:K2,downloadLeaflet:X2,file:Q2,notSpecified:J2,prescription:eA,patient:tA,prescriber:iA,prescribedOn:aA,seeDetails:nA,medicationDetails:rA,accessibility:oA,downloading:sA},lA={};Te(lA,{accessibility:()=>yA,close:()=>cA,default:()=>Qve,downloadLeaflet:()=>dA,downloading:()=>_A,file:()=>uA,medicationDetails:()=>bA,notSpecified:()=>hA,patient:()=>mA,prescribedOn:()=>gA,prescriber:()=>fA,prescription:()=>pA,seeDetails:()=>vA});var cA="Fermer",dA="Télécharger la notice (pdf)",uA="fichier",hA="Non spécifié",pA="Prescription",mA="Patient",fA="Prescripteur",gA="Prescrit le",vA="Voir détails",bA="Détails pour le médicament",yA={nihdiLabel:"numéro INAMI {{value}}"},_A="Téléchargement en cours",Qve={close:cA,downloadLeaflet:dA,file:uA,notSpecified:hA,prescription:pA,patient:mA,prescriber:fA,prescribedOn:gA,seeDetails:vA,medicationDetails:bA,accessibility:yA,downloading:_A},xA={};Te(xA,{accessibility:()=>MA,close:()=>wA,default:()=>Jve,downloadLeaflet:()=>SA,downloading:()=>NA,file:()=>kA,medicationDetails:()=>TA,notSpecified:()=>EA,patient:()=>DA,prescribedOn:()=>AA,prescriber:()=>IA,prescription:()=>CA,seeDetails:()=>OA});var wA="Sluiten",SA="Download bijsluiter (pdf)",kA="bestand",EA="Niet gespecificeerd",CA="Voorschrift",DA="Patiënt",IA="Voorschrijver",AA="Voorgeschreven op",OA="Details bekijken",TA="Details voor het geneesmiddel",MA={nihdiLabel:"RIZIV nummer {{value}}"},NA="Download bezig",Jve={close:wA,downloadLeaflet:SA,file:kA,notSpecified:EA,prescription:CA,patient:DA,prescriber:IA,prescribedOn:AA,seeDetails:OA,medicationDetails:TA,accessibility:MA,downloading:NA},ebe={nl:xA,fr:lA,de:F2,en:Z2},PA={};Te(PA,{default:()=>tbe,firstPage:()=>RA,itemsPerPage:()=>zA,lastPage:()=>FA,nextPage:()=>VA,prevPage:()=>LA});var RA="Erste Seite",FA="Letzte Seite",VA="Nächste Seite",LA="Vorherige Seite",zA="Anzahl pro Seite",tbe={firstPage:RA,lastPage:FA,nextPage:VA,prevPage:LA,itemsPerPage:zA},jA={};Te(jA,{default:()=>ibe,firstPage:()=>BA,itemsPerPage:()=>GA,lastPage:()=>HA,nextPage:()=>$A,prevPage:()=>qA});var BA="First page",HA="Last page",$A="Next page",qA="Previous page",GA="Number per page",ibe={firstPage:BA,lastPage:HA,nextPage:$A,prevPage:qA,itemsPerPage:GA},UA={};Te(UA,{default:()=>abe,firstPage:()=>YA,itemsPerPage:()=>XA,lastPage:()=>WA,nextPage:()=>ZA,prevPage:()=>KA});var YA="Première page",WA="Dernière page",ZA="Page suivante",KA="Page précédente",XA="Nombre par page",abe={firstPage:YA,lastPage:WA,nextPage:ZA,prevPage:KA,itemsPerPage:XA},QA={};Te(QA,{default:()=>nbe,firstPage:()=>JA,itemsPerPage:()=>aO,lastPage:()=>eO,nextPage:()=>tO,prevPage:()=>iO});var JA="Eerste pagina",eO="Laatste pagina",tO="Volgende pagina",iO="Vorige pagina",aO="Aantal per pagina",nbe={firstPage:JA,lastPage:eO,nextPage:tO,prevPage:iO,itemsPerPage:aO},rbe={nl:QA,fr:UA,de:PA,en:jA},nO={};Te(nO,{afterbreakfast:()=>rO,afterdinner:()=>oO,afterlunch:()=>sO,aftermeal:()=>lO,afternoon:()=>cO,beforebreakfast:()=>dO,beforedinner:()=>uO,beforelunch:()=>hO,betweenbreakfastandlunch:()=>pO,betweendinnerandsleep:()=>mO,betweenlunchanddinner:()=>fO,betweenmeals:()=>gO,breakfast:()=>vO,default:()=>obe,dinner:()=>bO,duringbreakfast:()=>yO,duringdinner:()=>_O,duringlunch:()=>xO,evening:()=>wO,lunch:()=>SO,morning:()=>kO,night:()=>EO,thehourofsleep:()=>CO});var rO="nach dem Frühstück",oO="nach dem Abendessen",sO="nach dem Mittagessen",lO="nach dem Essen",cO="Nachmittag",dO="vor dem Frühstück",uO="vor dem Abendessen",hO="vor dem Mittagessen",pO="zwischen Frühstück und Mittagessen",mO="zwischen Abendessen und Nachtruhe",fO="zwischen Mittagessen und Abendessen",gO="zwischen den Mahlzeiten",vO="Frühstück",bO="Abendessen",yO="zum Frühstück",_O="zum Abendessen",xO="zum Mittagessen",wO="Abend",SO="Mittagessen",kO="Vormittag",EO="Nacht",CO="Nachtruhe",obe={afterbreakfast:rO,afterdinner:oO,afterlunch:sO,aftermeal:lO,afternoon:cO,beforebreakfast:dO,beforedinner:uO,beforelunch:hO,betweenbreakfastandlunch:pO,betweendinnerandsleep:mO,betweenlunchanddinner:fO,betweenmeals:gO,breakfast:vO,dinner:bO,duringbreakfast:yO,duringdinner:_O,duringlunch:xO,evening:wO,lunch:SO,morning:kO,night:EO,thehourofsleep:CO},DO={};Te(DO,{afterbreakfast:()=>IO,afterdinner:()=>AO,afterlunch:()=>OO,aftermeal:()=>TO,afternoon:()=>MO,beforebreakfast:()=>NO,beforedinner:()=>PO,beforelunch:()=>RO,betweenbreakfastandlunch:()=>FO,betweendinnerandsleep:()=>VO,betweenlunchanddinner:()=>LO,betweenmeals:()=>zO,breakfast:()=>jO,default:()=>sbe,dinner:()=>BO,duringbreakfast:()=>HO,duringdinner:()=>$O,duringlunch:()=>qO,evening:()=>GO,lunch:()=>UO,morning:()=>YO,night:()=>WO,thehourofsleep:()=>ZO});var IO="after breakfast",AO="after dinner",OO="after lunch",TO="after meal",MO="afternoon",NO="before breakfast",PO="before dinner",RO="before lunch",FO="between breakfast and lunch",VO="between dinner and the hour of sleep",LO="between lunch and dinner",zO="between meals",jO="breakfast",BO="dinner",HO="during breakfast",$O="during dinner",qO="during lunch",GO="evening",UO="lunch",YO="morning",WO="night",ZO="the hour of sleep",sbe={afterbreakfast:IO,afterdinner:AO,afterlunch:OO,aftermeal:TO,afternoon:MO,beforebreakfast:NO,beforedinner:PO,beforelunch:RO,betweenbreakfastandlunch:FO,betweendinnerandsleep:VO,betweenlunchanddinner:LO,betweenmeals:zO,breakfast:jO,dinner:BO,duringbreakfast:HO,duringdinner:$O,duringlunch:qO,evening:GO,lunch:UO,morning:YO,night:WO,thehourofsleep:ZO},KO={};Te(KO,{afterbreakfast:()=>XO,afterdinner:()=>QO,afterlunch:()=>JO,aftermeal:()=>eT,afternoon:()=>tT,beforebreakfast:()=>iT,beforedinner:()=>aT,beforelunch:()=>nT,betweenbreakfastandlunch:()=>rT,betweendinnerandsleep:()=>oT,betweenlunchanddinner:()=>sT,betweenmeals:()=>lT,breakfast:()=>cT,default:()=>lbe,dinner:()=>dT,duringbreakfast:()=>uT,duringdinner:()=>hT,duringlunch:()=>pT,evening:()=>mT,lunch:()=>fT,morning:()=>gT,night:()=>vT,thehourofsleep:()=>bT});var XO="après le petit-déjeuner",QO="après le repas du soir",JO="après le repas du midi",eT="après le repas",tT="après-midi",iT="avant le petit-déjeuner",aT="avant le repas du soir",nT="avant le repas du midi",rT="entre le petit-déjeuner et le repas du midi",oT="entre le repas du soir et l’heure du coucher",sT="entre le repas du midi et le repas du soir",lT="entre les repas",cT="petit-déjeuner",dT="repas du soir",uT="pendant le petit-déjeuner",hT="pendant le repas du soir",pT="pendant le repas du midi",mT="soir",fT="repas du midi",gT="matin",vT="nuit",bT="heure du coucher",lbe={afterbreakfast:XO,afterdinner:QO,afterlunch:JO,aftermeal:eT,afternoon:tT,beforebreakfast:iT,beforedinner:aT,beforelunch:nT,betweenbreakfastandlunch:rT,betweendinnerandsleep:oT,betweenlunchanddinner:sT,betweenmeals:lT,breakfast:cT,dinner:dT,duringbreakfast:uT,duringdinner:hT,duringlunch:pT,evening:mT,lunch:fT,morning:gT,night:vT,thehourofsleep:bT},yT={};Te(yT,{afterbreakfast:()=>_T,afterdinner:()=>xT,afterlunch:()=>wT,aftermeal:()=>ST,afternoon:()=>kT,beforebreakfast:()=>ET,beforedinner:()=>CT,beforelunch:()=>DT,betweenbreakfastandlunch:()=>IT,betweendinnerandsleep:()=>AT,betweenlunchanddinner:()=>OT,betweenmeals:()=>TT,breakfast:()=>MT,default:()=>cbe,dinner:()=>NT,duringbreakfast:()=>PT,duringdinner:()=>RT,duringlunch:()=>FT,evening:()=>VT,lunch:()=>LT,morning:()=>zT,night:()=>jT,thehourofsleep:()=>BT});var _T="na het ontbijt",xT="na het avondmaal",wT="na het middagmaal",ST="na de maaltijd",kT="namiddag",ET="voor het ontbijt",CT="voor het avondmaal",DT="voor het middagmaal",IT="tussen het ontbijt en het middagmaal",AT="tussen het avondmaal en het slapen gaan",OT="tussen het middagmaal en het avondmaal",TT="tussen de maaltijden",MT="ontbijt",NT="avondmaal",PT="tijdens het ontbijt",RT="tijdens het avondmaal",FT="tijdens het middagmaal",VT="'s avonds",LT="middagmaal",zT="'s ochtends",jT="'s nachts",BT="voor het slapen gaan",cbe={afterbreakfast:_T,afterdinner:xT,afterlunch:wT,aftermeal:ST,afternoon:kT,beforebreakfast:ET,beforedinner:CT,beforelunch:DT,betweenbreakfastandlunch:IT,betweendinnerandsleep:AT,betweenlunchanddinner:OT,betweenmeals:TT,breakfast:MT,dinner:NT,duringbreakfast:PT,duringdinner:RT,duringlunch:FT,evening:VT,lunch:LT,morning:zT,night:jT,thehourofsleep:BT},dbe={nl:yT,fr:KO,de:nO,en:DO},HT={};Te(HT,{ambulance_driver:()=>$T,ambulance_first_aid:()=>qT,ambulance_rescuer:()=>GT,application:()=>UT,applied_psychology_bachelor:()=>YT,audician:()=>WT,audiologist:()=>ZT,biologist_pharmacist:()=>KT,care_giver:()=>XT,certificateholder:()=>QT,citizen:()=>JT,clinical_orthopedic_pedagogue:()=>eM,clinical_psychologist:()=>tM,default:()=>ube,dental_hygienist:()=>iM,dentist:()=>aM,deptalgology:()=>nM,deptanatomopathology:()=>rM,deptanesthesiology:()=>oM,deptbacteriology:()=>sM,deptcardiacsurgery:()=>lM,deptcardiology:()=>cM,deptchildandadolescentpsychiatry:()=>dM,deptdentistry:()=>uM,deptdermatology:()=>hM,deptdiabetology:()=>pM,deptdietetics:()=>mM,deptemergency:()=>fM,deptendocrinology:()=>gM,deptgastroenterology:()=>vM,deptgeneralpractice:()=>bM,deptgenetics:()=>yM,deptgeriatry:()=>_M,deptgynecology:()=>xM,depthandsurgery:()=>wM,depthematology:()=>SM,deptinfectiousdisease:()=>kM,deptintensivecare:()=>EM,deptkinesitherapy:()=>CM,deptlaboratory:()=>DM,deptmajorburns:()=>IM,deptmaxillofacialsurgery:()=>AM,deptmedicine:()=>OM,deptmolecularbiology:()=>TM,deptneonatalogy:()=>MM,deptnephrology:()=>NM,deptneurology:()=>PM,deptneurosurgery:()=>RM,deptnte:()=>FM,deptnuclear:()=>VM,deptnursing:()=>LM,deptnutritiondietetics:()=>zM,deptobstetrics:()=>jM,deptoccupationaltherapy:()=>BM,deptoncology:()=>HM,deptophtalmology:()=>$M,deptorthopedy:()=>qM,deptpalliativecare:()=>GM,deptpediatricintensivecare:()=>UM,deptpediatricsurgery:()=>YM,deptpediatry:()=>WM,deptpharmacy:()=>ZM,deptphysicalmedecine:()=>KM,deptphysiotherapy:()=>XM,deptplasticandreparatorysurgery:()=>QM,deptpneumology:()=>JM,deptpodiatry:()=>eN,deptpodology:()=>tN,deptpsychiatry:()=>iN,deptpsychogeriatry:()=>aN,deptpsychology:()=>nN,deptradiology:()=>rN,deptradiotherapy:()=>oN,deptrevalidation:()=>sN,deptrheumatology:()=>lN,deptrhumatology:()=>cN,deptsenology:()=>dN,deptsocialservice:()=>uN,deptspeechtherapy:()=>hN,deptsportsmedecine:()=>pN,deptstomatology:()=>mN,deptsurgery:()=>fN,deptthoracicsurgery:()=>gN,depttoxicology:()=>vN,depttropicalmedecine:()=>bN,depturology:()=>yN,deptvascularsurgery:()=>_N,deptvisceraldigestiveabdominalsurgery:()=>xN,diabete_equipment_supplier:()=>wN,dietician:()=>SN,doctor:()=>kN,family_science_bachelor:()=>EN,gerontology_master:()=>CN,groupofnurses:()=>DN,groupofphysiciansdifferentaddress:()=>IN,groupofphysicianssameaddress:()=>AN,guardpost:()=>ON,hub:()=>TN,imaging_technologist:()=>MN,implantprovider:()=>NN,lab_technologist:()=>PN,logopedist:()=>RN,midwife:()=>FN,nurse:()=>VN,occupational_therapist:()=>LN,optician:()=>zN,orghospital:()=>jN,orginsurance:()=>BN,orglaboratory:()=>HN,orgpharmacy:()=>$N,orgpharmacyinvoicingoffice:()=>qN,orgpolyclinic:()=>GN,orgpractice:()=>UN,orgprevention:()=>YN,orgprimaryhealthcarecenter:()=>WN,orgpsychiatriccarehome:()=>ZN,orgpublichealth:()=>KN,orgretirementhome:()=>XN,orgrevalidationcenter:()=>QN,orgshelteredliving:()=>JN,orthopedagogist_master:()=>eP,orthopedist:()=>tP,orthoptist:()=>iP,orthotist:()=>aP,patient:()=>nP,pediatric_nurse:()=>rP,persadministrative:()=>oP,persambulancefirstaid:()=>sP,persappliedpsychbachelor:()=>lP,persaudician:()=>cP,persaudiologist:()=>dP,persbandagistorthosiologist:()=>uP,persbiologist:()=>hP,perscaregiver:()=>pP,persclinicalorthopedagogist:()=>mP,persclinicalpsychologist:()=>fP,persdentist:()=>gP,persdietician:()=>vP,perseducator:()=>bP,persfamilysciencebachelor:()=>yP,persgerontologymaster:()=>_P,perslogopedist:()=>xP,persmidwife:()=>wP,persmobilityimprover:()=>SP,persnurse:()=>kP,persoccupationaltherapist:()=>EP,persoptician:()=>CP,persoptometrist:()=>DP,persoraldentalhygienist:()=>IP,persorthopedagogistmaster:()=>AP,persorthopedist:()=>OP,persorthoptist:()=>TP,persorthotist:()=>MP,persparamedical:()=>NP,perspatientdriver:()=>PP,perspharmacist:()=>RP,perspharmacistclinicalbiologist:()=>FP,perspharmacyassistant:()=>VP,persphysician:()=>LP,persphysiotherapist:()=>zP,perspodologist:()=>jP,perspracticalnurse:()=>BP,persprosthesiologist:()=>HP,perspsychologist:()=>$P,perspsychomotortherapymaster:()=>qP,persreadaptationbachelor:()=>GP,persshoetechnologist:()=>UP,perssocialworker:()=>YP,perstechnician:()=>WP,perstrussmaker:()=>ZP,pharmacist:()=>KP,pharmacist_assistant:()=>XP,physician:()=>QP,physiotherapist:()=>JP,podologist:()=>eR,practical_nurse:()=>tR,prosthetist:()=>iR,psychologist:()=>aR,psychomotor_therapy_master:()=>nR,readaptaion_bachelor:()=>rR,social_worker:()=>oR,specialized_educator:()=>sR,truss_maker:()=>lR});var $T="Rettungswagenfahrer",qT="Rettungssanitäter",GT="Rettungssanitäter",UT="Softwareapplikation",YT="Bachelor der angewandten Psychologie",WT="Hörgeräteakustiker",ZT="Audiologe",KT="Fachapotheker für klinische Chemie",XT="Pflegekräfte",QT="Zertifikatinhaber",JT="Bürger",eM="Klinischer Heilpädagoge",tM="Klinischer Psychologe",iM="Dentalhygieniker",aM="Zahnarzt",nM="Algologie",rM="pathologische Anatomie",oM="Anästhesiologie",sM="Bakteriologie",lM="Herzchirurgie",cM="Kardiologie",dM="Kinder-und Jugendpsychiatrie",uM="Zahnheilkunde",hM="Dermatologie",pM="Diabetologie",mM="Diätetik",fM="Notaufnahme",gM="Endokrinologie",vM="Gastroenterologie",bM="Allgemeinmedizin",yM="Genetik",_M="Geriatrie",xM="Gynäkologie",wM="Handchirurgie",SM="Hämatologie",kM="Infektionskrankheit",EM="Intensivmedizin",CM="Physiotherapie",DM="Labordienst/-abteilung einer Einrichtung",IM="Schwerbrandverletztenzentrum",AM="Mund-Kiefer-Gesichtschirurgie",OM="Innere Medizin",TM="Molekularbiologie",MM="Neonatologie",NM="Nephrologie",PM="Neurologie",RM="Neurologie",FM="Hals-Nasen-Ohren-Heilkunde (HNO)",VM="Nuklearmedizin",LM="Krankenpflege",zM="Diätetik",jM="Geburtshilfe",BM="Ergotherapie",HM="Onkologie",$M="Augenheilkunde",qM="Orthopädie",GM="Palliativpflege",UM="Kinder-Intensivstation",YM="Kinderchirurgie",WM="Pädiatrie",ZM="Apothekendienst/-abteilung einer Einrichtung",KM="physikalische Medizin",XM="Physiotherapie",QM="plastische Chirurgie und rekonstruktive Chirurgie",JM="Pneumologie",eN="Podiatrie",tN="",iN="Psychiatrie",aN="Psychogeriatrie",nN="Psychologie",rN="Radiologie",oN="Strahlentherapie",sN="Rehabilitation",lN="Rheumatologie",cN="",dN="Senologie",uN="Sozialdienst",hN="Logopädie",pN="Sportmedizin",mN="Stomatologie",fN="Chirurgie",gN="Thoraxchirurgie",vN="Toxikologie",bN="Tropenmedizin",yN="Urologie",_N="Vaskuläre Chirurgie",xN="Viszeralchirurgie/Abdominalchirurgie/Bauchchirurgie",wN="Lieferant von Material für Diabetesselbstverwaltung ",SN="Diätassistent",kN="Arzt",EN="Bachelor der Familienwissenschaften",CN="Master der Gerontologie",DN="Krankenpflegeverband",IN="Zusammenschluss von Ärzten, unterschiedliche Adresse",AN="Zusammenschluss von Ärzten, gleiche Adresse",ON="Schwesternstützpunkt",TN="Hub",MN="Technologe im bildgebenden Diagnoseverfahren",NN="Lieferant von Implantaten",PN="Labortechniker",RN="Logopäde",FN="Hebamme",VN="Fachkraft für Krankenpflege",LN="Ergotherapeut",zN="Optiker",jN="Krankenhaus",BN="Versicherung",HN="Unabhängiges Labor",$N="Unabhängige Apotheke",qN="Rechnungstelle für Apotheken",GN="Poliklinik",UN="Praxis",YN="Präventionsdienst",WN="Gesundheits- und Sozialzentrum",ZN="psychiatrische Klinik",KN="Gesundheitsbehörde",XN="Altenheim",QN="Reha-Klinik",JN="Initiative für begleitetes Wohnen",eP="Master der Heilpädagogik",tP="Orthopäde",iP="Orthoptist-Optometrist",aP="Orthopädietechniker",nP="Patient",rP="Kinderkrankenschwester",oP="Büroangestellter",sP="Rettungswagen",lP="Bachelor in angewandter Psychologie",cP="Hörgeräteakustiker",dP="Audiologe",uP="Bandagist Orthosiologe (Orthopädietechniker)",hP="medizinischer Labortechniker",pP="informelle Pflegeperson",mP="Klinischer Heilpädagoge",fP="Klinischer Psychologe",gP="Zahnarzt",vP="Diätassistent",bP="Erzieher",yP="Bachelor in Familienwissenschaften",_P="Master in Gerontologie",xP="Logopäde",wP="Hebamme",SP="Mobilitätsverbesserer (Orthopädietechniker)",kP="Krankenpfleger",EP="Ergotherapeut",CP="Optiker",DP="Optometrist",IP="Dentalhygieniker",AP="Master in Heilpädagogik",OP="Orthopädist",TP="Orthoptist",MP="Orthopädietechniker/Prothesenbauer",NP="medizinische Hilfskraft",PP="Fahrdienst",RP="Apotheker",FP="Fachapotheker für klinische Chemie",VP="Apothekenhelfer",LP="Arzt",zP="Physiotherapeut",jP="Podologe",BP="Pfleger",HP="Orthopädietechniker (Orthopädietechniker)",$P="Psychologe",qP="Master in Psychomotorik",GP="Bachelor in Rehabilitation",UP="Schuhtechniker (Orthopädietechniker)",YP="Sozialarbeiter",WP="Techniker für medizinische Bildgebung",ZP="Bandagist",KP="Apotheker",XP="Pharmazeutisch-technischer Assistent ",QP="Arzt",JP="Physiotherapeut",eR="Podologe",tR="Pflegehelfer",iR="Prothesenhersteller",aR="Psychologe",nR="Master der psychomotorischen Therapie",rR="Bachelor der Rehabilitationswissenschaften",oR="Sozialassistent",sR="Bachelor der Erziehungswissenschaften",lR="Bandagist",ube={ambulance_driver:$T,ambulance_first_aid:qT,ambulance_rescuer:GT,application:UT,applied_psychology_bachelor:YT,audician:WT,audiologist:ZT,biologist_pharmacist:KT,care_giver:XT,certificateholder:QT,citizen:JT,clinical_orthopedic_pedagogue:eM,clinical_psychologist:tM,dental_hygienist:iM,dentist:aM,deptalgology:nM,deptanatomopathology:rM,deptanesthesiology:oM,deptbacteriology:sM,deptcardiacsurgery:lM,deptcardiology:cM,deptchildandadolescentpsychiatry:dM,deptdentistry:uM,deptdermatology:hM,deptdiabetology:pM,deptdietetics:mM,deptemergency:fM,deptendocrinology:gM,deptgastroenterology:vM,deptgeneralpractice:bM,deptgenetics:yM,deptgeriatry:_M,deptgynecology:xM,depthandsurgery:wM,depthematology:SM,deptinfectiousdisease:kM,deptintensivecare:EM,deptkinesitherapy:CM,deptlaboratory:DM,deptmajorburns:IM,deptmaxillofacialsurgery:AM,deptmedicine:OM,deptmolecularbiology:TM,deptneonatalogy:MM,deptnephrology:NM,deptneurology:PM,deptneurosurgery:RM,deptnte:FM,deptnuclear:VM,deptnursing:LM,deptnutritiondietetics:zM,deptobstetrics:jM,deptoccupationaltherapy:BM,deptoncology:HM,deptophtalmology:$M,deptorthopedy:qM,deptpalliativecare:GM,deptpediatricintensivecare:UM,deptpediatricsurgery:YM,deptpediatry:WM,deptpharmacy:ZM,deptphysicalmedecine:KM,deptphysiotherapy:XM,deptplasticandreparatorysurgery:QM,deptpneumology:JM,deptpodiatry:eN,deptpodology:tN,deptpsychiatry:iN,deptpsychogeriatry:aN,deptpsychology:nN,deptradiology:rN,deptradiotherapy:oN,deptrevalidation:sN,deptrheumatology:lN,deptrhumatology:cN,deptsenology:dN,deptsocialservice:uN,deptspeechtherapy:hN,deptsportsmedecine:pN,deptstomatology:mN,deptsurgery:fN,deptthoracicsurgery:gN,depttoxicology:vN,depttropicalmedecine:bN,depturology:yN,deptvascularsurgery:_N,deptvisceraldigestiveabdominalsurgery:xN,diabete_equipment_supplier:wN,dietician:SN,doctor:kN,family_science_bachelor:EN,gerontology_master:CN,groupofnurses:DN,groupofphysiciansdifferentaddress:IN,groupofphysicianssameaddress:AN,guardpost:ON,hub:TN,imaging_technologist:MN,implantprovider:NN,lab_technologist:PN,logopedist:RN,midwife:FN,nurse:VN,occupational_therapist:LN,optician:zN,orghospital:jN,orginsurance:BN,orglaboratory:HN,orgpharmacy:$N,orgpharmacyinvoicingoffice:qN,orgpolyclinic:GN,orgpractice:UN,orgprevention:YN,orgprimaryhealthcarecenter:WN,orgpsychiatriccarehome:ZN,orgpublichealth:KN,orgretirementhome:XN,orgrevalidationcenter:QN,orgshelteredliving:JN,orthopedagogist_master:eP,orthopedist:tP,orthoptist:iP,orthotist:aP,patient:nP,pediatric_nurse:rP,persadministrative:oP,persambulancefirstaid:sP,persappliedpsychbachelor:lP,persaudician:cP,persaudiologist:dP,persbandagistorthosiologist:uP,persbiologist:hP,perscaregiver:pP,persclinicalorthopedagogist:mP,persclinicalpsychologist:fP,persdentist:gP,persdietician:vP,perseducator:bP,persfamilysciencebachelor:yP,persgerontologymaster:_P,perslogopedist:xP,persmidwife:wP,persmobilityimprover:SP,persnurse:kP,persoccupationaltherapist:EP,persoptician:CP,persoptometrist:DP,persoraldentalhygienist:IP,persorthopedagogistmaster:AP,persorthopedist:OP,persorthoptist:TP,persorthotist:MP,persparamedical:NP,perspatientdriver:PP,perspharmacist:RP,perspharmacistclinicalbiologist:FP,perspharmacyassistant:VP,persphysician:LP,persphysiotherapist:zP,perspodologist:jP,perspracticalnurse:BP,persprosthesiologist:HP,perspsychologist:$P,perspsychomotortherapymaster:qP,persreadaptationbachelor:GP,persshoetechnologist:UP,perssocialworker:YP,perstechnician:WP,perstrussmaker:ZP,pharmacist:KP,pharmacist_assistant:XP,physician:QP,physiotherapist:JP,podologist:eR,practical_nurse:tR,prosthetist:iR,psychologist:aR,psychomotor_therapy_master:nR,readaptaion_bachelor:rR,social_worker:oR,specialized_educator:sR,truss_maker:lR},cR={};Te(cR,{ambulance_driver:()=>dR,ambulance_first_aid:()=>uR,ambulance_rescuer:()=>hR,application:()=>pR,applied_psychology_bachelor:()=>mR,audician:()=>fR,audiologist:()=>gR,biologist_pharmacist:()=>vR,care_giver:()=>bR,certificateholder:()=>yR,citizen:()=>_R,clinical_orthopedic_pedagogue:()=>xR,clinical_psychologist:()=>wR,default:()=>hbe,dental_hygienist:()=>SR,dentist:()=>kR,deptalgology:()=>ER,deptanatomopathology:()=>CR,deptanesthesiology:()=>DR,deptbacteriology:()=>IR,deptcardiacsurgery:()=>AR,deptcardiology:()=>OR,deptchildandadolescentpsychiatry:()=>TR,deptdentistry:()=>MR,deptdermatology:()=>NR,deptdiabetology:()=>PR,deptdietetics:()=>RR,deptemergency:()=>FR,deptendocrinology:()=>VR,deptgastroenterology:()=>LR,deptgeneralpractice:()=>zR,deptgenetics:()=>jR,deptgeriatry:()=>BR,deptgynecology:()=>HR,depthandsurgery:()=>$R,depthematology:()=>qR,deptinfectiousdisease:()=>GR,deptintensivecare:()=>UR,deptkinesitherapy:()=>YR,deptlaboratory:()=>WR,deptmajorburns:()=>ZR,deptmaxillofacialsurgery:()=>KR,deptmedicine:()=>XR,deptmolecularbiology:()=>QR,deptneonatalogy:()=>JR,deptnephrology:()=>eF,deptneurology:()=>tF,deptneurosurgery:()=>iF,deptnte:()=>aF,deptnuclear:()=>nF,deptnursing:()=>rF,deptnutritiondietetics:()=>oF,deptobstetrics:()=>sF,deptoccupationaltherapy:()=>lF,deptoncology:()=>cF,deptophtalmology:()=>dF,deptorthopedy:()=>uF,deptpalliativecare:()=>hF,deptpediatricintensivecare:()=>pF,deptpediatricsurgery:()=>mF,deptpediatry:()=>fF,deptpharmacy:()=>gF,deptphysicalmedecine:()=>vF,deptphysiotherapy:()=>bF,deptplasticandreparatorysurgery:()=>yF,deptpneumology:()=>_F,deptpodiatry:()=>xF,deptpodology:()=>wF,deptpsychiatry:()=>SF,deptpsychogeriatry:()=>kF,deptpsychology:()=>EF,deptradiology:()=>CF,deptradiotherapy:()=>DF,deptrevalidation:()=>IF,deptrheumatology:()=>AF,deptrhumatology:()=>OF,deptsenology:()=>TF,deptsocialservice:()=>MF,deptspeechtherapy:()=>NF,deptsportsmedecine:()=>PF,deptstomatology:()=>RF,deptsurgery:()=>FF,deptthoracicsurgery:()=>VF,depttoxicology:()=>LF,depttropicalmedecine:()=>zF,depturology:()=>jF,deptvascularsurgery:()=>BF,deptvisceraldigestiveabdominalsurgery:()=>HF,diabete_equipment_supplier:()=>$F,dietician:()=>qF,doctor:()=>GF,family_science_bachelor:()=>UF,gerontology_master:()=>YF,groupofnurses:()=>WF,groupofphysiciansdifferentaddress:()=>ZF,groupofphysicianssameaddress:()=>KF,guardpost:()=>XF,hub:()=>QF,imaging_technologist:()=>JF,implantprovider:()=>eV,lab_technologist:()=>tV,logopedist:()=>iV,midwife:()=>aV,nurse:()=>nV,occupational_therapist:()=>rV,optician:()=>oV,orghospital:()=>sV,orginsurance:()=>lV,orglaboratory:()=>cV,orgpharmacy:()=>dV,orgpharmacyinvoicingoffice:()=>uV,orgpolyclinic:()=>hV,orgpractice:()=>pV,orgprevention:()=>mV,orgprimaryhealthcarecenter:()=>fV,orgpsychiatriccarehome:()=>gV,orgpublichealth:()=>vV,orgretirementhome:()=>bV,orgrevalidationcenter:()=>yV,orgshelteredliving:()=>_V,orthopedagogist_master:()=>xV,orthopedist:()=>wV,orthoptist:()=>SV,orthotist:()=>kV,patient:()=>EV,pediatric_nurse:()=>CV,persadministrative:()=>DV,persambulancefirstaid:()=>IV,persappliedpsychbachelor:()=>AV,persaudician:()=>OV,persaudiologist:()=>TV,persbandagistorthosiologist:()=>MV,persbiologist:()=>NV,perscaregiver:()=>PV,persclinicalorthopedagogist:()=>RV,persclinicalpsychologist:()=>FV,persdentist:()=>VV,persdietician:()=>LV,perseducator:()=>zV,persfamilysciencebachelor:()=>jV,persgerontologymaster:()=>BV,perslogopedist:()=>HV,persmidwife:()=>$V,persmobilityimprover:()=>qV,persnurse:()=>GV,persoccupationaltherapist:()=>UV,persoptician:()=>YV,persoptometrist:()=>WV,persoraldentalhygienist:()=>ZV,persorthopedagogistmaster:()=>KV,persorthopedist:()=>XV,persorthoptist:()=>QV,persorthotist:()=>JV,persparamedical:()=>eL,perspatientdriver:()=>tL,perspharmacist:()=>iL,perspharmacistclinicalbiologist:()=>aL,perspharmacyassistant:()=>nL,persphysician:()=>rL,persphysiotherapist:()=>oL,perspodologist:()=>sL,perspracticalnurse:()=>lL,persprosthesiologist:()=>cL,perspsychologist:()=>dL,perspsychomotortherapymaster:()=>uL,persreadaptationbachelor:()=>hL,persshoetechnologist:()=>pL,perssocialworker:()=>mL,perstechnician:()=>fL,perstrussmaker:()=>gL,pharmacist:()=>vL,pharmacist_assistant:()=>bL,physician:()=>yL,physiotherapist:()=>_L,podologist:()=>xL,practical_nurse:()=>wL,prosthetist:()=>SL,psychologist:()=>kL,psychomotor_therapy_master:()=>EL,readaptaion_bachelor:()=>CL,social_worker:()=>DL,specialized_educator:()=>IL,truss_maker:()=>AL});var dR="Ambulance Driver",uR="Ambulance First Aider",hR="Ambulance Rescuer",pR="Software application",mR="Bachelor in Applied Psychology",fR="Audician",gR="Audiologist",vR="Biologist Pharmacist",bR="Caregiver",yR="Certificate holder",_R="Citizen",xR="Clinical Orthopedic Pedagogue",wR="Clinical Psychologist",SR="Dental Hygienist",kR="Dentist",ER="Algology",CR="Anatomopathology",DR="Anesthesiology",IR="Bacteriology",AR="Cardiac surgery",OR="Cardiology",TR="Child and adolescent psychiatry",MR="Dentistry",NR="Dermatology",PR="Diabetology",RR="Dietetics",FR="Emergency",VR="Endocrinology",LR="Gastroenterology",zR="General practice",jR="Genetics",BR="Geriatry",HR="Gynecology",$R="Hand surgery",qR="Hematology",GR="Infectious disease",UR="Intensive care",YR="Kinesitherapy",WR="Laboratory service or department within an organisation",ZR="Major burns",KR="Maxillofacial surgery",XR="Internal medecine",QR="Molecular biology",JR="Neonatalogy",eF="Nephrology",tF="Neurology",iF="Neurology",aF="Nose-throat-ear",nF="Nuclear",rF="Nursing",oF="Nutritional dietetics",sF="Obstetrics",lF="Occupational therapy",cF="Oncology",dF="Ophthalmology",uF="Orthopedy",hF="Palliative care",pF="Pediatric intensive care",mF="Pediatric surgery",fF="Pediatry",gF="Pharmacy Service/Department within an organization",vF="Physical medecine",bF="Physiotherapy",yF="Plastic and reparatory surgery",_F="Pneumology",xF="Podiatry",wF="Podiatry",SF="Psychiatry",kF="Psychogeriatry",EF="Psychology",CF="Radiology",DF="Radiotherapy",IF="Revalidation",AF="Rheumatology",OF="Rhumatology",TF="Senology",MF="Social service",NF="Speech therapy",PF="Sports medecine",RF="Stomatology",FF="Surgery",VF="Thoracic surgery",LF="Toxicology",zF="Tropical medecine",jF="Urology",BF="Vascular surgery",HF="Visceral digestive abdominal surgery",$F="Diabetes Management Equipment Supplier",qF="Dietitian",GF="Doctor",UF="Bachelor in Family Science",YF="Master in Gerontology",WF="Group of nurses",ZF="Group of physicians different address",KF="Group of physicians same address",XF="Guard post",QF="Hub",JF="Medical Imaging Technologist",eV="Implant Provider",tV="Laboratory Technologist",iV="Logopedist",aV="Midwife",nV="Nurse",rV="Occupational Therapist",oV="Optician",sV="Hospital",lV="Insurance",cV="Independent laboratory",dV="Independent pharmacy",uV="Pharmacy invoicing office",hV="Polyclinic",pV="Practice organisation",mV="Prevention Service",fV="Primary health care center",gV="Psychiatric care home",vV="Public health organisation",bV="Retirementhome",yV="Revalidation center",_V="Sheltered living",xV="Master's in Orthopedagogy",wV="Orthopedist",SV="Orthoptist-Optometrist",kV="Orthotist",EV="Patient",CV="Pediatric Nurse",DV="Administrative",IV="Ambulance first aid",AV="Bachelor in Applied psychology",OV="Audician",TV="Audiologist",MV="Bandagist orthosiologist (orthopedic technologist)",NV="Medical laboratory technician",PV="Informal Caregiver",RV="Clinical orthopedagogist",FV="Clinical psychologist",VV="Dentist",LV="Dietician",zV="Educator",jV="Bachelor in Family sciences",BV="Master in Gerontological sciences",HV="Logopedist",$V="Midwife",qV="Mobility improver (orthopedic technologist)",GV="Nurse",UV="Occupational therapist",YV="Optician",WV="Optometrist",ZV="Oral Dental Hygienist",KV="Master of orthopedagogist",XV="Orthopedist",QV="Orthoptist",JV="Orthotist/Prosthetist",eL="Paramedical staff",tL="Patient Transporter (non-urgent)",iL="Pharmacist",aL="Pharmacist-clinical biologist",nL="Pharmacy assistant",rL="Physician",oL="Physiotherapist",sL="Podiologist",lL="Practical nurse",cL="prosthesiologist (orthopedic technologist)",dL="Psychologist",uL="Master in Psychomotor Therapy",hL="Bachelor in Physiotherapy and Rehabilitation",pL="shoe technologist (orthopedic technologist)",mL="Social worker",fL="Medical Imaging Technician",gL="Truss maker",vL="Pharmacist",bL="Pharmaceutical Technician Assistant",yL="Physician",_L="Physiotherapist",xL="Podiatrist",wL="Practical Nurse",SL="Prosthetist",kL="Clinical Psychologist",EL="Master's in Psychomotor Therapy",CL="Bachelor in Rehabilitation",DL="Social Worker",IL="Specialized Educator",AL="Truss Maker",hbe={ambulance_driver:dR,ambulance_first_aid:uR,ambulance_rescuer:hR,application:pR,applied_psychology_bachelor:mR,audician:fR,audiologist:gR,biologist_pharmacist:vR,care_giver:bR,certificateholder:yR,citizen:_R,clinical_orthopedic_pedagogue:xR,clinical_psychologist:wR,dental_hygienist:SR,dentist:kR,deptalgology:ER,deptanatomopathology:CR,deptanesthesiology:DR,deptbacteriology:IR,deptcardiacsurgery:AR,deptcardiology:OR,deptchildandadolescentpsychiatry:TR,deptdentistry:MR,deptdermatology:NR,deptdiabetology:PR,deptdietetics:RR,deptemergency:FR,deptendocrinology:VR,deptgastroenterology:LR,deptgeneralpractice:zR,deptgenetics:jR,deptgeriatry:BR,deptgynecology:HR,depthandsurgery:$R,depthematology:qR,deptinfectiousdisease:GR,deptintensivecare:UR,deptkinesitherapy:YR,deptlaboratory:WR,deptmajorburns:ZR,deptmaxillofacialsurgery:KR,deptmedicine:XR,deptmolecularbiology:QR,deptneonatalogy:JR,deptnephrology:eF,deptneurology:tF,deptneurosurgery:iF,deptnte:aF,deptnuclear:nF,deptnursing:rF,deptnutritiondietetics:oF,deptobstetrics:sF,deptoccupationaltherapy:lF,deptoncology:cF,deptophtalmology:dF,deptorthopedy:uF,deptpalliativecare:hF,deptpediatricintensivecare:pF,deptpediatricsurgery:mF,deptpediatry:fF,deptpharmacy:gF,deptphysicalmedecine:vF,deptphysiotherapy:bF,deptplasticandreparatorysurgery:yF,deptpneumology:_F,deptpodiatry:xF,deptpodology:wF,deptpsychiatry:SF,deptpsychogeriatry:kF,deptpsychology:EF,deptradiology:CF,deptradiotherapy:DF,deptrevalidation:IF,deptrheumatology:AF,deptrhumatology:OF,deptsenology:TF,deptsocialservice:MF,deptspeechtherapy:NF,deptsportsmedecine:PF,deptstomatology:RF,deptsurgery:FF,deptthoracicsurgery:VF,depttoxicology:LF,depttropicalmedecine:zF,depturology:jF,deptvascularsurgery:BF,deptvisceraldigestiveabdominalsurgery:HF,diabete_equipment_supplier:$F,dietician:qF,doctor:GF,family_science_bachelor:UF,gerontology_master:YF,groupofnurses:WF,groupofphysiciansdifferentaddress:ZF,groupofphysicianssameaddress:KF,guardpost:XF,hub:QF,imaging_technologist:JF,implantprovider:eV,lab_technologist:tV,logopedist:iV,midwife:aV,nurse:nV,occupational_therapist:rV,optician:oV,orghospital:sV,orginsurance:lV,orglaboratory:cV,orgpharmacy:dV,orgpharmacyinvoicingoffice:uV,orgpolyclinic:hV,orgpractice:pV,orgprevention:mV,orgprimaryhealthcarecenter:fV,orgpsychiatriccarehome:gV,orgpublichealth:vV,orgretirementhome:bV,orgrevalidationcenter:yV,orgshelteredliving:_V,orthopedagogist_master:xV,orthopedist:wV,orthoptist:SV,orthotist:kV,patient:EV,pediatric_nurse:CV,persadministrative:DV,persambulancefirstaid:IV,persappliedpsychbachelor:AV,persaudician:OV,persaudiologist:TV,persbandagistorthosiologist:MV,persbiologist:NV,perscaregiver:PV,persclinicalorthopedagogist:RV,persclinicalpsychologist:FV,persdentist:VV,persdietician:LV,perseducator:zV,persfamilysciencebachelor:jV,persgerontologymaster:BV,perslogopedist:HV,persmidwife:$V,persmobilityimprover:qV,persnurse:GV,persoccupationaltherapist:UV,persoptician:YV,persoptometrist:WV,persoraldentalhygienist:ZV,persorthopedagogistmaster:KV,persorthopedist:XV,persorthoptist:QV,persorthotist:JV,persparamedical:eL,perspatientdriver:tL,perspharmacist:iL,perspharmacistclinicalbiologist:aL,perspharmacyassistant:nL,persphysician:rL,persphysiotherapist:oL,perspodologist:sL,perspracticalnurse:lL,persprosthesiologist:cL,perspsychologist:dL,perspsychomotortherapymaster:uL,persreadaptationbachelor:hL,persshoetechnologist:pL,perssocialworker:mL,perstechnician:fL,perstrussmaker:gL,pharmacist:vL,pharmacist_assistant:bL,physician:yL,physiotherapist:_L,podologist:xL,practical_nurse:wL,prosthetist:SL,psychologist:kL,psychomotor_therapy_master:EL,readaptaion_bachelor:CL,social_worker:DL,specialized_educator:IL,truss_maker:AL},OL={};Te(OL,{ambulance_driver:()=>TL,ambulance_first_aid:()=>ML,ambulance_rescuer:()=>NL,application:()=>PL,applied_psychology_bachelor:()=>RL,audician:()=>FL,audiologist:()=>VL,biologist_pharmacist:()=>LL,care_giver:()=>zL,certificateholder:()=>jL,citizen:()=>BL,clinical_orthopedic_pedagogue:()=>HL,clinical_psychologist:()=>$L,default:()=>pbe,dental_hygienist:()=>qL,dentist:()=>GL,deptalgology:()=>UL,deptanatomopathology:()=>YL,deptanesthesiology:()=>WL,deptbacteriology:()=>ZL,deptcardiacsurgery:()=>KL,deptcardiology:()=>XL,deptchildandadolescentpsychiatry:()=>QL,deptdentistry:()=>JL,deptdermatology:()=>e3,deptdiabetology:()=>t3,deptdietetics:()=>i3,deptemergency:()=>a3,deptendocrinology:()=>n3,deptgastroenterology:()=>r3,deptgeneralpractice:()=>o3,deptgenetics:()=>s3,deptgeriatry:()=>l3,deptgynecology:()=>c3,depthandsurgery:()=>d3,depthematology:()=>u3,deptinfectiousdisease:()=>h3,deptintensivecare:()=>p3,deptkinesitherapy:()=>m3,deptlaboratory:()=>f3,deptmajorburns:()=>g3,deptmaxillofacialsurgery:()=>v3,deptmedicine:()=>b3,deptmolecularbiology:()=>y3,deptneonatalogy:()=>_3,deptnephrology:()=>x3,deptneurology:()=>w3,deptneurosurgery:()=>S3,deptnte:()=>k3,deptnuclear:()=>E3,deptnursing:()=>C3,deptnutritiondietetics:()=>D3,deptobstetrics:()=>I3,deptoccupationaltherapy:()=>A3,deptoncology:()=>O3,deptophtalmology:()=>T3,deptorthopedy:()=>M3,deptpalliativecare:()=>N3,deptpediatricintensivecare:()=>P3,deptpediatricsurgery:()=>R3,deptpediatry:()=>F3,deptpharmacy:()=>V3,deptphysicalmedecine:()=>L3,deptphysiotherapy:()=>z3,deptplasticandreparatorysurgery:()=>j3,deptpneumology:()=>B3,deptpodiatry:()=>H3,deptpodology:()=>$3,deptpsychiatry:()=>q3,deptpsychogeriatry:()=>G3,deptpsychology:()=>U3,deptradiology:()=>Y3,deptradiotherapy:()=>W3,deptrevalidation:()=>Z3,deptrheumatology:()=>K3,deptrhumatology:()=>X3,deptsenology:()=>Q3,deptsocialservice:()=>J3,deptspeechtherapy:()=>ez,deptsportsmedecine:()=>tz,deptstomatology:()=>iz,deptsurgery:()=>az,deptthoracicsurgery:()=>nz,depttoxicology:()=>rz,depttropicalmedecine:()=>oz,depturology:()=>sz,deptvascularsurgery:()=>lz,deptvisceraldigestiveabdominalsurgery:()=>cz,diabete_equipment_supplier:()=>dz,dietician:()=>uz,doctor:()=>hz,family_science_bachelor:()=>pz,gerontology_master:()=>mz,groupofnurses:()=>fz,groupofphysiciansdifferentaddress:()=>gz,groupofphysicianssameaddress:()=>vz,guardpost:()=>bz,hub:()=>yz,imaging_technologist:()=>_z,implantprovider:()=>xz,lab_technologist:()=>wz,logopedist:()=>Sz,midwife:()=>kz,nurse:()=>Ez,occupational_therapist:()=>Cz,optician:()=>Dz,orghospital:()=>Iz,orginsurance:()=>Az,orglaboratory:()=>Oz,orgpharmacy:()=>Tz,orgpharmacyinvoicingoffice:()=>Mz,orgpolyclinic:()=>Nz,orgpractice:()=>Pz,orgprevention:()=>Rz,orgprimaryhealthcarecenter:()=>Fz,orgpsychiatriccarehome:()=>Vz,orgpublichealth:()=>Lz,orgretirementhome:()=>zz,orgrevalidationcenter:()=>jz,orgshelteredliving:()=>Bz,orthopedagogist_master:()=>Hz,orthopedist:()=>$z,orthoptist:()=>qz,orthotist:()=>Gz,patient:()=>Uz,pediatric_nurse:()=>Yz,persadministrative:()=>Wz,persambulancefirstaid:()=>Zz,persappliedpsychbachelor:()=>Kz,persaudician:()=>Xz,persaudiologist:()=>Qz,persbandagistorthosiologist:()=>Jz,persbiologist:()=>e5,perscaregiver:()=>t5,persclinicalorthopedagogist:()=>i5,persclinicalpsychologist:()=>a5,persdentist:()=>n5,persdietician:()=>r5,perseducator:()=>o5,persfamilysciencebachelor:()=>s5,persgerontologymaster:()=>l5,perslogopedist:()=>c5,persmidwife:()=>d5,persmobilityimprover:()=>u5,persnurse:()=>h5,persoccupationaltherapist:()=>p5,persoptician:()=>m5,persoptometrist:()=>f5,persoraldentalhygienist:()=>g5,persorthopedagogistmaster:()=>v5,persorthopedist:()=>b5,persorthoptist:()=>y5,persorthotist:()=>_5,persparamedical:()=>x5,perspatientdriver:()=>w5,perspharmacist:()=>S5,perspharmacistclinicalbiologist:()=>k5,perspharmacyassistant:()=>E5,persphysician:()=>C5,persphysiotherapist:()=>D5,perspodologist:()=>I5,perspracticalnurse:()=>A5,persprosthesiologist:()=>O5,perspsychologist:()=>T5,perspsychomotortherapymaster:()=>M5,persreadaptationbachelor:()=>N5,persshoetechnologist:()=>P5,perssocialworker:()=>R5,perstechnician:()=>F5,perstrussmaker:()=>V5,pharmacist:()=>L5,pharmacist_assistant:()=>z5,physician:()=>j5,physiotherapist:()=>B5,podologist:()=>H5,practical_nurse:()=>$5,prosthetist:()=>q5,psychologist:()=>G5,psychomotor_therapy_master:()=>U5,readaptaion_bachelor:()=>Y5,social_worker:()=>W5,specialized_educator:()=>Z5,truss_maker:()=>K5});var TL="Ambulancier",ML="Ambulancier secouriste",NL="Ambulancier secouriste",PL="application logicielle",RL="Bachelier en psychologie appliquée",FL="Audicien",VL="Audiologue",LL="Pharmacien biologiste",zL="Personnel soignant",jL="Titulaire du certificat",BL="Citoyen",HL="Orthopédagogue clinicien",$L="Psychologue clinicien",qL="Hygiéniste bucco-dentaire",GL="Dentiste",UL="algologie",YL="anatomopathologie",WL="anesthésiologie",ZL="bactériologie",KL="chirurgie cardiaque",XL="cardiologie",QL="psychiatrie de l’enfant et de l’adolescent",JL="dentisterie",e3="dermatologie",t3="diabétologie",i3="diététique",a3="services d’urgence",n3="endocrinologie",r3="gastroentérologie",o3="médecine générale",s3="génétique",l3="gériatrie",c3="gynécologie",d3="chirurgie de la main",u3="hématologie",h3="maladie infectieuse",p3="soins intensifs",m3="kinésithérapie",f3="Service/Département laboratoire au sein d’une organisation",g3="grands brûlés",v3="chirurgie maxillo-faciale",b3="médecine interne",y3="biologie moléculaire",_3="néonatologie",x3="néphrologie",w3="neurologie",S3="neurologie",k3="oto-rhino-laryngologie",E3="médecine nucléaire",C3="soins infirmiers",D3="diététique nutritionnelle",I3="obstétrique",A3="ergothérapie",O3="oncologie",T3="ophtalmologie",M3="orthopédie",N3="soins palliatifs",P3="soins intensifs pédiatriques",R3="chirurgie pédiatrique",F3="pédiatrie",V3="Service/Département pharmacie au sein d’une organisation",L3="médecine physique",z3="physiothérapie",j3="chirurgie esthétique et réparatrice",B3="pneumologie",H3="podiatrie",$3="",q3="psychiatrie",G3="Psychogériatrie",U3="psychologie",Y3="radiologie",W3="radiothérapie",Z3="rééducation",K3="rhumatologie",X3="",Q3="sénologie",J3="service social",ez="logopédie",tz="médecine des sports",iz="stomatologie",az="chirurgie",nz="chirurgie thoracique",rz="toxicologie",oz="médecine tropicale",sz="urologie",lz="chirurgie vasculaire",cz="chirurgie abdominale, digestive et viscérale",dz="Fournisseur de matériel d’autogestion diabétique",uz="Diététicien",hz="Médecin",pz="Bachelier en science de la famille",mz="Master en gérontologie",fz="Regroupement d’infirmiers",gz="Regroupement de médecins adresse différente",vz="regroupement de médecins même adresse",bz="poste de garde",yz="hub",_z="Technologue en imagerie médicale",xz="Dispensateur d’implants",wz="Technologue de labo",Sz="Logopède",kz="Sage-femme",Ez="Infirmier\\Infirmière",Cz="Ergothérapeute",Dz="Opticien",Iz="hôpital",Az="assurance",Oz="laboratoire indépendant",Tz="Pharmacie indépendante",Mz="office de tarification",Nz="polyclinique",Pz="cabinet",Rz="Service de prévention",Fz="Maison médicale",Vz="maison de soins psychiatriques",Lz="service public de santé",zz="maison de repos",jz="centre de revalidation",Bz="initiative d’habitation protégée",Hz="Master en Orthopédagogie",$z="Orthopédiste",qz="Orthoptiste-Optométriste",Gz="Orthésiste",Uz="Patient",Yz="Puéricultrice",Wz="personnel admistratif",Zz="ambulance premier secours",Kz="Bachelier en psychologie",Xz="audicien",Qz="audiologue",Jz="orthosiologue bandagiste (technologue en orthopédie)",e5="technicien de laboratoire médical",t5="soignant informel",i5="Orthopédagogue clinicien",a5="Psychologue clinicien",n5="dentiste",r5="diététicien",o5="éducateur",s5="Bachelier en sciences de la famille",l5="Master en gérontologie",c5="logopède",d5="sage-femme",u5="améliorateur de mobilité (technologue en orthopédie)",h5="infirmier",p5="ergothérapeute",m5="opticien",f5="optométriste",g5="Hygiéniste bucco-dentaire",v5="Master en orthopédagogie",b5="orthopédiste",y5="orthoptiste",_5="Orthésiste/Prothésiste",x5="personnel paramédical",w5="Transporteur de patient (non urgent)",S5="pharmacien",k5="pharmacien-biologiste clinicien",E5="assistant en pharmacie",C5="médecin",D5="kinésithérapeute",I5="podologue",A5="aide-soignante",O5="prothésiste (technologue en orthopédie)",T5="psychologue",M5="Master en thérapie psychomotrice",N5="Bachelier en kinésithérapie et réadaptation",P5="technicien de chaussures (technologue en orthopédie)",R5="travailleur social",F5="Technicien d’imagerie médicale",V5="Bandagiste",L5="Pharmacien",z5="Assistant Pharmaceutico-Technique",j5="Médecin",B5="Physiothérapeute",H5="Podologue",$5="Aide-soignant",q5="Prothésiste",G5="Psychologue clinicien",U5="Master en thérapie psychomotrice",Y5="Bachelier en réadaptation",W5="Assistant social",Z5="Educateur spécialisé",K5="Bandagiste",pbe={ambulance_driver:TL,ambulance_first_aid:ML,ambulance_rescuer:NL,application:PL,applied_psychology_bachelor:RL,audician:FL,audiologist:VL,biologist_pharmacist:LL,care_giver:zL,certificateholder:jL,citizen:BL,clinical_orthopedic_pedagogue:HL,clinical_psychologist:$L,dental_hygienist:qL,dentist:GL,deptalgology:UL,deptanatomopathology:YL,deptanesthesiology:WL,deptbacteriology:ZL,deptcardiacsurgery:KL,deptcardiology:XL,deptchildandadolescentpsychiatry:QL,deptdentistry:JL,deptdermatology:e3,deptdiabetology:t3,deptdietetics:i3,deptemergency:a3,deptendocrinology:n3,deptgastroenterology:r3,deptgeneralpractice:o3,deptgenetics:s3,deptgeriatry:l3,deptgynecology:c3,depthandsurgery:d3,depthematology:u3,deptinfectiousdisease:h3,deptintensivecare:p3,deptkinesitherapy:m3,deptlaboratory:f3,deptmajorburns:g3,deptmaxillofacialsurgery:v3,deptmedicine:b3,deptmolecularbiology:y3,deptneonatalogy:_3,deptnephrology:x3,deptneurology:w3,deptneurosurgery:S3,deptnte:k3,deptnuclear:E3,deptnursing:C3,deptnutritiondietetics:D3,deptobstetrics:I3,deptoccupationaltherapy:A3,deptoncology:O3,deptophtalmology:T3,deptorthopedy:M3,deptpalliativecare:N3,deptpediatricintensivecare:P3,deptpediatricsurgery:R3,deptpediatry:F3,deptpharmacy:V3,deptphysicalmedecine:L3,deptphysiotherapy:z3,deptplasticandreparatorysurgery:j3,deptpneumology:B3,deptpodiatry:H3,deptpodology:$3,deptpsychiatry:q3,deptpsychogeriatry:G3,deptpsychology:U3,deptradiology:Y3,deptradiotherapy:W3,deptrevalidation:Z3,deptrheumatology:K3,deptrhumatology:X3,deptsenology:Q3,deptsocialservice:J3,deptspeechtherapy:ez,deptsportsmedecine:tz,deptstomatology:iz,deptsurgery:az,deptthoracicsurgery:nz,depttoxicology:rz,depttropicalmedecine:oz,depturology:sz,deptvascularsurgery:lz,deptvisceraldigestiveabdominalsurgery:cz,diabete_equipment_supplier:dz,dietician:uz,doctor:hz,family_science_bachelor:pz,gerontology_master:mz,groupofnurses:fz,groupofphysiciansdifferentaddress:gz,groupofphysicianssameaddress:vz,guardpost:bz,hub:yz,imaging_technologist:_z,implantprovider:xz,lab_technologist:wz,logopedist:Sz,midwife:kz,nurse:Ez,occupational_therapist:Cz,optician:Dz,orghospital:Iz,orginsurance:Az,orglaboratory:Oz,orgpharmacy:Tz,orgpharmacyinvoicingoffice:Mz,orgpolyclinic:Nz,orgpractice:Pz,orgprevention:Rz,orgprimaryhealthcarecenter:Fz,orgpsychiatriccarehome:Vz,orgpublichealth:Lz,orgretirementhome:zz,orgrevalidationcenter:jz,orgshelteredliving:Bz,orthopedagogist_master:Hz,orthopedist:$z,orthoptist:qz,orthotist:Gz,patient:Uz,pediatric_nurse:Yz,persadministrative:Wz,persambulancefirstaid:Zz,persappliedpsychbachelor:Kz,persaudician:Xz,persaudiologist:Qz,persbandagistorthosiologist:Jz,persbiologist:e5,perscaregiver:t5,persclinicalorthopedagogist:i5,persclinicalpsychologist:a5,persdentist:n5,persdietician:r5,perseducator:o5,persfamilysciencebachelor:s5,persgerontologymaster:l5,perslogopedist:c5,persmidwife:d5,persmobilityimprover:u5,persnurse:h5,persoccupationaltherapist:p5,persoptician:m5,persoptometrist:f5,persoraldentalhygienist:g5,persorthopedagogistmaster:v5,persorthopedist:b5,persorthoptist:y5,persorthotist:_5,persparamedical:x5,perspatientdriver:w5,perspharmacist:S5,perspharmacistclinicalbiologist:k5,perspharmacyassistant:E5,persphysician:C5,persphysiotherapist:D5,perspodologist:I5,perspracticalnurse:A5,persprosthesiologist:O5,perspsychologist:T5,perspsychomotortherapymaster:M5,persreadaptationbachelor:N5,persshoetechnologist:P5,perssocialworker:R5,perstechnician:F5,perstrussmaker:V5,pharmacist:L5,pharmacist_assistant:z5,physician:j5,physiotherapist:B5,podologist:H5,practical_nurse:$5,prosthetist:q5,psychologist:G5,psychomotor_therapy_master:U5,readaptaion_bachelor:Y5,social_worker:W5,specialized_educator:Z5,truss_maker:K5},X5={};Te(X5,{ambulance_driver:()=>Q5,ambulance_first_aid:()=>J5,ambulance_rescuer:()=>ej,application:()=>tj,applied_psychology_bachelor:()=>ij,audician:()=>aj,audiologist:()=>nj,biologist_pharmacist:()=>rj,care_giver:()=>oj,certificateholder:()=>sj,citizen:()=>lj,clinical_orthopedic_pedagogue:()=>cj,clinical_psychologist:()=>dj,default:()=>mbe,dental_hygienist:()=>uj,dentist:()=>hj,deptalgology:()=>pj,deptanatomopathology:()=>mj,deptanesthesiology:()=>fj,deptbacteriology:()=>gj,deptcardiacsurgery:()=>vj,deptcardiology:()=>bj,deptchildandadolescentpsychiatry:()=>yj,deptdentistry:()=>_j,deptdermatology:()=>xj,deptdiabetology:()=>wj,deptdietetics:()=>Sj,deptemergency:()=>kj,deptendocrinology:()=>Ej,deptgastroenterology:()=>Cj,deptgeneralpractice:()=>Dj,deptgenetics:()=>Ij,deptgeriatry:()=>Aj,deptgynecology:()=>Oj,depthandsurgery:()=>Tj,depthematology:()=>Mj,deptinfectiousdisease:()=>Nj,deptintensivecare:()=>Pj,deptkinesitherapy:()=>Rj,deptlaboratory:()=>Fj,deptmajorburns:()=>Vj,deptmaxillofacialsurgery:()=>Lj,deptmedicine:()=>zj,deptmolecularbiology:()=>jj,deptneonatalogy:()=>Bj,deptnephrology:()=>Hj,deptneurology:()=>$j,deptneurosurgery:()=>qj,deptnte:()=>Gj,deptnuclear:()=>Uj,deptnursing:()=>Yj,deptnutritiondietetics:()=>Wj,deptobstetrics:()=>Zj,deptoccupationaltherapy:()=>Kj,deptoncology:()=>Xj,deptophtalmology:()=>Qj,deptorthopedy:()=>Jj,deptpalliativecare:()=>e4,deptpediatricintensivecare:()=>t4,deptpediatricsurgery:()=>i4,deptpediatry:()=>a4,deptpharmacy:()=>n4,deptphysicalmedecine:()=>r4,deptphysiotherapy:()=>o4,deptplasticandreparatorysurgery:()=>s4,deptpneumology:()=>l4,deptpodiatry:()=>c4,deptpodology:()=>d4,deptpsychiatry:()=>u4,deptpsychogeriatry:()=>h4,deptpsychology:()=>p4,deptradiology:()=>m4,deptradiotherapy:()=>f4,deptrevalidation:()=>g4,deptrheumatology:()=>v4,deptsenology:()=>b4,deptsocialservice:()=>y4,deptspeechtherapy:()=>_4,deptsportsmedecine:()=>x4,deptstomatology:()=>w4,deptsurgery:()=>S4,deptthoracicsurgery:()=>k4,depttoxicology:()=>E4,depttropicalmedecine:()=>C4,depturology:()=>D4,deptvascularsurgery:()=>I4,deptvisceraldigestiveabdominalsurgery:()=>A4,diabete_equipment_supplier:()=>O4,dietician:()=>T4,doctor:()=>M4,family_science_bachelor:()=>N4,gerontology_master:()=>P4,groupofnurses:()=>R4,groupofphysiciansdifferentaddress:()=>F4,groupofphysicianssameaddress:()=>V4,guardpost:()=>L4,hub:()=>z4,imaging_technologist:()=>j4,implantprovider:()=>B4,lab_technologist:()=>H4,logopedist:()=>$4,midwife:()=>q4,nurse:()=>G4,occupational_therapist:()=>U4,optician:()=>Y4,orghospital:()=>W4,orginsurance:()=>Z4,orglaboratory:()=>K4,orgpharmacy:()=>X4,orgpharmacyinvoicingoffice:()=>Q4,orgpolyclinic:()=>J4,orgpractice:()=>eB,orgprevention:()=>tB,orgprimaryhealthcarecenter:()=>iB,orgpsychiatriccarehome:()=>aB,orgpublichealth:()=>nB,orgretirementhome:()=>rB,orgrevalidationcenter:()=>oB,orgshelteredliving:()=>sB,orthopedagogist_master:()=>lB,orthopedist:()=>cB,orthoptist:()=>dB,orthotist:()=>uB,patient:()=>hB,pediatric_nurse:()=>pB,persadministrative:()=>mB,persambulancefirstaid:()=>fB,persappliedpsychbachelor:()=>gB,persaudician:()=>vB,persaudiologist:()=>bB,persbandagistorthosiologist:()=>yB,persbiologist:()=>_B,perscaregiver:()=>xB,persclinicalorthopedagogist:()=>wB,persclinicalpsychologist:()=>SB,persdentist:()=>kB,persdietician:()=>EB,perseducator:()=>CB,persfamilysciencebachelor:()=>DB,persgerontologymaster:()=>IB,perslogopedist:()=>AB,persmidwife:()=>OB,persmobilityimprover:()=>TB,persnurse:()=>MB,persoccupationaltherapist:()=>NB,persoptician:()=>PB,persoptometrist:()=>RB,persoraldentalhygienist:()=>FB,persorthopedagogistmaster:()=>VB,persorthopedist:()=>LB,persorthoptist:()=>zB,persorthotist:()=>jB,persparamedical:()=>BB,perspatientdriver:()=>HB,perspharmacist:()=>$B,perspharmacistclinicalbiologist:()=>qB,perspharmacyassistant:()=>GB,persphysician:()=>UB,persphysiotherapist:()=>YB,perspodologist:()=>WB,perspracticalnurse:()=>ZB,persprosthesiologist:()=>KB,perspsychologist:()=>XB,perspsychomotortherapymaster:()=>QB,persreadaptationbachelor:()=>JB,persshoetechnologist:()=>e9,perssocialworker:()=>t9,perstechnician:()=>i9,perstrussmaker:()=>a9,pharmacist:()=>n9,pharmacist_assistant:()=>r9,physician:()=>o9,physiotherapist:()=>s9,podologist:()=>l9,practical_nurse:()=>c9,prosthetist:()=>d9,psychologist:()=>u9,psychomotor_therapy_master:()=>h9,readaptaion_bachelor:()=>p9,social_worker:()=>m9,specialized_educator:()=>f9,truss_maker:()=>g9});var Q5="Ambulancebestuurder",J5="Ambulancier eerste hulp",ej="Amublancier eerste hulp",tj="softwaretoepassing",ij="Bachelor toegepaste psychologie",aj="Audicien",nj="Audioloog",rj="Apotheker-bioloog",oj="Verzorgingspersoneel",sj="Houder van certificaat",lj="Burger",cj="Klinische orthopedagoog",dj="Klinische psycholoog",uj="Mondhygiënist",hj="Tandarts",pj="algologie",mj="anatomo-pathologie",fj="anesthesiologie",gj="bacteriologie",vj="hartchirurgie",bj="cardiologie",yj="kinder- en jeugdpsychiatrie",_j="tandheelkunde",xj="dermatologie",wj="diabetologie",Sj="diëtetiek",kj="spoeddiensten",Ej="endocrinologie/hormonenleer",Cj="gastro-enterologie",Dj="algemene geneeskunde",Ij="genetica",Aj="geriatrie",Oj="gynaecologie",Tj="handchirurgie",Mj="hematologie",Nj="infectieziekte",Pj="intensieve zorgen",Rj="kinesitherapie",Fj="Laboratoriumdienst of -afdeling binnen een organisatie",Vj="brandwondencentrum",Lj="mond-, kaak- en aangezichtschirurgie",zj="interne geneeskunde",jj="moleculaire biologie",Bj="neonatologie",Hj="nefrologie",$j="neurologie",qj="neurologie",Gj="oto-rhino-laryngologie",Uj="nucleaire geneeskunde",Yj="verpleegkunde",Wj="diëtetiek",Zj="verloskunde",Kj="ergotherapie",Xj="oncologie",Qj="oftalmologie",Jj="orthopedie",e4="palliatieve zorg",t4="intensieve zorg voor kinderen",i4="kinderchirurgie",a4="pediatrie",n4="Apotheekdienst of -afdeling binnen een organisatie",r4="fysische geneeskunde",o4="fysiotherapie",s4="plastische en reconstructieve chirurgie",l4="pulmonologie",c4="podiatrie",d4="",u4="psychiatrie",h4="Psychogeriatrie",p4="psychologie",m4="radiologie",f4="radiotherapie",g4="revalidatie",v4="reumatologie",b4="senologie",y4="sociale dienst",_4="logopedie",x4="sportgeneeskunde",w4="stomatologie",S4="chirurgie",k4="thoraxchirurgie",E4="toxicologie",C4="tropische geneeskunde",D4="urologie",I4="vasculaire chirurgie",A4="digestieve/viscerale chirurgie/buikchirurgie",O4="Leverancier van materiaal voor diabetische zelfzorg ",T4="Diëtist",M4="Arts",N4="Bachelor gezinswetenschappen",P4="Master gerontologie",R4="Groepering van verplegers",F4="Groepering van artsen verschillend adres",V4="groepering van artsen zelfde adres",L4="wachtpost",z4="hub",j4="Technoloog medische beeldvorming",B4="Leverancier implantaten",H4="Laboratoriumtechnoloog",$4="Logopedist",q4="Vroedvrouw",G4="verpleegkundige",U4="Ergotherapeut",Y4="Opticien",W4="ziekenhuis",Z4="verzekering",K4="Onafhankelijk laboratorium",X4="Onafhankelijke apotheek",Q4="Facturatie kantoor apotheek",J4="polikliniek",eB="praktijk",tB="Preventiedienst",iB="medisch huis",aB="psychiatrisch verzorgingstehuis",nB="openbare gezondheidsdienst",rB="woonzorgcentrum",oB="revalidatiecentrum",sB="initiatief voor beschut wonen",lB="Master orthopedagogie",cB="Orthopedist",dB="Orthoptist-optometrist",uB="Orthesist",hB="Patiënt",pB="Kinderverzorgsters",mB="administratief medewerker",fB="ambulance eerste hulp",gB="Bachelor in de toegepaste psychologie",vB="audicien",bB="audioloog",yB="Bandagist orthosioloog (orthopedisch technoloog)",_B="medisch laboratoriumtechnoloog",xB="mantelzorger",wB="Klinisch orthopedagoog",SB="Klinisch psycholoog",kB="tandarts",EB="diëtist",CB="opvoeder",DB="Bachelor in de gezinswetenschappen",IB="Master in de gerontologie",AB="logopedist",OB="vroedvrouw",TB="mobiliteitsverbeteraar (orthopedisch technoloog)",MB="verpleegkundige",NB="ergotherapeut",PB="opticien",RB="optometrist",FB="Mondhygiënist",VB="Master in de orthopedagogie",LB="orthopedist",zB="orthoptist",jB="Orthopedisch technicus",BB="paramedisch personeel",HB="Ziekenvervoerder (niet urgent)",$B="apotheker",qB="apotheker-klinisch bioloog",GB="apothekersassistent",UB="arts",YB="kinesitherapeut",WB="podologist",ZB="verzorgende",KB="prothesemaker (orthopedisch technoloog)",XB="psycholoog",QB="Master in de psychomotorische therapie",JB="Bachelor in de readaptatiewetenschappen",e9="schoentechnicus (orthopedisch technoloog)",t9="maatschappelijk werker",i9="Technicus medische beeldvorming",a9="Bandagist",n9="Apotheker",r9="Farmaceutisch-technisch assistent",o9="Arts",s9="Fysiotherapeut",l9="Podoloog",c9="Zorgkundige",d9="Prothesist",u9="Psycholoog",h9="Master psychomotorische therapie",p9="Bachelor readaptatiewetenschappen",m9="Sociaal assistent",f9="Bachelor opvoedkunde",g9="Bandagist",mbe={ambulance_driver:Q5,ambulance_first_aid:J5,ambulance_rescuer:ej,application:tj,applied_psychology_bachelor:ij,audician:aj,audiologist:nj,biologist_pharmacist:rj,care_giver:oj,certificateholder:sj,citizen:lj,clinical_orthopedic_pedagogue:cj,clinical_psychologist:dj,dental_hygienist:uj,dentist:hj,deptalgology:pj,deptanatomopathology:mj,deptanesthesiology:fj,deptbacteriology:gj,deptcardiacsurgery:vj,deptcardiology:bj,deptchildandadolescentpsychiatry:yj,deptdentistry:_j,deptdermatology:xj,deptdiabetology:wj,deptdietetics:Sj,deptemergency:kj,deptendocrinology:Ej,deptgastroenterology:Cj,deptgeneralpractice:Dj,deptgenetics:Ij,deptgeriatry:Aj,deptgynecology:Oj,depthandsurgery:Tj,depthematology:Mj,deptinfectiousdisease:Nj,deptintensivecare:Pj,deptkinesitherapy:Rj,deptlaboratory:Fj,deptmajorburns:Vj,deptmaxillofacialsurgery:Lj,deptmedicine:zj,deptmolecularbiology:jj,deptneonatalogy:Bj,deptnephrology:Hj,deptneurology:$j,deptneurosurgery:qj,deptnte:Gj,deptnuclear:Uj,deptnursing:Yj,deptnutritiondietetics:Wj,deptobstetrics:Zj,deptoccupationaltherapy:Kj,deptoncology:Xj,deptophtalmology:Qj,deptorthopedy:Jj,deptpalliativecare:e4,deptpediatricintensivecare:t4,deptpediatricsurgery:i4,deptpediatry:a4,deptpharmacy:n4,deptphysicalmedecine:r4,deptphysiotherapy:o4,deptplasticandreparatorysurgery:s4,deptpneumology:l4,deptpodiatry:c4,deptpodology:d4,deptpsychiatry:u4,deptpsychogeriatry:h4,deptpsychology:p4,deptradiology:m4,deptradiotherapy:f4,deptrevalidation:g4,deptrheumatology:v4,deptsenology:b4,deptsocialservice:y4,deptspeechtherapy:_4,deptsportsmedecine:x4,deptstomatology:w4,deptsurgery:S4,deptthoracicsurgery:k4,depttoxicology:E4,depttropicalmedecine:C4,depturology:D4,deptvascularsurgery:I4,deptvisceraldigestiveabdominalsurgery:A4,diabete_equipment_supplier:O4,dietician:T4,doctor:M4,family_science_bachelor:N4,gerontology_master:P4,groupofnurses:R4,groupofphysiciansdifferentaddress:F4,groupofphysicianssameaddress:V4,guardpost:L4,hub:z4,imaging_technologist:j4,implantprovider:B4,lab_technologist:H4,logopedist:$4,midwife:q4,nurse:G4,occupational_therapist:U4,optician:Y4,orghospital:W4,orginsurance:Z4,orglaboratory:K4,orgpharmacy:X4,orgpharmacyinvoicingoffice:Q4,orgpolyclinic:J4,orgpractice:eB,orgprevention:tB,orgprimaryhealthcarecenter:iB,orgpsychiatriccarehome:aB,orgpublichealth:nB,orgretirementhome:rB,orgrevalidationcenter:oB,orgshelteredliving:sB,orthopedagogist_master:lB,orthopedist:cB,orthoptist:dB,orthotist:uB,patient:hB,pediatric_nurse:pB,persadministrative:mB,persambulancefirstaid:fB,persappliedpsychbachelor:gB,persaudician:vB,persaudiologist:bB,persbandagistorthosiologist:yB,persbiologist:_B,perscaregiver:xB,persclinicalorthopedagogist:wB,persclinicalpsychologist:SB,persdentist:kB,persdietician:EB,perseducator:CB,persfamilysciencebachelor:DB,persgerontologymaster:IB,perslogopedist:AB,persmidwife:OB,persmobilityimprover:TB,persnurse:MB,persoccupationaltherapist:NB,persoptician:PB,persoptometrist:RB,persoraldentalhygienist:FB,persorthopedagogistmaster:VB,persorthopedist:LB,persorthoptist:zB,persorthotist:jB,persparamedical:BB,perspatientdriver:HB,perspharmacist:$B,perspharmacistclinicalbiologist:qB,perspharmacyassistant:GB,persphysician:UB,persphysiotherapist:YB,perspodologist:WB,perspracticalnurse:ZB,persprosthesiologist:KB,perspsychologist:XB,perspsychomotortherapymaster:QB,persreadaptationbachelor:JB,persshoetechnologist:e9,perssocialworker:t9,perstechnician:i9,perstrussmaker:a9,pharmacist:n9,pharmacist_assistant:r9,physician:o9,physiotherapist:s9,podologist:l9,practical_nurse:c9,prosthetist:d9,psychologist:u9,psychomotor_therapy_master:h9,readaptaion_bachelor:p9,social_worker:m9,specialized_educator:f9,truss_maker:g9},fbe={nl:X5,fr:OL,de:HT,en:cR},v9={};Te(v9,{"00001":()=>b9,"00002":()=>y9,"00003":()=>_9,"00004":()=>x9,"00005":()=>w9,"00006":()=>S9,"00007":()=>k9,"00008":()=>E9,"00009":()=>C9,"00010":()=>D9,"00011":()=>I9,"00012":()=>A9,"00013":()=>O9,"00014":()=>T9,"00015":()=>M9,"00016":()=>N9,"00017":()=>P9,"00018":()=>R9,"00019":()=>F9,"00020":()=>V9,"00021":()=>L9,"00022":()=>z9,"00023":()=>j9,"00024":()=>B9,"00025":()=>H9,"00026":()=>$9,"00027":()=>q9,"00028":()=>G9,"00029":()=>U9,"00030":()=>Y9,"00031":()=>W9,"00032":()=>Z9,"00033":()=>K9,"00034":()=>X9,"00035":()=>Q9,"00036":()=>J9,"00037":()=>e7,"00038":()=>t7,"00039":()=>i7,"00040":()=>a7,"00041":()=>n7,"00042":()=>r7,"00043":()=>o7,"00044":()=>s7,"00045":()=>l7,"00046":()=>c7,"00047":()=>d7,"00048":()=>u7,"00049":()=>h7,"00050":()=>p7,"00051":()=>m7,"00052":()=>f7,"00053":()=>g7,"00054":()=>v7,"00055":()=>b7,"00056":()=>y7,"00057":()=>_7,"00058":()=>x7,"00059":()=>w7,"00060":()=>S7,"00061":()=>k7,"00062":()=>E7,"00063":()=>C7,"00064":()=>D7,"00065":()=>I7,"00066":()=>A7,"00067":()=>O7,"00068":()=>T7,"00069":()=>M7,"00070":()=>N7,"00071":()=>P7,"00072":()=>R7,"00073":()=>F7,"both-ears":()=>V7,"both-eyes":()=>L7,"both-nostrils":()=>z7,"cutaneous-injection":()=>j7,default:()=>gbe,derm:()=>B7,"dermal-injection":()=>H7,"ear-left":()=>$7,"ear-right":()=>q7,"eye-left":()=>G7,"eye-right":()=>U7,hyperdermoclyse:()=>Y7,icut:()=>W7,ider:()=>Z7,larter:()=>K7,"nose-left":()=>X7,"nose-right":()=>Q7,oft:()=>J7,transdermal:()=>eH,"vitreal-injection":()=>tH});var b9="ins Ohr",y9="auf die Haut",_9="derm./rect",x9="derm./vag.",w9="Injektion außerhalb der Hirnhaut",S9="e.dur./i.thec./lokal",k9="p.dur./lokal",E9="in die Luftröhre",C9="in den Gebärmutterhals einführen",D9="Injektion in eine Arterie",I9="Injektion in den Penis",A9="Injektion in die Haut",O9="Injektion in einen Muskel",T9="i.m./i.thec./p.dur./s.c.",M9="i.m./i.v.",N9="i.m./i.v./inf.",P9="i.m./i.v./inf./e.dur./s.c.",R9="i.m./i.v./inf./i.arter./i.thec.",F9="i.m./i.v./perf./i.artér./lokal/s.c.",V9="i.m./i.v./inf./i.thec.",L9="i.m./i.v./inf./rect.",z9="i.m./i.v./inf./s.c.",j9="i.m./i.v./inhal.",B9="i.m./i.v./lokal",H9="i.m./i.v./or.",$9="i.m./i.v./rect",q9="i.m./i.v./s.c.",G9="i.m./inf.",U9="i.m./perf./lokal",Y9="i.m./lokal",W9="i.m./lokal/rect.",Z9="i.m./s.c.",K9="Injektion ins Rückenmark",X9="in die Gebärmutter einführen",Q9="Injektion in eine Vene",J9="i.v./p.dur./lokal",e7="i.v./i.arter./i.ves.",t7="i.v./inf.",i7="i.v./perf./p.dur.",a7="i.v./inf./i.arter.",n7="i.v./inf./i.thec./s.c.",r7="i.v./inf./inhal.",o7="i.v./inf./s.c.",s7="i.v./s.c.",l7="in die Harnblase",c7="Infusion",d7="perf./i.ves.",u7="perf./s.c.",h7="Inhalation",p7="inhal./nas./lokal",m7="Injektion",f7="auf die Lippen",g7="lokal",v7="auf die Schleimhaut",b7="in die Nase",y7="in die Augen",_7="opht./auric.",x7="opht./auric./nas.",w7="opht./auric./nas./lokal",S7="einnehmen",k7="or./orofar./derm.",E7="or./rect.",C7="or./s.l.",D7="durch den Mund",I7="orofar./derm.",A7="durch Mund und Nase",O7="rektal",T7="Spritze unter die Haut",M7="s.c./i.derm.",N7="unter die Zunge",P7="auf die Zähne",R7="in den Harnleiter",F7="vaginal",V7="beide Ohren",L7="beide Augen",z7="beide Nasenlöcher",j7="kutane Injektion",B7="dermatologisch",H7="dermale Injektion",$7="linkes Ohr",q7="rechtes Ohr",G7="linkes Auge",U7="rechtes Auge",Y7="Hyperdermoklyse",W7="intrakutan",Z7="intradermal",K7="intraarteriell",X7="linke Nase",Q7="rechte Nase",J7="ophthalmologisch",eH="transdermal",tH="vitreale Injektion",gbe={"00001":b9,"00002":y9,"00003":_9,"00004":x9,"00005":w9,"00006":S9,"00007":k9,"00008":E9,"00009":C9,"00010":D9,"00011":I9,"00012":A9,"00013":O9,"00014":T9,"00015":M9,"00016":N9,"00017":P9,"00018":R9,"00019":F9,"00020":V9,"00021":L9,"00022":z9,"00023":j9,"00024":B9,"00025":H9,"00026":$9,"00027":q9,"00028":G9,"00029":U9,"00030":Y9,"00031":W9,"00032":Z9,"00033":K9,"00034":X9,"00035":Q9,"00036":J9,"00037":e7,"00038":t7,"00039":i7,"00040":a7,"00041":n7,"00042":r7,"00043":o7,"00044":s7,"00045":l7,"00046":c7,"00047":d7,"00048":u7,"00049":h7,"00050":p7,"00051":m7,"00052":f7,"00053":g7,"00054":v7,"00055":b7,"00056":y7,"00057":_7,"00058":x7,"00059":w7,"00060":S7,"00061":k7,"00062":E7,"00063":C7,"00064":D7,"00065":I7,"00066":A7,"00067":O7,"00068":T7,"00069":M7,"00070":N7,"00071":P7,"00072":R7,"00073":F7,"both-ears":V7,"both-eyes":L7,"both-nostrils":z7,"cutaneous-injection":j7,derm:B7,"dermal-injection":H7,"ear-left":$7,"ear-right":q7,"eye-left":G7,"eye-right":U7,hyperdermoclyse:Y7,icut:W7,ider:Z7,larter:K7,"nose-left":X7,"nose-right":Q7,oft:J7,transdermal:eH,"vitreal-injection":tH},iH={};Te(iH,{"00001":()=>aH,"00002":()=>nH,"00003":()=>rH,"00004":()=>oH,"00005":()=>sH,"00006":()=>lH,"00007":()=>cH,"00008":()=>dH,"00009":()=>uH,"00010":()=>hH,"00011":()=>pH,"00012":()=>mH,"00013":()=>fH,"00014":()=>gH,"00015":()=>vH,"00016":()=>bH,"00017":()=>yH,"00018":()=>_H,"00019":()=>xH,"00020":()=>wH,"00021":()=>SH,"00022":()=>kH,"00023":()=>EH,"00024":()=>CH,"00025":()=>DH,"00026":()=>IH,"00027":()=>AH,"00028":()=>OH,"00029":()=>TH,"00030":()=>MH,"00031":()=>NH,"00032":()=>PH,"00033":()=>RH,"00034":()=>FH,"00035":()=>VH,"00036":()=>LH,"00037":()=>zH,"00038":()=>jH,"00039":()=>BH,"00040":()=>HH,"00041":()=>$H,"00042":()=>qH,"00043":()=>GH,"00044":()=>UH,"00045":()=>YH,"00046":()=>WH,"00047":()=>ZH,"00048":()=>KH,"00049":()=>XH,"00050":()=>QH,"00051":()=>JH,"00052":()=>e6,"00053":()=>t6,"00054":()=>i6,"00055":()=>a6,"00056":()=>n6,"00057":()=>r6,"00058":()=>o6,"00059":()=>s6,"00060":()=>l6,"00061":()=>c6,"00062":()=>d6,"00063":()=>u6,"00064":()=>h6,"00065":()=>p6,"00066":()=>m6,"00067":()=>f6,"00068":()=>g6,"00069":()=>v6,"00070":()=>b6,"00071":()=>y6,"00072":()=>_6,"00073":()=>x6,"both-ears":()=>w6,"both-eyes":()=>S6,"both-nostrils":()=>k6,"cutaneous-injection":()=>E6,default:()=>vbe,derm:()=>C6,"dermal-injection":()=>D6,"ear-left":()=>I6,"ear-right":()=>A6,"eye-left":()=>O6,"eye-right":()=>T6,hyperdermoclyse:()=>M6,icut:()=>N6,ider:()=>P6,larter:()=>R6,"nose-left":()=>F6,"nose-right":()=>V6,oft:()=>L6,transdermal:()=>z6,"vitreal-injection":()=>j6});var aH="auric.",nH="derm.",rH="derm./rect",oH="derm./vag.",sH="e.dur.",lH="e.dur./i.thec./local",cH="e.dur./local",dH="e.trach.",uH="endocerv.",hH="i.arter.",pH="i.cavern.",mH="i.derm.",fH="i.m.",gH="i.m./i.thec./e.dur./s.c.",vH="i.m./i.v.",bH="i.m./i.v./inf.",yH="i.m./i.v./inf./e.dur./s.c.",_H="i.m./i.v./inf./i.arter./i.thec.",xH="i.m./i.v./perf./i.artér./local/s.c.",wH="i.m./i.v./inf./i.thec.",SH="i.m./i.v./inf./rect.",kH="i.m./i.v./inf./s.c.",EH="i.m./i.v./inhal.",CH="i.m./i.v./local",DH="i.m./i.v./or.",IH="i.m./i.v./rect",AH="i.m./i.v./s.c.",OH="i.m./inf.",TH="i.m./perf./local",MH="i.m./local",NH="i.m./local/rect.",PH="i.m./s.c.",RH="i.thec.",FH="i.ut.",VH="i.v.",LH="i.v./p.dur./local",zH="i.v./i.arter./i.ves.",jH="i.v./inf.",BH="i.v./perf./p.dur.",HH="i.v./perf./i.artér.",$H="i.v./perf./i.théc./s.c.",qH="i.v./perf./inhal.",GH="i.v./perf./s.c.",UH="i.v./s.c.",YH="i.ves.",WH="perf.",ZH="perf./i.ves.",KH="perf./s.c.",XH="inhal.",QH="inhal./nas./local",JH="inj.",e6="lip",t6="local",i6="muc.",a6="nas.",n6="opht.",r6="opht./auric.",o6="opht./auric./nas.",s6="opht./auric./nas./local",l6="or.",c6="or./bucco-phar./derm.",d6="or./rect.",u6="or./s.l.",h6="bucco-phar.",p6="bucco-phar./derm.",m6="bucco-phar./nas.",f6="rect.",g6="s.c.",v6="s.c./i.derm.",b6="s.l.",y6="teeth",_6="urethr.",x6="vag.",w6="both ears",S6="both eyes",k6="both nostrils",E6="cutaneous injection",C6="dermatologically",D6="dermal injection",I6="ear left",A6="ear right",O6="eye left",T6="eye right",M6="hyperdermoclyse",N6="intracutaneous",P6="intradermally",R6="intra-arterial",F6="nose left",V6="nose right",L6="ophtalmological",z6="transdermal",j6="vitreal injection",vbe={"00001":aH,"00002":nH,"00003":rH,"00004":oH,"00005":sH,"00006":lH,"00007":cH,"00008":dH,"00009":uH,"00010":hH,"00011":pH,"00012":mH,"00013":fH,"00014":gH,"00015":vH,"00016":bH,"00017":yH,"00018":_H,"00019":xH,"00020":wH,"00021":SH,"00022":kH,"00023":EH,"00024":CH,"00025":DH,"00026":IH,"00027":AH,"00028":OH,"00029":TH,"00030":MH,"00031":NH,"00032":PH,"00033":RH,"00034":FH,"00035":VH,"00036":LH,"00037":zH,"00038":jH,"00039":BH,"00040":HH,"00041":$H,"00042":qH,"00043":GH,"00044":UH,"00045":YH,"00046":WH,"00047":ZH,"00048":KH,"00049":XH,"00050":QH,"00051":JH,"00052":e6,"00053":t6,"00054":i6,"00055":a6,"00056":n6,"00057":r6,"00058":o6,"00059":s6,"00060":l6,"00061":c6,"00062":d6,"00063":u6,"00064":h6,"00065":p6,"00066":m6,"00067":f6,"00068":g6,"00069":v6,"00070":b6,"00071":y6,"00072":_6,"00073":x6,"both-ears":w6,"both-eyes":S6,"both-nostrils":k6,"cutaneous-injection":E6,derm:C6,"dermal-injection":D6,"ear-left":I6,"ear-right":A6,"eye-left":O6,"eye-right":T6,hyperdermoclyse:M6,icut:N6,ider:P6,larter:R6,"nose-left":F6,"nose-right":V6,oft:L6,transdermal:z6,"vitreal-injection":j6},B6={};Te(B6,{"00001":()=>H6,"00002":()=>$6,"00003":()=>q6,"00004":()=>G6,"00005":()=>U6,"00006":()=>Y6,"00007":()=>W6,"00008":()=>Z6,"00009":()=>K6,"00010":()=>X6,"00011":()=>Q6,"00012":()=>J6,"00013":()=>e8,"00014":()=>t8,"00015":()=>i8,"00016":()=>a8,"00017":()=>n8,"00018":()=>r8,"00019":()=>o8,"00020":()=>s8,"00021":()=>l8,"00022":()=>c8,"00023":()=>d8,"00024":()=>u8,"00025":()=>h8,"00026":()=>p8,"00027":()=>m8,"00028":()=>f8,"00029":()=>g8,"00030":()=>v8,"00031":()=>b8,"00032":()=>y8,"00033":()=>_8,"00034":()=>x8,"00035":()=>w8,"00036":()=>S8,"00037":()=>k8,"00038":()=>E8,"00039":()=>C8,"00040":()=>D8,"00041":()=>I8,"00042":()=>A8,"00043":()=>O8,"00044":()=>T8,"00045":()=>M8,"00046":()=>N8,"00047":()=>P8,"00048":()=>R8,"00049":()=>F8,"00050":()=>V8,"00051":()=>L8,"00052":()=>z8,"00053":()=>j8,"00054":()=>B8,"00055":()=>H8,"00056":()=>$8,"00057":()=>q8,"00058":()=>G8,"00059":()=>U8,"00060":()=>Y8,"00061":()=>W8,"00062":()=>Z8,"00063":()=>K8,"00064":()=>X8,"00065":()=>Q8,"00066":()=>J8,"00067":()=>e$,"00068":()=>t$,"00069":()=>i$,"00070":()=>a$,"00071":()=>n$,"00072":()=>r$,"00073":()=>o$,"both-ears":()=>s$,"both-eyes":()=>l$,"both-nostrils":()=>c$,"cutaneous-injection":()=>d$,default:()=>bbe,derm:()=>u$,"dermal-injection":()=>h$,"ear-left":()=>p$,"ear-right":()=>m$,"eye-left":()=>f$,"eye-right":()=>g$,hyperdermoclyse:()=>v$,icut:()=>b$,ider:()=>y$,larter:()=>_$,"nose-left":()=>x$,"nose-right":()=>w$,oft:()=>S$,transdermal:()=>k$,"vitreal-injection":()=>E$});var H6="dans l’oreille",$6="sur la peau",q6="derm./rect",G6="derm./vag.",U6="injection en dehors de la méninge",Y6="e.dur./i.théc./local",W6="e.dur./local",Z6="dans la trachée",K6="introduire dans le col de l’utérus",X6="injection dans l’artère",Q6="injection dans le pénis",J6="injection dans la peau",e8="injection dans un muscle",t8="i.m./i.théc./e.dur./s.c.",i8="i.m./i.v.",a8="i.m./i.v./perf.",n8="i.m./i.v./perf./e.dur./s.c.",r8="i.m./i.v./inf./i.arter./i.thec.",o8="i.m./i.v./perf./i.artér./local/s.c.",s8="i.m./i.v./inf./i.thec.",l8="i.m./i.v./perf./rect.",c8="i.m./i.v./perf./s.c.",d8="i.m./i.v./inhal.",u8="i.m./i.v./local",h8="i.m./i.v./or.",p8="i.m./i.v./rect",m8="i.m./i.v./s.c.",f8="i.m./perf.",g8="i.m./perf./local",v8="i.m./local",b8="i.m./local/rect.",y8="i.m./s.c.",_8="injection dans la moelle épinière",x8="introduire dans l’utérus",w8="injection dans une veine",S8="i.v./p.dur./local",k8="i.v./i.arter./i.ves.",E8="i.v./perf.",C8="i.v./perf./p.dur.",D8="i.v./perf./i.artér.",I8="i.v./perf./i.théc./s.c.",A8="i.v./perf./inhal.",O8="i.v./perf./s.c.",T8="i.v./s.c.",M8="dans la vessie",N8="perfusion",P8="perf./i.vés.",R8="perf./s.c.",F8="inhalation",V8="inhal./nas./local",L8="injection",z8="lèvre",j8="local",B8="sur la muqueuse",H8="dans le nez",$8="dans les yeux",q8="opht./auric.",G8="opht./auric./nas.",U8="opht./auric./nas./local",Y8="prendre/avaler",W8="or./bucco-phar./derm.",Z8="or./rect.",K8="or./s.l.",X8="par la bouche",Q8="bucco-phar./derm.",J8="par la bouche et dans le nez",e$="par voie rectale",t$="injection sous-cutanée",i$="s.c./i.derm.",a$="sous la langue",n$="sur les dents",r$="dans l’uretère",o$="par voie vaginale",s$="les deux oreilles",l$="les deux yeux",c$="les deux narines",d$="injection cutanée",u$="dermatologique",h$="injection dermique",p$="oreille gauche",m$="oreille droite",f$="oeil gauche",g$="oeil droite",v$="hyperdermoclyse",b$="intracutané",y$="intradermique",_$="intra-artérielle",x$="nez gauche",w$="nez droite",S$="ophtalmologique",k$="transdermique",E$="injection vitrale",bbe={"00001":H6,"00002":$6,"00003":q6,"00004":G6,"00005":U6,"00006":Y6,"00007":W6,"00008":Z6,"00009":K6,"00010":X6,"00011":Q6,"00012":J6,"00013":e8,"00014":t8,"00015":i8,"00016":a8,"00017":n8,"00018":r8,"00019":o8,"00020":s8,"00021":l8,"00022":c8,"00023":d8,"00024":u8,"00025":h8,"00026":p8,"00027":m8,"00028":f8,"00029":g8,"00030":v8,"00031":b8,"00032":y8,"00033":_8,"00034":x8,"00035":w8,"00036":S8,"00037":k8,"00038":E8,"00039":C8,"00040":D8,"00041":I8,"00042":A8,"00043":O8,"00044":T8,"00045":M8,"00046":N8,"00047":P8,"00048":R8,"00049":F8,"00050":V8,"00051":L8,"00052":z8,"00053":j8,"00054":B8,"00055":H8,"00056":$8,"00057":q8,"00058":G8,"00059":U8,"00060":Y8,"00061":W8,"00062":Z8,"00063":K8,"00064":X8,"00065":Q8,"00066":J8,"00067":e$,"00068":t$,"00069":i$,"00070":a$,"00071":n$,"00072":r$,"00073":o$,"both-ears":s$,"both-eyes":l$,"both-nostrils":c$,"cutaneous-injection":d$,derm:u$,"dermal-injection":h$,"ear-left":p$,"ear-right":m$,"eye-left":f$,"eye-right":g$,hyperdermoclyse:v$,icut:b$,ider:y$,larter:_$,"nose-left":x$,"nose-right":w$,oft:S$,transdermal:k$,"vitreal-injection":E$},C$={};Te(C$,{"00001":()=>D$,"00002":()=>I$,"00003":()=>wq,"00004":()=>Sq,"00005":()=>A$,"00006":()=>kq,"00007":()=>Eq,"00008":()=>O$,"00009":()=>T$,"00010":()=>M$,"00011":()=>N$,"00012":()=>P$,"00013":()=>R$,"00014":()=>Cq,"00015":()=>Dq,"00016":()=>Iq,"00017":()=>Aq,"00018":()=>Oq,"00019":()=>Tq,"00020":()=>Mq,"00021":()=>Nq,"00022":()=>Pq,"00023":()=>Rq,"00024":()=>Fq,"00025":()=>Vq,"00026":()=>Lq,"00027":()=>zq,"00028":()=>jq,"00029":()=>Bq,"00030":()=>Hq,"00031":()=>$q,"00032":()=>qq,"00033":()=>F$,"00034":()=>V$,"00035":()=>L$,"00036":()=>Gq,"00037":()=>Uq,"00038":()=>Yq,"00039":()=>Wq,"00040":()=>Zq,"00041":()=>Kq,"00042":()=>Xq,"00043":()=>Qq,"00044":()=>Jq,"00045":()=>z$,"00046":()=>j$,"00047":()=>eG,"00048":()=>tG,"00049":()=>B$,"00050":()=>iG,"00051":()=>H$,"00052":()=>$$,"00053":()=>q$,"00054":()=>G$,"00055":()=>U$,"00056":()=>Y$,"00057":()=>aG,"00058":()=>nG,"00059":()=>rG,"00060":()=>W$,"00061":()=>oG,"00062":()=>sG,"00063":()=>lG,"00064":()=>Z$,"00065":()=>cG,"00066":()=>K$,"00067":()=>X$,"00068":()=>Q$,"00069":()=>dG,"00070":()=>J$,"00071":()=>eq,"00072":()=>tq,"00073":()=>iq,"both-ears":()=>bq,"both-eyes":()=>fq,"both-nostrils":()=>hq,"cutaneous-injection":()=>lq,default:()=>ybe,derm:()=>aq,"dermal-injection":()=>cq,"ear-left":()=>gq,"ear-right":()=>vq,"eye-left":()=>pq,"eye-right":()=>mq,hyperdermoclyse:()=>xq,icut:()=>rq,ider:()=>oq,larter:()=>nq,"nose-left":()=>dq,"nose-right":()=>uq,oft:()=>sq,transdermal:()=>_q,"vitreal-injection":()=>yq});var D$="in het oor",I$="op de huid",A$="inspuiting buiten het hersenvlies",O$="in de luchtpijp",T$="inbrengen in de baarmoederhals",M$="inspuiting in een slagader",N$="inspuiting in de penis",P$="inspuiting in de huid",R$="inspuiting in een spier",F$="inspuiting in het ruggenmerg",V$="inbrengen in de baarmoeder",L$="inspuiting in een ader",z$="in de urineblaas",j$="infuus",B$="inhalatie",H$="inspuiting",$$="op de lippen",q$="lokaal",G$="op het slijmvlies",U$="in de neus",Y$="in de ogen",W$="innemen",Z$="in de mond",K$="in de mond en in de neus",X$="anaal opsteken",Q$="onderhuidse inspuiting",J$="onder de tong",eq="op de tanden",tq="in de urineleider",iq="vaginaal",aq="dermatologisch",nq="intra-arterieel",rq="intracutaan",oq="intradermaal",sq="oftalmologisch",lq="cutane injectie",cq="dermale injectie",dq="neus links",uq="neus rechts",hq="beide neusgaten",pq="oog links",mq="oog rechts",fq="beide ogen",gq="oor links",vq="oor rechts",bq="beide oren",yq="vitreale injectie",_q="transdermaal",xq="hyperdermoclyse",wq="derm./rect",Sq="derm./vag.",kq="e.dur./i.thec./lokaal",Eq="e.dur./lokaal",Cq="i.m./i.thec./p.dur./s.c.",Dq="i.m./i.v.",Iq="i.m./i.v./inf.",Aq="i.m./i.v./inf./e.dur./s.c.",Oq="i.m./i.v./inf./i.arter./i.thec.",Tq="i.m./i.v./perf./i.artér./lokaal/s.c.",Mq="i.m./i.v./inf./i.thec.",Nq="i.m./i.v./inf./rect.",Pq="i.m./i.v./inf./s.c.",Rq="i.m./i.v./inhal.",Fq="i.m./i.v./lokaal",Vq="i.m./i.v./or.",Lq="i.m./i.v./rect",zq="i.m./i.v./s.c.",jq="i.m./inf.",Bq="i.m./perf./lokaal",Hq="i.m./lokaal",$q="i.m./lokaal/rect.",qq="i.m./s.c.",Gq="i.v./p.dur./lokaal",Uq="i.v./i.arter./i.ves.",Yq="i.v./inf.",Wq="i.v./perf./p.dur.",Zq="i.v./inf./i.arter.",Kq="i.v./inf./i.thec./s.c.",Xq="i.v./inf./inhal.",Qq="i.v./inf./s.c.",Jq="i.v./s.c.",eG="perf./i.ves.",tG="perf./s.c.",iG="inhal./nas./lokaal",aG="oft./auric.",nG="oft./auric./nas.",rG="oft./auric./nas./lokaal",oG="or./orofar./derm.",sG="or./rect.",lG="or./s.l.",cG="orofar./derm.",dG="s.c./i.derm.",ybe={"00001":D$,"00002":I$,"00005":A$,"00008":O$,"00009":T$,"00010":M$,"00011":N$,"00012":P$,"00013":R$,"00033":F$,"00034":V$,"00035":L$,"00045":z$,"00046":j$,"00049":B$,"00051":H$,"00052":$$,"00053":q$,"00054":G$,"00055":U$,"00056":Y$,"00060":W$,"00064":Z$,"00066":K$,"00067":X$,"00068":Q$,"00070":J$,"00071":eq,"00072":tq,"00073":iq,derm:aq,larter:nq,icut:rq,ider:oq,oft:sq,"cutaneous-injection":lq,"dermal-injection":cq,"nose-left":dq,"nose-right":uq,"both-nostrils":hq,"eye-left":pq,"eye-right":mq,"both-eyes":fq,"ear-left":gq,"ear-right":vq,"both-ears":bq,"vitreal-injection":yq,transdermal:_q,hyperdermoclyse:xq,"00003":wq,"00004":Sq,"00006":kq,"00007":Eq,"00014":Cq,"00015":Dq,"00016":Iq,"00017":Aq,"00018":Oq,"00019":Tq,"00020":Mq,"00021":Nq,"00022":Pq,"00023":Rq,"00024":Fq,"00025":Vq,"00026":Lq,"00027":zq,"00028":jq,"00029":Bq,"00030":Hq,"00031":$q,"00032":qq,"00036":Gq,"00037":Uq,"00038":Yq,"00039":Wq,"00040":Zq,"00041":Kq,"00042":Xq,"00043":Qq,"00044":Jq,"00047":eG,"00048":tG,"00050":iG,"00057":aG,"00058":nG,"00059":rG,"00061":oG,"00062":sG,"00063":lG,"00065":cG,"00069":dG},_be={nl:C$,fr:B6,de:v9,en:iH},uG={};Te(uG,{default:()=>xbe,rsb:()=>mG,rsw:()=>pG,vitalink:()=>hG});var hG="Vitalink",pG="Réseau Santé Wallon",mG="Brüsseler Gesundheitsnetzwerk",xbe={vitalink:hG,rsw:pG,rsb:mG},fG={};Te(fG,{default:()=>wbe,rsb:()=>bG,rsw:()=>vG,vitalink:()=>gG});var gG="Vitalink",vG="Réseau Santé Wallon",bG="Brussels Health Network",wbe={vitalink:gG,rsw:vG,rsb:bG},yG={};Te(yG,{default:()=>Sbe,rsb:()=>wG,rsw:()=>xG,vitalink:()=>_G});var _G="Vitalink",xG="Réseau Santé Wallon",wG="Réseau Santé Bruxellois",Sbe={vitalink:_G,rsw:xG,rsb:wG},SG={};Te(SG,{default:()=>kbe,rsb:()=>CG,rsw:()=>EG,vitalink:()=>kG});var kG="Vitalink",EG="Réseau Santé Wallon",CG="Brusselse Gezondheidsnetwerk",kbe={vitalink:kG,rsw:EG,rsb:CG},Ebe={nl:SG,fr:yG,de:uG,en:fG},DG={};Te(DG,{alphabetical:()=>VG,author:()=>OG,date:()=>TG,default:()=>Cbe,expiration:()=>FG,medicationName:()=>IG,role:()=>MG,sort:()=>RG,"sorting-ascendant":()=>NG,"sorting-descendent":()=>PG,validityDate:()=>AG});var IG="Arzneimittel",AG="Ablaufdatum",OG="Verfasser",TG="Datum",MG="Benutzerrolle",NG="Aufsteigend sortieren",PG="Absteigend sortieren",RG="Sortieren",FG={asc:"läuft zuerst ab",desc:"läuft zuletzt ab"},VG={asc:"Medikamentenname (A→Z)",desc:"Medikamentenname (Z→A)"},Cbe={medicationName:IG,validityDate:AG,author:OG,date:TG,role:MG,"sorting-ascendant":NG,"sorting-descendent":PG,sort:RG,expiration:FG,alphabetical:VG},LG={};Te(LG,{alphabetical:()=>WG,author:()=>$G,date:()=>qG,default:()=>Dbe,expiration:()=>YG,medicationName:()=>zG,role:()=>GG,sort:()=>UG,"sorting-ascendant":()=>BG,"sorting-descendent":()=>HG,validityDate:()=>jG});var zG="Drug",jG="Validity",BG="Sort by ascending order",HG="Sort by descending order",$G="Author",qG="Date",GG="Role",UG="Sort by",YG={asc:"expires first",desc:"expires last"},WG={asc:"medication name (A→Z)",desc:"medication name (Z→A)"},Dbe={medicationName:zG,validityDate:jG,"sorting-ascendant":BG,"sorting-descendent":HG,author:$G,date:qG,role:GG,sort:UG,expiration:YG,alphabetical:WG},ZG={};Te(ZG,{alphabetical:()=>rU,author:()=>QG,date:()=>JG,default:()=>Ibe,expiration:()=>nU,medicationName:()=>KG,role:()=>eU,sort:()=>aU,"sorting-ascendant":()=>tU,"sorting-descendent":()=>iU,validityDate:()=>XG});var KG="Médicament",XG="Validité",QG="Auteur",JG="Date",eU="Qualité",tU="Trier par ordre croissant",iU="Trier par ordre décroissant",aU="Trier",nU={asc:"expire en premier",desc:"expire en dernier"},rU={asc:"nom du médicament (A→Z)",desc:"nom du médicament (Z→A)"},Ibe={medicationName:KG,validityDate:XG,author:QG,date:JG,role:eU,"sorting-ascendant":tU,"sorting-descendent":iU,sort:aU,expiration:nU,alphabetical:rU},oU={};Te(oU,{alphabetical:()=>gU,author:()=>cU,date:()=>dU,default:()=>Abe,expiration:()=>fU,medicationName:()=>sU,role:()=>uU,sort:()=>mU,"sorting-ascendant":()=>hU,"sorting-descendent":()=>pU,validityDate:()=>lU});var sU="Geneesmiddel",lU="Geldigheid",cU="Auteur",dU="Datum",uU="Rol",hU="Oplopend sorteren",pU="Aflopend sorteren",mU="Sorteren",fU={asc:"vervalt eerst",desc:"vervalt laatst"},gU={asc:"medicatienaam (A→Z)",desc:"medicatienaam (Z→A)"},Abe={medicationName:sU,validityDate:lU,author:cU,date:dU,role:uU,"sorting-ascendant":hU,"sorting-descendent":pU,sort:mU,expiration:fU,alphabetical:gU},Obe={nl:oU,fr:ZG,de:DG,en:LG},vU={};Te(vU,{antibiotherapy:()=>EU,default:()=>Tbe,dentalcare:()=>DU,diabetes:()=>bU,infectiology:()=>CU,medication:()=>yU,movement:()=>_U,nutrition:()=>xU,oncology:()=>kU,pregnancy:()=>IU,renalinsufficiency:()=>wU,woundcare:()=>SU});var bU="Diabetes",yU="Medikation",_U="Bewegung",xU="Ernährung",wU="Nierinsuffizienz",SU="Wundversorgung",kU="Onkologie",EU="Antibiotikatherapie",CU="Infektiologie",DU="Zahnpflege",IU="Schwangerschaft",Tbe={diabetes:bU,medication:yU,movement:_U,nutrition:xU,renalinsufficiency:wU,woundcare:SU,oncology:kU,antibiotherapy:EU,infectiology:CU,dentalcare:DU,pregnancy:IU},AU={};Te(AU,{antibiotherapy:()=>VU,default:()=>Mbe,dentalcare:()=>zU,diabetes:()=>OU,infectiology:()=>LU,medication:()=>TU,movement:()=>MU,nutrition:()=>NU,oncology:()=>FU,pregnancy:()=>jU,renalinsufficiency:()=>PU,woundcare:()=>RU});var OU="Diabetes",TU="Medication",MU="Movement",NU="Nutrition",PU="Renal Insufficiency",RU="Wound Care",FU="Oncology",VU="Antibiotic Therapy",LU="Infectiology",zU="Dental Care",jU="Pregnancy",Mbe={diabetes:OU,medication:TU,movement:MU,nutrition:NU,renalinsufficiency:PU,woundcare:RU,oncology:FU,antibiotherapy:VU,infectiology:LU,dentalcare:zU,pregnancy:jU},BU={};Te(BU,{antibiotherapy:()=>ZU,default:()=>Nbe,dentalcare:()=>XU,diabetes:()=>HU,infectiology:()=>KU,medication:()=>$U,movement:()=>qU,nutrition:()=>GU,oncology:()=>WU,pregnancy:()=>QU,renalinsufficiency:()=>UU,woundcare:()=>YU});var HU="Diabète",$U="Médication",qU="Mouvement",GU="Nutrition",UU="Insuffisante rénale",YU="Soins de plaie",WU="Oncologie",ZU="Antibiothérapie",KU="Infectiologie",XU="Soins dentaires",QU="Grossesse",Nbe={diabetes:HU,medication:$U,movement:qU,nutrition:GU,renalinsufficiency:UU,woundcare:YU,oncology:WU,antibiotherapy:ZU,infectiology:KU,dentalcare:XU,pregnancy:QU},JU={};Te(JU,{antibiotherapy:()=>sY,default:()=>Pbe,dentalcare:()=>cY,diabetes:()=>eY,infectiology:()=>lY,medication:()=>tY,movement:()=>iY,nutrition:()=>aY,oncology:()=>oY,pregnancy:()=>dY,renalinsufficiency:()=>nY,woundcare:()=>rY});var eY="Diabetes",tY="Medicatie",iY="Beweging",aY="Voeding",nY="Nierinsufficiëntie",rY="Wondzorg",oY="Oncologie",sY="Antibiotherapie",lY="Infectiologie",cY="Tandheelkundige zorgen",dY="Zwangerschap",Pbe={diabetes:eY,medication:tY,movement:iY,nutrition:aY,renalinsufficiency:nY,woundcare:rY,oncology:oY,antibiotherapy:sY,infectiology:lY,dentalcare:cY,pregnancy:dY},Rbe={nl:JU,fr:BU,de:vU,en:AU},uY={};Te(uY,{accessibility:()=>IY,"add-note-dialog":()=>hY,"add-note-error":()=>pY,cancel:()=>mY,confirm:()=>fY,default:()=>Fbe,"delete-dialog":()=>EY,disclaimer:()=>DY,filters:()=>gY,history:()=>vY,noDiaryNotes:()=>bY,noNote:()=>yY,noteDetailsDialog:()=>_Y,readContent:()=>wY,readmore:()=>xY,sortDropdown:()=>CY,sorting:()=>SY,table:()=>kY});var hY={cancel:"Abbrechen","character-counter":"maximale Zeichenanzahl",confirm:"Bestätigen",logout:"Abmelden","error-note-not-added":"Die Notiz konnte nicht hinzugefügt werden.","success-note-added":"Die Notiz wurde erstellt","field-description":"Notiz",title:"Notiz hinzufügen","file-size-error":"Eine oder mehrere ausgewählte Dateien sind zu groß. Die maximale Dateigröße beträgt 6 MB.","file-upload-button":"Zur Auswahl","file-upload-title":"Anhang","file-info":"Erlaubte Formate: jpeg / jpg / pdf / png / tiff . Maximale Größe: 6 MB",warning:`Bitte beachten: <br>Über diese Anwendung ist es derzeit nicht möglich, Journalnotizen bei "Réseau Santé Wallon" und "Réseau Santé Bruxellois" zu löschen oder zu erstellen.<br>Wenn Sie also eine neue Notiz erstellen, wird diese in der flämischen Gesundheitssafe 'Vitalink' gespeichert.<br>Wir hoffen, Ihnen in Kürze alle Optionen anbieten zu können.`},pY={VIDIS_0410:"Ihr Text überschreitet die zulässige Länge von 319 Zeichen. (VIDIS_0410)",VIDIS_0415:"Eine oder mehrere ausgewählte Dateien sind zu groß. Die maximale Dateigröße beträgt 6 MB. (VIDIS_0415)",VIDIS_0420:"Der Typ einer Ihrer Dateien wird nicht unterstützt. Erlaubte Formate: jpeg/jpg/png/tiff. (VIDIS_0420)",VIDIS_0425:"Die Anzahl der Anhänge überschreitet das zulässige Limit",VIDIS_1000:"Diese version der notiz ist nicht mehr verfügbar. Bitte aktualisieren Sie die seite. (VIDIS_1000)",VIDIS_1005:"Sie sind nicht berechtigt, diese notiz zu ändern (VIDIS_1005)",default:"Die Notiz konnte nicht hinzugefügt werden."},mY="Abbrechen",fY="Bestätigen",gY={author:"Verfasser",clearfilters:"Filter löschen",date:"Datum",errFrom:"Das Anfangsdatum muss vor dem Enddatum liegen",errUntil:"Das Enddatum muss nach dem Anfangsdatum liegen",filter:"Filter",from:"Von",nonefound:"Keine Einträge gefunden.",role:"Benutzerrolle",until:"Bis",annex:"Nur mit Anhängen",deleteSelection:"Selektion löschen",tags:"Schüsselwörter"},vY="Historisch",bY="Es sind keine gemeinsamen Journalnotizen verfügbar",yY={part1:"Eine Journalnotiz kann mit einem Tagebucheintrag verglichen werden, auf den Sie und Ihre Gesundheitsdienstleister Zugriff haben. Journalnotizen enthalten gemeinsame Informationen über einen Patienten und ermöglichen eine bessere Zusammenarbeit zwischen den an der Behandlung Beteiligten, einschließlich des Patienten.",part2:"Derzeit stehen für Sie noch keine Journalnotizen zur Verfügung. Wenn Sie eine neue Journalnotiz erstellen möchten, klicken Sie auf die Schaltfläche {addNote}.",part3:"Bitte beachten",part4:'Über diese Anwendung ist es derzeit nicht möglich, Journalnotizen bei "Réseau Santé Wallon" und "Réseau Santé Bruxellois" zu löschen oder zu erstellen.',part5:"Wenn Sie also eine neue Notiz erstellen, wird diese in der flämischen Gesundheitssafe 'Vitalink' gespeichert.",part6:"Wir hoffen, Ihnen in Kürze alle Optionen anbieten zu können."},_Y={author:"Verfasser",date:"Datum",note:"Notiz",role:"Benutzerrolle"},xY="Weiterlesen",wY="Lesen Sie die Notiz",SY={numberPerPage:"Anzahl pro Seite","sorting-title":"Sortieren"},kY={addNote:"Eintrag hinzufügen",author:"Verfasser",addedOn:"Hinzugefügt am",date:"Datum",next:"Nächster",note:"Notiz",attachment:"{count, plural, one{Anhang} other{Anhänge}}",readMore:"Mehr lesen",role:"Benutzerrolle",error:"Leider war es nicht möglich, die Details der Notiz wiederzufinden. Versuchen Sie es erneut?",views:{full:"Vollständige Liste",active:"Aktive",archived:"Archivierte"}},EY={title:"Archivieren diese Journalnotiz",message:"Möchten Sie diese Journalnotiz archivieren?",confirm:"Archivieren diese Journalnotiz",cancel:"Abbrechen"},CY={oldestFirst:"älteste zuerst",newestFirst:"neueste zuerst"},DY="Die Tagebuchnotizen werden von Ihrem Pflegeteam verwaltet und über Vitalink, Réseau Santé Wallon (RSW) und Réseau santé Bruxellois (RSB) geteilt.",IY={filter:"Filter",filterWithBadge:"Filter, { nbrFilter } aktive Filter",startDate:"Startdatum, Eingabefeld, Datumsformat Tag Monat Jahr",endDate:"Enddatum, Eingabefeld, Datumsformat Tag Monat Jahr",calendarOpen:"Kalenderdialog geöffnet",selectedDate:"{ date } ausgewählt",filterClear:"Filter { filter} entfernen",deleteNote:"Diese Notiz löschen {{ content }}",downloadAttachment:"Download {{ fileName }} für Notiz {{ noteContent }}"},Fbe={"add-note-dialog":hY,"add-note-error":pY,cancel:mY,confirm:fY,filters:gY,history:vY,noDiaryNotes:bY,noNote:yY,noteDetailsDialog:_Y,readmore:xY,readContent:wY,sorting:SY,table:kY,"delete-dialog":EY,sortDropdown:CY,disclaimer:DY,accessibility:IY},AY={};Te(AY,{accessibility:()=>UY,"add-note-dialog":()=>OY,"add-note-error":()=>TY,cancel:()=>MY,confirm:()=>NY,default:()=>Vbe,"delete-dialog":()=>$Y,disclaimer:()=>GY,filters:()=>PY,history:()=>RY,noDiaryNotes:()=>FY,noNote:()=>VY,noteDetailsDialog:()=>LY,readContent:()=>jY,readmore:()=>zY,sortDropdown:()=>qY,sorting:()=>BY,table:()=>HY});var OY={cancel:"Cancel","character-counter":"maximum characters",confirm:"Confirm",logout:"Log out","error-note-not-added":"The note could not be added.","success-note-added":"The note has been created","field-description":"Note",title:"Add a note","file-size-error":"One or more selected files are too large. The maximum file size is 6 MB.","file-upload-button":"Select","file-upload-title":"Attachment","file-info":"Allowed formats: jpeg / jpg / pdf / png / tiff. Maximum size: 6 MB",warning:'Warning: <br>Currently, it is not possible to delete or create journal notes in the "Réseau Santé Wallon" and the "Brussels Health Network" through this application.<br>Therefore, if you create a new note, it will be stored in the Flemish vault "Vitalink".<br>We hope to offer all options soon.'},TY={VIDIS_0410:"Your text exceeds the allowed length of 319 characters. (VIDIS_0410)",VIDIS_0415:"One or more selected files are too large. The maximum file size is 6 MB. (VIDIS_0415)",VIDIS_0420:"The type of one of your files is not supported. Allowed formats: jpeg / jpg / png / tiff. (VIDIS_0420)",VIDIS_0425:"The number of attachments exceeds the allowed limit",VIDIS_1000:"This version of the note is no longer available. Please refresh the page. (VIDIS_1000)",VIDIS_1005:"You are not authorized to modify this note (VIDIS_1005)",default:"The note could not be added."},MY="Cancel",NY="Confirm",PY={author:"Author",clearfilters:"Clear filters",date:"Date",errFrom:"The start date must be earlier than the end date",errUntil:"The end date must be later than the start date",filter:"Filter",from:"From",nonefound:"No results found.",role:"Role",until:"Until",annex:"Only with attachments",deleteSelection:"Delete selection",tags:"Keywords"},RY="History",FY="There are no shared diary notes available",VY={part1:"A diary note can be compared to a journal entry that you and your care providers have access to. Diary notes contain shared information about a patient and facilitate better cooperation between the parties involved in the treatment, including the patient.",part2:"Currently, there are no diary notes available to you. If you wish to create one, click the button {addNote}.",part3:"Warning",part4:'Currently, it is not possible to delete or create diary notes in the "Réseau Santé Wallon" and the "Brussels Health Network" through this application.',part5:'Therefore, if you create a new note, it will be stored in the Flemish vault "Vitalink".',part6:"We hope to offer all options soon."},LY={author:"Author",date:"Date",note:"Note",role:"Role"},zY="Read more",jY="Read the note",BY={numberPerPage:"Number per page","sorting-title":"Sort"},HY={addNote:"Add a note",author:"Author",addedOn:"Added on",date:"Date",next:"Next",note:"Note",attachment:"{count, plural, one{Attachment} other{Attachments}}",readMore:"Read more",role:"Role",error:"Unfortunately, the details of the note could not be retrieved. Do you want to try again?",views:{full:"Full list",active:"Active",archived:"Archived"}},$Y={title:"Archive this diary note",message:"Do you want to archive this diary note ?",confirm:"Archive this diary note",cancel:"Cancel"},qY={oldestFirst:"oldest first",newestFirst:"newest first"},GY="The journal notes are managed by your care team and shared via Vitalink, Réseau Santé Wallon (RSW), and Réseau Santé Bruxellois (RSB).",UY={filter:"Filter",filterWithBadge:"Filter, { nbrFilter } active filters",startDate:"Start date, edit text, date format day month year",endDate:"End date, edit text, date format day month year",calendarOpen:"Calendar dialog opened",selectedDate:"{ date } selected",filterClear:"Clear filter { filter }",deleteNote:"Delete this note {{ content }}",downloadAttachment:"Download {{ fileName }} for note {{ noteContent }}"},Vbe={"add-note-dialog":OY,"add-note-error":TY,cancel:MY,confirm:NY,filters:PY,history:RY,noDiaryNotes:FY,noNote:VY,noteDetailsDialog:LY,readmore:zY,readContent:jY,sorting:BY,table:HY,"delete-dialog":$Y,sortDropdown:qY,disclaimer:GY,accessibility:UY},YY={};Te(YY,{accessibility:()=>dW,"add-note-dialog":()=>WY,"add-note-error":()=>ZY,cancel:()=>KY,confirm:()=>XY,default:()=>Lbe,"delete-dialog":()=>sW,disclaimer:()=>cW,filters:()=>QY,history:()=>JY,noDiaryNotes:()=>eW,noNote:()=>tW,noteDetailsDialog:()=>iW,readContent:()=>nW,readmore:()=>aW,sortDropdown:()=>lW,sorting:()=>rW,table:()=>oW});var WY={cancel:"Annuler","character-counter":"caractères maximum",confirm:"Confirmer",logout:"Me déconnecter","error-note-not-added":"La note n’a pas pu être ajoutée.","success-note-added":"La note a été créée","field-description":"Note",title:"Ajouter une note","file-size-error":"Un ou plusieurs fichiers sélectionnés sont trop volumineux. La taille maximale du fichier est de 6 MB.","file-upload-button":"Sélectionner","file-upload-title":"Pièce jointe","file-info":"Formats autorisés : jpeg / jpg / pdf / png / tiff . Taille maximale : 6 MB",warning:`Attention : <br> Par cette application, il n'est actuellement pas possible de supprimer ou de créer des notes de journal au "Réseau Santé Wallon" et au "Réseau Santé Bruxellois".<br> Par conséquent, si vous créez une nouvelle note, elle sera stockée dans le coffre-fort flamand "Vitalink".<br>Nous espérons cependant pouvoir vous offrir toutes les options bientôt.`},ZY={VIDIS_0410:"Votre texte dépasse la longueur autorisée de 319 caractères. (VIDIS_0410)",VIDIS_0415:"Un ou plusieurs fichiers sélectionnés sont trop volumineux. La taille maximale du fichier est de 6 Mo. (VIDIS_0415)",VIDIS_0420:"Le type de l'un de vos fichiers n'est pas supportée. Formats autorisés: jpeg / jpg / png / tiff. (VIDIS_0420)",VIDIS_0425:"Le nombre de pièces jointes dépasse la limite autorisée",VIDIS_1000:"Cette version de la note n'est plus disponible. Veuillez rafraichir la page. (VIDIS_1000)",VIDIS_1005:"Vous n'êtes pas autorisé à modifier cette note (VIDIS_1005)",default:"La note n’a pas pu être ajoutée."},KY="Annuler",XY="Confirmer",QY={author:"Auteur",clearfilters:"Vider les filtres",date:"Date",errFrom:"La date de début doit être antérieure à la date de fin",errUntil:"La date de fin doit être postérieure à la date de début",filter:"Filtre",from:"De",nonefound:"Aucun résultat trouvé.",role:"Qualité",until:"Jusqu’au",annex:"Uniquement avec annexes",deleteSelection:"Effacer la sélection",tags:"Mots-clés"},JY="Historique",eW="Il n’y a pas de notes de journal partagées disponibles",tW={part1:"Une note de journal peut être comparée à une entrée de journal à laquelle vous et vos prestataires de soins avez accès. Les notes de journal contiennent des informations partagées sur un patient et permettent une meilleure coopération entre les acteurs engagés dans le traitement, y compris le patient.",part2:"Il n’y a actuellement aucune note de journal à votre disposition. Si vous souhaitez en créer une, cliquez sur le bouton {addNote}.",part3:"Attention",part4:`Par cette application, il n'est actuellement pas possible de supprimer ou de créer des notes de journal au "Réseau Santé Wallon" et au "Réseau Santé Bruxellois".`,part5:'Par conséquent, si vous créez une nouvelle note, elle sera stockée dans le coffre-fort flamand "Vitalink".',part6:"Nous espérons cependant pouvoir vous offrir toutes les options bientôt."},iW={author:"Auteur",date:"Date",note:"Note",role:"Qualité"},aW="Lire la suite",nW="Lire la note",rW={numberPerPage:"Nombre par page","sorting-title":"Tri"},oW={addNote:"Ajouter une note",author:"Auteur",addedOn:"Ajouté le",date:"Date",next:"Suivant",note:"Note",attachment:"{count, plural, one{Pièce jointe} other{Pièces jointes}}",readMore:"Voir plus",role:"Qualité",error:"Malheureusement, il n’a pas été possible de récupérer les détails de la note. Essayez-vous à nouveau?",views:{full:"Toute la liste",active:"Active(s)",archived:"Archivée(s)"}},sW={title:"Archiver cette note de journal",message:"Voulez-vous archiver cette note de journal?",confirm:"Archiver cette note de journal",cancel:"Annuler"},lW={oldestFirst:"le plus ancien d'abord",newestFirst:"le plus récent d'abord"},cW="Les notes de journal sont gérées par votre équipe de soins et sont partagées via Vitalink, Réseau Santé Wallon (RSW) et Réseau santé Bruxellois (RSB).",dW={filter:"Filtre",filterWithBadge:"Filtre, { nbrFilter } filtres actifs",startDate:"Date de début, champ de saisie, format de date jour mois année",endDate:"Date de fin, champ de saisie, format de date jour mois année",calendarOpen:"Boîte de dialogue du calendrier ouverte",selectedDate:"{ date } sélectionné",filterClear:"Effacer le filtre { filter}",deleteNote:"Supprimer cette note {{ content }}",downloadAttachment:"Télécharger {{ fileName }} pour la note {{ noteContent }}"},Lbe={"add-note-dialog":WY,"add-note-error":ZY,cancel:KY,confirm:XY,filters:QY,history:JY,noDiaryNotes:eW,noNote:tW,noteDetailsDialog:iW,readmore:aW,readContent:nW,sorting:rW,table:oW,"delete-dialog":sW,sortDropdown:lW,disclaimer:cW,accessibility:dW},uW={};Te(uW,{accessibility:()=>IW,"add-note-dialog":()=>hW,"add-note-error":()=>pW,cancel:()=>mW,confirm:()=>fW,default:()=>zbe,"delete-dialog":()=>EW,disclaimer:()=>DW,filters:()=>gW,history:()=>vW,noDiaryNotes:()=>bW,noNote:()=>yW,noteDetailsDialog:()=>_W,readContent:()=>wW,readmore:()=>xW,sortDropdown:()=>CW,sorting:()=>SW,table:()=>kW});var hW={cancel:"Annuleren","character-counter":"maximum aantal tekens",confirm:"Bevestigen",logout:"Afmelden","error-note-not-added":"De notitie kon niet worden toegevoegd.","success-note-added":"De nota is aangemaakt","field-description":"Notitie",title:"Notitie toevoegen","file-size-error":"Een of meer geselecteerde bestanden zijn te groot. De maximale bestandsgrootte is 6 MB.","file-upload-button":"Selecteer","file-upload-title":"Bijlage","file-info":"Toegestane formaten: jpeg / jpg / pdf / png / tiff . Maximale bestandsgrootte: 6 MB",warning:"Opgelet: <br>Via deze applicatie is het momenteel niet mogelijk om journaalnotities bij 'Réseau Santé Wallon’ en ‘Réseau Santé Bruxellois' te verwijderen of aan te maken.<br>Indien u een nieuwe notitie aanmaakt, zal die bijgevolg worden opgeslagen bij de Vlaamse gezondheidskluis 'Vitalink'.<br>We hopen u binnenkort wel alle mogelijkheden te kunnen aanbieden."},pW={VIDIS_0410:"Uw tekst overschrijdt de toegestane lengte van 319 tekens. (VIDIS_0410)",VIDIS_0415:"Een of meer geselecteerde bestanden zijn te groot. De maximale bestandsgrootte is 6 MB. (VIDIS_0415)",VIDIS_0420:"Het type van een van uw bestanden wordt niet ondersteund. Toegestane formaten: jpeg/jpg/png/tiff. (VIDIS_0420)",VIDIS_0425:"Het aantal bijlagen overschrijdt de toegestane grens",VIDIS_1000:"Deze versie van de notitie is niet langer beschikbaar. Gelieve de pagina te vernieuwen. (VIDIS_1000)",VIDIS_1005:"U bent niet bevoegd om deze notitie te wijzigen. (VIDIS_1005)",default:"De notitie kon niet worden toegevoegd."},mW="Annuleren",fW="Bevestigen",gW={author:"Auteur",clearfilters:"Verwijder filters",date:"Datum",errFrom:"De begindatum moet voor de einddatum liggen",errUntil:"De einddatum moet na de begindatum liggen",filter:"Filter",from:"Van",nonefound:"Geen resultaten gevonden.",role:"Rol",until:"Tot",annex:"Enkel met bijlagen",deleteSelection:"Selectie verwijderen",tags:"Sleutelwoorden"},vW="Historiek",bW="Er zijn geen gedeelde journaalnota's beschikbaar",yW={part1:"Een journaalnotitie kan u vergelijken met een aantekening in een dagboek waartoe u en uw zorgverleners toegang hebben. Journaalnotities bevatten gedeelde informatie over een patiënt en zorgen voor een betere samenwerking tussen degenen die bij de behandeling betrokken zijn, inclusief de patiënt.",part2:"Momenteel zijn er nog geen journaalnotities voor u beschikbaar. Indien u er een wenst aan te maken, klik dan op de knop {addNote}.",part3:"Opgelet",part4:"Via deze applicatie is het momenteel niet mogelijk om journaalnotities bij 'Réseau Santé Wallon’ en ‘Réseau Santé Bruxellois' te verwijderen of aan te maken.",part5:"Indien u een nieuwe notitie aanmaakt, zal die bijgevolg worden opgeslagen bij de Vlaamse gezondheidskluis 'Vitalink'.",part6:"We hopen u binnenkort wel alle mogelijkheden te kunnen aanbieden."},_W={author:"Auteur",date:"Datum",note:"Nota",role:"Rol"},xW="Lees meer",wW="Lees de nota",SW={numberPerPage:"Aantal per pagina","sorting-title":"Sortering"},kW={addNote:"Nota toevoegen",author:"Auteur",addedOn:"Toegevoegd op",date:"Datum",next:"Volgende",note:"Nota",attachment:"{count, plural, one{Bijlage} other{Bijlagen}}",readMore:"Lees meer",role:"Rol",error:"Het is jammer genoeg niet gelukt de details van de nota op te halen. Probeert u het even opnieuw?",views:{full:"Volledige lijst",active:"Actief",archived:"Gearchiveerde"}},EW={title:"Archiveren journaalnotitie",message:"Wilt U deze journaalnotitie archiveren?",confirm:"Archiveren journaalnotitie",cancel:"Annuleren"},CW={oldestFirst:"laatste eerst",newestFirst:"nieuwste eerst"},DW="De journaalnota's worden beheerd door uw zorgteam en wordt gedeeld via Vitalink, Réseau Santé Wallon (RSW) en Réseau santé Bruxellois (RSB).",IW={filter:"Filter",filterWithBadge:"Filter, { nbrFilter } actieve filters",startDate:"Begindatum, invoerveld, datumformaat dag maand jaar",endDate:"Einddatum, invoerveld, datumformaat dag maand jaar",calendarOpen:"Kalenderdialoog geopend",selectedDate:"{ date } geselecteerd",filterClear:"Filter { filter } wissen",deleteNote:"Verwijder deze notitie {{ content }}",downloadAttachment:"Download {{ fileName }} voor nota {{ noteContent }}"},zbe={"add-note-dialog":hW,"add-note-error":pW,cancel:mW,confirm:fW,filters:gW,history:vW,noDiaryNotes:bW,noNote:yW,noteDetailsDialog:_W,readmore:xW,readContent:wW,sorting:SW,table:kW,"delete-dialog":EW,sortDropdown:CW,disclaimer:DW,accessibility:IW},jbe={nl:uW,fr:YY,de:uY,en:AY},Bbe=class extends rl{getTranslation(e){return bt({commons:tt(J({},ebe[e]),{matPaginator:rbe[e],days:qve[e],errors:Zve[e],roles:fbe[e],safes:Ebe[e],period:dbe[e],routes:_be[e],sortDropdown:Obe[e],tags:Rbe[e]}),diaryNotesPage:jbe[e]})}},Ke=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}(Ke||{}),fn="*";function Hbe(e,t=null){return{type:Ke.Sequence,steps:e,options:t}}function cy(e){return{type:Ke.Style,styles:e,offset:null}}var Rs=class{constructor(e=0,t=0){o(this,"_onDoneFns",[]);o(this,"_onStartFns",[]);o(this,"_onDestroyFns",[]);o(this,"_originalOnDoneFns",[]);o(this,"_originalOnStartFns",[]);o(this,"_started",!1);o(this,"_destroyed",!1);o(this,"_finished",!1);o(this,"_position",0);o(this,"parentPlayer",null);o(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(n=>n()),t.length=0}},AW=class{constructor(e){o(this,"_onDoneFns",[]);o(this,"_onStartFns",[]);o(this,"_finished",!1);o(this,"_started",!1);o(this,"_destroyed",!1);o(this,"_onDestroyFns",[]);o(this,"parentPlayer",null);o(this,"totalTime",0);o(this,"players");this.players=e;let t=0,n=0,i=0,a=this.players.length;a==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(r=>{r.onDone(()=>{++t==a&&this._onFinish()}),r.onDestroy(()=>{++n==a&&this._onDestroy()}),r.onStart(()=>{++i==a&&this._onStart()})}),this.totalTime=this.players.reduce((r,s)=>Math.max(r,s.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(n=>{let i=n.totalTime?Math.min(1,t/n.totalTime):1;n.setPosition(i)})}getPosition(){let e=this.players.reduce((t,n)=>t===null||n.totalTime>t.totalTime?n: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(n=>n()),t.length=0}},Uf="!";function dy(e){return new X(3e3,!1)}function $be(){return new X(3100,!1)}function qbe(){return new X(3101,!1)}function Gbe(e){return new X(3001,!1)}function Ube(e){return new X(3003,!1)}function Ybe(e){return new X(3004,!1)}function Wbe(e,t){return new X(3005,!1)}function Zbe(){return new X(3006,!1)}function Kbe(){return new X(3007,!1)}function Xbe(e,t){return new X(3008,!1)}function Qbe(e){return new X(3002,!1)}function Jbe(e,t,n,i,a){return new X(3010,!1)}function eye(){return new X(3011,!1)}function tye(){return new X(3012,!1)}function iye(){return new X(3200,!1)}function aye(){return new X(3202,!1)}function nye(){return new X(3013,!1)}function rye(e){return new X(3014,!1)}function oye(e){return new X(3015,!1)}function sye(e){return new X(3016,!1)}function lye(e,t){return new X(3404,!1)}function cye(e){return new X(3502,!1)}function dye(e){return new X(3503,!1)}function uye(){return new X(3300,!1)}function hye(e){return new X(3504,!1)}function pye(e){return new X(3301,!1)}function mye(e,t){return new X(3302,!1)}function fye(e){return new X(3303,!1)}function gye(e,t){return new X(3400,!1)}function vye(e){return new X(3401,!1)}function bye(e){return new X(3402,!1)}function yye(e,t){return new X(3505,!1)}function Tn(e){switch(e.length){case 0:return new Rs;case 1:return e[0];default:return new AW(e)}}function OW(e,t,n=new Map,i=new Map){let a=[],r=[],s=-1,l=null;if(t.forEach(c=>{let d=c.get("offset"),u=d==s,m=u&&l||new Map;c.forEach((v,g)=>{let x=g,S=v;if(g!=="offset")switch(x=e.normalizePropertyName(x,a),S){case Uf:S=n.get(g);break;case fn:S=i.get(g);break;default:S=e.normalizeStyleValue(g,x,S,a);break}m.set(x,S)}),u||r.push(m),l=m,s=d}),a.length)throw cye();return r}function Yf(e,t,n,i){switch(t){case"start":e.onStart(()=>i(n&&gh(n,"start",e)));break;case"done":e.onDone(()=>i(n&&gh(n,"done",e)));break;case"destroy":e.onDestroy(()=>i(n&&gh(n,"destroy",e)));break}}function gh(e,t,n){let i=n.totalTime,a=!!n.disabled,r=Wf(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,i??e.totalTime,a),s=e._data;return s!=null&&(r._data=s),r}function Wf(e,t,n,i,a="",r=0,s){return{element:e,triggerName:t,fromState:n,toState:i,phaseName:a,totalTime:r,disabled:!!s}}function Ui(e,t,n){let i=e.get(t);return i||e.set(t,i=n),i}function uy(e){let t=e.indexOf(":"),n=e.substring(1,t),i=e.slice(t+1);return[n,i]}var _ye=typeof document>"u"?null:document.documentElement;function Zf(e){let t=e.parentNode||e.host||null;return t===_ye?null:t}function xye(e){return e.substring(1,6)=="ebkit"}var or=null,hy=!1;function wye(e){or||(or=Sye()||{},hy=or.style?"WebkitAppearance"in or.style:!1);let t=!0;return or.style&&!xye(e)&&(t=e in or.style,!t&&hy&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in or.style)),t}function Sye(){return typeof document<"u"?document.body:null}function TW(e,t){for(;t;){if(t===e)return!0;t=Zf(t)}return!1}function MW(e,t,n){if(n)return Array.from(e.querySelectorAll(t));let i=e.querySelector(t);return i?[i]:[]}var kye=1e3,NW="{{",Eye="}}",PW="ng-enter",Tp="ng-leave",Jl="ng-trigger",od=".ng-trigger",py="ng-animating",Mp=".ng-animating";function dn(e){if(typeof e=="number")return e;let t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Np(parseFloat(t[1]),t[2])}function Np(e,t){switch(t){case"s":return e*kye;default:return e}}function sd(e,t,n){return e.hasOwnProperty("duration")?e:Cye(e,t,n)}function Cye(e,t,n){let i=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,a,r=0,s="";if(typeof e=="string"){let l=e.match(i);if(l===null)return t.push(dy()),{duration:0,delay:0,easing:""};a=Np(parseFloat(l[1]),l[2]);let c=l[3];c!=null&&(r=Np(parseFloat(c),l[4]));let d=l[5];d&&(s=d)}else a=e;if(!n){let l=!1,c=t.length;a<0&&(t.push($be()),l=!0),r<0&&(t.push(qbe()),l=!0),l&&t.splice(c,0,dy())}return{duration:a,delay:r,easing:s}}function Dye(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}function Fa(e,t,n){t.forEach((i,a)=>{let r=Kf(a);n&&!n.has(a)&&n.set(a,e.style[r]),e.style[r]=i})}function gr(e,t){t.forEach((n,i)=>{let a=Kf(i);e.style[a]=""})}function es(e){return Array.isArray(e)?e.length==1?e[0]:Hbe(e):e}function Iye(e,t,n){let i=t.params||{},a=RW(e);a.length&&a.forEach(r=>{i.hasOwnProperty(r)||n.push(Gbe())})}var Pp=new RegExp(`${NW}\\s*(.+?)\\s*${Eye}`,"g");function RW(e){let t=[];if(typeof e=="string"){let n;for(;n=Pp.exec(e);)t.push(n[1]);Pp.lastIndex=0}return t}function Fs(e,t,n){let i=`${e}`,a=i.replace(Pp,(r,s)=>{let l=t[s];return l==null&&(n.push(Ube()),l=""),l.toString()});return a==i?e:a}var Aye=/-+([a-z0-9])/g;function Kf(e){return e.replace(Aye,(...t)=>t[1].toUpperCase())}function Oye(e,t){return e===0||t===0}function Tye(e,t,n){if(n.size&&t.length){let i=t[0],a=[];if(n.forEach((r,s)=>{i.has(s)||a.push(s),i.set(s,r)}),a.length)for(let r=1;r<t.length;r++){let s=t[r];a.forEach(l=>s.set(l,Xf(e,l)))}}return t}function Gi(e,t,n){switch(t.type){case Ke.Trigger:return e.visitTrigger(t,n);case Ke.State:return e.visitState(t,n);case Ke.Transition:return e.visitTransition(t,n);case Ke.Sequence:return e.visitSequence(t,n);case Ke.Group:return e.visitGroup(t,n);case Ke.Animate:return e.visitAnimate(t,n);case Ke.Keyframes:return e.visitKeyframes(t,n);case Ke.Style:return e.visitStyle(t,n);case Ke.Reference:return e.visitReference(t,n);case Ke.AnimateChild:return e.visitAnimateChild(t,n);case Ke.AnimateRef:return e.visitAnimateRef(t,n);case Ke.Query:return e.visitQuery(t,n);case Ke.Stagger:return e.visitStagger(t,n);default:throw Ybe(t.type)}}function Xf(e,t){return window.getComputedStyle(e)[t]}var Mye=(()=>{const t=class t{validateStyleProperty(i){return wye(i)}containsElement(i,a){return TW(i,a)}getParentElement(i){return Zf(i)}query(i,a,r){return MW(i,a,r)}computeStyle(i,a,r){return r||""}animate(i,a,r,s,l,c=[],d){return new Rs(r,s)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})(),Sh,FW=(Sh=class{},o(Sh,"NOOP",new Mye),Sh),Qf=class{},Nye=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"]),Pye=class extends Qf{normalizePropertyName(e,t){return Kf(e)}normalizeStyleValue(e,t,n,i){let a="",r=n.toString().trim();if(Nye.has(t)&&n!==0&&n!=="0")if(typeof n=="number")a="px";else{let s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&s[1].length==0&&i.push(Wbe())}return r+a}},ld="*";function Rye(e,t){let n=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(i=>Fye(i,n,t)):n.push(e),n}function Fye(e,t,n){if(e[0]==":"){let c=Vye(e,n);if(typeof c=="function"){t.push(c);return}e=c}let i=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return n.push(oye()),t;let a=i[1],r=i[2],s=i[3];t.push(my(a,s));let l=a==ld&&s==ld;r[0]=="<"&&!l&&t.push(my(s,a))}function Vye(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,i)=>parseFloat(i)>parseFloat(n);case":decrement":return(n,i)=>parseFloat(i)<parseFloat(n);default:return t.push(sye()),"* => *"}}var ec=new Set(["true","1"]),tc=new Set(["false","0"]);function my(e,t){let n=ec.has(e)||tc.has(e),i=ec.has(t)||tc.has(t);return(a,r)=>{let s=e==ld||e==a,l=t==ld||t==r;return!s&&n&&typeof a=="boolean"&&(s=a?ec.has(e):tc.has(e)),!l&&i&&typeof r=="boolean"&&(l=r?ec.has(t):tc.has(t)),s&&l}}var VW=":self",Lye=new RegExp(`s*${VW}s*,?`,"g");function LW(e,t,n,i){return new zye(e).build(t,n,i)}var fy="",zye=class{constructor(e){o(this,"_driver");this._driver=e}build(e,t,n){let i=new Hye(t);return this._resetContextStyleTimingState(i),Gi(this,es(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=fy,e.collectedStyles=new Map,e.collectedStyles.set(fy,new Map),e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,i=t.depCount=0,a=[],r=[];return e.name.charAt(0)=="@"&&t.errors.push(Zbe()),e.definitions.forEach(s=>{if(this._resetContextStyleTimingState(t),s.type==Ke.State){let l=s,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,a.push(this.visitState(l,t))}),l.name=c}else if(s.type==Ke.Transition){let l=this.visitTransition(s,t);n+=l.queryCount,i+=l.depCount,r.push(l)}else t.errors.push(Kbe())}),{type:Ke.Trigger,name:e.name,states:a,transitions:r,queryCount:n,depCount:i,options:null}}visitState(e,t){let n=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(n.containsDynamicStyles){let a=new Set,r=i||{};n.styles.forEach(s=>{s instanceof Map&&s.forEach(l=>{RW(l).forEach(c=>{r.hasOwnProperty(c)||a.add(c)})})}),a.size&&t.errors.push(Xbe(e.name,[...a.values()]))}return{type:Ke.State,name:e.name,style:n,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let n=Gi(this,es(e.animation),t),i=Rye(e.expr,t.errors);return{type:Ke.Transition,matchers:i,animation:n,queryCount:t.queryCount,depCount:t.depCount,options:sr(e.options)}}visitSequence(e,t){return{type:Ke.Sequence,steps:e.steps.map(n=>Gi(this,n,t)),options:sr(e.options)}}visitGroup(e,t){let n=t.currentTime,i=0,a=e.steps.map(r=>{t.currentTime=n;let s=Gi(this,r,t);return i=Math.max(i,t.currentTime),s});return t.currentTime=i,{type:Ke.Group,steps:a,options:sr(e.options)}}visitAnimate(e,t){let n=qye(e.timings,t.errors);t.currentAnimateTimings=n;let i,a=e.styles?e.styles:cy({});if(a.type==Ke.Keyframes)i=this.visitKeyframes(a,t);else{let r=e.styles,s=!1;if(!r){s=!0;let c={};n.easing&&(c.easing=n.easing),r=cy(c)}t.currentTime+=n.duration+n.delay;let l=this.visitStyle(r,t);l.isEmptyStep=s,i=l}return t.currentAnimateTimings=null,{type:Ke.Animate,timings:n,style:i,options:null}}visitStyle(e,t){let n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){let n=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let s of i)typeof s=="string"?s===fn?n.push(s):t.errors.push(Qbe()):n.push(new Map(Object.entries(s)));let a=!1,r=null;return n.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(r=s.get("easing"),s.delete("easing")),!a)){for(let l of s.values())if(l.toString().indexOf(NW)>=0){a=!0;break}}}),{type:Ke.Style,styles:n,easing:r,offset:e.offset,containsDynamicStyles:a,options:null}}_validateStyleAst(e,t){let n=t.currentAnimateTimings,i=t.currentTime,a=t.currentTime;n&&a>0&&(a-=n.duration+n.delay),e.styles.forEach(r=>{typeof r!="string"&&r.forEach((s,l)=>{let c=t.collectedStyles.get(t.currentQuerySelector),d=c.get(l),u=!0;d&&(a!=i&&a>=d.startTime&&i<=d.endTime&&(t.errors.push(Jbe(l,d.startTime,d.endTime)),u=!1),a=d.startTime),u&&c.set(l,{startTime:a,endTime:i}),t.options&&Iye(s,t.options,t.errors)})})}visitKeyframes(e,t){let n={type:Ke.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(eye()),n;let i=1,a=0,r=[],s=!1,l=!1,c=0,d=e.steps.map(E=>{let M=this._makeStyleAst(E,t),L=M.offset!=null?M.offset:$ye(M.styles),R=0;return L!=null&&(a++,R=M.offset=L),l=l||R<0||R>1,s=s||R<c,c=R,r.push(R),M});l&&t.errors.push(tye()),s&&t.errors.push(iye());let u=e.steps.length,m=0;a>0&&a<u?t.errors.push(aye()):a==0&&(m=i/(u-1));let v=u-1,g=t.currentTime,x=t.currentAnimateTimings,S=x.duration;return d.forEach((E,M)=>{let L=m>0?M==v?1:m*M:r[M],R=L*S;t.currentTime=g+x.delay+R,x.duration=R,this._validateStyleAst(E,t),E.offset=L,n.styles.push(E)}),n}visitReference(e,t){return{type:Ke.Reference,animation:Gi(this,es(e.animation),t),options:sr(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:Ke.AnimateChild,options:sr(e.options)}}visitAnimateRef(e,t){return{type:Ke.AnimateRef,animation:this.visitReference(e.animation,t),options:sr(e.options)}}visitQuery(e,t){let n=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;let[a,r]=jye(e.selector);t.currentQuerySelector=n.length?n+" "+a:a,Ui(t.collectedStyles,t.currentQuerySelector,new Map);let s=Gi(this,es(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:Ke.Query,selector:a,limit:i.limit||0,optional:!!i.optional,includeSelf:r,animation:s,originalSelector:e.selector,options:sr(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(nye());let n=e.timings==="full"?{duration:0,delay:0,easing:"full"}:sd(e.timings,t.errors,!0);return{type:Ke.Stagger,animation:Gi(this,es(e.animation),t),timings:n,options:null}}};function jye(e){let t=!!e.split(/\s*,\s*/).find(n=>n==VW);return t&&(e=e.replace(Lye,"")),e=e.replace(/@\*/g,od).replace(/@\w+/g,n=>od+"-"+n.slice(1)).replace(/:animating/g,Mp),[e,t]}function Bye(e){return e?J({},e):null}var Hye=class{constructor(e){o(this,"errors");o(this,"queryCount",0);o(this,"depCount",0);o(this,"currentTransition",null);o(this,"currentQuery",null);o(this,"currentQuerySelector",null);o(this,"currentAnimateTimings",null);o(this,"currentTime",0);o(this,"collectedStyles",new Map);o(this,"options",null);o(this,"unsupportedCSSPropertiesFound",new Set);this.errors=e}};function $ye(e){if(typeof e=="string")return null;let t=null;if(Array.isArray(e))e.forEach(n=>{if(n instanceof Map&&n.has("offset")){let i=n;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(e instanceof Map&&e.has("offset")){let n=e;t=parseFloat(n.get("offset")),n.delete("offset")}return t}function qye(e,t){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let a=sd(e,t).duration;return vh(a,0,"")}let n=e;if(n.split(/\s+/).some(a=>a.charAt(0)=="{"&&a.charAt(1)=="{")){let a=vh(0,0,"");return a.dynamic=!0,a.strValue=n,a}let i=sd(n,t);return vh(i.duration,i.delay,i.easing)}function sr(e){return e?(e=J({},e),e.params&&(e.params=Bye(e.params))):e={},e}function vh(e,t,n){return{duration:e,delay:t,easing:n}}function Jf(e,t,n,i,a,r,s=null,l=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:i,duration:a,delay:r,totalTime:a+r,easing:s,subTimeline:l}}var eg=class{constructor(){o(this,"_map",new Map)}get(e){return this._map.get(e)||[]}append(e,t){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Gye=1,Uye=":enter",Yye=new RegExp(Uye,"g"),Wye=":leave",Zye=new RegExp(Wye,"g");function zW(e,t,n,i,a,r=new Map,s=new Map,l,c,d=[]){return new Kye().buildKeyframes(e,t,n,i,a,r,s,l,c,d)}var Kye=class{buildKeyframes(e,t,n,i,a,r,s,l,c,d=[]){c=c||new eg;let u=new Xye(e,t,c,i,a,d,[]);u.options=l;let m=l.delay?dn(l.delay):0;u.currentTimeline.delayNextStep(m),u.currentTimeline.setStyles([r],null,u.errors,l),Gi(this,n,u);let v=u.timelines.filter(g=>g.containsAnimation());if(v.length&&s.size){let g;for(let x=v.length-1;x>=0;x--){let S=v[x];if(S.element===t){g=S;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([s],null,u.errors,l)}return v.length?v.map(g=>g.buildKeyframes()):[Jf(t,[],[],[],0,m,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let n=t.subInstructions.get(t.element);if(n){let i=t.createSubContext(e.options),a=t.currentTimeline.currentTime,r=this._visitSubInstructions(n,i,i.options);a!=r&&t.transformIntoNewTimeline(r)}t.previousNode=e}visitAnimateRef(e,t){let n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,n),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,n){for(let i of e){let a=i==null?void 0:i.delay;if(a){let r=typeof a=="number"?a:dn(Fs(a,(i==null?void 0:i.params)??{},t.errors));n.delayNextStep(r)}}}_visitSubInstructions(e,t,n){let i=t.currentTimeline.currentTime,a=n.duration!=null?dn(n.duration):null,r=n.delay!=null?dn(n.delay):null;return a!==0&&e.forEach(s=>{let l=t.appendInstructionToTimeline(s,a,r);i=Math.max(i,l.duration+l.delay)}),i}visitReference(e,t){t.updateOptions(e.options,!0),Gi(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let n=t.subContextCount,i=t,a=e.options;if(a&&(a.params||a.delay)&&(i=t.createSubContext(a),i.transformIntoNewTimeline(),a.delay!=null)){i.previousNode.type==Ke.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=cd);let r=dn(a.delay);i.delayNextStep(r)}e.steps.length&&(e.steps.forEach(r=>Gi(this,r,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let n=[],i=t.currentTimeline.currentTime,a=e.options&&e.options.delay?dn(e.options.delay):0;e.steps.forEach(r=>{let s=t.createSubContext(e.options);a&&s.delayNextStep(a),Gi(this,r,s),i=Math.max(i,s.currentTimeline.currentTime),n.push(s.currentTimeline)}),n.forEach(r=>t.currentTimeline.mergeTimelineCollectedStyles(r)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let n=e.strValue,i=t.params?Fs(n,t.params,t.errors):n;return sd(i,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let n=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),i.snapshotCurrentStyles());let a=e.style;a.type==Ke.Keyframes?this.visitKeyframes(a,t):(t.incrementTime(n.duration),this.visitStyle(a,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let n=t.currentTimeline,i=t.currentAnimateTimings;!i&&n.hasCurrentStyleProperties()&&n.forwardFrame();let a=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(a):n.setStyles(e.styles,a,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let n=t.currentAnimateTimings,i=t.currentTimeline.duration,a=n.duration,r=t.createSubContext().currentTimeline;r.easing=n.easing,e.styles.forEach(s=>{let l=s.offset||0;r.forwardTime(l*a),r.setStyles(s.styles,s.easing,t.errors,t.options),r.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(r),t.transformIntoNewTimeline(i+a),t.previousNode=e}visitQuery(e,t){let n=t.currentTimeline.currentTime,i=e.options||{},a=i.delay?dn(i.delay):0;a&&(t.previousNode.type===Ke.Style||n==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=cd);let r=n,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=s.length;let l=null;s.forEach((c,d)=>{t.currentQueryIndex=d;let u=t.createSubContext(e.options,c);a&&u.delayNextStep(a),c===t.element&&(l=u.currentTimeline),Gi(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let m=u.currentTimeline.currentTime;r=Math.max(r,m)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(r),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let n=t.parentContext,i=t.currentTimeline,a=e.timings,r=Math.abs(a.duration),s=r*(t.currentQueryTotal-1),l=r*t.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":l=s-l;break;case"full":l=n.currentStaggerTime;break}let c=t.currentTimeline;l&&c.delayNextStep(l);let d=c.currentTime;Gi(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=i.currentTime-d+(i.startTime-n.currentTimeline.startTime)}},cd={},Xye=class jW{constructor(t,n,i,a,r,s,l,c){o(this,"_driver");o(this,"element");o(this,"subInstructions");o(this,"_enterClassName");o(this,"_leaveClassName");o(this,"errors");o(this,"timelines");o(this,"parentContext",null);o(this,"currentTimeline");o(this,"currentAnimateTimings",null);o(this,"previousNode",cd);o(this,"subContextCount",0);o(this,"options",{});o(this,"currentQueryIndex",0);o(this,"currentQueryTotal",0);o(this,"currentStaggerTime",0);this._driver=t,this.element=n,this.subInstructions=i,this._enterClassName=a,this._leaveClassName=r,this.errors=s,this.timelines=l,this.currentTimeline=c||new BW(this._driver,n,0),l.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,n){if(!t)return;let i=t,a=this.options;i.duration!=null&&(a.duration=dn(i.duration)),i.delay!=null&&(a.delay=dn(i.delay));let r=i.params;if(r){let s=a.params;s||(s=this.options.params={}),Object.keys(r).forEach(l=>{(!n||!s.hasOwnProperty(l))&&(s[l]=Fs(r[l],s,this.errors))})}}_copyOptions(){let t={};if(this.options){let n=this.options.params;if(n){let i=t.params={};Object.keys(n).forEach(a=>{i[a]=n[a]})}}return t}createSubContext(t=null,n,i){let a=n||this.element,r=new jW(this._driver,a,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(a,i||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(t){return this.previousNode=cd,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,n,i){let a={duration:n??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},r=new Qye(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,a,t.stretchStartingKeyframe);return this.timelines.push(r),a}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,n,i,a,r,s){let l=[];if(a&&l.push(this.element),t.length>0){t=t.replace(Yye,"."+this._enterClassName),t=t.replace(Zye,"."+this._leaveClassName);let c=i!=1,d=this._driver.query(this.element,t,c);i!==0&&(d=i<0?d.slice(d.length+i,d.length):d.slice(0,i)),l.push(...d)}return!r&&l.length==0&&s.push(rye()),l}},BW=class HW{constructor(t,n,i,a){o(this,"_driver");o(this,"element");o(this,"startTime");o(this,"_elementTimelineStylesLookup");o(this,"duration",0);o(this,"easing",null);o(this,"_previousKeyframe",new Map);o(this,"_currentKeyframe",new Map);o(this,"_keyframes",new Map);o(this,"_styleSummary",new Map);o(this,"_localTimelineStyles",new Map);o(this,"_globalTimelineStyles");o(this,"_pendingStyles",new Map);o(this,"_backFill",new Map);o(this,"_currentEmptyStepKeyframe",null);this._driver=t,this.element=n,this.startTime=i,this._elementTimelineStylesLookup=a,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,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 n=this._keyframes.size===1&&this._pendingStyles.size;this.duration||n?(this.forwardTime(this.currentTime+t),n&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,n){return this.applyStylesToKeyframe(),new HW(this._driver,t,n||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+=Gye,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,n){this._localTimelineStyles.set(t,n),this._globalTimelineStyles.set(t,n),this._styleSummary.set(t,{time:this.currentTime,value:n})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[n,i]of this._globalTimelineStyles)this._backFill.set(n,i||fn),this._currentKeyframe.set(n,fn);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,n,i,a){n&&this._previousKeyframe.set("easing",n);let r=a&&a.params||{},s=Jye(t,this._globalTimelineStyles);for(let[l,c]of s){let d=Fs(c,r,i);this._pendingStyles.set(l,d),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??fn),this._updateStyle(l,d)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,n)=>{this._currentKeyframe.set(n,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,n)=>{this._currentKeyframe.has(n)||this._currentKeyframe.set(n,t)}))}snapshotCurrentStyles(){for(let[t,n]of this._localTimelineStyles)this._pendingStyles.set(t,n),this._updateStyle(t,n)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let n in this._currentKeyframe)t.push(n);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((n,i)=>{let a=this._styleSummary.get(i);(!a||n.time>a.time)&&this._updateStyle(i,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,n=new Set,i=this._keyframes.size===1&&this.duration===0,a=[];this._keyframes.forEach((l,c)=>{let d=new Map([...this._backFill,...l]);d.forEach((u,m)=>{u===Uf?t.add(m):u===fn&&n.add(m)}),i||d.set("offset",c/this.duration),a.push(d)});let r=[...t.values()],s=[...n.values()];if(i){let l=a[0],c=new Map(l);l.set("offset",0),c.set("offset",1),a=[l,c]}return Jf(this.element,a,r,s,this.duration,this.startTime,this.easing,!1)}},Qye=class extends BW{constructor(t,n,i,a,r,s,l=!1){super(t,n,s.delay);o(this,"keyframes");o(this,"preStyleProps");o(this,"postStyleProps");o(this,"_stretchStartingKeyframe");o(this,"timings");this.keyframes=i,this.preStyleProps=a,this.postStyleProps=r,this._stretchStartingKeyframe=l,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:n,duration:i,easing:a}=this.timings;if(this._stretchStartingKeyframe&&n){let r=[],s=i+n,l=n/s,c=new Map(t[0]);c.set("offset",0),r.push(c);let d=new Map(t[0]);d.set("offset",gy(l)),r.push(d);let u=t.length-1;for(let m=1;m<=u;m++){let v=new Map(t[m]),g=v.get("offset"),x=n+g*i;v.set("offset",gy(x/s)),r.push(v)}i=s,n=0,a="",t=r}return Jf(this.element,t,this.preStyleProps,this.postStyleProps,i,n,a,!0)}};function gy(e,t=3){let n=Math.pow(10,t-1);return Math.round(e*n)/n}function Jye(e,t){let n=new Map,i;return e.forEach(a=>{if(a==="*"){i??(i=t.keys());for(let r of i)n.set(r,fn)}else for(let[r,s]of a)n.set(r,s)}),n}function vy(e,t,n,i,a,r,s,l,c,d,u,m,v){return{type:0,element:e,triggerName:t,isRemovalTransition:a,fromState:n,fromStyles:r,toState:i,toStyles:s,timelines:l,queriedElements:c,preStyleProps:d,postStyleProps:u,totalTime:m,errors:v}}var bh={},$W=class{constructor(e,t,n){o(this,"_triggerName");o(this,"ast");o(this,"_stateStyles");this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,i){return e0e(this.ast.matchers,e,t,n,i)}buildStyles(e,t,n){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e==null?void 0:e.toString())||i),i?i.buildStyles(t,n):new Map}build(e,t,n,i,a,r,s,l,c,d){var ii;let u=[],m=this.ast.options&&this.ast.options.params||bh,v=s&&s.params||bh,g=this.buildStyles(n,v,u),x=l&&l.params||bh,S=this.buildStyles(i,x,u),E=new Set,M=new Map,L=new Map,R=i==="void",le={params:qW(x,m),delay:(ii=this.ast.options)==null?void 0:ii.delay},ke=d?[]:zW(e,t,this.ast.animation,a,r,g,S,le,c,u),Ve=0;return ke.forEach(Bt=>{Ve=Math.max(Bt.duration+Bt.delay,Ve)}),u.length?vy(t,this._triggerName,n,i,R,g,S,[],[],M,L,Ve,u):(ke.forEach(Bt=>{let xt=Bt.element,Zt=Ui(M,xt,new Set);Bt.preStyleProps.forEach(ee=>Zt.add(ee));let oe=Ui(L,xt,new Set);Bt.postStyleProps.forEach(ee=>oe.add(ee)),xt!==t&&E.add(xt)}),vy(t,this._triggerName,n,i,R,g,S,ke,[...E.values()],M,L,Ve))}};function e0e(e,t,n,i,a){return e.some(r=>r(t,n,i,a))}function qW(e,t){let n=J({},t);return Object.entries(e).forEach(([i,a])=>{a!=null&&(n[i]=a)}),n}var t0e=class{constructor(e,t,n){o(this,"styles");o(this,"defaultParams");o(this,"normalizer");this.styles=e,this.defaultParams=t,this.normalizer=n}buildStyles(e,t){let n=new Map,i=qW(e,this.defaultParams);return this.styles.styles.forEach(a=>{typeof a!="string"&&a.forEach((r,s)=>{r&&(r=Fs(r,i,t));let l=this.normalizer.normalizePropertyName(s,t);r=this.normalizer.normalizeStyleValue(s,l,r,t),n.set(s,r)})}),n}};function i0e(e,t,n){return new a0e(e,t,n)}var a0e=class{constructor(e,t,n){o(this,"name");o(this,"ast");o(this,"_normalizer");o(this,"transitionFactories",[]);o(this,"fallbackTransition");o(this,"states",new Map);this.name=e,this.ast=t,this._normalizer=n,t.states.forEach(i=>{let a=i.options&&i.options.params||{};this.states.set(i.name,new t0e(i.style,a,n))}),by(this.states,"true","1"),by(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new $W(e,i,this.states))}),this.fallbackTransition=n0e(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,i){return this.transitionFactories.find(a=>a.match(e,t,n,i))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}};function n0e(e,t,n){let i=[(s,l)=>!0],a={type:Ke.Sequence,steps:[],options:null},r={type:Ke.Transition,animation:a,matchers:i,options:null,queryCount:0,depCount:0};return new $W(e,r,t)}function by(e,t,n){e.has(t)?e.has(n)||e.set(n,e.get(t)):e.has(n)&&e.set(t,e.get(n))}var r0e=new eg,o0e=class{constructor(e,t,n){o(this,"bodyNode");o(this,"_driver");o(this,"_normalizer");o(this,"_animations",new Map);o(this,"_playersById",new Map);o(this,"players",[]);this.bodyNode=e,this._driver=t,this._normalizer=n}register(e,t){let n=[],i=[],a=LW(this._driver,t,n,i);if(n.length)throw dye();this._animations.set(e,a)}_buildPlayer(e,t,n){let i=e.element,a=OW(this._normalizer,e.keyframes,t,n);return this._driver.animate(i,a,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){let i=[],a=this._animations.get(e),r,s=new Map;if(a?(r=zW(this._driver,t,a,PW,Tp,new Map,new Map,n,r0e,i),r.forEach(d=>{let u=Ui(s,d.element,new Map);d.postStyleProps.forEach(m=>u.set(m,null))})):(i.push(uye()),r=[]),i.length)throw hye();s.forEach((d,u)=>{d.forEach((m,v)=>{d.set(v,this._driver.computeStyle(u,v,fn))})});let l=r.map(d=>{let u=s.get(d.element);return this._buildPlayer(d,new Map,u)}),c=Tn(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw pye();return t}listen(e,t,n,i){let a=Wf(t,"","","");return Yf(this._getPlayer(e),n,a,i),()=>{}}command(e,t,n,i){if(n=="register"){this.register(e,i[0]);return}if(n=="create"){let r=i[0]||{};this.create(e,t,r);return}let a=this._getPlayer(e);switch(n){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},yy="ng-animate-queued",s0e=".ng-animate-queued",yh="ng-animate-disabled",l0e=".ng-animate-disabled",c0e="ng-star-inserted",d0e=".ng-star-inserted",u0e=[],GW={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},h0e={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},fa="__ng_removed",Rp=class{constructor(e,t=""){o(this,"namespaceId");o(this,"value");o(this,"options");this.namespaceId=t;let n=e&&e.hasOwnProperty("value"),i=n?e.value:e;if(this.value=g0e(i),n){let a=e,{value:r}=a,s=GZ(a,["value"]);this.options=s}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){let t=e.params;if(t){let n=this.options.params;Object.keys(t).forEach(i=>{n[i]==null&&(n[i]=t[i])})}}},us="void",_h=new Rp(us),p0e=class{constructor(e,t,n){o(this,"id");o(this,"hostElement");o(this,"_engine");o(this,"players",[]);o(this,"_triggers",new Map);o(this,"_queue",[]);o(this,"_elementListeners",new Map);o(this,"_hostClassName");this.id=e,this.hostElement=t,this._engine=n,this._hostClassName="ng-tns-"+e,aa(t,this._hostClassName)}listen(e,t,n,i){if(!this._triggers.has(t))throw mye();if(n==null||n.length==0)throw fye();if(!v0e(n))throw gye();let a=Ui(this._elementListeners,e,[]),r={name:t,phase:n,callback:i};a.push(r);let s=Ui(this._engine.statesByElement,e,new Map);return s.has(t)||(aa(e,Jl),aa(e,Jl+"-"+t),s.set(t,_h)),()=>{this._engine.afterFlush(()=>{let l=a.indexOf(r);l>=0&&a.splice(l,1),this._triggers.has(t)||s.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 vye();return t}trigger(e,t,n,i=!0){let a=this._getTrigger(t),r=new Fp(this.id,t,e),s=this._engine.statesByElement.get(e);s||(aa(e,Jl),aa(e,Jl+"-"+t),this._engine.statesByElement.set(e,s=new Map));let l=s.get(t),c=new Rp(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),s.set(t,c),l||(l=_h),c.value!==us&&l.value===c.value){if(!_0e(l.params,c.params)){let v=[],g=a.matchStyles(l.value,l.params,v),x=a.matchStyles(c.value,c.params,v);v.length?this._engine.reportError(v):this._engine.afterFlush(()=>{gr(e,g),Fa(e,x)})}return}let d=Ui(this._engine.playersByElement,e,[]);d.forEach(v=>{v.namespaceId==this.id&&v.triggerName==t&&v.queued&&v.destroy()});let u=a.matchTransition(l.value,c.value,e,c.params),m=!1;if(!u){if(!i)return;u=a.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:u,fromState:l,toState:c,player:r,isFallbackTransition:m}),m||(aa(e,yy),r.onStart(()=>{Xr(e,yy)})),r.onDone(()=>{let v=this.players.indexOf(r);v>=0&&this.players.splice(v,1);let g=this._engine.playersByElement.get(e);if(g){let x=g.indexOf(r);x>=0&&g.splice(x,1)}}),this.players.push(r),d.push(r),r}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(n=>n.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let n=this._engine.driver.query(e,od,!0);n.forEach(i=>{if(i[fa])return;let a=this._engine.fetchNamespacesByElement(i);a.size?a.forEach(r=>r.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,t,n,i){let a=this._engine.statesByElement.get(e),r=new Map;if(a){let s=[];if(a.forEach((l,c)=>{if(r.set(c,l.value),this._triggers.has(c)){let d=this.trigger(e,c,us,i);d&&s.push(d)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,r),n&&Tn(s).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(t&&n){let i=new Set;t.forEach(a=>{let r=a.name;if(i.has(r))return;i.add(r);let s=this._triggers.get(r).fallbackTransition,l=n.get(r)||_h,c=new Rp(us),d=new Fp(this.id,r,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:s,fromState:l,toState:c,player:d,isFallbackTransition:!0})})}}removeNode(e,t){let n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(n.totalAnimations){let a=n.players.length?n.playersByQueriedElement.get(e):[];if(a&&a.length)i=!0;else{let r=e;for(;r=r.parentNode;)if(n.statesByElement.get(r)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)n.markElementAsRemoved(this.id,e,!1,t);else{let a=e[fa];(!a||a===GW)&&(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){aa(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(n=>{let i=n.player;if(i.destroyed)return;let a=n.element,r=this._elementListeners.get(a);r&&r.forEach(s=>{if(s.name==n.triggerName){let l=Wf(a,n.triggerName,n.fromState.value,n.toState.value);l._data=e,Yf(n.player,s.phase,l,s.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(n)}),this._queue=[],t.sort((n,i)=>{let a=n.transition.ast.depCount,r=i.transition.ast.depCount;return a==0||r==0?a-r:this._engine.driver.containsElement(n.element,i.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},m0e=class{constructor(e,t,n){o(this,"bodyNode");o(this,"driver");o(this,"_normalizer");o(this,"players",[]);o(this,"newHostElements",new Map);o(this,"playersByElement",new Map);o(this,"playersByQueriedElement",new Map);o(this,"statesByElement",new Map);o(this,"disabledNodes",new Set);o(this,"totalAnimations",0);o(this,"totalQueuedPlayers",0);o(this,"_namespaceLookup",{});o(this,"_namespaceList",[]);o(this,"_flushFns",[]);o(this,"_whenQuietFns",[]);o(this,"namespacesByHostElement",new Map);o(this,"collectedEnterElements",[]);o(this,"collectedLeaveElements",[]);o(this,"onRemovalComplete",(e,t)=>{});this.bodyNode=e,this.driver=t,this._normalizer=n}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(n=>{n.queued&&e.push(n)})}),e}createNamespace(e,t){let n=new p0e(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){let n=this._namespaceList,i=this.namespacesByHostElement;if(n.length-1>=0){let a=!1,r=this.driver.getParentElement(t);for(;r;){let s=i.get(r);if(s){let l=n.indexOf(s);n.splice(l+1,0,e),a=!0;break}r=this.driver.getParentElement(r)}a||n.unshift(e)}else n.push(e);return i.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}registerTrigger(e,t,n){let i=this._namespaceLookup[e];i&&i.register(t,n)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let n=this._fetchNamespace(e);this.namespacesByHostElement.delete(n.hostElement);let i=this._namespaceList.indexOf(n);i>=0&&this._namespaceList.splice(i,1),n.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,n=this.statesByElement.get(e);if(n){for(let i of n.values())if(i.namespaceId){let a=this._fetchNamespace(i.namespaceId);a&&t.add(a)}}return t}trigger(e,t,n,i){if(ic(t)){let a=this._fetchNamespace(e);if(a)return a.trigger(t,n,i),!0}return!1}insertNode(e,t,n,i){if(!ic(t))return;let a=t[fa];if(a&&a.setForRemoval){a.setForRemoval=!1,a.setForMove=!0;let r=this.collectedLeaveElements.indexOf(t);r>=0&&this.collectedLeaveElements.splice(r,1)}if(e){let r=this._fetchNamespace(e);r&&r.insertNode(t,n)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),aa(e,yh)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Xr(e,yh))}removeNode(e,t,n){if(ic(t)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(t,n):this.markElementAsRemoved(e,t,!1,n);let a=this.namespacesByHostElement.get(t);a&&a.id!==e&&a.removeNode(t,n)}else this._onRemovalComplete(t,n)}markElementAsRemoved(e,t,n,i,a){this.collectedLeaveElements.push(t),t[fa]={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:a}}listen(e,t,n,i,a){return ic(t)?this._fetchNamespace(e).listen(t,n,i,a):()=>{}}_buildInstruction(e,t,n,i,a){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,t,a)}destroyInnerAnimations(e){let t=this.driver.query(e,od,!0);t.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Mp,!0),t.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Tn(this.players).onDone(()=>e());e()})}processLeaveNode(e){var n;let t=e[fa];if(t&&t.setForRemoval){if(e[fa]=GW,t.namespaceId){this.destroyInnerAnimations(e);let i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}(n=e.classList)!=null&&n.contains(yh)&&this.markElementAsDisabled(e,!1),this.driver.query(e,l0e,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,i)=>this._balanceNamespaceList(n,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++){let i=this.collectedEnterElements[n];aa(i,c0e)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let n=[];try{t=this._flushAnimations(n,e)}finally{for(let i=0;i<n.length;i++)n[i]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++){let i=this.collectedLeaveElements[n];this.processLeaveNode(i)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(n=>n()),this._flushFns=[],this._whenQuietFns.length){let n=this._whenQuietFns;this._whenQuietFns=[],t.length?Tn(t).onDone(()=>{n.forEach(i=>i())}):n.forEach(i=>i())}}reportError(e){throw bye()}_flushAnimations(e,t){let n=new eg,i=[],a=new Map,r=[],s=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(H=>{d.add(H);let W=this.driver.query(H,s0e,!0);for(let ne=0;ne<W.length;ne++)d.add(W[ne])});let u=this.bodyNode,m=Array.from(this.statesByElement.keys()),v=wy(m,this.collectedEnterElements),g=new Map,x=0;v.forEach((H,W)=>{let ne=PW+x++;g.set(W,ne),H.forEach(Ye=>aa(Ye,ne))});let S=[],E=new Set,M=new Set;for(let H=0;H<this.collectedLeaveElements.length;H++){let W=this.collectedLeaveElements[H],ne=W[fa];ne&&ne.setForRemoval&&(S.push(W),E.add(W),ne.hasAnimation?this.driver.query(W,d0e,!0).forEach(Ye=>E.add(Ye)):M.add(W))}let L=new Map,R=wy(m,Array.from(E));R.forEach((H,W)=>{let ne=Tp+x++;L.set(W,ne),H.forEach(Ye=>aa(Ye,ne))}),e.push(()=>{v.forEach((H,W)=>{let ne=g.get(W);H.forEach(Ye=>Xr(Ye,ne))}),R.forEach((H,W)=>{let ne=L.get(W);H.forEach(Ye=>Xr(Ye,ne))}),S.forEach(H=>{this.processLeaveNode(H)})});let le=[],ke=[];for(let H=this._namespaceList.length-1;H>=0;H--)this._namespaceList[H].drainQueuedTransitions(t).forEach(W=>{let ne=W.player,Ye=W.element;if(le.push(ne),this.collectedEnterElements.length){let wt=Ye[fa];if(wt&&wt.setForMove){if(wt.previousTriggersValues&&wt.previousTriggersValues.has(W.triggerName)){let mi=wt.previousTriggersValues.get(W.triggerName),ai=this.statesByElement.get(W.element);if(ai&&ai.has(W.triggerName)){let Ia=ai.get(W.triggerName);Ia.value=mi,ai.set(W.triggerName,Ia)}}ne.destroy();return}}let gt=!u||!this.driver.containsElement(u,Ye),pi=L.get(Ye),Je=g.get(Ye),nt=this._buildInstruction(W,n,Je,pi,gt);if(nt.errors&&nt.errors.length){ke.push(nt);return}if(gt){ne.onStart(()=>gr(Ye,nt.fromStyles)),ne.onDestroy(()=>Fa(Ye,nt.toStyles)),i.push(ne);return}if(W.isFallbackTransition){ne.onStart(()=>gr(Ye,nt.fromStyles)),ne.onDestroy(()=>Fa(Ye,nt.toStyles)),i.push(ne);return}let Nt=[];nt.timelines.forEach(wt=>{wt.stretchStartingKeyframe=!0,this.disabledNodes.has(wt.element)||Nt.push(wt)}),nt.timelines=Nt,n.append(Ye,nt.timelines);let ua={instruction:nt,player:ne,element:Ye};r.push(ua),nt.queriedElements.forEach(wt=>Ui(s,wt,[]).push(ne)),nt.preStyleProps.forEach((wt,mi)=>{if(wt.size){let ai=l.get(mi);ai||l.set(mi,ai=new Set),wt.forEach((Ia,En)=>ai.add(En))}}),nt.postStyleProps.forEach((wt,mi)=>{let ai=c.get(mi);ai||c.set(mi,ai=new Set),wt.forEach((Ia,En)=>ai.add(En))})});if(ke.length){let H=[];ke.forEach(W=>{H.push(yye(W.triggerName,W.errors))}),le.forEach(W=>W.destroy()),this.reportError(H)}let Ve=new Map,ii=new Map;r.forEach(H=>{let W=H.element;n.has(W)&&(ii.set(W,W),this._beforeAnimationBuild(H.player.namespaceId,H.instruction,Ve))}),i.forEach(H=>{let W=H.element;this._getPreviousPlayers(W,!1,H.namespaceId,H.triggerName,null).forEach(ne=>{Ui(Ve,W,[]).push(ne),ne.destroy()})});let Bt=S.filter(H=>Sy(H,l,c)),xt=new Map;xy(xt,this.driver,M,c,fn).forEach(H=>{Sy(H,l,c)&&Bt.push(H)});let Zt=new Map;v.forEach((H,W)=>{xy(Zt,this.driver,new Set(H),l,Uf)}),Bt.forEach(H=>{let W=xt.get(H),ne=Zt.get(H);xt.set(H,new Map([...(W==null?void 0:W.entries())??[],...(ne==null?void 0:ne.entries())??[]]))});let oe=[],ee=[],Be={};r.forEach(H=>{let{element:W,player:ne,instruction:Ye}=H;if(n.has(W)){if(d.has(W)){ne.onDestroy(()=>Fa(W,Ye.toStyles)),ne.disabled=!0,ne.overrideTotalTime(Ye.totalTime),i.push(ne);return}let gt=Be;if(ii.size>1){let Je=W,nt=[];for(;Je=Je.parentNode;){let Nt=ii.get(Je);if(Nt){gt=Nt;break}nt.push(Je)}nt.forEach(Nt=>ii.set(Nt,gt))}let pi=this._buildAnimation(ne.namespaceId,Ye,Ve,a,Zt,xt);if(ne.setRealPlayer(pi),gt===Be)oe.push(ne);else{let Je=this.playersByElement.get(gt);Je&&Je.length&&(ne.parentPlayer=Tn(Je)),i.push(ne)}}else gr(W,Ye.fromStyles),ne.onDestroy(()=>Fa(W,Ye.toStyles)),ee.push(ne),d.has(W)&&i.push(ne)}),ee.forEach(H=>{let W=a.get(H.element);if(W&&W.length){let ne=Tn(W);H.setRealPlayer(ne)}}),i.forEach(H=>{H.parentPlayer?H.syncPlayerEvents(H.parentPlayer):H.destroy()});for(let H=0;H<S.length;H++){let W=S[H],ne=W[fa];if(Xr(W,Tp),ne&&ne.hasAnimation)continue;let Ye=[];if(s.size){let pi=s.get(W);pi&&pi.length&&Ye.push(...pi);let Je=this.driver.query(W,Mp,!0);for(let nt=0;nt<Je.length;nt++){let Nt=s.get(Je[nt]);Nt&&Nt.length&&Ye.push(...Nt)}}let gt=Ye.filter(pi=>!pi.destroyed);gt.length?b0e(this,W,gt):this.processLeaveNode(W)}return S.length=0,oe.forEach(H=>{this.players.push(H),H.onDone(()=>{H.destroy();let W=this.players.indexOf(H);this.players.splice(W,1)}),H.play()}),oe}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,i,a){let r=[];if(t){let s=this.playersByQueriedElement.get(e);s&&(r=s)}else{let s=this.playersByElement.get(e);if(s){let l=!a||a==us;s.forEach(c=>{c.queued||!l&&c.triggerName!=i||r.push(c)})}}return(n||i)&&(r=r.filter(s=>!(n&&n!=s.namespaceId||i&&i!=s.triggerName))),r}_beforeAnimationBuild(e,t,n){let i=t.triggerName,a=t.element,r=t.isRemovalTransition?void 0:e,s=t.isRemovalTransition?void 0:i;for(let l of t.timelines){let c=l.element,d=c!==a,u=Ui(n,c,[]);this._getPreviousPlayers(c,d,r,s,t.toState).forEach(m=>{let v=m.getRealPlayer();v.beforeDestroy&&v.beforeDestroy(),m.destroy(),u.push(m)})}gr(a,t.fromStyles)}_buildAnimation(e,t,n,i,a,r){let s=t.triggerName,l=t.element,c=[],d=new Set,u=new Set,m=t.timelines.map(g=>{let x=g.element;d.add(x);let S=x[fa];if(S&&S.removedBeforeQueried)return new Rs(g.duration,g.delay);let E=x!==l,M=y0e((n.get(x)||u0e).map(Ve=>Ve.getRealPlayer())).filter(Ve=>{let ii=Ve;return ii.element?ii.element===x:!1}),L=a.get(x),R=r.get(x),le=OW(this._normalizer,g.keyframes,L,R),ke=this._buildPlayer(g,le,M);if(g.subTimeline&&i&&u.add(x),E){let Ve=new Fp(e,s,x);Ve.setRealPlayer(ke),c.push(Ve)}return ke});c.forEach(g=>{Ui(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>f0e(this.playersByQueriedElement,g.element,g))}),d.forEach(g=>aa(g,py));let v=Tn(m);return v.onDestroy(()=>{d.forEach(g=>Xr(g,py)),Fa(l,t.toStyles)}),u.forEach(g=>{Ui(i,g,[]).push(v)}),v}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new Rs(e.duration,e.delay)}},Fp=class{constructor(e,t,n){o(this,"namespaceId");o(this,"triggerName");o(this,"element");o(this,"_player",new Rs);o(this,"_containsRealPlayer",!1);o(this,"_queuedCallbacks",new Map);o(this,"destroyed",!1);o(this,"parentPlayer",null);o(this,"markedForDestroy",!1);o(this,"disabled",!1);o(this,"queued",!0);o(this,"totalTime",0);this.namespaceId=e,this.triggerName=t,this.element=n}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,n)=>{t.forEach(i=>Yf(e,n,void 0,i))}),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){Ui(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 f0e(e,t,n){let i=e.get(t);if(i){if(i.length){let a=i.indexOf(n);i.splice(a,1)}i.length==0&&e.delete(t)}return i}function g0e(e){return e??null}function ic(e){return e&&e.nodeType===1}function v0e(e){return e=="start"||e=="done"}function _y(e,t){let n=e.style.display;return e.style.display=t??"none",n}function xy(e,t,n,i,a){let r=[];n.forEach(c=>r.push(_y(c)));let s=[];i.forEach((c,d)=>{let u=new Map;c.forEach(m=>{let v=t.computeStyle(d,m,a);u.set(m,v),(!v||v.length==0)&&(d[fa]=h0e,s.push(d))}),e.set(d,u)});let l=0;return n.forEach(c=>_y(c,r[l++])),s}function wy(e,t){let n=new Map;if(e.forEach(l=>n.set(l,[])),t.length==0)return n;let i=1,a=new Set(t),r=new Map;function s(l){if(!l)return i;let c=r.get(l);if(c)return c;let d=l.parentNode;return n.has(d)?c=d:a.has(d)?c=i:c=s(d),r.set(l,c),c}return t.forEach(l=>{let c=s(l);c!==i&&n.get(c).push(l)}),n}function aa(e,t){var n;(n=e.classList)==null||n.add(t)}function Xr(e,t){var n;(n=e.classList)==null||n.remove(t)}function b0e(e,t,n){Tn(n).onDone(()=>e.processLeaveNode(t))}function y0e(e){let t=[];return UW(e,t),t}function UW(e,t){for(let n=0;n<e.length;n++){let i=e[n];i instanceof AW?UW(i.players,t):t.push(i)}}function _0e(e,t){let n=Object.keys(e),i=Object.keys(t);if(n.length!=i.length)return!1;for(let a=0;a<n.length;a++){let r=n[a];if(!t.hasOwnProperty(r)||e[r]!==t[r])return!1}return!0}function Sy(e,t,n){let i=n.get(e);if(!i)return!1;let a=t.get(e);return a?i.forEach(r=>a.add(r)):t.set(e,i),n.delete(e),!0}var Vp=class{constructor(e,t,n){o(this,"_driver");o(this,"_normalizer");o(this,"_transitionEngine");o(this,"_timelineEngine");o(this,"_triggerCache",{});o(this,"onRemovalComplete",(e,t)=>{});this._driver=t,this._normalizer=n,this._transitionEngine=new m0e(e.body,t,n),this._timelineEngine=new o0e(e.body,t,n),this._transitionEngine.onRemovalComplete=(i,a)=>this.onRemovalComplete(i,a)}registerTrigger(e,t,n,i,a){let r=e+"-"+i,s=this._triggerCache[r];if(!s){let l=[],c=[],d=LW(this._driver,a,l,c);if(l.length)throw lye();s=i0e(i,d,this._normalizer),this._triggerCache[r]=s}this._transitionEngine.registerTrigger(t,i,s)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,i){this._transitionEngine.insertNode(e,t,n,i)}onRemove(e,t,n){this._transitionEngine.removeNode(e,t,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,i){if(n.charAt(0)=="@"){let[a,r]=uy(n),s=i;this._timelineEngine.command(a,t,r,s)}else this._transitionEngine.trigger(e,t,n,i)}listen(e,t,n,i,a){if(n.charAt(0)=="@"){let[r,s]=uy(n);return this._timelineEngine.listen(r,t,s,a)}return this._transitionEngine.listen(e,t,n,i,a)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function x0e(e,t){let n=null,i=null;return Array.isArray(t)&&t.length?(n=xh(t[0]),t.length>1&&(i=xh(t[t.length-1]))):t instanceof Map&&(n=xh(t)),n||i?new w0e(e,n,i):null}var w0e=(()=>{const t=class t{constructor(i,a,r){o(this,"_element");o(this,"_startStyles");o(this,"_endStyles");o(this,"_state",0);o(this,"_initialStyles");this._element=i,this._startStyles=a,this._endStyles=r;let s=t.initialStylesByElement.get(i);s||t.initialStylesByElement.set(i,s=new Map),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&Fa(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Fa(this._element,this._initialStyles),this._endStyles&&(Fa(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(gr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(gr(this._element,this._endStyles),this._endStyles=null),Fa(this._element,this._initialStyles),this._state=3)}};o(t,"initialStylesByElement",new WeakMap);let e=t;return e})();function xh(e){let t=null;return e.forEach((n,i)=>{S0e(i)&&(t=t||new Map,t.set(i,n))}),t}function S0e(e){return e==="display"||e==="position"}var ky=class{constructor(e,t,n,i){o(this,"element");o(this,"keyframes");o(this,"options");o(this,"_specialStyles");o(this,"_onDoneFns",[]);o(this,"_onStartFns",[]);o(this,"_onDestroyFns",[]);o(this,"_duration");o(this,"_delay");o(this,"_initialized",!1);o(this,"_finished",!1);o(this,"_started",!1);o(this,"_destroyed",!1);o(this,"_finalKeyframe");o(this,"_originalOnDoneFns",[]);o(this,"_originalOnStartFns",[]);o(this,"domPlayer");o(this,"time",0);o(this,"parentPlayer",null);o(this,"currentSnapshot",new Map);this.element=e,this.keyframes=t,this.options=n,this._specialStyles=i,this._duration=n.duration,this._delay=n.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(n=>{t.push(Object.fromEntries(n))}),t}_triggerWebAnimation(e,t,n){return e.animate(this._convertKeyframesToObject(t),n)}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,n)=>{n!=="offset"&&e.set(n,this._finished?t:Xf(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(n=>n()),t.length=0}},k0e=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return TW(e,t)}getParentElement(e){return Zf(e)}query(e,t,n){return MW(e,t,n)}computeStyle(e,t,n){return Xf(e,t)}animate(e,t,n,i,a,r=[]){let s=i==0?"both":"forwards",l={duration:n,delay:i,fill:s};a&&(l.easing=a);let c=new Map,d=r.filter(v=>v instanceof ky);Oye(n,i)&&d.forEach(v=>{v.currentSnapshot.forEach((g,x)=>c.set(x,g))});let u=Dye(t).map(v=>new Map(v));u=Tye(e,u,c);let m=x0e(e,u);return new ky(e,u,l,m)}},yc="@",YW="@.disabled",WW=class{constructor(e,t,n,i){o(this,"namespaceId");o(this,"delegate");o(this,"engine");o(this,"_onDestroy");o(this,"ɵtype",0);this.namespaceId=e,this.delegate=t,this.engine=n,this._onDestroy=i}get data(){return this.delegate.data}destroyNode(e){var t,n;(n=(t=this.delegate).destroyNode)==null||n.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,n,i=!0){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,n){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,n,i){this.delegate.setAttribute(e,t,n,i)}removeAttribute(e,t,n){this.delegate.removeAttribute(e,t,n)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,n,i){this.delegate.setStyle(e,t,n,i)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){t.charAt(0)==yc&&t==YW?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,n,i){return this.delegate.listen(e,t,n,i)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},E0e=class extends WW{constructor(t,n,i,a,r){super(n,i,a,r);o(this,"factory");this.factory=t,this.namespaceId=n}setProperty(t,n,i){n.charAt(0)==yc?n.charAt(1)=="."&&n==YW?(i=i===void 0?!0:!!i,this.disableAnimations(t,i)):this.engine.process(this.namespaceId,t,n.slice(1),i):this.delegate.setProperty(t,n,i)}listen(t,n,i,a){if(n.charAt(0)==yc){let r=C0e(t),s=n.slice(1),l="";return s.charAt(0)!=yc&&([s,l]=D0e(s)),this.engine.listen(this.namespaceId,r,s,l,c=>{let d=c._data||-1;this.factory.scheduleListenerCallback(d,i,c)})}return this.delegate.listen(t,n,i,a)}};function C0e(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function D0e(e){let t=e.indexOf("."),n=e.substring(0,t),i=e.slice(t+1);return[n,i]}var I0e=class{constructor(e,t,n){o(this,"delegate");o(this,"engine");o(this,"_zone");o(this,"_currentId",0);o(this,"_microtaskId",1);o(this,"_animationCallbacksBuffer",[]);o(this,"_rendererCache",new Map);o(this,"_cdRecurDepth",0);this.delegate=e,this.engine=t,this._zone=n,t.onRemovalComplete=(i,a)=>{a==null||a.removeChild(null,i)}}createRenderer(e,t){var l;let n="",i=this.delegate.createRenderer(e,t);if(!e||!((l=t==null?void 0:t.data)!=null&&l.animation)){let c=this._rendererCache,d=c.get(i);if(!d){let u=()=>c.delete(i);d=new WW(n,i,this.engine,u),c.set(i,d)}return d}let a=t.id,r=t.id+"-"+this._currentId;this._currentId++,this.engine.register(r,e);let s=c=>{Array.isArray(c)?c.forEach(s):this.engine.registerTrigger(a,r,e,c.name,c)};return t.data.animation.forEach(s),new E0e(this,r,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(n));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(a=>{let[r,s]=a;r(s)}),this._animationCallbacksBuffer=[]})}),i.push([t,n])}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,n;this.engine.flush(),(n=(t=this.delegate).componentReplaced)==null||n.call(t,e)}},A0e=(()=>{const t=class t extends Vp{constructor(i,a,r){super(i,a,r)}ngOnDestroy(){this.flush()}};o(t,"ɵfac",function(i){return new(i||t)(ge(Qe),ge(FW),ge(Qf))}),o(t,"ɵprov",U({token:t,factory:t.ɵfac}));let e=t;return e})();function O0e(){return new Pye}function T0e(e,t,n){return new I0e(e,t,n)}var M0e=[{provide:Qf,useFactory:O0e},{provide:Vp,useClass:A0e},{provide:da,useFactory:T0e,deps:[dp,Vp,Oe]}],N0e=[{provide:FW,useFactory:()=>new k0e},{provide:Ti,useFactory:()=>"BrowserAnimations"},...M0e];function P0e(){return Fr("NgEagerAnimations"),[...N0e]}var R0e=(()=>{const t=class t extends Ff{constructor(i){super(),this.translate=i,this.getRangeLabel=(a,r,s)=>{if(s===0||r===0)return`0 / ${s}`;s=Math.max(s,0);let l=a*r,c=l<s?Math.min(l+r,s):l+r;return`${l+1} - ${c} / ${s}`},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(i){return new(i||t)(ge(Kn))},t.ɵprov=U({token:t,factory:t.ɵfac});let e=t;return e})(),F0e=(e,t)=>{let n=w(Nr).getInstance(),i=w(su),a=w(Fo).getEnvironmentVariable("apiUrl");if(e.url.includes("assets/")||e.url.startsWith("http")||!a)return t(e);if(n.isOfflineAuthenticated)return bt();let r=e.headers||new qn,s=n.isProfessional;return Wn(i.getServices().getAccessToken("")).pipe(fs(l=>t(e.clone({url:`${a}${e.url}`,headers:r.set(uo.authorization,fr.getAuthorizationHeader(l)).set(uo.userType,fr.getUserType({isProfessional:s})).set(uo.clientType,DS()?fr.clientType.mobileApp:fr.clientType.webApp)}))))};function V0e(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var L0e=["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",V0e];function z0e(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var j0e=["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",z0e];function B0e(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length,i=parseInt(e.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return t===0||t===1?1:i===0&&t!==0&&t%1e6===0&&n===0||!(i>=0&&i<=5)?4:5}var H0e=["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",B0e];function $0e(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var q0e=["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",$0e];Wd(L0e,"de");Wd(q0e,"nl");Wd(H0e,"fr");Wd(j0e,"en");var G0e=class{handleError(e){throw new Error(e)}},U0e=class extends mge{getFirstDayOfWeek(){return 1}format(e){return Ms(e,"dd/MM/yyyy")}parse(e){return ppe(e,"dd/MM/yyyy",new Date)}},Y0e={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"}}},W0e=[P0e(),woe(Soe([F0e])),wme(),{provide:ka,useClass:G0e},{provide:Ji,useClass:U0e,deps:[Ap]},{provide:Lo,useValue:Y0e},{provide:Ff,useClass:R0e},{provide:Hw,useValue:{panelClass:"mh-dialog-container"}}];Hre({providers:[W0e,Toe({defaultLanguage:"fr",loader:{provide:rl,useClass:Bbe},compiler:{provide:sl,useClass:Roe}})]}).then(e=>{let t=Bne(zve,{injector:e.injector});customElements.define("vidis-diarynote",t)}).catch(e=>console.error(e));