@smals-belgium-shared/vidis-diarynote 1.0.6 → 2.0.0
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.
- package/CHANGELOG.md +45 -0
- package/MatSymbols-Rounded.woff2 +0 -0
- package/OpenSans-Bold.ttf +0 -0
- package/OpenSans-ExtraBold.ttf +0 -0
- package/OpenSans-Italic.ttf +0 -0
- package/OpenSans-Light.ttf +0 -0
- package/OpenSans-Medium.ttf +0 -0
- package/OpenSans-Regular.ttf +0 -0
- package/OpenSans-SemiBold.ttf +0 -0
- package/README.md +61 -38
- package/assets/main-hvW41_QJ.js +60 -0
- package/assets/polyfills-CGYnV-49.js +2 -0
- package/diarynote.css +1 -1
- package/diarynote.js +1 -1
- package/package.json +1 -1
- package/assets/main-B1A6FKm6.js +0 -271
- package/assets/polyfills-C4iAblqc.js +0 -2
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
var K6=Object.defineProperty;var uf=e=>{throw TypeError(e)};var Z6=(e,t,n)=>t in e?K6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var s=(e,t,n)=>Z6(e,typeof t!="symbol"?t+"":t,n),hf=(e,t,n)=>t.has(e)||uf("Cannot "+n);var Ha=(e,t,n)=>(hf(e,t,"read from private field"),n?n.call(e):t.get(e)),pf=(e,t,n)=>t.has(e)?uf("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),mf=(e,t,n,i)=>(hf(e,t,"write to private field"),i?i.call(e,n):t.set(e,n),n);var X6=Object.create,Ic=Object.defineProperty,Q6=Object.defineProperties,J6=Object.getOwnPropertyDescriptor,e8=Object.getOwnPropertyDescriptors,t8=Object.getOwnPropertyNames,Bl=Object.getOwnPropertySymbols,i8=Object.getPrototypeOf,Kh=Object.prototype.hasOwnProperty,hy=Object.prototype.propertyIsEnumerable,ff=(e,t,n)=>t in e?Ic(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Z=(e,t)=>{for(var n in t||(t={}))Kh.call(t,n)&&ff(e,n,t[n]);if(Bl)for(var n of Bl(t))hy.call(t,n)&&ff(e,n,t[n]);return e},Qe=(e,t)=>Q6(e,e8(t)),a8=(e,t)=>{var n={};for(var i in e)Kh.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&Bl)for(var i of Bl(e))t.indexOf(i)<0&&hy.call(e,i)&&(n[i]=e[i]);return n},ge=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Se=(e,t)=>{for(var n in t)Ic(e,n,{get:t[n],enumerable:!0})},n8=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of t8(t))!Kh.call(e,a)&&a!==n&&Ic(e,a,{get:()=>t[a],enumerable:!(i=J6(t,a))||i.enumerable});return e},Zh=(e,t,n)=>(n=e!=null?X6(i8(e)):{},n8(t||!e||!e.__esModule?Ic(n,"default",{value:e,enumerable:!0}):n,e)),mi=(e,t,n)=>new Promise((i,a)=>{var r=c=>{try{l(n.next(c))}catch(d){a(d)}},o=c=>{try{l(n.throw(c))}catch(d){a(d)}},l=c=>c.done?i(c.value):Promise.resolve(c.value).then(r,o);l((n=n.apply(e,t)).next())}),r8=ge((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,y=1,b=arguments.length;y<b;y++){f=arguments[y];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,y=f&&p[f],b=0;if(y)return y.call(p);if(p&&typeof p.length=="number")return{next:function(){return p&&b>=p.length&&(p=void 0),{value:p&&p[b++],done:!p}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")}function a(p,f){var y=typeof Symbol=="function"&&p[Symbol.iterator];if(!y)return p;var b=y.call(p),_,S=[],C;try{for(;(f===void 0||f-- >0)&&!(_=b.next()).done;)S.push(_.value)}catch(I){C={error:I}}finally{try{_&&!_.done&&(y=b.return)&&y.call(b)}finally{if(C)throw C.error}}return S}function r(p,f,y){if(arguments.length===2)for(var b=0,_=f.length,S;b<_;b++)(S||!(b in f))&&(S||(S=Array.prototype.slice.call(f,0,b)),S[b]=f[b]);return p.concat(S||Array.prototype.slice.call(f))}typeof SuppressedError=="function"&&SuppressedError;class o extends Error{constructor(f,y,b){super(f),this.token=y,this.type=b||"error"}}let l=p=>p<4?"short":p===4?"long":"narrow",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`,o.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:y,desc:b,width:_}=p;if(y==="d")return c(_);f(`${b} is not supported`)}function v(p,f){let{char:y,desc:b,width:_}=p;if((y==="c"||y==="e")&&_<3){let S=`Numeric value is not supported for ${b}; falling back to weekday:short`;f(S,o.WARNING)}return l(_)}function g(p){let f=c(p.width),y;switch(p.char){case"h":y="h12";break;case"H":y="h23";break;case"k":y="h24";break;case"K":y="h11";break}return y?{hour:f,hourCycle:y}:{hour:f}}function x(p,f){let{char:y,desc:b,width:_}=p;switch(y){case"v":case"z":return _===4?"long":"short";case"V":if(_===4)return"long";f(`${b} is not supported with width ${_}`);return;case"X":f(`${b} is not supported`);return}return"short"}function w(p,f){switch(p.field){case"era":return{era:l(p.width)};case"year":return 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 y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:S=>{throw S},b={timeZone:f},_=[];for(let S of p){let{error:C,field:I,str:R}=S;if(C){let he=new o(C.message,S);he.stack=C.stack,y(he)}if(R){let he=`Ignoring string part: ${R}`;y(new o(he,S,o.WARNING))}I&&(_.indexOf(I)===-1?_.push(I):y(new o(`Duplicate ${I} token`,S)));let H=w(S,(he,ke)=>y(new o(he,S,ke)));H&&Object.assign(b,H)}return b}let T={G:{field:"era",desc:"Era"},y:{field:"year",desc:"Year"},Y:{field:"year",desc:'Year of "Week of Year"'},u:{field:"year",desc:"Extended year"},U:{field:"year",desc:"Cyclic year name"},r:{field:"year",desc:"Related Gregorian year"},Q:{field:"quarter",desc:"Quarter"},q:{field:"quarter",desc:"Stand-alone quarter"},M:{field:"month",desc:"Month in year"},L:{field:"month",desc:"Stand-alone month in year"},w:{field:"week",desc:"Week of year"},W:{field:"week",desc:"Week of month"},d:{field:"day",desc:"Day in month"},D:{field:"day",desc:"Day of year"},F:{field:"day",desc:"Day of week in month"},g:{field:"day",desc:"Modified julian day"},E:{field:"weekday",desc:"Day of week"},e:{field:"weekday",desc:"Local day of week"},c:{field:"weekday",desc:"Stand-alone local day of week"},a:{field:"period",desc:"AM/PM marker"},b:{field:"period",desc:"AM/PM/noon/midnight marker"},B:{field:"period",desc:"Flexible day period"},h:{field:"hour",desc:"Hour in AM/PM (1~12)"},H:{field:"hour",desc:"Hour in day (0~23)"},k:{field:"hour",desc:"Hour in day (1~24)"},K:{field:"hour",desc:"Hour in AM/PM (0~11)"},j:{field:"hour",desc:"Hour in preferred cycle"},J:{field:"hour",desc:"Hour in preferred cycle without marker"},C:{field:"hour",desc:"Hour in preferred cycle with flexible marker"},m:{field:"min",desc:"Minute in hour"},s:{field:"sec",desc:"Second in minute"},S:{field:"sec-frac",desc:"Fractional second"},A:{field:"ms",desc:"Milliseconds in day"},z:{field:"tz",desc:"Time Zone: specific non-location"},Z:{field:"tz",desc:"Time Zone"},O:{field:"tz",desc:"Time Zone: localized"},v:{field:"tz",desc:"Time Zone: generic non-location"},V:{field:"tz",desc:"Time Zone: ID"},X:{field:"tz",desc:"Time Zone: ISO8601 with Z"},x:{field:"tz",desc:"Time Zone: ISO8601"}},z=p=>p>="A"&&p<="Z"||p>="a"&&p<="z";function F(p,f){let y=p[f],b=1;for(;p[++f]===y;)++b;let _=T[y];if(!_){let S=`The letter ${y} is not a valid field identifier`;return{char:y,error:new Error(S),width:b}}return{char:y,field:_.field,desc:_.desc,width:b}}function qe(p,f){let y=p[++f],b=2;if(y==="'")return{char:"'",str:y,width:b};for(;;){let _=p[++f];if(++b,_===void 0){let S=`Unterminated quoted literal in pattern: ${y||p}`;return{char:"'",error:new Error(S),str:y,width:b}}else if(_==="'"){if(p[++f]!=="'")return{char:"'",str:y,width:b};++b}y+=_}}function dt(p,f){let y=p[f];if(!y)return null;if(z(y))return F(p,f);if(y==="'")return qe(p,f);let b=y,_=1;for(;;){let S=p[++f];if(!S||z(S)||S==="'")return{char:y,str:b,width:_};b+=S,_+=1}}function tt(p){let f=[],y=0;for(;;){let b=dt(p,y);if(!b)return f;f.push(b),y+=b.width}}function ei(p,f,y,b){typeof f=="string"&&(f=tt(f)),typeof y=="function"&&(b=y,y=void 0);let _=E(f,y,b),S=new Intl.DateTimeFormat(p,_);return C=>S.format(C)}function Kt(p,f,y,b){typeof f=="string"&&(f=tt(f)),typeof y=="function"&&(b=y,y=void 0);let _=E(f,y,b);return["(function() {",`var opt = ${JSON.stringify(_)};`,`var dtf = new Intl.DateTimeFormat(${JSON.stringify(p)}, opt);`,"return function(value) { return dtf.format(value); }"].join(`
|
|
2
|
+
`)+`
|
|
3
|
+
})()`}class At extends Error{constructor(f,y){super(y),this.code=f}}class Zt extends At{constructor(f,y){super("BAD_OPTION",`Unknown ${f} option: ${y}`),this.stem=f,this.option=y}}class ne extends At{constructor(f){super("BAD_STEM",`Unknown stem: ${f}`),this.stem=f}}class X extends At{constructor(f,y){super("MASKED_VALUE",`Value for ${f} is set multiple times`),this.type=f,this.prev=y}}class Re extends At{constructor(f){super("MISSING_OPTION",`Required option missing for ${f}`),this.stem=f}}class V extends At{constructor(f,y){super("BAD_PATTERN",y),this.char=f}}class $ extends At{constructor(f,y,b){let _=b>1?`${b} options`:"one option";super("TOO_MANY_OPTIONS",`Token ${f} only supports ${_} (got ${y.length})`),this.stem=f,this.options=y}}function te(p,f){let{numberingSystem:y}=f;return Array.isArray(p)||(p=[p]),y?p.map(b=>{let _=b.indexOf("-u-")===-1?"u-nu":"nu";return`${b}-${_}-${y}`}).concat(p):p}function je(p,f){let y=+p+f/2;return y-y%+f}function ut(p){let{scale:f,unit:y}=p,b=typeof f=="number"&&f>=0?f:1;return y&&y.style==="percent"&&(b*=.01),b}function ti(p){let f=ut(p),{precision:y}=p;return y&&y.style==="precision-increment"?b=>je(b,y.increment)*f:b=>b*f}function We(p){let f=ut(p),{precision:y}=p;if(y&&y.style==="precision-increment"){let b=`+n + ${y.increment/2}`,_=`x - (x % +${y.increment})`;return f!==1&&(_=`(${_}) * ${f}`),`function(n) { var x = ${b}; return ${_}; }`}return f!==1?`function(n) { return n * ${f}; }`:null}function et(p,f){let{decimal:y,group:b,integerWidth:_,notation:S,precision:C,roundingMode:I,sign:R,unit:H,unitPer:he,unitWidth:ke}=p,$e=(gt,Nt)=>{},ie={};if(H)switch(H.style){case"base-unit":ie.style="decimal";break;case"currency":ie.style="currency",ie.currency=H.currency;break;case"measure-unit":ie.style="unit",ie.unit=H.unit.replace(/.*-/,""),he&&(ie.unit+="-per-"+he.replace(/.*-/,""));break;case"percent":ie.style="percent";break}switch(ke){case"unit-width-full-name":ie.currencyDisplay="name",ie.unitDisplay="long";break;case"unit-width-hidden":break;case"unit-width-iso-code":ie.currencyDisplay="code";break;case"unit-width-narrow":ie.currencyDisplay="narrowSymbol",ie.unitDisplay="narrow";break;case"unit-width-short":ie.currencyDisplay="symbol",ie.unitDisplay="short";break}switch(b){case"group-off":ie.useGrouping=!1;break;case"group-auto":ie.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":ie.useGrouping=!0;break}if(C)switch(C.style){case"precision-fraction":{let{minFraction:gt,maxFraction:Nt,minSignificant:Ut,maxSignificant:hi,source:Qi}=C;typeof gt=="number"&&(ie.minimumFractionDigits=gt,typeof Ut=="number"&&$e()),typeof Nt=="number"&&(ie.maximumFractionDigits=Nt),typeof Ut=="number"&&(ie.minimumSignificantDigits=Ut),typeof hi=="number"&&(ie.maximumSignificantDigits=hi);break}case"precision-integer":ie.maximumFractionDigits=0;break;case"precision-unlimited":ie.maximumFractionDigits=20;break;case"precision-increment":break;case"precision-currency-standard":ie.trailingZeroDisplay=C.trailingZero;break;case"precision-currency-cash":$e(C.style);break}if(S)switch(S.style){case"compact-short":ie.notation="compact",ie.compactDisplay="short";break;case"compact-long":ie.notation="compact",ie.compactDisplay="long";break;case"notation-simple":ie.notation="standard";break;case"scientific":case"engineering":{let{expDigits:gt,expSign:Nt,source:Ut,style:hi}=S;ie.notation=hi;break}}if(_){let{min:gt,max:Nt,source:Ut}=_;if(gt>0&&(ie.minimumIntegerDigits=gt),Number(Nt)>0){let hi=ie.notation==="engineering"||ie.notation==="scientific";Nt===3&&hi?ie.notation="engineering":$e()}}switch(R){case"sign-auto":ie.signDisplay="auto";break;case"sign-always":ie.signDisplay="always";break;case"sign-except-zero":ie.signDisplay="exceptZero";break;case"sign-never":ie.signDisplay="never";break;case"sign-accounting":ie.currencySign="accounting";break;case"sign-accounting-always":ie.currencySign="accounting",ie.signDisplay="always";break;case"sign-accounting-except-zero":ie.currencySign="accounting",ie.signDisplay="exceptZero";break}return ie}function Dt(p,f,y){let b=p[f];switch(b){case"%":return{char:"%",style:"percent",width:1};case"‰":return{char:"%",style:"permille",width:1};case"¤":{let _=1;for(;p[++f]==="¤";)++_;switch(_){case 1:return{char:b,currency:"default",width:_};case 2:return{char:b,currency:"iso-code",width:_};case 3:return{char:b,currency:"full-name",width:_};case 5:return{char:b,currency:"narrow",width:_};default:{let S=`Invalid number (${_}) of ¤ chars in pattern`;return y(new V("¤",S)),null}}}case"*":{let _=p[f+1];if(_)return{char:b,pad:_,width:2};break}case"+":case"-":return{char:b,width:1};case"'":{let _=p[++f],S=2;if(_==="'")return{char:b,str:_,width:S};for(;;){let C=p[++f];if(++S,C===void 0){let I=`Unterminated quoted literal in pattern: ${_}`;return y(new V("'",I)),{char:b,str:_,width:S}}else if(C==="'"){if(p[++f]!=="'")return{char:b,str:_,width:S};++S}_+=C}}}return null}let Xi=p=>p>="0"&&p<="9";function ft(p,f){let y=p[f];if(Xi(y)){let b=y;for(;;){let _=p[++f];if(Xi(_))b+=_;else return{char:"0",digits:b,width:b.length}}}switch(y){case"#":{let b=1;for(;p[++f]==="#";)++b;return{char:y,width:b}}case"@":{let b=1;for(;p[++f]==="@";)++b;let _=b;for(f-=1;p[++f]==="#";)++_;return{char:y,min:b,width:_}}case"E":{let b=p[f+1]==="+";b&&++f;let _=0;for(;p[++f]==="0";)++_;let S=(b?2:1)+_;if(_)return{char:y,expDigits:_,plus:b,width:S};break}case".":case",":return{char:y,width:1}}return null}function ii(p,f,y){let b;(function(H){H[H.Prefix=0]="Prefix",H[H.Number=1]="Number",H[H.Suffix=2]="Suffix"})(b||(b={}));let _=[],S=[],C=[],I=b.Prefix,R="";for(;f<p.length;){let H=p[f];if(H===";"){f+=1;break}switch(I){case b.Prefix:{let he=Dt(p,f,y);if(he)R&&(_.push({char:"'",str:R,width:R.length}),R=""),_.push(he),f+=he.width;else{let ke=ft(p,f);ke?(R&&(_.push({char:"'",str:R,width:R.length}),R=""),I=b.Number,S.push(ke),f+=ke.width):(R+=H,f+=1)}break}case b.Number:{let he=ft(p,f);he?(S.push(he),f+=he.width):I=b.Suffix;break}case b.Suffix:{let he=Dt(p,f,y);he?(R&&(C.push({char:"'",str:R,width:R.length}),R=""),C.push(he),f+=he.width):(R+=H,f+=1);break}}}return R&&C.push({char:"'",str:R,width:R.length}),{pattern:{prefix:_,number:S,suffix:C},pos:f}}function $t(p,f){let{pattern:y,pos:b}=ii(p,0,f);if(b<p.length){let{pattern:_}=ii(p,b,f);return{tokens:y,negative:_}}return{tokens:y}}function ua(p,f){let y={},b=!1,_=!1,S=0,C="",I=-1,R="",H=0;for(let ke=0;ke<p.length;++ke){let $e=p[ke];switch($e.char){case"#":{if(I===-1){if(C){let ie="Pattern has # after integer digits";f(new V("#",ie))}S+=$e.width}else H+=$e.width;break}case"0":{if(I===-1)C+=$e.digits;else{if(H){let ie="Pattern has digits after # in fraction";f(new V("0",ie))}R+=$e.digits}break}case"@":{y.precision&&f(new X("precision",y.precision)),y.precision={style:"precision-fraction",minSignificant:$e.min,maxSignificant:$e.width};break}case",":b=!0;break;case".":if(I===1){let ie="Pattern has more than one decimal separator";f(new V(".",ie))}I=ke;break;case"E":{if(_&&f(new X("exponent",y.notation)),b){let ie="Exponential patterns may not contain grouping separators";f(new V("E",ie))}y.notation={style:"scientific"},$e.expDigits>1&&(y.notation.expDigits=$e.expDigits),$e.plus&&(y.notation.expSign="sign-always"),_=!0}}}b?y.group="group-auto":S+C.length>3&&(y.group="group-off");let he=+`${C||"0"}.${R}`;if(he&&(y.precision={style:"precision-increment",increment:he}),!_)C.length>1&&(y.integerWidth={min:C.length}),!y.precision&&(R.length||H)&&(y.precision={style:"precision-fraction",minFraction:R.length,maxFraction:R.length+H});else if((!y.precision||he)&&(y.integerWidth=S?{min:1,max:S+C.length}:{min:Math.max(1,C.length)}),y.precision)he||(y.integerWidth={min:1,max:1});else{let ke=C.length+R.length;I===-1?ke>0&&(y.precision={style:"precision-fraction",maxSignificant:ke}):(y.precision={style:"precision-fraction",maxSignificant:Math.max(1,ke)+H},ke>1&&(y.precision.minSignificant=ke))}return y}function on(p,f,y,b,_){let S=!1,C="";for(let I of p)switch(I.char){case"%":f.unit={style:I.style},_?S=!0:C="";break;case"¤":if(!y){let R="The ¤ pattern requires a currency";b(new V("¤",R));break}switch(f.unit={style:"currency",currency:y},I.currency){case"iso-code":f.unitWidth="unit-width-iso-code";break;case"full-name":f.unitWidth="unit-width-full-name";break;case"narrow":f.unitWidth="unit-width-narrow";break}_?S=!0:C="";break;case"*":break;case"+":S||(C+="+");break;case"'":S||(C+=I.str);break}return C}function zo(p,f){let y=!1,b="";for(let _ of p)switch(_.char){case"%":case"¤":f?y=!0:b="";break;case"-":y||(b+="-");break;case"'":y||(b+=_.str);break}return b}function jo(p,f){let y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:R=>{throw R},{tokens:b,negative:_}=$t(p,y),S=ua(b.number,y),C=on(b.prefix,S,f,y,!0),I=on(b.suffix,S,f,y,!1);if(_){let R=zo(_.prefix,!0),H=zo(_.suffix,!1);S.affix={pos:[C,I],neg:[R,H]},S.sign="sign-never"}else(C||I)&&(S.affix={pos:[C,I]});return S}function o6(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 Qm(p){let f=["acceleration","angle","area","concentr","consumption","digital","duration","electric","energy","force","frequency","graphics","length","light","mass","power","pressure","speed","temperature","torque","volume"],[y]=p.split("-",1);return f.indexOf(y)!==-1}let Jm={"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},ef={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function l6(p){return p in Jm}function c6(p){return p in ef}function d6(p,f,y){if(l6(p)){let b=Jm[p];if(f.length>b){if(b===0)for(let _ of f)y(new Zt(p,_));else y(new $(p,f,b));return!1}else if(c6(p)&&f.length<ef[p])return y(new Re(p)),!1}return!0}function Cd(p,f){let y=f==="fraction"?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/,b=p&&p.match(y);if(b){let _=b[1].length;switch(b[2].charAt(0)){case"":return{min:_,max:_};case"+":return{min:_,max:null};case"#":return{min:_,max:_+b[2].length}}}return null}function u6(p,f,y){let b=Cd(p,"fraction");if(b){f.length>1&&y(new $(p,f,1));let S={style:"precision-fraction",source:p,minFraction:b.min};b.max!=null&&(S.maxFraction=b.max);let C=f[0],I=Cd(C,"significant");return I?(S.source=`${p}/${C}`,S.minSignificant=I.min,I.max!=null&&(S.maxSignificant=I.max)):C&&y(new Zt(p,C)),S}let _=Cd(p,"significant");if(_){for(let C of f)y(new Zt(p,C));let S={style:"precision-fraction",source:p,minSignificant:_.min};return _.max!=null&&(S.maxSignificant=_.max),S}return null}class h6{constructor(f){this.skeleton={},this.onError=f}badOption(f,y){this.onError(new Zt(f,y))}assertEmpty(f){let y=this.skeleton[f];y&&this.onError(new X(f,y))}parseToken(f,y){if(!d6(f,y,this.onError))return;let b=y[0],_=this.skeleton;switch(f){case"compact-short":case"compact-long":case"notation-simple":this.assertEmpty("notation"),_.notation={style:f};break;case"scientific":case"engineering":{let S=null,C;for(let R of y)switch(R){case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":C=R;break;default:/^\+e+$/.test(R)?S=R.length-1:this.badOption(f,R)}this.assertEmpty("notation");let I=y.join("/");_.notation=S&&C?{style:f,source:I,expDigits:S,expSign:C}:S?{style:f,source:I,expDigits:S}:C?{style:f,source:I,expSign:C}:{style:f,source:I};break}case"percent":case"permille":case"base-unit":this.assertEmpty("unit"),_.unit={style:f};break;case"currency":/^[A-Z]{3}$/.test(b)?(this.assertEmpty("unit"),_.unit={style:f,currency:b}):this.badOption(f,b);break;case"measure-unit":{Qm(b)?(this.assertEmpty("unit"),_.unit={style:f,unit:b}):this.badOption(f,b);break}case"per-measure-unit":{Qm(b)?(this.assertEmpty("unitPer"),_.unitPer=b):this.badOption(f,b);break}case"unit-width-narrow":case"unit-width-short":case"unit-width-full-name":case"unit-width-iso-code":case"unit-width-hidden":this.assertEmpty("unitWidth"),_.unitWidth=f;break;case"precision-integer":case"precision-unlimited":case"precision-currency-cash":this.assertEmpty("precision"),_.precision={style:f};break;case"precision-currency-standard":this.assertEmpty("precision"),b==="w"?_.precision={style:f,trailingZero:"stripIfInteger"}:_.precision={style:f};break;case"precision-increment":{let S=Number(b);S>0?(this.assertEmpty("precision"),_.precision={style:f,increment:S}):this.badOption(f,b);break}case"rounding-mode-ceiling":case"rounding-mode-floor":case"rounding-mode-down":case"rounding-mode-up":case"rounding-mode-half-even":case"rounding-mode-half-odd":case"rounding-mode-half-ceiling":case"rounding-mode-half-floor":case"rounding-mode-half-down":case"rounding-mode-half-up":case"rounding-mode-unnecessary":this.assertEmpty("roundingMode"),_.roundingMode=f;break;case"integer-width":{if(/^\+0*$/.test(b))this.assertEmpty("integerWidth"),_.integerWidth={source:b,min:b.length-1};else{let S=b.match(/^#*(0*)$/);S?(this.assertEmpty("integerWidth"),_.integerWidth={source:b,min:S[1].length,max:S[0].length}):this.badOption(f,b)}break}case"scale":{let S=Number(b);S>0?(this.assertEmpty("scale"),_.scale=S):this.badOption(f,b);break}case"group-off":case"group-min2":case"group-auto":case"group-on-aligned":case"group-thousands":this.assertEmpty("group"),_.group=f;break;case"latin":this.assertEmpty("numberingSystem"),_.numberingSystem="latn";break;case"numbering-system":{o6(b)?(this.assertEmpty("numberingSystem"),_.numberingSystem=b):this.badOption(f,b);break}case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":this.assertEmpty("sign"),_.sign=f;break;case"decimal-auto":case"decimal-always":this.assertEmpty("decimal"),_.decimal=f;break;default:{let S=u6(f,y,this.onError);S?(this.assertEmpty("precision"),_.precision=S):this.onError(new ne(f))}}}}function tf(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_=>{throw _},y=[];for(let _ of p.split(" "))if(_){let S=_.split("/"),C=S.shift()||"";y.push({stem:C,options:S})}let b=new h6(f);for(let{stem:_,options:S}of y)b.parseToken(_,S);return b.skeleton}function p6(p,f,y,b){typeof f=="string"&&(f=f.indexOf("::")===0?tf(f.slice(2),b):jo(f,y,b));let _=te(p,f),S=et(f),C=ti(f),I=new Intl.NumberFormat(_,S);if(f.affix){let[R,H]=f.affix.pos,[he,ke]=f.affix.neg||["",""];return $e=>{let ie=I.format(C($e));return $e<0?`${he}${ie}${ke}`:`${R}${ie}${H}`}}return R=>I.format(C(R))}function m6(p,f,y,b){typeof f=="string"&&(f=f.indexOf("::")===0?tf(f.slice(2),b):jo(f,y,b));let _=te(p,f),S=et(f),C=We(f),I=["(function() {",`var opt = ${JSON.stringify(S)};`,`var nf = new Intl.NumberFormat(${JSON.stringify(_)}, opt);`],R="nf.format(value)";if(C&&(I.push(`var mod = ${C};`),R="nf.format(mod(value))"),f.affix){let[H,he]=f.affix.pos.map(ke=>JSON.stringify(ke));if(f.affix.neg){let[ke,$e]=f.affix.neg.map(ie=>JSON.stringify(ie));R=`value < 0 ? ${ke} + ${R} + ${$e} : ${H} + ${R} + ${he}`}else R=`${H} + ${R} + ${he}`}return I.push(`return function(value) { return ${R}; }`),I.join(`
|
|
4
|
+
`)+`
|
|
5
|
+
})()`}var Dd=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function f6(p){return p&&p.__esModule&&Object.prototype.hasOwnProperty.call(p,"default")?p.default:p}var ss={},af={},nf={exports:{}};(function(p){(function(f,y){p.exports?p.exports=y():f.moo=y()})(Dd,function(){var f=Object.prototype.hasOwnProperty,y=Object.prototype.toString,b=typeof new RegExp().sticky=="boolean";function _(M){return M&&y.call(M)==="[object RegExp]"}function S(M){return M&&typeof M=="object"&&!_(M)&&!Array.isArray(M)}function C(M){return M.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function I(M){var K=new RegExp("|"+M);return K.exec("").length-1}function R(M){return"("+M+")"}function H(M){if(!M.length)return"(?!)";var K=M.map(function(oe){return"(?:"+oe+")"}).join("|");return"(?:"+K+")"}function he(M){if(typeof M=="string")return"(?:"+C(M)+")";if(_(M)){if(M.ignoreCase)throw new Error("RegExp /i flag not allowed");if(M.global)throw new Error("RegExp /g flag is implied");if(M.sticky)throw new Error("RegExp /y flag is implied");if(M.multiline)throw new Error("RegExp /m flag is implied");return M.source}else throw new Error("Not a pattern: "+M)}function ke(M,K){return M.length>K?M:Array(K-M.length+1).join(" ")+M}function $e(M,K){for(var oe=M.length,pe=0;;){var Ae=M.lastIndexOf(`
|
|
6
|
+
`,oe-1);if(Ae===-1||(pe++,oe=Ae,pe===K)||oe===0)break}var we=pe<K?0:oe+1;return M.substring(we).split(`
|
|
7
|
+
`)}function ie(M){for(var K=Object.getOwnPropertyNames(M),oe=[],pe=0;pe<K.length;pe++){var Ae=K[pe],we=M[Ae],Ye=[].concat(we);if(Ae==="include"){for(var kt=0;kt<Ye.length;kt++)oe.push({include:Ye[kt]});continue}var rt=[];Ye.forEach(function(Ce){S(Ce)?(rt.length&&oe.push(Nt(Ae,rt)),oe.push(Nt(Ae,Ce)),rt=[]):rt.push(Ce)}),rt.length&&oe.push(Nt(Ae,rt))}return oe}function gt(M){for(var K=[],oe=0;oe<M.length;oe++){var pe=M[oe];if(pe.include){for(var Ae=[].concat(pe.include),we=0;we<Ae.length;we++)K.push({include:Ae[we]});continue}if(!pe.type)throw new Error("Rule has no type: "+JSON.stringify(pe));K.push(Nt(pe.type,pe))}return K}function Nt(M,K){if(S(K)||(K={match:K}),K.include)throw new Error("Matching rules cannot also include states");var oe={defaultType:M,lineBreaks:!!K.error||!!K.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var pe in K)f.call(K,pe)&&(oe[pe]=K[pe]);if(typeof oe.type=="string"&&M!==oe.type)throw new Error("Type transform cannot be a string (type '"+oe.type+"' for token '"+M+"')");var Ae=oe.match;return oe.match=Array.isArray(Ae)?Ae:Ae?[Ae]:[],oe.match.sort(function(we,Ye){return _(we)&&_(Ye)?0:_(Ye)?-1:_(we)?1:Ye.length-we.length}),oe}function Ut(M){return Array.isArray(M)?gt(M):ie(M)}var hi=Nt("error",{lineBreaks:!0,shouldThrow:!0});function Qi(M,K){for(var oe=null,pe=Object.create(null),Ae=!0,we=null,Ye=[],kt=[],rt=0;rt<M.length;rt++)M[rt].fallback&&(Ae=!1);for(var rt=0;rt<M.length;rt++){var Ce=M[rt];if(Ce.include)throw new Error("Inheritance is not allowed in stateless lexers");if(Ce.error||Ce.fallback){if(oe)throw!Ce.fallback==!oe.fallback?new Error("Multiple "+(Ce.fallback?"fallback":"error")+" rules not allowed (for token '"+Ce.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+Ce.defaultType+"')");oe=Ce}var Lt=Ce.match.slice();if(Ae)for(;Lt.length&&typeof Lt[0]=="string"&&Lt[0].length===1;){var hr=Lt.shift();pe[hr.charCodeAt(0)]=Ce}if(Ce.pop||Ce.push||Ce.next){if(!K)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+Ce.defaultType+"')");if(Ce.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+Ce.defaultType+"')")}if(Lt.length!==0){Ae=!1,Ye.push(Ce);for(var ma=0;ma<Lt.length;ma++){var Rn=Lt[ma];if(_(Rn)){if(we===null)we=Rn.unicode;else if(we!==Rn.unicode&&Ce.fallback===!1)throw new Error("If one rule is /u then all must be")}}var pr=H(Lt.map(he)),Ji=new RegExp(pr);if(Ji.test(""))throw new Error("RegExp matches empty string: "+Ji);var ls=I(pr);if(ls>0)throw new Error("RegExp has capture groups: "+Ji+`
|
|
8
|
+
Use (?: … ) instead`);if(!Ce.lineBreaks&&Ji.test(`
|
|
9
|
+
`))throw new Error("Rule should declare lineBreaks: "+Ji);kt.push(R(pr))}}var mr=oe&&oe.fallback,cs=b&&!mr?"ym":"gm",Wo=b||mr?"":"|";we===!0&&(cs+="u");var Y6=new RegExp(H(kt)+Wo,cs);return{regexp:Y6,groups:Ye,fast:pe,error:oe||hi}}function cn(M){var K=Qi(Ut(M));return new Tt({start:K},"start")}function Va(M,K,oe){var pe=M&&(M.push||M.next);if(pe&&!oe[pe])throw new Error("Missing state '"+pe+"' (in token '"+M.defaultType+"' of state '"+K+"')");if(M&&M.pop&&+M.pop!=1)throw new Error("pop must be 1 (in token '"+M.defaultType+"' of state '"+K+"')")}function za(M,K){var oe=M.$all?Ut(M.$all):[];delete M.$all;var pe=Object.getOwnPropertyNames(M);K||(K=pe[0]);for(var Ae=Object.create(null),we=0;we<pe.length;we++){var Ye=pe[we];Ae[Ye]=Ut(M[Ye]).concat(oe)}for(var we=0;we<pe.length;we++)for(var Ye=pe[we],kt=Ae[Ye],rt=Object.create(null),Ce=0;Ce<kt.length;Ce++){var Lt=kt[Ce];if(Lt.include){var hr=[Ce,1];if(Lt.include!==Ye&&!rt[Lt.include]){rt[Lt.include]=!0;var ma=Ae[Lt.include];if(!ma)throw new Error("Cannot include nonexistent state '"+Lt.include+"' (in state '"+Ye+"')");for(var Rn=0;Rn<ma.length;Rn++){var pr=ma[Rn];kt.indexOf(pr)===-1&&hr.push(pr)}}kt.splice.apply(kt,hr),Ce--}}for(var Ji=Object.create(null),we=0;we<pe.length;we++){var Ye=pe[we];Ji[Ye]=Qi(Ae[Ye],!0)}for(var we=0;we<pe.length;we++){for(var ls=pe[we],mr=Ji[ls],cs=mr.groups,Ce=0;Ce<cs.length;Ce++)Va(cs[Ce],ls,Ji);for(var Wo=Object.getOwnPropertyNames(mr.fast),Ce=0;Ce<Wo.length;Ce++)Va(mr.fast[Wo[Ce]],ls,Ji)}return new Tt(Ji,K)}function ja(M){for(var K=typeof Map<"u",oe=K?new Map:Object.create(null),pe=Object.getOwnPropertyNames(M),Ae=0;Ae<pe.length;Ae++){var we=pe[Ae],Ye=M[we],kt=Array.isArray(Ye)?Ye:[Ye];kt.forEach(function(rt){if(typeof rt!="string")throw new Error("keyword must be string (in keyword '"+we+"')");K?oe.set(rt,we):oe[rt]=we})}return function(rt){return K?oe.get(rt):oe[rt]}}var Tt=function(M,K){this.startState=K,this.states=M,this.buffer="",this.stack=[],this.reset()};Tt.prototype.reset=function(M,K){return this.buffer=M||"",this.index=0,this.line=K?K.line:1,this.col=K?K.col:1,this.queuedToken=K?K.queuedToken:null,this.queuedText=K?K.queuedText:"",this.queuedThrow=K?K.queuedThrow:null,this.setState(K?K.state:this.startState),this.stack=K&&K.stack?K.stack.slice():[],this},Tt.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}},Tt.prototype.setState=function(M){if(!(!M||this.state===M)){this.state=M;var K=this.states[M];this.groups=K.groups,this.error=K.error,this.re=K.regexp,this.fast=K.fast}},Tt.prototype.popState=function(){this.setState(this.stack.pop())},Tt.prototype.pushState=function(M){this.stack.push(this.state),this.setState(M)};var Go=b?function(M,K){return M.exec(K)}:function(M,K){var oe=M.exec(K);return oe[0].length===0?null:oe};Tt.prototype._getGroup=function(M){for(var K=this.groups.length,oe=0;oe<K;oe++)if(M[oe+1]!==void 0)return this.groups[oe];throw new Error("Cannot find token type for matched text")};function qo(){return this.value}if(Tt.prototype.next=function(){var M=this.index;if(this.queuedGroup){var K=this._token(this.queuedGroup,this.queuedText,M);return this.queuedGroup=null,this.queuedText="",K}var oe=this.buffer;if(M!==oe.length){var Ye=this.fast[oe.charCodeAt(M)];if(Ye)return this._token(Ye,oe.charAt(M),M);var pe=this.re;pe.lastIndex=M;var Ae=Go(pe,oe),we=this.error;if(Ae==null)return this._token(we,oe.slice(M,oe.length),M);var Ye=this._getGroup(Ae),kt=Ae[0];return we.fallback&&Ae.index!==M?(this.queuedGroup=Ye,this.queuedText=kt,this._token(we,oe.slice(M,Ae.index),M)):this._token(Ye,kt,M)}},Tt.prototype._token=function(M,K,oe){var pe=0;if(M.lineBreaks){var Ae=/\n/g,we=1;if(K===`
|
|
10
|
+
`)pe=1;else for(;Ae.exec(K);)pe++,we=Ae.lastIndex}var Ye={type:typeof M.type=="function"&&M.type(K)||M.defaultType,value:typeof M.value=="function"?M.value(K):K,text:K,toString:qo,offset:oe,lineBreaks:pe,line:this.line,col:this.col},kt=K.length;if(this.index+=kt,this.line+=pe,pe!==0?this.col=kt-we+1:this.col+=kt,M.shouldThrow){var rt=new Error(this.formatError(Ye,"invalid syntax"));throw rt}return M.pop?this.popState():M.push?this.pushState(M.push):M.next&&this.setState(M.next),Ye},typeof Symbol<"u"&&Symbol.iterator){var Ba=function(M){this.lexer=M};Ba.prototype.next=function(){var M=this.lexer.next();return{value:M,done:!M}},Ba.prototype[Symbol.iterator]=function(){return this},Tt.prototype[Symbol.iterator]=function(){return new Ba(this)}}return Tt.prototype.formatError=function(pe,K){if(pe==null)var oe=this.buffer.slice(this.index),pe={text:oe,offset:this.index,lineBreaks:oe.indexOf(`
|
|
11
|
+
`)===-1?0:1,line:this.line,col:this.col};var Ae=2,we=Math.max(pe.line-Ae,1),Ye=pe.line+Ae,kt=String(Ye).length,rt=$e(this.buffer,this.line-pe.line+Ae+1).slice(0,5),Ce=[];Ce.push(K+" at line "+pe.line+" col "+pe.col+":"),Ce.push("");for(var Lt=0;Lt<rt.length;Lt++){var hr=rt[Lt],ma=we+Lt;Ce.push(ke(String(ma),kt)+" "+hr),ma===pe.line&&Ce.push(ke("",kt+pe.col+1)+"^")}return Ce.join(`
|
|
12
|
+
`)},Tt.prototype.clone=function(){return new Tt(this.states,this.state)},Tt.prototype.has=function(M){return!0},{compile:cn,states:za,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:ja}})})(nf);var g6=nf.exports;(function(p){var f=Dd&&Dd.__importDefault||function(b){return b&&b.__esModule?b:{default:b}};Object.defineProperty(p,"__esModule",{value:!0}),p.lexer=p.states=void 0;let y=f(g6);p.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^]*?[^'])?'(?!')/u,value:b=>b.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:b=>b.substring(1).trim()},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/[^][^{}#']*/u}},arg:{select:{lineBreaks:!0,match:/,\s*(?:plural|select|selectordinal)\s*,\s*/u,next:"select",value:b=>b.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:b=>b.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:b=>b.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:b=>b.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:b=>b.substring(0,b.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},p.lexer=y.default.states(p.states)})(af),Object.defineProperty(ss,"__esModule",{value:!0});var rf=ss.parse=ss.ParseError=void 0;let sf=af,Bo=p=>({offset:p.offset,line:p.line,col:p.col,text:p.text,lineBreaks:p.lineBreaks}),Id=p=>p==="plural"||p==="select"||p==="selectordinal";function v6(p,f){let y="",b="";for(let _ of f){let S=_.ctx.text;switch(b+=S,_.type){case"content":y+=_.value;break;case"argument":case"function":case"octothorpe":y+=S;break;default:throw new Wt(p,`Unsupported part in strict mode function arg style: ${S}`)}}return[{type:"content",value:y.trim(),ctx:Object.assign({},f[0].ctx,{text:b})}]}let y6=["number","date","time","spellout","ordinal","duration"],of=["zero","one","two","few","many","other"];class Wt extends Error{constructor(f,y){super(sf.lexer.formatError(f,y))}}ss.ParseError=Wt;class b6{constructor(f,y){var b,_,S,C;this.lexer=sf.lexer.reset(f),this.cardinalKeys=(b=y==null?void 0:y.cardinal)!==null&&b!==void 0?b:of,this.ordinalKeys=(_=y==null?void 0:y.ordinal)!==null&&_!==void 0?_:of,this.strict=(S=y==null?void 0:y.strict)!==null&&S!==void 0?S:!1,this.strictPluralKeys=(C=y==null?void 0:y.strictPluralKeys)!==null&&C!==void 0?C:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(f,y,b){if(b[0]==="="){if(y==="select")throw new Wt(f,`The case ${b} is not valid with select`)}else if(y!=="select"){let _=y==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&_.length>0&&!_.includes(b)){let S=`The ${y} case ${b} is not valid in this locale`;throw new Wt(f,S)}}}parseSelect(f,y,b,_){let{value:S}=f,C={type:_,arg:S,cases:[],ctx:b};_==="plural"||_==="selectordinal"?y=!0:this.strict&&(y=!1);for(let I of this.lexer)switch(I.type){case"offset":if(_==="select")throw new Wt(I,"Unexpected plural offset for select");if(C.cases.length>0)throw new Wt(I,"Plural offset must be set before cases");C.pluralOffset=Number(I.value),b.text+=I.text,b.lineBreaks+=I.lineBreaks;break;case"case":{this.checkSelectKey(I,_,I.value),C.cases.push({key:I.value,tokens:this.parseBody(y),ctx:Bo(I)});break}case"end":return C;default:throw new Wt(I,`Unexpected lexer token: ${I.type}`)}throw new Wt(null,"Unexpected message end")}parseArgToken(f,y){let b=Bo(f),_=this.lexer.next();if(!_)throw new Wt(null,"Unexpected message end");if(b.text+=_.text,b.lineBreaks+=_.lineBreaks,this.strict&&(_.type==="func-simple"||_.type==="func-args")&&!y6.includes(_.value)){let S=`Invalid strict mode function arg type: ${_.value}`;throw new Wt(f,S)}switch(_.type){case"end":return{type:"argument",arg:f.value,ctx:b};case"func-simple":{let S=this.lexer.next();if(!S)throw new Wt(null,"Unexpected message end");if(S.type!=="end")throw new Wt(S,`Unexpected lexer token: ${S.type}`);if(b.text+=S.text,Id(_.value.toLowerCase()))throw new Wt(_,`Invalid type identifier: ${_.value}`);return{type:"function",arg:f.value,key:_.value,ctx:b}}case"func-args":{if(Id(_.value.toLowerCase())){let C=`Invalid type identifier: ${_.value}`;throw new Wt(_,C)}let S=this.parseBody(this.strict?!1:y);return this.strict&&S.length>0&&(S=v6(f,S)),{type:"function",arg:f.value,key:_.value,param:S,ctx:b}}case"select":if(Id(_.value))return this.parseSelect(f,y,b,_.value);throw new Wt(_,`Unexpected select type ${_.value}`);default:throw new Wt(_,`Unexpected lexer token: ${_.type}`)}}parseBody(f,y){let b=[],_=null;for(let S of this.lexer)if(S.type==="argument")_&&(_=null),b.push(this.parseArgToken(S,f));else if(S.type==="octothorpe"&&f)_&&(_=null),b.push({type:"octothorpe",ctx:Bo(S)});else{if(S.type==="end"&&!y)return b;{let C=S.value;if(!f&&S.type==="quoted"&&C[0]==="#"){if(C.includes("{")){let I=`Unsupported escape pattern: ${C}`;throw new Wt(S,I)}C=S.text}_?(_.value+=C,_.ctx.text+=S.text,_.ctx.lineBreaks+=S.lineBreaks):(_={type:"content",value:C,ctx:Bo(S)},b.push(_))}}if(y)return b;throw new Wt(null,"Unexpected message end")}}function _6(p){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new b6(p,f).parse()}rf=ss.parse=_6;function os(p){return os[p]||(os[p]=new Intl.NumberFormat(p))}function x6(p,f,y){return os(p).format(f-y)}function w6(p,f,y,b){var _=f-y;if(isNaN(_))throw new Error("`"+b+"` or its offset is not a number");return os(p).format(_)}function k6(p,f,y,b,_){if({}.hasOwnProperty.call(b,p))return b[p];f&&(p-=f);var S=y(p,_);return S in b?b[S]:b.other}function S6(p,f){return{}.hasOwnProperty.call(f,p)?f[p]:f.other}function E6(p,f){for(var y=0;y<p.length;++y)if(!f||f[p[y]]===void 0)throw new Error("Message requires argument '".concat(p[y],"'"))}var C6=Object.freeze({__proto__:null,_nf:os,number:x6,plural:k6,reqArgs:E6,select:S6,strictNumber:w6});function D6(p,f,y){var b={day:"numeric",month:"short",year:"numeric"};switch(y){case"full":b.weekday="long";case"long":b.month="long";break;case"short":b.month="numeric"}return new Date(p).toLocaleDateString(f,b)}function I6(p){if(typeof p!="number"&&(p=Number(p)),!isFinite(p))return String(p);var f="";p<0?(f="-",p=Math.abs(p)):p=Number(p);var y=p%60,b=[Math.round(y)===y?y:y.toFixed(3)];p<60?b.unshift(0):(p=Math.round((p-Number(b[0]))/60),b.unshift(p%60),p>=60&&(p=Math.round((p-Number(b[0]))/60),b.unshift(p)));var _=b.shift();return f+_+":"+b.map(function(S){return Number(S)<10?"0"+String(S):String(S)}).join(":")}var Ad={};function Ho(p,f){var y=String(p)+JSON.stringify(f);return Ad[y]||(Ad[y]=new Intl.NumberFormat(p,f)),Ad[y]}function A6(p,f,y,b){var _=y&&y.split(":")||[],S=_[0],C=_[1],I={integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:C&&C.trim()||b,minimumFractionDigits:2,maximumFractionDigits:2}};return Ho(f,I[S]||{}).format(p)}var T6=function(p,f,y){return Ho(f,{style:"currency",currency:y,minimumFractionDigits:2,maximumFractionDigits:2}).format(p)},O6=function(p,f){return Ho(f,{maximumFractionDigits:0}).format(p)},N6=function(p,f){return Ho(f,{style:"percent"}).format(p)};function R6(p,f,y){var b={second:"numeric",minute:"numeric",hour:"numeric"};switch(y){case"full":case"long":b.timeZoneName="short";break;case"short":delete b.second}return new Date(p).toLocaleTimeString(f,b)}var Td=Object.freeze({__proto__:null,date:D6,duration:I6,numberCurrency:T6,numberFmt:A6,numberInteger:O6,numberPercent:N6,time:R6}),M6={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}},Od=f6(M6);function P6(p){let f=0;for(let y=0;y<p.length;++y){let b=p.charCodeAt(y);f=(f<<5)-f+b,f|=0}return f}function ln(p,f){f&&(p+=" "+P6(p).toString(36));let y=p.trim().replace(/\W+/g,"_");return Od.ES3[y]||Od.ESnext[y]||/^\d/.test(y)?"_"+y:y}function Nd(p,f){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(f)&&!Od.ES3[f])return p?p+"."+f:f;{let y=JSON.stringify(f);return p?p+"["+y+"]":y}}var F6=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],L6=new RegExp("^"+F6.join("|^"));function V6(p,f){var y=L6.test(f),b=JSON.stringify(y?"":"");return"".concat(b," + ").concat(p," + ").concat(b)}var z6="@messageformat/runtime",j6="@messageformat/runtime/lib/cardinals",lf="@messageformat/runtime/lib/plurals",B6="@messageformat/runtime/lib/formatters",H6=function(){function p(f){this.arguments=[],this.runtime={},this.options=f}return p.prototype.compile=function(f,y,b){var _,S,C=this,I=this.options,R=I.localeCodeFromKey,H=I.requireAllArguments,he=I.strict,ke=I.strictPluralKeys;if(typeof f=="object"){var $e={};try{for(var ie=i(Object.keys(f)),gt=ie.next();!gt.done;gt=ie.next()){var Nt=gt.value,Ut=R?R(Nt):Nt,hi=b&&Ut&&b[Ut]||y;$e[Nt]=this.compile(f[Nt],hi,b)}}catch(Tt){_={error:Tt}}finally{try{gt&&!gt.done&&(S=ie.return)&&S.call(ie)}finally{if(_)throw _.error}}return $e}this.plural=y;var Qi={cardinal:y.cardinals,ordinal:y.ordinals,strict:he,strictPluralKeys:ke};this.arguments=[];var cn=rf(f,Qi).map(function(Tt){return C.token(Tt,null)}),Va=this.arguments.length>0,za=this.concatenate(cn,!0);if(H&&Va){this.setRuntimeFn("reqArgs");var ja=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(ja,", d); return ").concat(za,"; }")}return"(".concat(Va?"d":"",") => ").concat(za)},p.prototype.cases=function(f,y){var b=this,_=!0,S=f.cases.map(function(he){var ke=he.key,$e=he.tokens;ke==="other"&&(_=!1);var ie=$e.map(function(gt){return b.token(gt,y)});return"".concat(Nd(null,ke.replace(/^=/,"")),": ").concat(b.concatenate(ie,!1))});if(_){var C=f.type,I=this.plural,R=I.cardinals,H=I.ordinals;if(C==="select"||C==="plural"&&R.includes("other")||C==="selectordinal"&&H.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(f)))}return"{ ".concat(S.join(", ")," }")},p.prototype.concatenate=function(f,y){var b=this.options.returnType==="values";return b&&(y||f.length>1)?"["+f.join(", ")+"]":f.join(" + ")||'""'},p.prototype.token=function(f,y){if(f.type==="content")return JSON.stringify(f.value);var b=this.plural,_=b.id,S=b.lc,C,I;switch("arg"in f?(this.arguments.push(f.arg),C=[Nd("d",f.arg)]):C=[],f.type){case"argument":return this.options.biDiSupport?V6(String(C[0]),S):String(C[0]);case"select":I="select",y&&this.options.strict&&(y=null),C.push(this.cases(f,y)),this.setRuntimeFn("select");break;case"selectordinal":I="plural",C.push(f.pluralOffset||0,_,this.cases(f,f),1),this.setLocale(_,!0),this.setRuntimeFn("plural");break;case"plural":I="plural",C.push(f.pluralOffset||0,_,this.cases(f,f)),this.setLocale(_,!1),this.setRuntimeFn("plural");break;case"function":{var R=this.options.customFormatters[f.key],H=R&&"module"in R&&typeof R.module=="function";if(!R){if(f.key==="date"){I=this.setDateFormatter(f,C,y);break}else if(f.key==="number"){I=this.setNumberFormatter(f,C,y);break}}if(C.push(JSON.stringify(this.plural.locale)),f.param){y&&this.options.strict&&(y=null);var he=this.getFormatterArg(f,y);he&&C.push(he)}I=H?ln("".concat(f.key,"__").concat(this.plural.locale)):f.key,this.setFormatter(I,f.key);break}case"octothorpe":if(!y)return'"#"';C=[JSON.stringify(this.plural.locale),Nd("d",y.arg),y.pluralOffset||0],this.options.strict?(I="strictNumber",C.push(JSON.stringify(y.arg)),this.setRuntimeFn("strictNumber")):(I="number",this.setRuntimeFn("number"));break}if(!I)throw new Error("Parser error for token "+JSON.stringify(f));return"".concat(I,"(").concat(C.join(", "),")")},p.prototype.runtimeIncludes=function(f,y){if(ln(f)!==f)throw new SyntaxError("Reserved word used as ".concat(y," identifier: ").concat(f));var b=this.runtime[f];if(!b||b.type===y)return b;throw new TypeError("Cannot override ".concat(b.type," runtime function as ").concat(y,": ").concat(f))},p.prototype.setLocale=function(f,y){var b=this.runtimeIncludes(f,"locale"),_=this.plural,S=_.getCardinal,C=_.getPlural,I=_.isDefault,R,H,he;if(!y&&I&&S){if(b)return;R=function(ke){return S(ke)},H=j6,he=function(){return String(S)}}else{if(b&&(!I||b.module===lf))return;R=function(ke,$e){return C(ke,$e)},H=I?lf:C.module||null,he=function(){return String(C)}}this.runtime[f]=Object.assign(R,{id:f,module:H,toString:he,type:"locale"})},p.prototype.setRuntimeFn=function(f){this.runtimeIncludes(f,"runtime")||(this.runtime[f]=Object.assign(C6[f],{id:f,module:z6,type:"runtime"}))},p.prototype.getFormatterArg=function(f,y){var b,_,S,C,I=this,R=f.key,H=f.param,he=this.options.customFormatters[R]||cf(R)&&Td[R];if(!he||!H)return null;var ke="arg"in he&&he.arg||"string";if(ke==="options"){var $e="";try{for(var ie=i(H),gt=ie.next();!gt.done;gt=ie.next()){var Nt=gt.value;if(Nt.type==="content")$e+=Nt.value;else throw new SyntaxError("Expected literal options for ".concat(R," formatter"))}}catch(Ba){b={error:Ba}}finally{try{gt&&!gt.done&&(_=ie.return)&&_.call(ie)}finally{if(b)throw b.error}}var Ut={};try{for(var hi=i($e.split(",")),Qi=hi.next();!Qi.done;Qi=hi.next()){var cn=Qi.value,Va=cn.indexOf(":");if(Va===-1)Ut[cn.trim()]=null;else{var za=cn.substring(0,Va).trim(),ja=cn.substring(Va+1).trim();if(ja==="true")Ut[za]=!0;else if(ja==="false")Ut[za]=!1;else if(ja==="null")Ut[za]=null;else{var Tt=Number(ja);Ut[za]=Number.isFinite(Tt)?Tt:ja}}}}catch(Ba){S={error:Ba}}finally{try{Qi&&!Qi.done&&(C=hi.return)&&C.call(hi)}finally{if(S)throw S.error}}return JSON.stringify(Ut)}else{var Go=H.map(function(Ba){return I.token(Ba,y)});if(ke==="raw")return"[".concat(Go.join(", "),"]");var qo=Go.join(" + ");return qo?"(".concat(qo,").trim()"):'""'}},p.prototype.setFormatter=function(f,y){if(!this.runtimeIncludes(f,"formatter")){var b=this.options.customFormatters[y||f];if(b){var _=typeof b=="function"?{formatter:b}:b;this.runtime[f]=Object.assign(_.formatter.bind({}),n(n({},_.formatter.prototype),{toString:function(){return String(_.formatter)}}),{type:"formatter"},"module"in b&&b.module&&b.id?{id:ln(b.id),module:typeof b.module=="function"?b.module(this.plural.locale):b.module}:{id:null,module:null})}else if(cf(f))this.runtime[f]=Object.assign(Td[f],{type:"formatter"},{id:f,module:B6});else throw new Error("Formatting function not found: ".concat(f))}},p.prototype.setDateFormatter=function(f,y,b){var _=this,S=f.param,C=this.plural.locale,I=S&&S.length===1&&S[0];if(I&&I.type==="content"&&/^\s*::/.test(I.value)){var R=I.value.trim().substr(2),H=ln("date_".concat(C,"_").concat(R),!0);if(!this.runtimeIncludes(H,"formatter")){var he=ei(C,R,this.options.timeZone);this.runtime[H]=Object.assign(he,{id:H,module:null,toString:function(){return Kt(C,R,_.options.timeZone)},type:"formatter"})}return H}if(y.push(JSON.stringify(C)),S&&S.length>0){b&&this.options.strict&&(b=null);var ke=S.map(function($e){return _.token($e,b)});y.push("("+(ke.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},p.prototype.setNumberFormatter=function(f,y,b){var _=this,S=f.param,C=this.plural.locale;if(!S||S.length===0)return y.unshift(JSON.stringify(C)),y.push("0"),this.setRuntimeFn("number"),"number";if(y.push(JSON.stringify(C)),S.length===1&&S[0].type==="content"){var I=S[0].value.trim();switch(I){case"currency":return y.push(JSON.stringify(this.options.currency)),this.setFormatter("numberCurrency"),"numberCurrency";case"integer":return this.setFormatter("numberInteger"),"numberInteger";case"percent":return this.setFormatter("numberPercent"),"numberPercent"}var R=I.match(/^currency:([A-Z]+)$/);if(R)return y.push(JSON.stringify(R[1])),this.setFormatter("numberCurrency"),"numberCurrency";var H=ln("number_".concat(C,"_").concat(I),!0);if(!this.runtimeIncludes(H,"formatter")){var he=this.options.currency,ke=p6(C,I,he);this.runtime[H]=Object.assign(ke,{id:null,module:null,toString:function(){return m6(C,I,he)},type:"formatter"})}return H}b&&this.options.strict&&(b=null);var $e=S.map(function(ie){return _.token(ie,b)});return y.push("("+($e.join(" + ")||'""')+").trim()"),y.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},p}();function cf(p){return p in Td}let U=p=>p==1?"one":"other",Ra=p=>p==0||p==1?"one":"other",ha=p=>p>=0&&p<=1?"one":"other",Xt=p=>{let f=String(p).split("."),y=!f[1];return p==1&&y?"one":"other"},Xe=p=>"other",Ma=p=>p==1?"one":p==2?"two":"other";var $6=Object.freeze({__proto__:null,af:U,ak:Ra,am:ha,an:U,ar:p=>{let f=String(p).split("."),y=Number(f[0])==p,b=y&&f[0].slice(-2);return p==0?"zero":p==1?"one":p==2?"two":b>=3&&b<=10?"few":b>=11&&b<=99?"many":"other"},ars:p=>{let f=String(p).split("."),y=Number(f[0])==p,b=y&&f[0].slice(-2);return p==0?"zero":p==1?"one":p==2?"two":b>=3&&b<=10?"few":b>=11&&b<=99?"many":"other"},as:ha,asa:U,ast:Xt,az:U,bal:U,be:p=>{let f=String(p).split("."),y=Number(f[0])==p,b=y&&f[0].slice(-1),_=y&&f[0].slice(-2);return b==1&&_!=11?"one":b>=2&&b<=4&&(_<12||_>14)?"few":y&&b==0||b>=5&&b<=9||_>=11&&_<=14?"many":"other"},bem:U,bez:U,bg:U,bho:Ra,bm:Xe,bn:ha,bo:Xe,br:p=>{let f=String(p).split("."),y=Number(f[0])==p,b=y&&f[0].slice(-1),_=y&&f[0].slice(-2),S=y&&f[0].slice(-6);return b==1&&_!=11&&_!=71&&_!=91?"one":b==2&&_!=12&&_!=72&&_!=92?"two":(b==3||b==4||b==9)&&(_<10||_>19)&&(_<70||_>79)&&(_<90||_>99)?"few":p!=0&&y&&S==0?"many":"other"},brx:U,bs:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],S=y.slice(-1),C=y.slice(-2),I=b.slice(-1),R=b.slice(-2);return _&&S==1&&C!=11||I==1&&R!=11?"one":_&&S>=2&&S<=4&&(C<12||C>14)||I>=2&&I<=4&&(R<12||R>14)?"few":"other"},ca:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return p==1&&b?"one":y!=0&&_==0&&b?"many":"other"},ce:U,ceb:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],S=y.slice(-1),C=b.slice(-1);return _&&(y==1||y==2||y==3)||_&&S!=4&&S!=6&&S!=9||!_&&C!=4&&C!=6&&C!=9?"one":"other"},cgg:U,chr:U,ckb:U,cs:p=>{let f=String(p).split("."),y=f[0],b=!f[1];return p==1&&b?"one":y>=2&&y<=4&&b?"few":b?"other":"many"},cy:p=>p==0?"zero":p==1?"one":p==2?"two":p==3?"few":p==6?"many":"other",da:p=>{let f=String(p).split("."),y=f[0],b=Number(f[0])==p;return p==1||!b&&(y==0||y==1)?"one":"other"},de:Xt,doi:ha,dsb:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],S=y.slice(-2),C=b.slice(-2);return _&&S==1||C==1?"one":_&&S==2||C==2?"two":_&&(S==3||S==4)||C==3||C==4?"few":"other"},dv:U,dz:Xe,ee:U,el:U,en:Xt,eo:U,es:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return p==1?"one":y!=0&&_==0&&b?"many":"other"},et:Xt,eu:U,fa:ha,ff:p=>p>=0&&p<2?"one":"other",fi:Xt,fil:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],S=y.slice(-1),C=b.slice(-1);return _&&(y==1||y==2||y==3)||_&&S!=4&&S!=6&&S!=9||!_&&C!=4&&C!=6&&C!=9?"one":"other"},fo:U,fr:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return p>=0&&p<2?"one":y!=0&&_==0&&b?"many":"other"},fur:U,fy:Xt,ga:p=>{let f=String(p).split("."),y=Number(f[0])==p;return p==1?"one":p==2?"two":y&&p>=3&&p<=6?"few":y&&p>=7&&p<=10?"many":"other"},gd:p=>{let f=String(p).split("."),y=Number(f[0])==p;return p==1||p==11?"one":p==2||p==12?"two":y&&p>=3&&p<=10||y&&p>=13&&p<=19?"few":"other"},gl:Xt,gsw:U,gu:ha,guw:Ra,gv:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-1),S=y.slice(-2);return b&&_==1?"one":b&&_==2?"two":b&&(S==0||S==20||S==40||S==60||S==80)?"few":b?"other":"many"},ha:U,haw:U,he:p=>{let f=String(p).split("."),y=f[0],b=!f[1];return y==1&&b||y==0&&!b?"one":y==2&&b?"two":"other"},hi:ha,hnj:Xe,hr:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],S=y.slice(-1),C=y.slice(-2),I=b.slice(-1),R=b.slice(-2);return _&&S==1&&C!=11||I==1&&R!=11?"one":_&&S>=2&&S<=4&&(C<12||C>14)||I>=2&&I<=4&&(R<12||R>14)?"few":"other"},hsb:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],S=y.slice(-2),C=b.slice(-2);return _&&S==1||C==1?"one":_&&S==2||C==2?"two":_&&(S==3||S==4)||C==3||C==4?"few":"other"},hu:U,hy:p=>p>=0&&p<2?"one":"other",ia:Xt,id:Xe,ig:Xe,ii:Xe,io:Xt,is:p=>{let f=String(p).split("."),y=f[0],b=(f[1]||"").replace(/0+$/,""),_=Number(f[0])==p,S=y.slice(-1),C=y.slice(-2);return _&&S==1&&C!=11||b%10==1&&b%100!=11?"one":"other"},it:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return p==1&&b?"one":y!=0&&_==0&&b?"many":"other"},iu:Ma,ja:Xe,jbo:Xe,jgo:U,jmc:U,jv:Xe,jw:Xe,ka:U,kab:p=>p>=0&&p<2?"one":"other",kaj:U,kcg:U,kde:Xe,kea:Xe,kk:U,kkj:U,kl:U,km:Xe,kn:ha,ko:Xe,ks:U,ksb:U,ksh:p=>p==0?"zero":p==1?"one":"other",ku:U,kw:p=>{let f=String(p).split("."),y=Number(f[0])==p,b=y&&f[0].slice(-2),_=y&&f[0].slice(-3),S=y&&f[0].slice(-5),C=y&&f[0].slice(-6);return p==0?"zero":p==1?"one":b==2||b==22||b==42||b==62||b==82||y&&_==0&&(S>=1e3&&S<=2e4||S==4e4||S==6e4||S==8e4)||p!=0&&C==1e5?"two":b==3||b==23||b==43||b==63||b==83?"few":p!=1&&(b==1||b==21||b==41||b==61||b==81)?"many":"other"},ky:U,lag:p=>{let f=String(p).split("."),y=f[0];return p==0?"zero":(y==0||y==1)&&p!=0?"one":"other"},lb:U,lg:U,lij:Xt,lkt:Xe,ln:Ra,lo:Xe,lt:p=>{let f=String(p).split("."),y=f[1]||"",b=Number(f[0])==p,_=b&&f[0].slice(-1),S=b&&f[0].slice(-2);return _==1&&(S<11||S>19)?"one":_>=2&&_<=9&&(S<11||S>19)?"few":y!=0?"many":"other"},lv:p=>{let f=String(p).split("."),y=f[1]||"",b=y.length,_=Number(f[0])==p,S=_&&f[0].slice(-1),C=_&&f[0].slice(-2),I=y.slice(-2),R=y.slice(-1);return _&&S==0||C>=11&&C<=19||b==2&&I>=11&&I<=19?"zero":S==1&&C!=11||b==2&&R==1&&I!=11||b!=2&&R==1?"one":"other"},mas:U,mg:Ra,mgo:U,mk:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],S=y.slice(-1),C=y.slice(-2),I=b.slice(-1),R=b.slice(-2);return _&&S==1&&C!=11||I==1&&R!=11?"one":"other"},ml:U,mn:U,mo:p=>{let f=String(p).split("."),y=!f[1],b=Number(f[0])==p,_=b&&f[0].slice(-2);return p==1&&y?"one":!y||p==0||p!=1&&_>=1&&_<=19?"few":"other"},mr:U,ms:Xe,mt:p=>{let f=String(p).split("."),y=Number(f[0])==p,b=y&&f[0].slice(-2);return p==1?"one":p==2?"two":p==0||b>=3&&b<=10?"few":b>=11&&b<=19?"many":"other"},my:Xe,nah:U,naq:Ma,nb:U,nd:U,ne:U,nl:Xt,nn:U,nnh:U,no:U,nqo:Xe,nr:U,nso:Ra,ny:U,nyn:U,om:U,or:U,os:U,osa:Xe,pa:Ra,pap:U,pcm:ha,pl:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-1),S=y.slice(-2);return p==1&&b?"one":b&&_>=2&&_<=4&&(S<12||S>14)?"few":b&&y!=1&&(_==0||_==1)||b&&_>=5&&_<=9||b&&S>=12&&S<=14?"many":"other"},prg:p=>{let f=String(p).split("."),y=f[1]||"",b=y.length,_=Number(f[0])==p,S=_&&f[0].slice(-1),C=_&&f[0].slice(-2),I=y.slice(-2),R=y.slice(-1);return _&&S==0||C>=11&&C<=19||b==2&&I>=11&&I<=19?"zero":S==1&&C!=11||b==2&&R==1&&I!=11||b!=2&&R==1?"one":"other"},ps:U,pt:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return y==0||y==1?"one":y!=0&&_==0&&b?"many":"other"},pt_PT:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return p==1&&b?"one":y!=0&&_==0&&b?"many":"other"},rm:U,ro:p=>{let f=String(p).split("."),y=!f[1],b=Number(f[0])==p,_=b&&f[0].slice(-2);return p==1&&y?"one":!y||p==0||p!=1&&_>=1&&_<=19?"few":"other"},rof:U,ru:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-1),S=y.slice(-2);return b&&_==1&&S!=11?"one":b&&_>=2&&_<=4&&(S<12||S>14)?"few":b&&_==0||b&&_>=5&&_<=9||b&&S>=11&&S<=14?"many":"other"},rwk:U,sah:Xe,saq:U,sat:Ma,sc:Xt,scn:Xt,sd:U,sdh:U,se:Ma,seh:U,ses:Xe,sg:Xe,sh:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],S=y.slice(-1),C=y.slice(-2),I=b.slice(-1),R=b.slice(-2);return _&&S==1&&C!=11||I==1&&R!=11?"one":_&&S>=2&&S<=4&&(C<12||C>14)||I>=2&&I<=4&&(R<12||R>14)?"few":"other"},shi:p=>{let f=String(p).split("."),y=Number(f[0])==p;return p>=0&&p<=1?"one":y&&p>=2&&p<=10?"few":"other"},si:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"";return p==0||p==1||y==0&&b==1?"one":"other"},sk:p=>{let f=String(p).split("."),y=f[0],b=!f[1];return p==1&&b?"one":y>=2&&y<=4&&b?"few":b?"other":"many"},sl:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-2);return b&&_==1?"one":b&&_==2?"two":b&&(_==3||_==4)||!b?"few":"other"},sma:Ma,smi:Ma,smj:Ma,smn:Ma,sms:Ma,sn:U,so:U,sq:U,sr:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],S=y.slice(-1),C=y.slice(-2),I=b.slice(-1),R=b.slice(-2);return _&&S==1&&C!=11||I==1&&R!=11?"one":_&&S>=2&&S<=4&&(C<12||C>14)||I>=2&&I<=4&&(R<12||R>14)?"few":"other"},ss:U,ssy:U,st:U,su:Xe,sv:Xt,sw:Xt,syr:U,ta:U,te:U,teo:U,th:Xe,ti:Ra,tig:U,tk:U,tl:p=>{let f=String(p).split("."),y=f[0],b=f[1]||"",_=!f[1],S=y.slice(-1),C=b.slice(-1);return _&&(y==1||y==2||y==3)||_&&S!=4&&S!=6&&S!=9||!_&&C!=4&&C!=6&&C!=9?"one":"other"},tn:U,to:Xe,tpi:Xe,tr:U,ts:U,tzm:p=>{let f=String(p).split("."),y=Number(f[0])==p;return p==0||p==1||y&&p>=11&&p<=99?"one":"other"},ug:U,uk:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-1),S=y.slice(-2);return b&&_==1&&S!=11?"one":b&&_>=2&&_<=4&&(S<12||S>14)?"few":b&&_==0||b&&_>=5&&_<=9||b&&S>=11&&S<=14?"many":"other"},und:Xe,ur:Xt,uz:U,ve:U,vec:p=>{let f=String(p).split("."),y=f[0],b=!f[1],_=y.slice(-6);return p==1&&b?"one":y!=0&&_==0&&b?"many":"other"},vi:Xe,vo:U,vun:U,wa:Ra,wae:U,wo:Xe,xh:U,xog:U,yi:Xt,yo:Xe,yue:Xe,zh:Xe,zu:ha});let Pa="zero",Q="one",wt="two",Fe="few",Ve="many",P="other",L={cardinal:[Q,P],ordinal:[P]},Nn={cardinal:[Q,P],ordinal:[Q,P]},it={cardinal:[P],ordinal:[P]},pa={cardinal:[Q,wt,P],ordinal:[P]};var df=Object.freeze({__proto__:null,af:L,ak:L,am:L,an:L,ar:{cardinal:[Pa,Q,wt,Fe,Ve,P],ordinal:[P]},ars:{cardinal:[Pa,Q,wt,Fe,Ve,P],ordinal:[P]},as:{cardinal:[Q,P],ordinal:[Q,wt,Fe,Ve,P]},asa:L,ast:L,az:{cardinal:[Q,P],ordinal:[Q,Fe,Ve,P]},bal:Nn,be:{cardinal:[Q,Fe,Ve,P],ordinal:[Fe,P]},bem:L,bez:L,bg:L,bho:L,bm:it,bn:{cardinal:[Q,P],ordinal:[Q,wt,Fe,Ve,P]},bo:it,br:{cardinal:[Q,wt,Fe,Ve,P],ordinal:[P]},brx:L,bs:{cardinal:[Q,Fe,P],ordinal:[P]},ca:{cardinal:[Q,Ve,P],ordinal:[Q,wt,Fe,P]},ce:L,ceb:L,cgg:L,chr:L,ckb:L,cs:{cardinal:[Q,Fe,Ve,P],ordinal:[P]},cy:{cardinal:[Pa,Q,wt,Fe,Ve,P],ordinal:[Pa,Q,wt,Fe,Ve,P]},da:L,de:L,doi:L,dsb:{cardinal:[Q,wt,Fe,P],ordinal:[P]},dv:L,dz:it,ee:L,el:L,en:{cardinal:[Q,P],ordinal:[Q,wt,Fe,P]},eo:L,es:{cardinal:[Q,Ve,P],ordinal:[P]},et:L,eu:L,fa:L,ff:L,fi:L,fil:Nn,fo:L,fr:{cardinal:[Q,Ve,P],ordinal:[Q,P]},fur:L,fy:L,ga:{cardinal:[Q,wt,Fe,Ve,P],ordinal:[Q,P]},gd:{cardinal:[Q,wt,Fe,P],ordinal:[Q,wt,Fe,P]},gl:L,gsw:L,gu:{cardinal:[Q,P],ordinal:[Q,wt,Fe,Ve,P]},guw:L,gv:{cardinal:[Q,wt,Fe,Ve,P],ordinal:[P]},ha:L,haw:L,he:pa,hi:{cardinal:[Q,P],ordinal:[Q,wt,Fe,Ve,P]},hnj:it,hr:{cardinal:[Q,Fe,P],ordinal:[P]},hsb:{cardinal:[Q,wt,Fe,P],ordinal:[P]},hu:Nn,hy:Nn,ia:L,id:it,ig:it,ii:it,io:L,is:L,it:{cardinal:[Q,Ve,P],ordinal:[Ve,P]},iu:pa,ja:it,jbo:it,jgo:L,jmc:L,jv:it,jw:it,ka:{cardinal:[Q,P],ordinal:[Q,Ve,P]},kab:L,kaj:L,kcg:L,kde:it,kea:it,kk:{cardinal:[Q,P],ordinal:[Ve,P]},kkj:L,kl:L,km:it,kn:L,ko:it,ks:L,ksb:L,ksh:{cardinal:[Pa,Q,P],ordinal:[P]},ku:L,kw:{cardinal:[Pa,Q,wt,Fe,Ve,P],ordinal:[Q,Ve,P]},ky:L,lag:{cardinal:[Pa,Q,P],ordinal:[P]},lb:L,lg:L,lij:{cardinal:[Q,P],ordinal:[Ve,P]},lkt:it,ln:L,lo:{cardinal:[P],ordinal:[Q,P]},lt:{cardinal:[Q,Fe,Ve,P],ordinal:[P]},lv:{cardinal:[Pa,Q,P],ordinal:[P]},mas:L,mg:L,mgo:L,mk:{cardinal:[Q,P],ordinal:[Q,wt,Ve,P]},ml:L,mn:L,mo:{cardinal:[Q,Fe,P],ordinal:[Q,P]},mr:{cardinal:[Q,P],ordinal:[Q,wt,Fe,P]},ms:{cardinal:[P],ordinal:[Q,P]},mt:{cardinal:[Q,wt,Fe,Ve,P],ordinal:[P]},my:it,nah:L,naq:pa,nb:L,nd:L,ne:Nn,nl:L,nn:L,nnh:L,no:L,nqo:it,nr:L,nso:L,ny:L,nyn:L,om:L,or:{cardinal:[Q,P],ordinal:[Q,wt,Fe,Ve,P]},os:L,osa:it,pa:L,pap:L,pcm:L,pl:{cardinal:[Q,Fe,Ve,P],ordinal:[P]},prg:{cardinal:[Pa,Q,P],ordinal:[P]},ps:L,pt:{cardinal:[Q,Ve,P],ordinal:[P]},pt_PT:{cardinal:[Q,Ve,P],ordinal:[P]},rm:L,ro:{cardinal:[Q,Fe,P],ordinal:[Q,P]},rof:L,ru:{cardinal:[Q,Fe,Ve,P],ordinal:[P]},rwk:L,sah:it,saq:L,sat:pa,sc:{cardinal:[Q,P],ordinal:[Ve,P]},scn:{cardinal:[Q,P],ordinal:[Ve,P]},sd:L,sdh:L,se:pa,seh:L,ses:it,sg:it,sh:{cardinal:[Q,Fe,P],ordinal:[P]},shi:{cardinal:[Q,Fe,P],ordinal:[P]},si:L,sk:{cardinal:[Q,Fe,Ve,P],ordinal:[P]},sl:{cardinal:[Q,wt,Fe,P],ordinal:[P]},sma:pa,smi:pa,smj:pa,smn:pa,sms:pa,sn:L,so:L,sq:{cardinal:[Q,P],ordinal:[Q,Ve,P]},sr:{cardinal:[Q,Fe,P],ordinal:[P]},ss:L,ssy:L,st:L,su:it,sv:Nn,sw:L,syr:L,ta:L,te:L,teo:L,th:it,ti:L,tig:L,tk:{cardinal:[Q,P],ordinal:[Fe,P]},tl:Nn,tn:L,to:it,tpi:it,tr:L,ts:L,tzm:L,ug:L,uk:{cardinal:[Q,Fe,Ve,P],ordinal:[Fe,P]},und:it,ur:L,uz:L,ve:L,vec:{cardinal:[Q,Ve,P],ordinal:[Ve,P]},vi:{cardinal:[P],ordinal:[Q,P]},vo:L,vun:L,wa:L,wae:L,wo:it,xh:L,xog:L,yi:L,yo:it,yue:it,zh:it,zu:L});let J=(p,f)=>f?"other":p==1?"one":"other",Fa=(p,f)=>f?"other":p==0||p==1?"one":"other",ur=(p,f)=>f?"other":p>=0&&p<=1?"one":"other",zi=(p,f)=>{let y=String(p).split("."),b=!y[1];return f?"other":p==1&&b?"one":"other"},at=(p,f)=>"other",La=(p,f)=>f?"other":p==1?"one":p==2?"two":"other";var $o=Object.freeze({__proto__:null,af:J,ak:Fa,am:ur,an:J,ar:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-2);return f?"other":p==0?"zero":p==1?"one":p==2?"two":_>=3&&_<=10?"few":_>=11&&_<=99?"many":"other"},ars:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-2);return f?"other":p==0?"zero":p==1?"one":p==2?"two":_>=3&&_<=10?"few":_>=11&&_<=99?"many":"other"},as:(p,f)=>f?p==1||p==5||p==7||p==8||p==9||p==10?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",asa:J,ast:zi,az:(p,f)=>{let y=String(p).split("."),b=y[0],_=b.slice(-1),S=b.slice(-2),C=b.slice(-3);return f?_==1||_==2||_==5||_==7||_==8||S==20||S==50||S==70||S==80?"one":_==3||_==4||C==100||C==200||C==300||C==400||C==500||C==600||C==700||C==800||C==900?"few":b==0||_==6||S==40||S==60||S==90?"many":"other":p==1?"one":"other"},bal:(p,f)=>p==1?"one":"other",be:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-1),S=b&&y[0].slice(-2);return f?(_==2||_==3)&&S!=12&&S!=13?"few":"other":_==1&&S!=11?"one":_>=2&&_<=4&&(S<12||S>14)?"few":b&&_==0||_>=5&&_<=9||S>=11&&S<=14?"many":"other"},bem:J,bez:J,bg:J,bho:Fa,bm:at,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:at,br:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-1),S=b&&y[0].slice(-2),C=b&&y[0].slice(-6);return f?"other":_==1&&S!=11&&S!=71&&S!=91?"one":_==2&&S!=12&&S!=72&&S!=92?"two":(_==3||_==4||_==9)&&(S<10||S>19)&&(S<70||S>79)&&(S<90||S>99)?"few":p!=0&&b&&C==0?"many":"other"},brx:J,bs:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",S=!y[1],C=b.slice(-1),I=b.slice(-2),R=_.slice(-1),H=_.slice(-2);return f?"other":S&&C==1&&I!=11||R==1&&H!=11?"one":S&&C>=2&&C<=4&&(I<12||I>14)||R>=2&&R<=4&&(H<12||H>14)?"few":"other"},ca:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],S=b.slice(-6);return f?p==1||p==3?"one":p==2?"two":p==4?"few":"other":p==1&&_?"one":b!=0&&S==0&&_?"many":"other"},ce:J,ceb:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",S=!y[1],C=b.slice(-1),I=_.slice(-1);return f?"other":S&&(b==1||b==2||b==3)||S&&C!=4&&C!=6&&C!=9||!S&&I!=4&&I!=6&&I!=9?"one":"other"},cgg:J,chr:J,ckb:J,cs:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1];return f?"other":p==1&&_?"one":b>=2&&b<=4&&_?"few":_?"other":"many"},cy:(p,f)=>f?p==0||p==7||p==8||p==9?"zero":p==1?"one":p==2?"two":p==3||p==4?"few":p==5||p==6?"many":"other":p==0?"zero":p==1?"one":p==2?"two":p==3?"few":p==6?"many":"other",da:(p,f)=>{let y=String(p).split("."),b=y[0],_=Number(y[0])==p;return f?"other":p==1||!_&&(b==0||b==1)?"one":"other"},de:zi,doi:ur,dsb:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",S=!y[1],C=b.slice(-2),I=_.slice(-2);return f?"other":S&&C==1||I==1?"one":S&&C==2||I==2?"two":S&&(C==3||C==4)||I==3||I==4?"few":"other"},dv:J,dz:at,ee:J,el:J,en:(p,f)=>{let y=String(p).split("."),b=!y[1],_=Number(y[0])==p,S=_&&y[0].slice(-1),C=_&&y[0].slice(-2);return f?S==1&&C!=11?"one":S==2&&C!=12?"two":S==3&&C!=13?"few":"other":p==1&&b?"one":"other"},eo:J,es:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],S=b.slice(-6);return f?"other":p==1?"one":b!=0&&S==0&&_?"many":"other"},et:zi,eu:J,fa:ur,ff:(p,f)=>f?"other":p>=0&&p<2?"one":"other",fi:zi,fil:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",S=!y[1],C=b.slice(-1),I=_.slice(-1);return f?p==1?"one":"other":S&&(b==1||b==2||b==3)||S&&C!=4&&C!=6&&C!=9||!S&&I!=4&&I!=6&&I!=9?"one":"other"},fo:J,fr:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],S=b.slice(-6);return f?p==1?"one":"other":p>=0&&p<2?"one":b!=0&&S==0&&_?"many":"other"},fur:J,fy:zi,ga:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p;return f?p==1?"one":"other":p==1?"one":p==2?"two":b&&p>=3&&p<=6?"few":b&&p>=7&&p<=10?"many":"other"},gd:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p;return f?p==1||p==11?"one":p==2||p==12?"two":p==3||p==13?"few":"other":p==1||p==11?"one":p==2||p==12?"two":b&&p>=3&&p<=10||b&&p>=13&&p<=19?"few":"other"},gl:zi,gsw:J,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:Fa,gv:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],S=b.slice(-1),C=b.slice(-2);return f?"other":_&&S==1?"one":_&&S==2?"two":_&&(C==0||C==20||C==40||C==60||C==80)?"few":_?"other":"many"},ha:J,haw:J,he:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1];return f?"other":b==1&&_||b==0&&!_?"one":b==2&&_?"two":"other"},hi:(p,f)=>f?p==1?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p>=0&&p<=1?"one":"other",hnj:at,hr:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",S=!y[1],C=b.slice(-1),I=b.slice(-2),R=_.slice(-1),H=_.slice(-2);return f?"other":S&&C==1&&I!=11||R==1&&H!=11?"one":S&&C>=2&&C<=4&&(I<12||I>14)||R>=2&&R<=4&&(H<12||H>14)?"few":"other"},hsb:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",S=!y[1],C=b.slice(-2),I=_.slice(-2);return f?"other":S&&C==1||I==1?"one":S&&C==2||I==2?"two":S&&(C==3||C==4)||I==3||I==4?"few":"other"},hu:(p,f)=>f?p==1||p==5?"one":"other":p==1?"one":"other",hy:(p,f)=>f?p==1?"one":"other":p>=0&&p<2?"one":"other",ia:zi,id:at,ig:at,ii:at,io:zi,is:(p,f)=>{let y=String(p).split("."),b=y[0],_=(y[1]||"").replace(/0+$/,""),S=Number(y[0])==p,C=b.slice(-1),I=b.slice(-2);return f?"other":S&&C==1&&I!=11||_%10==1&&_%100!=11?"one":"other"},it:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],S=b.slice(-6);return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&_?"one":b!=0&&S==0&&_?"many":"other"},iu:La,ja:at,jbo:at,jgo:J,jmc:J,jv:at,jw:at,ka:(p,f)=>{let y=String(p).split("."),b=y[0],_=b.slice(-2);return f?b==1?"one":b==0||_>=2&&_<=20||_==40||_==60||_==80?"many":"other":p==1?"one":"other"},kab:(p,f)=>f?"other":p>=0&&p<2?"one":"other",kaj:J,kcg:J,kde:at,kea:at,kk:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-1);return f?_==6||_==9||b&&_==0&&p!=0?"many":"other":p==1?"one":"other"},kkj:J,kl:J,km:at,kn:ur,ko:at,ks:J,ksb:J,ksh:(p,f)=>f?"other":p==0?"zero":p==1?"one":"other",ku:J,kw:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-2),S=b&&y[0].slice(-3),C=b&&y[0].slice(-5),I=b&&y[0].slice(-6);return f?b&&p>=1&&p<=4||_>=1&&_<=4||_>=21&&_<=24||_>=41&&_<=44||_>=61&&_<=64||_>=81&&_<=84?"one":p==5||_==5?"many":"other":p==0?"zero":p==1?"one":_==2||_==22||_==42||_==62||_==82||b&&S==0&&(C>=1e3&&C<=2e4||C==4e4||C==6e4||C==8e4)||p!=0&&I==1e5?"two":_==3||_==23||_==43||_==63||_==83?"few":p!=1&&(_==1||_==21||_==41||_==61||_==81)?"many":"other"},ky:J,lag:(p,f)=>{let y=String(p).split("."),b=y[0];return f?"other":p==0?"zero":(b==0||b==1)&&p!=0?"one":"other"},lb:J,lg:J,lij:(p,f)=>{let y=String(p).split("."),b=!y[1],_=Number(y[0])==p;return f?p==11||p==8||_&&p>=80&&p<=89||_&&p>=800&&p<=899?"many":"other":p==1&&b?"one":"other"},lkt:at,ln:Fa,lo:(p,f)=>f&&p==1?"one":"other",lt:(p,f)=>{let y=String(p).split("."),b=y[1]||"",_=Number(y[0])==p,S=_&&y[0].slice(-1),C=_&&y[0].slice(-2);return f?"other":S==1&&(C<11||C>19)?"one":S>=2&&S<=9&&(C<11||C>19)?"few":b!=0?"many":"other"},lv:(p,f)=>{let y=String(p).split("."),b=y[1]||"",_=b.length,S=Number(y[0])==p,C=S&&y[0].slice(-1),I=S&&y[0].slice(-2),R=b.slice(-2),H=b.slice(-1);return f?"other":S&&C==0||I>=11&&I<=19||_==2&&R>=11&&R<=19?"zero":C==1&&I!=11||_==2&&H==1&&R!=11||_!=2&&H==1?"one":"other"},mas:J,mg:Fa,mgo:J,mk:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",S=!y[1],C=b.slice(-1),I=b.slice(-2),R=_.slice(-1),H=_.slice(-2);return f?C==1&&I!=11?"one":C==2&&I!=12?"two":(C==7||C==8)&&I!=17&&I!=18?"many":"other":S&&C==1&&I!=11||R==1&&H!=11?"one":"other"},ml:J,mn:J,mo:(p,f)=>{let y=String(p).split("."),b=!y[1],_=Number(y[0])==p,S=_&&y[0].slice(-2);return f?p==1?"one":"other":p==1&&b?"one":!b||p==0||p!=1&&S>=1&&S<=19?"few":"other"},mr:(p,f)=>f?p==1?"one":p==2||p==3?"two":p==4?"few":"other":p==1?"one":"other",ms:(p,f)=>f&&p==1?"one":"other",mt:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-2);return f?"other":p==1?"one":p==2?"two":p==0||_>=3&&_<=10?"few":_>=11&&_<=19?"many":"other"},my:at,nah:J,naq:La,nb:J,nd:J,ne:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p;return f?b&&p>=1&&p<=4?"one":"other":p==1?"one":"other"},nl:zi,nn:J,nnh:J,no:J,nqo:at,nr:J,nso:Fa,ny:J,nyn:J,om:J,or:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p;return f?p==1||p==5||b&&p>=7&&p<=9?"one":p==2||p==3?"two":p==4?"few":p==6?"many":"other":p==1?"one":"other"},os:J,osa:at,pa:Fa,pap:J,pcm:ur,pl:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],S=b.slice(-1),C=b.slice(-2);return f?"other":p==1&&_?"one":_&&S>=2&&S<=4&&(C<12||C>14)?"few":_&&b!=1&&(S==0||S==1)||_&&S>=5&&S<=9||_&&C>=12&&C<=14?"many":"other"},prg:(p,f)=>{let y=String(p).split("."),b=y[1]||"",_=b.length,S=Number(y[0])==p,C=S&&y[0].slice(-1),I=S&&y[0].slice(-2),R=b.slice(-2),H=b.slice(-1);return f?"other":S&&C==0||I>=11&&I<=19||_==2&&R>=11&&R<=19?"zero":C==1&&I!=11||_==2&&H==1&&R!=11||_!=2&&H==1?"one":"other"},ps:J,pt:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],S=b.slice(-6);return f?"other":b==0||b==1?"one":b!=0&&S==0&&_?"many":"other"},pt_PT:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],S=b.slice(-6);return f?"other":p==1&&_?"one":b!=0&&S==0&&_?"many":"other"},rm:J,ro:(p,f)=>{let y=String(p).split("."),b=!y[1],_=Number(y[0])==p,S=_&&y[0].slice(-2);return f?p==1?"one":"other":p==1&&b?"one":!b||p==0||p!=1&&S>=1&&S<=19?"few":"other"},rof:J,ru:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],S=b.slice(-1),C=b.slice(-2);return f?"other":_&&S==1&&C!=11?"one":_&&S>=2&&S<=4&&(C<12||C>14)?"few":_&&S==0||_&&S>=5&&S<=9||_&&C>=11&&C<=14?"many":"other"},rwk:J,sah:at,saq:J,sat:La,sc:(p,f)=>{let y=String(p).split("."),b=!y[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&b?"one":"other"},scn:(p,f)=>{let y=String(p).split("."),b=!y[1];return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&b?"one":"other"},sd:J,sdh:J,se:La,seh:J,ses:at,sg:at,sh:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",S=!y[1],C=b.slice(-1),I=b.slice(-2),R=_.slice(-1),H=_.slice(-2);return f?"other":S&&C==1&&I!=11||R==1&&H!=11?"one":S&&C>=2&&C<=4&&(I<12||I>14)||R>=2&&R<=4&&(H<12||H>14)?"few":"other"},shi:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p;return f?"other":p>=0&&p<=1?"one":b&&p>=2&&p<=10?"few":"other"},si:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"";return f?"other":p==0||p==1||b==0&&_==1?"one":"other"},sk:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1];return f?"other":p==1&&_?"one":b>=2&&b<=4&&_?"few":_?"other":"many"},sl:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],S=b.slice(-2);return f?"other":_&&S==1?"one":_&&S==2?"two":_&&(S==3||S==4)||!_?"few":"other"},sma:La,smi:La,smj:La,smn:La,sms:La,sn:J,so:J,sq:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-1),S=b&&y[0].slice(-2);return f?p==1?"one":_==4&&S!=14?"many":"other":p==1?"one":"other"},sr:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",S=!y[1],C=b.slice(-1),I=b.slice(-2),R=_.slice(-1),H=_.slice(-2);return f?"other":S&&C==1&&I!=11||R==1&&H!=11?"one":S&&C>=2&&C<=4&&(I<12||I>14)||R>=2&&R<=4&&(H<12||H>14)?"few":"other"},ss:J,ssy:J,st:J,su:at,sv:(p,f)=>{let y=String(p).split("."),b=!y[1],_=Number(y[0])==p,S=_&&y[0].slice(-1),C=_&&y[0].slice(-2);return f?(S==1||S==2)&&C!=11&&C!=12?"one":"other":p==1&&b?"one":"other"},sw:zi,syr:J,ta:J,te:J,teo:J,th:at,ti:Fa,tig:J,tk:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p,_=b&&y[0].slice(-1);return f?_==6||_==9||p==10?"few":"other":p==1?"one":"other"},tl:(p,f)=>{let y=String(p).split("."),b=y[0],_=y[1]||"",S=!y[1],C=b.slice(-1),I=_.slice(-1);return f?p==1?"one":"other":S&&(b==1||b==2||b==3)||S&&C!=4&&C!=6&&C!=9||!S&&I!=4&&I!=6&&I!=9?"one":"other"},tn:J,to:at,tpi:at,tr:J,ts:J,tzm:(p,f)=>{let y=String(p).split("."),b=Number(y[0])==p;return f?"other":p==0||p==1||b&&p>=11&&p<=99?"one":"other"},ug:J,uk:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],S=Number(y[0])==p,C=S&&y[0].slice(-1),I=S&&y[0].slice(-2),R=b.slice(-1),H=b.slice(-2);return f?C==3&&I!=13?"few":"other":_&&R==1&&H!=11?"one":_&&R>=2&&R<=4&&(H<12||H>14)?"few":_&&R==0||_&&R>=5&&R<=9||_&&H>=11&&H<=14?"many":"other"},und:at,ur:zi,uz:J,ve:J,vec:(p,f)=>{let y=String(p).split("."),b=y[0],_=!y[1],S=b.slice(-6);return f?p==11||p==8||p==80||p==800?"many":"other":p==1&&_?"one":b!=0&&S==0&&_?"many":"other"},vi:(p,f)=>f&&p==1?"one":"other",vo:J,vun:J,wa:Fa,wae:J,wo:at,xh:J,xog:J,yi:zi,yo:at,yue:at,zh:at,zu:ur});function Rd(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 Uo(p){if(typeof p=="function"){var f=Rd(p.name);return{isDefault:!1,id:ln(f),lc:f,locale:p.name,getPlural:p,cardinals:p.cardinals||[],ordinals:p.ordinals||[]}}var y=Rd(p),b=ln(y);return q6(b)?{isDefault:!0,id:b,lc:y,locale:p,getCardinal:$6[b],getPlural:$o[b],cardinals:df[b].cardinal,ordinals:df[b].ordinal}:null}function U6(p){var f=Object.keys($o).filter(function(y){return y!==p});return f.unshift(p),f.map(Uo)}function G6(p){var f=Rd(p);return ln(f)in $o}function q6(p){return p in $o}var W6=function(){function p(f,y){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:y&&y.strictNumberSign||!1,strictPluralKeys:!0},y),f==="*")this.plurals=U6(p.defaultLocale);else if(Array.isArray(f))this.plurals=f.map(Uo).filter(Boolean);else if(f){var b=Uo(f);b&&(this.plurals=[b])}if(this.plurals.length===0){var b=Uo(p.defaultLocale);this.plurals=[b]}}return p.escape=function(f,y){var b=y?/[#{}]/g:/[{}]/g;return String(f).replace(b,"'$&'")},p.supportedLocalesOf=function(f){var y=Array.isArray(f)?f:[f];return y.filter(G6)},p.prototype.resolvedOptions=function(){return n(n({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},p.prototype.compile=function(f){var y,b,_=new H6(this.options),S="return "+_.compile(f,this.plurals[0]),C=[],I=[];try{for(var R=i(Object.entries(_.runtime)),H=R.next();!H.done;H=R.next()){var he=a(H.value,2),ke=he[0],$e=he[1];C.push(ke),I.push($e)}}catch(gt){y={error:gt}}finally{try{H&&!H.done&&(b=R.return)&&b.call(R)}finally{if(y)throw y.error}}var ie=new(Function.bind.apply(Function,r(r([void 0],a(C),!1),[S],!1)));return ie.apply(void 0,r([],a(I),!1))},p.defaultLocale="en",p}();return W6})}),Wi=ge(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}),s8=ge(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var t=function(){function E(T,z){for(var F=0;F<z.length;F++){var qe=z[F];qe.enumerable=qe.enumerable||!1,qe.configurable=!0,"value"in qe&&(qe.writable=!0),Object.defineProperty(T,qe.key,qe)}}return function(T,z,F){return z&&E(T.prototype,z),F&&E(T,F),T}}(),n=Wi(),i=a(n);function a(E){return E&&E.__esModule?E:{default:E}}function r(E,T){if(!(E instanceof T))throw new TypeError("Cannot call a class as a function")}function o(E,T){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return T&&(typeof T=="object"||typeof T=="function")?T:E}function l(E,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof T);E.prototype=Object.create(T&&T.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),T&&(Object.setPrototypeOf?Object.setPrototypeOf(E,T):E.__proto__=T)}var c=function(E){l(T,E);function T(z,F){return r(this,T),z=z.toUpperCase(),F.mod43&&(z+=g(w(z))),o(this,(T.__proto__||Object.getPrototypeOf(T)).call(this,z,F))}return t(T,[{key:"encode",value:function(){for(var z=m("*"),F=0;F<this.data.length;F++)z+=m(this.data[F])+"0";return z+=m("*"),{data:z,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),T}(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 w(E){for(var T=0,z=0;z<E.length;z++)T+=x(E[z]);return T=T%43,T}e.CODE39=c}),so=ge(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 o=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,o,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]}),Ac=ge(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=Wi(),i=r(n),a=so();function r(u){return u&&u.__esModule?u:{default:u}}function o(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){o(this,m);var x=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v.substring(1),g));return x.bytes=v.split("").map(function(w){return w.charCodeAt(0)}),x}return t(m,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var v=this.bytes,g=v.shift()-105,x=a.SET_BY_CODE[g];if(x===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&v.unshift(a.FNC1);var w=m.next(v,1,x);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:m.getBar(g)+w.result+m.getBar((w.checksum+g)%a.MODULO)+m.getBar(a.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var v=this.options.ean128||!1;return typeof v=="string"&&(v=v.toLowerCase()==="true"),v}}],[{key:"getBar",value:function(v){return a.BARS[v]?a.BARS[v].toString():""}},{key:"correctIndex",value:function(v,g){if(g===a.SET_A){var x=v.shift();return x<32?x+64:x-32}else return g===a.SET_B?v.shift()-32:(v.shift()-48)*10+v.shift()-48}},{key:"next",value:function(v,g,x){if(!v.length)return{result:"",checksum:0};var w=void 0,E=void 0;if(v[0]>=200){E=v.shift()-105;var T=a.SWAP[E];T!==void 0?w=m.next(v,g+1,T):((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]),w=m.next(v,g+1,x))}else E=m.correctIndex(v,x),w=m.next(v,g+1,x);var z=m.getBar(E),F=E*g;return{result:z+w.result,checksum:F+w.checksum}}}]),m}(i.default);e.default=d}),o8=ge(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=so(),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]+"Ì"+o(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 o(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+o(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})}}),l8=ge(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Ac(),n=r(t),i=o8(),a=r(i);function r(u){return u&&u.__esModule?u:{default:u}}function o(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(o(this,m),/^[\x00-\x7F\xC8-\xD3]+$/.test(v))var x=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,(0,a.default)(v),g));else var x=l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g));return l(x)}return m}(n.default);e.default=d}),c8=ge(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=Ac(),i=r(n),a=so();function r(u){return u&&u.__esModule?u:{default:u}}function o(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 o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.A_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.A_CHARS+"+$").test(this.data)}}]),m}(i.default);e.default=d}),d8=ge(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=Ac(),i=r(n),a=so();function r(u){return u&&u.__esModule?u:{default:u}}function o(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 o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.B_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.B_CHARS+"+$").test(this.data)}}]),m}(i.default);e.default=d}),u8=ge(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=Ac(),i=r(n),a=so();function r(u){return u&&u.__esModule?u:{default:u}}function o(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 o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,a.C_START_CHAR+v,g))}return t(m,[{key:"valid",value:function(){return new RegExp("^"+a.C_CHARS+"+$").test(this.data)}}]),m}(i.default);e.default=d}),h8=ge(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var t=l8(),n=d(t),i=c8(),a=d(i),r=d8(),o=d(r),l=u8(),c=d(l);function d(u){return u&&u.__esModule?u:{default:u}}e.CODE128=n.default,e.CODE128A=a.default,e.CODE128B=o.default,e.CODE128C=c.default}),oo=ge(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"]}),lo=ge(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=oo(),n=function(i,a,r){var o=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;o=o.map(function(c,d){return d<l?c+r:c})}return o.join("")};e.default=n}),py=ge(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var w=0;w<x.length;w++){var E=x[w];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(g,E.key,E)}}return function(g,x,w){return x&&v(g.prototype,x),w&&v(g,w),g}}(),n=oo(),i=lo(),a=l(i),r=Wi(),o=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,w){c(this,g);var E=d(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,w));return E.fontSize=!w.flat&&w.fontSize>w.width*10?w.width*10:w.fontSize,E.guardHeight=w.height+E.fontSize/2+w.textMargin,E}return t(g,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(x,w){return this.text.substr(x,w)}},{key:"leftEncode",value:function(x,w){return(0,a.default)(x,w)}},{key:"rightText",value:function(x,w){return this.text.substr(x,w)}},{key:"rightEncode",value:function(x,w){return(0,a.default)(x,w)}},{key:"encodeGuarded",value:function(){var x={fontSize:this.fontSize},w={height:this.guardHeight};return[{data:n.SIDE_BIN,options:w},{data:this.leftEncode(),text:this.leftText(),options:x},{data:n.MIDDLE_BIN,options:w},{data:this.rightEncode(),text:this.rightText(),options:x},{data:n.SIDE_BIN,options:w}]}},{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}(o.default);e.default=m}),p8=ge(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var w=0;w<x.length;w++){var E=x[w];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(g,E.key,E)}}return function(g,x,w){return x&&v(g.prototype,x),w&&v(g,w),g}}(),n=function v(g,x,w){g===null&&(g=Function.prototype);var E=Object.getOwnPropertyDescriptor(g,x);if(E===void 0){var T=Object.getPrototypeOf(g);return T===null?void 0:v(T,x,w)}else{if("value"in E)return E.value;var z=E.get;return z===void 0?void 0:z.call(w)}},i=oo(),a=py(),r=o(a);function o(v){return v&&v.__esModule?v:{default:v}}function l(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function 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,w,E){return E%2?x+w*3:x+w},0);return(10-g%10)%10},m=function(v){d(g,v);function g(x,w){l(this,g),x.search(/^[0-9]{12}$/)!==-1&&(x+=u(x));var E=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,w));return E.lastChar=w.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),w=i.EAN13_STRUCTURE[this.data[0]];return n(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"leftEncode",this).call(this,x,w)}},{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}),m8=ge(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function m(v,g){for(var x=0;x<g.length;x++){var w=g[x];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(v,w.key,w)}}return function(v,g,x){return g&&m(v.prototype,g),x&&m(v,x),v}}(),n=function m(v,g,x){v===null&&(v=Function.prototype);var w=Object.getOwnPropertyDescriptor(v,g);if(w===void 0){var E=Object.getPrototypeOf(v);return E===null?void 0:m(E,g,x)}else{if("value"in w)return w.value;var T=w.get;return T===void 0?void 0:T.call(x)}},i=py(),a=r(i);function r(m){return m&&m.__esModule?m:{default:m}}function o(m,v){if(!(m instanceof v))throw new TypeError("Cannot call a class as a function")}function l(m,v){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:m}function 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,w){return w%2?g+x:g+x*3},0);return(10-v%10)%10},u=function(m){c(v,m);function v(g,x){return o(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}),f8=ge(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function g(x,w){for(var E=0;E<w.length;E++){var T=w[E];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(x,T.key,T)}}return function(x,w,E){return w&&g(x.prototype,w),E&&g(x,E),x}}(),n=oo(),i=lo(),a=l(i),r=Wi(),o=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(w){return+w}).reduce(function(w,E,T){return T%2?w+E*9:w+E*3},0);return x%10},v=function(g){u(x,g);function x(w,E){return c(this,x),d(this,(x.__proto__||Object.getPrototypeOf(x)).call(this,w,E))}return t(x,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var w=n.EAN5_STRUCTURE[m(this.data)];return{data:"1011"+(0,a.default)(this.data,w,"01"),text:this.text}}}]),x}(o.default);e.default=v}),g8=ge(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var w=0;w<x.length;w++){var E=x[w];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(g,E.key,E)}}return function(g,x,w){return x&&v(g.prototype,x),w&&v(g,w),g}}(),n=oo(),i=lo(),a=l(i),r=Wi(),o=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,w){return c(this,g),d(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,w))}return t(g,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var x=n.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,a.default)(this.data,x,"01"),text:this.text}}}]),g}(o.default);e.default=m}),my=ge(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function v(g,x){for(var w=0;w<x.length;w++){var E=x[w];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(g,E.key,E)}}return function(g,x,w){return x&&v(g.prototype,x),w&&v(g,w),g}}();e.checksum=m;var n=lo(),i=o(n),a=Wi(),r=o(a);function o(v){return v&&v.__esModule?v:{default:v}}function l(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function 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,w){l(this,g),x.search(/^[0-9]{11}$/)!==-1&&(x+=m(x));var E=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x,w));return E.displayValue=w.displayValue,w.fontSize>w.width*10?E.fontSize=w.width*10:E.fontSize=w.fontSize,E.guardHeight=w.height+E.fontSize/2+w.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}),v8=ge(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function w(E,T){for(var z=0;z<T.length;z++){var F=T[z];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(E,F.key,F)}}return function(E,T,z){return T&&w(E.prototype,T),z&&w(E,z),E}}(),n=lo(),i=l(n),a=Wi(),r=l(a),o=my();function l(w){return w&&w.__esModule?w:{default:w}}function c(w,E){if(!(w instanceof E))throw new TypeError("Cannot call a class as a function")}function d(w,E){if(!w)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E&&(typeof E=="object"||typeof E=="function")?E:w}function u(w,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof E);w.prototype=Object.create(E&&E.prototype,{constructor:{value:w,enumerable:!1,writable:!0,configurable:!0}}),E&&(Object.setPrototypeOf?Object.setPrototypeOf(w,E):w.__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(w){u(E,w);function E(T,z){c(this,E);var F=d(this,(E.__proto__||Object.getPrototypeOf(E)).call(this,T,z));if(F.isValid=!1,T.search(/^[0-9]{6}$/)!==-1)F.middleDigits=T,F.upcA=x(T,"0"),F.text=z.text||""+F.upcA[0]+T+F.upcA[F.upcA.length-1],F.isValid=!0;else if(T.search(/^[01][0-9]{7}$/)!==-1)if(F.middleDigits=T.substring(1,T.length-1),F.upcA=x(F.middleDigits,T[0]),F.upcA[F.upcA.length-1]===T[T.length-1])F.isValid=!0;else return d(F);else return d(F);return F.displayValue=z.displayValue,z.fontSize>z.width*10?F.fontSize=z.width*10:F.fontSize=z.fontSize,F.guardHeight=z.height+F.fontSize/2+z.textMargin,F}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 T="";return T+="101",T+=this.encodeMiddleDigits(),T+="010101",{data:T,text:this.text}}},{key:"guardedEncoding",value:function(){var T=[];return this.displayValue&&T.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),T.push({data:"101",options:{height:this.guardHeight}}),T.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),T.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&T.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),T}},{key:"encodeMiddleDigits",value:function(){var T=this.upcA[0],z=this.upcA[this.upcA.length-1],F=v[parseInt(z)][parseInt(T)];return(0,i.default)(this.middleDigits,F)}}]),E}(r.default);function x(w,E){for(var T=parseInt(w[w.length-1]),z=m[T],F="",qe=0,dt=0;dt<z.length;dt++){var tt=z[dt];tt==="X"?F+=w[qe++]:F+=tt}return F=""+E+F,""+F+(0,o.checksum)(F)}e.default=g}),y8=ge(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var t=p8(),n=g(t),i=m8(),a=g(i),r=f8(),o=g(r),l=g8(),c=g(l),d=my(),u=g(d),m=v8(),v=g(m);function g(x){return x&&x.__esModule?x:{default:x}}e.EAN13=n.default,e.EAN8=a.default,e.EAN5=o.default,e.EAN2=c.default,e.UPC=u.default,e.UPCE=v.default}),b8=ge(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"]}),fy=ge(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=b8(),i=Wi(),a=r(i);function r(u){return u&&u.__esModule?u:{default:u}}function o(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 o(this,m),l(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return t(m,[{key:"valid",value:function(){return this.data.search(/^([0-9]{2})+$/)!==-1}},{key:"encode",value:function(){var v=this,g=this.data.match(/.{2}/g).map(function(x){return v.encodePair(x)}).join("");return{data: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,w){return(x==="1"?"111":"1")+(g[w]==="1"?"000":"0")}).join("")}}]),m}(a.default);e.default=d}),_8=ge(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=fy(),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 o(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)),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===c(this.data)}}]),m}(i.default);e.default=d}),x8=ge(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var t=fy(),n=r(t),i=_8(),a=r(i);function r(o){return o&&o.__esModule?o:{default:o}}e.ITF=n.default,e.ITF14=a.default}),co=ge(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=Wi(),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 o(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),o(this,(m.__proto__||Object.getPrototypeOf(m)).call(this,v,g))}return t(m,[{key:"encode",value:function(){for(var v="110",g=0;g<this.data.length;g++){var x=parseInt(this.data[g]),w=x.toString(2);w=d(w,4-w.length);for(var E=0;E<w.length;E++)v+=w[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}),Tc=ge(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 o=parseInt(i[r]);(r+i.length)%2===0?a+=o:a+=o*2%10+Math.floor(o*2/10)}return(10-a%10)%10}function n(i){for(var a=0,r=[2,3,4,5,6,7],o=0;o<i.length;o++){var l=parseInt(i[i.length-1-o]);a+=r[o%r.length]*l}return(11-a%11)%11}}),w8=ge(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=co(),n=a(t),i=Tc();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 o(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),o(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,m+(0,i.mod10)(m),v))}return u}(n.default);e.default=c}),k8=ge(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=co(),n=a(t),i=Tc();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 o(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),o(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,m+(0,i.mod11)(m),v))}return u}(n.default);e.default=c}),S8=ge(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=co(),n=a(t),i=Tc();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 o(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),o(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,m,v))}return u}(n.default);e.default=c}),E8=ge(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=co(),n=a(t),i=Tc();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 o(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),o(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,m,v))}return u}(n.default);e.default=c}),C8=ge(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var t=co(),n=m(t),i=w8(),a=m(i),r=k8(),o=m(r),l=S8(),c=m(l),d=E8(),u=m(d);function m(v){return v&&v.__esModule?v:{default:v}}e.MSI=n.default,e.MSI10=a.default,e.MSI11=o.default,e.MSI1010=c.default,e.MSI1110=u.default}),D8=ge(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=Wi(),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 o(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=o(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}),I8=ge(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=Wi(),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 o(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=o(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}),A8=ge(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=Wi(),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 o(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),o(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}),T8=ge(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=s8(),n=h8(),i=y8(),a=x8(),r=C8(),o=D8(),l=I8(),c=A8();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:o.pharmacode,codabar:l.codabar,GenericBarcode:c.GenericBarcode}}),Oc=ge(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)}}),O8=ge(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(n){var i=[];function a(r){if(Array.isArray(r))for(var o=0;o<r.length;o++)a(r[o]);else r.text=r.text||"",r.data=r.data||"",i.push(r)}return a(n),i}}),N8=ge(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}}),gy=ge(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}}),vy=ge(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}),R8=ge(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=gy(),n=r(t),i=vy(),a=r(i);function r(l){return l&&l.__esModule?l:{default:l}}function o(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=o}),yy=ge(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var t=Oc(),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 o(u,m,v){for(var g=0;g<u.length;g++){var x=u[g],w=(0,n.default)(m,x.options),E;w.displayValue?E=d(x.text,w,v):E=0;var T=x.data.length*w.width;x.width=Math.ceil(Math.max(E,T)),x.height=a(x,w),x.barcodePadding=r(E,T,w)}}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 w=x.width;return w}e.getMaximumHeightOfEncodings=c,e.getEncodingHeight=a,e.getBarcodePadding=r,e.calculateEncodingAttributes=o,e.getTotalWidthOfEncodings=l}),M8=ge(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=Oc(),i=r(n),a=yy();function r(c){return c&&c.__esModule?c:{default:c}}function o(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}var l=function(){function c(d,u,m){o(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 w=x*d.width+u.barcodePadding;v[x]==="1"?m.fillRect(w,g,d.width,d.height):v[x]&&m.fillRect(w,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}),P8=ge(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=Oc(),i=r(n),a=yy();function r(d){return d&&d.__esModule?d:{default:d}}function o(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){o(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("style","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 w=0,E=0,T=0;T<g.length;T++)E=T*m.width+v.barcodePadding,g[T]==="1"?w++:w>0&&(this.drawRect(E-m.width*w,x,m.width*w,m.height,u),w=0);w>0&&this.drawRect(E-m.width*(w-1),x,m.width*w,m.height,u)}},{key:"drawSVGText",value:function(u,m,v){var g=this.document.createElementNS(l,"text");if(m.displayValue){var x,w;g.setAttribute("style","font:"+m.fontOptions+" "+m.fontSize+"px "+m.font),m.textPosition=="top"?w=m.fontSize-m.textMargin:w=m.height+m.textMargin+m.fontSize,m.textAlign=="left"||v.barcodePadding>0?(x=0,g.setAttribute("text-anchor","start")):m.textAlign=="right"?(x=v.width-1,g.setAttribute("text-anchor","end")):(x=v.width/2,g.setAttribute("text-anchor","middle")),g.setAttribute("x",x),g.setAttribute("y",w),g.appendChild(this.document.createTextNode(v.text)),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"),v.setAttribute("style","transform: translate(0,0)")}},{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("style","fill:"+m.lineColor+";")}},{key:"drawRect",value:function(u,m,v,g,x){var w=this.document.createElementNS(l,"rect");return w.setAttribute("x",u),w.setAttribute("y",m),w.setAttribute("width",v),w.setAttribute("height",g),x.appendChild(w),w}}]),d}();e.default=c}),F8=ge(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(r,o){for(var l=0;l<o.length;l++){var c=o[l];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(r,c.key,c)}}return function(r,o,l){return o&&a(r.prototype,o),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,o,l){n(this,a),this.object=r,this.encodings=o,this.options=l}return t(a,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),a}();e.default=i}),L8=ge(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=M8(),n=l(t),i=P8(),a=l(i),r=F8(),o=l(r);function l(c){return c&&c.__esModule?c:{default:c}}e.default={CanvasRenderer:n.default,SVGRenderer:a.default,ObjectRenderer:o.default}}),by=ge(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),o=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=o}),V8=ge(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=R8(),i=l(n),a=L8(),r=l(a),o=by();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 o.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}),z8=ge(e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function a(r,o){for(var l=0;l<o.length;l++){var c=o[l];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(r,c.key,c)}}return function(r,o,l){return o&&a(r.prototype,o),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 o=r.apply(void 0,arguments);return this.api._options.valid(!0),o}catch(l){return this.handleCatch(l),this.api}}}]),a}();e.default=i}),j8=ge((e,t)=>{var n=T8(),i=F(n),a=Oc(),r=F(a),o=O8(),l=F(o),c=N8(),d=F(c),u=V8(),m=F(u),v=gy(),g=F(v),x=z8(),w=F(x),E=by(),T=vy(),z=F(T);function F(ne){return ne&&ne.__esModule?ne:{default:ne}}var qe=function(){},dt=function(ne,X,Re){var V=new qe;if(typeof ne>"u")throw Error("No element to render on was provided.");return V._renderProperties=(0,m.default)(ne),V._encodings=[],V._options=z.default,V._errorHandler=new w.default(V),typeof X<"u"&&(Re=Re||{},Re.format||(Re.format=At()),V.options(Re)[Re.format](X,Re).render()),V};dt.getModule=function(ne){return i.default[ne]};for(tt in i.default)i.default.hasOwnProperty(tt)&&ei(i.default,tt);var tt;function ei(ne,X){qe.prototype[X]=qe.prototype[X.toUpperCase()]=qe.prototype[X.toLowerCase()]=function(Re,V){var $=this;return $._errorHandler.wrapBarcodeCall(function(){V.text=typeof V.text>"u"?void 0:""+V.text;var te=(0,r.default)($._options,V);te=(0,g.default)(te);var je=ne[X],ut=Kt(Re,je,te);return $._encodings.push(ut),$})}}function Kt(ne,X,Re){ne=""+ne;var V=new X(ne,Re);if(!V.valid())throw new E.InvalidInputException(V.constructor.name,ne);var $=V.encode();$=(0,l.default)($);for(var te=0;te<$.length;te++)$[te].options=(0,r.default)(Re,$[te].options);return $}function At(){return i.default.CODE128?"CODE128":Object.keys(i.default)[0]}qe.prototype.options=function(ne){return this._options=(0,r.default)(this._options,ne),this},qe.prototype.blank=function(ne){var X=new Array(ne+1).join("0");return this._encodings.push({data:X}),this},qe.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var ne;for(var X in this._renderProperties){ne=this._renderProperties[X];var Re=(0,r.default)(this._options,ne.options);Re.format=="auto"&&(Re.format=At()),this._errorHandler.wrapBarcodeCall(function(){var V=Re.value,$=i.default[Re.format.toUpperCase()],te=Kt(V,$,Re);Zt(ne,te,Re)})}}},qe.prototype.render=function(){if(!this._renderProperties)throw new E.NoElementException;if(Array.isArray(this._renderProperties))for(var ne=0;ne<this._renderProperties.length;ne++)Zt(this._renderProperties[ne],this._encodings,this._options);else Zt(this._renderProperties,this._encodings,this._options);return this},qe.prototype._defaults=z.default;function Zt(ne,X,Re){X=(0,l.default)(X);for(var V=0;V<X.length;V++)X[V].options=(0,r.default)(Re,X[V].options),(0,d.default)(X[V].options);(0,d.default)(Re);var $=ne.renderer,te=new $(ne.element,X,Re);te.render(),ne.afterRender&&ne.afterRender()}typeof window<"u"&&(window.JsBarcode=dt),typeof jQuery<"u"&&(jQuery.fn.JsBarcode=function(ne,X){var Re=[];return jQuery(this).each(function(){Re.push(this)}),dt(Re,ne,X)}),t.exports=dt}),B8=ge((e,t)=>{(function(n,i){typeof define=="function"&&define.amd?define([],i):typeof e<"u"?i():(i(),n.FileSaver={})})(e,function(){function n(d,u){return typeof u>"u"?u={autoBom:!1}:typeof u!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),u={autoBom:!u}),u.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(d.type)?new Blob(["\uFEFF",d],{type:d.type}):d}function i(d,u,m){var v=new XMLHttpRequest;v.open("GET",d),v.responseType="blob",v.onload=function(){c(v.response,u,m)},v.onerror=function(){console.error("could not download file")},v.send()}function a(d){var u=new XMLHttpRequest;u.open("HEAD",d,!1);try{u.send()}catch{}return 200<=u.status&&299>=u.status}function r(d){try{d.dispatchEvent(new MouseEvent("click"))}catch{var u=document.createEvent("MouseEvents");u.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),d.dispatchEvent(u)}}var o=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:void 0,l=o.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),c=o.saveAs||(typeof window!="object"||window!==o?function(){}:"download"in HTMLAnchorElement.prototype&&!l?function(d,u,m){var v=o.URL||o.webkitURL,g=document.createElement("a");u=u||d.name||"download",g.download=u,g.rel="noopener",typeof d=="string"?(g.href=d,g.origin===location.origin?r(g):a(g.href)?i(d,u,m):r(g,g.target="_blank")):(g.href=v.createObjectURL(d),setTimeout(function(){v.revokeObjectURL(g.href)},4e4),setTimeout(function(){r(g)},0))}:"msSaveOrOpenBlob"in navigator?function(d,u,m){if(u=u||d.name||"download",typeof d!="string")navigator.msSaveOrOpenBlob(n(d,m),u);else if(a(d))i(d,u,m);else{var v=document.createElement("a");v.href=d,v.target="_blank",setTimeout(function(){r(v)})}}:function(d,u,m,v){if(v=v||open("","_blank"),v&&(v.document.title=v.document.body.innerText="downloading..."),typeof d=="string")return i(d,u,m);var g=d.type==="application/octet-stream",x=/constructor/i.test(o.HTMLElement)||o.safari,w=/CriOS\/[\d]+/.test(navigator.userAgent);if((w||g&&x||l)&&typeof FileReader<"u"){var E=new FileReader;E.onloadend=function(){var F=E.result;F=w?F:F.replace(/^data:[^;]*;/,"data:attachment/file;"),v?v.location.href=F:location=F,v=null},E.readAsDataURL(d)}else{var T=o.URL||o.webkitURL,z=T.createObjectURL(d);v?v.location=z:location.href=z,v=null,setTimeout(function(){T.revokeObjectURL(z)},4e4)}});o.saveAs=c.saveAs=c,typeof t<"u"&&(t.exports=c)})});function _y(e,t){return Object.is(e,t)}var Rt=null,Sl=!1,Xh=1,_i=Symbol("SIGNAL");function ze(e){let t=Rt;return Rt=e,t}function H8(){return Rt}var uo={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 Nc(e){if(Sl)throw new Error("");if(Rt===null)return;Rt.consumerOnSignalRead(e);let t=Rt.nextProducerIndex++;if(Pc(Rt),t<Rt.producerNode.length&&Rt.producerNode[t]!==e&&Ms(Rt)){let n=Rt.producerNode[t];Mc(n,Rt.producerIndexOfThis[t])}Rt.producerNode[t]!==e&&(Rt.producerNode[t]=e,Rt.producerIndexOfThis[t]=Ms(Rt)?Sy(e,Rt,t):0),Rt.producerLastReadVersion[t]=e.version}function $8(){Xh++}function xy(e){if(!(Ms(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Xh)){if(!e.producerMustRecompute(e)&&!Jh(e)){gf(e);return}e.producerRecomputeValue(e),gf(e)}}function wy(e){if(e.liveConsumerNode===void 0)return;let t=Sl;Sl=!0;try{for(let n of e.liveConsumerNode)n.dirty||U8(n)}finally{Sl=t}}function ky(){return(Rt==null?void 0:Rt.consumerAllowSignalWrites)!==!1}function U8(e){var t;e.dirty=!0,wy(e),(t=e.consumerMarkedDirty)==null||t.call(e,e)}function gf(e){e.dirty=!1,e.lastCleanEpoch=Xh}function Hl(e){return e&&(e.nextProducerIndex=0),ze(e)}function Qh(e,t){if(ze(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Ms(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Mc(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Jh(e){Pc(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],i=e.producerLastReadVersion[t];if(i!==n.version||(xy(n),i!==n.version))return!0}return!1}function Rc(e){if(Pc(e),Ms(e))for(let t=0;t<e.producerNode.length;t++)Mc(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 Sy(e,t,n){if(Ey(e),e.liveConsumerNode.length===0&&Cy(e))for(let i=0;i<e.producerNode.length;i++)e.producerIndexOfThis[i]=Sy(e.producerNode[i],e,i);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Mc(e,t){if(Ey(e),e.liveConsumerNode.length===1&&Cy(e))for(let i=0;i<e.producerNode.length;i++)Mc(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];Pc(a),a.producerIndexOfThis[i]=t}}function Ms(e){var t;return e.consumerIsAlwaysLive||(((t=e==null?void 0:e.liveConsumerNode)==null?void 0:t.length)??0)>0}function Pc(e){e.producerNode??(e.producerNode=[]),e.producerIndexOfThis??(e.producerIndexOfThis=[]),e.producerLastReadVersion??(e.producerLastReadVersion=[])}function Ey(e){e.liveConsumerNode??(e.liveConsumerNode=[]),e.liveConsumerIndexOfThis??(e.liveConsumerIndexOfThis=[])}function Cy(e){return e.producerNode!==void 0}function Dy(e,t){let n=Object.create(G8);n.computation=e,t!==void 0&&(n.equal=t);let i=()=>{if(xy(n),Nc(n),n.value===El)throw n.error;return n.value};return i[_i]=n,i}var Md=Symbol("UNSET"),Pd=Symbol("COMPUTING"),El=Symbol("ERRORED"),G8=Qe(Z({},uo),{value:Md,dirty:!0,error:null,equal:_y,kind:"computed",producerMustRecompute(e){return e.value===Md||e.value===Pd},producerRecomputeValue(e){if(e.value===Pd)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Pd;let n=Hl(e),i,a=!1;try{i=e.computation(),ze(null),a=t!==Md&&t!==El&&i!==El&&e.equal(t,i)}catch(r){i=El,e.error=r}finally{Qh(e,n)}if(a){e.value=t;return}e.value=i,e.version++}});function q8(){throw new Error}var Iy=q8;function Ay(e){Iy(e)}function W8(e){Iy=e}function Y8(e,t){let n=Object.create(Ty);n.value=e,t!==void 0&&(n.equal=t);let i=()=>(Nc(n),n.value);return i[_i]=n,i}function Fc(e,t){ky()||Ay(e),e.equal(e.value,t)||(e.value=t,Z8(e))}function K8(e,t){ky()||Ay(e),Fc(e,t(e.value))}var Ty=Qe(Z({},uo),{equal:_y,value:void 0,kind:"signal"});function Z8(e){e.version++,$8(),wy(e)}function X8(e){let t=ze(null);try{return e()}finally{ze(t)}}var Vu;function Cl(){return Vu}function un(e){let t=Vu;return Vu=e,t}var Oy=Symbol("NotFound");function yt(e){return typeof e=="function"}function ep(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 Fd=ep(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 $l(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var ot=class zu{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(yt(i))try{i()}catch(r){t=r instanceof Fd?r.errors:[r]}let{_finalizers:a}=this;if(a){this._finalizers=null;for(let r of a)try{vf(r)}catch(o){t=t??[],o instanceof Fd?t=[...t,...o.errors]:t.push(o)}}if(t)throw new Fd(t)}}add(t){var n;if(t&&t!==this)if(this.closed)vf(t);else{if(t instanceof zu){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)&&$l(n,t)}remove(t){let{_finalizers:n}=this;n&&$l(n,t),t instanceof zu&&t._removeParent(this)}};ot.EMPTY=(()=>{let e=new ot;return e.closed=!0,e})();var Ny=ot.EMPTY;function Ry(e){return e instanceof ot||e&&"closed"in e&&yt(e.remove)&&yt(e.add)&&yt(e.unsubscribe)}function vf(e){yt(e)?e():e.unsubscribe()}var Q8={Promise:void 0},J8={setTimeout(e,t,...n){return setTimeout(e,t,...n)},clearTimeout(e){return clearTimeout(e)},delegate:void 0};function My(e){J8.setTimeout(()=>{throw e})}function ju(){}function Dl(e){e()}var tp=class extends ot{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Ry(e)&&e.add(this)):this.destination=i$}static create(e,t,n){return new Ps(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()}}},e$=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(n){Yo(n)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(n){Yo(n)}else Yo(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){Yo(t)}}},Ps=class extends tp{constructor(e,t,n){super();let i;yt(e)||!e?i={next:e??void 0,error:t??void 0,complete:n??void 0}:i=e,this.destination=new e$(i)}};function Yo(e){My(e)}function t$(e){throw e}var i$={closed:!0,next:ju,error:t$,complete:ju},ip=typeof Symbol=="function"&&Symbol.observable||"@@observable";function sr(e){return e}function a$(e){return e.length===0?sr:e.length===1?e[0]:function(t){return e.reduce((n,i)=>i(n),t)}}var Et=(()=>{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=r$(n)?n:new Ps(n,i,a);return Dl(()=>{let{operator:o,source:l}=this;r.add(o?o.call(r,l):l?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(n){try{return this._subscribe(n)}catch(i){n.error(i)}}forEach(n,i){return i=yf(i),new i((a,r)=>{let o=new Ps({next:l=>{try{n(l)}catch(c){r(c),o.unsubscribe()}},error:r,complete:a});this.subscribe(o)})}_subscribe(n){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(n)}[ip](){return this}pipe(...n){return a$(n)(this)}toPromise(n){return n=yf(n),new n((i,a)=>{let r;this.subscribe(o=>r=o,o=>a(o),()=>i(r))})}}return e.create=t=>new e(t),e})();function yf(e){var t;return(t=e??Q8.Promise)!==null&&t!==void 0?t:Promise}function n$(e){return e&&yt(e.next)&&yt(e.error)&&yt(e.complete)}function r$(e){return e&&e instanceof tp||n$(e)&&Ry(e)}function s$(e){return yt(e==null?void 0:e.lift)}function Ht(e){return t=>{if(s$(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 Mt(e,t,n,i,a){return new o$(e,t,n,i,a)}var o$=class extends tp{constructor(e,t,n,i,a,r){super(e),this.onFinalize=a,this.shouldUnsubscribe=r,this._next=t?function(o){try{t(o)}catch(l){e.error(l)}}:super._next,this._error=i?function(o){try{i(o)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(o){e.error(o)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}},l$=ep(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}),re=(()=>{class e extends Et{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let i=new bf(this,this);return i.operator=n,i}_throwIfClosed(){if(this.closed)throw new l$}next(n){Dl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(n)}})}error(n){Dl(()=>{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(){Dl(()=>{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?Ny:(this.currentObservers=null,r.push(n),new ot(()=>{this.currentObservers=null,$l(r,n)}))}_checkFinalizedStatuses(n){let{hasError:i,thrownError:a,isStopped:r}=this;i?n.error(a):r&&n.complete()}asObservable(){let n=new Et;return n.source=this,n}}return e.create=(t,n)=>new bf(t,n),e})(),bf=class extends re{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:Ny}},Un=class extends re{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)}},ap={now(){return(ap.delegate||Date).now()},delegate:void 0},Lc=class extends re{constructor(e=1/0,t=1/0,n=ap){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(),o=0;for(let l=1;l<n.length&&n[l]<=r;l+=2)o=l;o&&n.splice(0,o+1)}}},c$=class extends ot{constructor(e,t){super()}schedule(e,t=0){return this}},Bu={setInterval(e,t,...n){let{delegate:i}=Bu;return i!=null&&i.setInterval?i.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){return clearInterval(e)},delegate:void 0},d$=class extends c${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 Bu.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&&Bu.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,$l(n,this),e!=null&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}},Hu=class Py{constructor(t,n=Py.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,i){return new this.schedulerActionCtor(this,t).schedule(i,n)}};Hu.now=ap.now;var u$=class extends Hu{constructor(e,t=Hu.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}}},np=new u$(d$),h$=np,rp=new Et(e=>e.complete());function Fy(e){return e&&yt(e.schedule)}function sp(e){return e[e.length-1]}function Ly(e){return yt(sp(e))?e.pop():void 0}function ho(e){return Fy(sp(e))?e.pop():void 0}function p$(e,t){return typeof sp(e)=="number"?e.pop():t}function m$(e,t,n,i){function a(r){return r instanceof n?r:new n(function(o){o(r)})}return new(n||(n=Promise))(function(r,o){function l(u){try{d(i.next(u))}catch(m){o(m)}}function c(u){try{d(i.throw(u))}catch(m){o(m)}}function d(u){u.done?r(u.value):a(u.value).then(l,c)}d((i=i.apply(e,[])).next())})}function _f(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 Dr(e){return this instanceof Dr?(this.v=e,this):new Dr(e)}function f$(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",o),a[Symbol.asyncIterator]=function(){return this},a;function o(g){return function(x){return Promise.resolve(x).then(g,m)}}function l(g,x){i[g]&&(a[g]=function(w){return new Promise(function(E,T){r.push([g,w,E,T])>1||c(g,w)})},x&&(a[g]=x(a[g])))}function c(g,x){try{d(i[g](x))}catch(w){v(r[0][3],w)}}function d(g){g.value instanceof Dr?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 g$(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 _f=="function"?_f(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(o){return new Promise(function(l,c){o=e[r](o),a(l,c,o.done,o.value)})}}function a(r,o,l,c){Promise.resolve(c).then(function(d){r({value:d,done:l})},o)}}var Vy=e=>e&&typeof e.length=="number"&&typeof e!="function";function zy(e){return yt(e==null?void 0:e.then)}function jy(e){return yt(e[ip])}function By(e){return Symbol.asyncIterator&&yt(e==null?void 0:e[Symbol.asyncIterator])}function Hy(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 v$(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var $y=v$();function Uy(e){return yt(e==null?void 0:e[$y])}function Gy(e){return f$(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:n,done:i}=yield Dr(t.read());if(i)return yield Dr(void 0);yield yield Dr(n)}}finally{t.releaseLock()}})}function qy(e){return yt(e==null?void 0:e.getReader)}function wi(e){if(e instanceof Et)return e;if(e!=null){if(jy(e))return y$(e);if(Vy(e))return b$(e);if(zy(e))return _$(e);if(By(e))return Wy(e);if(Uy(e))return x$(e);if(qy(e))return w$(e)}throw Hy(e)}function y$(e){return new Et(t=>{let n=e[ip]();if(yt(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function b$(e){return new Et(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function _$(e){return new Et(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,My)})}function x$(e){return new Et(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Wy(e){return new Et(t=>{k$(e,t).catch(n=>t.error(n))})}function w$(e){return Wy(Gy(e))}function k$(e,t){var n,i,a,r;return m$(this,void 0,void 0,function*(){try{for(n=g$(e);i=yield n.next(),!i.done;){let o=i.value;if(t.next(o),t.closed)return}}catch(o){a={error:o}}finally{try{i&&!i.done&&(r=n.return)&&(yield r.call(n))}finally{if(a)throw a.error}}t.complete()})}function Ka(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 Yy(e,t=0){return Ht((n,i)=>{n.subscribe(Mt(i,a=>Ka(i,e,()=>i.next(a),t),()=>Ka(i,e,()=>i.complete(),t),a=>Ka(i,e,()=>i.error(a),t)))})}function Ky(e,t=0){return Ht((n,i)=>{i.add(e.schedule(()=>n.subscribe(i),t))})}function S$(e,t){return wi(e).pipe(Ky(t),Yy(t))}function E$(e,t){return wi(e).pipe(Ky(t),Yy(t))}function C$(e,t){return new Et(n=>{let i=0;return t.schedule(function(){i===e.length?n.complete():(n.next(e[i++]),n.closed||this.schedule())})})}function D$(e,t){return new Et(n=>{let i;return Ka(n,t,()=>{i=e[$y](),Ka(n,t,()=>{let a,r;try{({value:a,done:r}=i.next())}catch(o){n.error(o);return}r?n.complete():n.next(a)},0,!0)}),()=>yt(i==null?void 0:i.return)&&i.return()})}function Zy(e,t){if(!e)throw new Error("Iterable cannot be null");return new Et(n=>{Ka(n,t,()=>{let i=e[Symbol.asyncIterator]();Ka(n,t,()=>{i.next().then(a=>{a.done?n.complete():n.next(a.value)})},0,!0)})})}function I$(e,t){return Zy(Gy(e),t)}function A$(e,t){if(e!=null){if(jy(e))return S$(e,t);if(Vy(e))return C$(e,t);if(zy(e))return E$(e,t);if(By(e))return Zy(e,t);if(Uy(e))return D$(e,t);if(qy(e))return I$(e,t)}throw Hy(e)}function In(e,t){return t?A$(e,t):wi(e)}function mt(...e){let t=ho(e);return In(e,t)}function Xy(e,t){let n=yt(e)?e:()=>e,i=a=>a.error(n());return new Et(i)}function Is(e){return!!e&&(e instanceof Et||yt(e.lift)&&yt(e.subscribe))}var Qy=ep(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function T$(e){return e instanceof Date&&!isNaN(e)}function vt(e,t){return Ht((n,i)=>{let a=0;n.subscribe(Mt(i,r=>{i.next(e.call(t,r,a++))}))})}var{isArray:O$}=Array;function N$(e,t){return O$(t)?e(...t):e(t)}function Jy(e){return vt(t=>N$(e,t))}var{isArray:R$}=Array,{getPrototypeOf:M$,prototype:P$,keys:F$}=Object;function eb(e){if(e.length===1){let t=e[0];if(R$(t))return{args:t,keys:null};if(L$(t)){let n=F$(t);return{args:n.map(i=>t[i]),keys:n}}}return{args:e,keys:null}}function L$(e){return e&&typeof e=="object"&&M$(e)===P$}function tb(e,t){return e.reduce((n,i,a)=>(n[i]=t[a],n),{})}function V$(...e){let t=ho(e),n=Ly(e),{args:i,keys:a}=eb(e);if(i.length===0)return In([],t);let r=new Et(z$(i,t,a?o=>tb(a,o):sr));return n?r.pipe(Jy(n)):r}function z$(e,t,n=sr){return i=>{xf(t,()=>{let{length:a}=e,r=new Array(a),o=a,l=a;for(let c=0;c<a;c++)xf(t,()=>{let d=In(e[c],t),u=!1;d.subscribe(Mt(i,m=>{r[c]=m,u||(u=!0,l--),l||i.next(n(r.slice()))},()=>{--o||i.complete()}))},i)},i)}}function xf(e,t,n){e?Ka(n,e,t):t()}function j$(e,t,n,i,a,r,o,l){let c=[],d=0,u=0,m=!1,v=()=>{m&&!c.length&&!d&&t.complete()},g=w=>d<i?x(w):c.push(w),x=w=>{d++;let E=!1;wi(n(w,u++)).subscribe(Mt(t,T=>{t.next(T)},()=>{E=!0},void 0,()=>{if(E)try{for(d--;c.length&&d<i;){let T=c.shift();o?Ka(t,o,()=>x(T)):x(T)}v()}catch(T){t.error(T)}}))};return e.subscribe(Mt(t,g,()=>{m=!0,v()})),()=>{}}function Fs(e,t,n=1/0){return yt(t)?Fs((i,a)=>vt((r,o)=>t(i,r,a,o))(wi(e(i,a))),n):(typeof t=="number"&&(n=t),Ht((i,a)=>j$(i,a,e,n)))}function ib(e=1/0){return Fs(sr,e)}function B$(){return ib(1)}function Ls(...e){return B$()(In(e,ho(e)))}function Vs(e){return new Et(t=>{wi(e()).subscribe(t)})}function op(...e){let t=Ly(e),{args:n,keys:i}=eb(e),a=new Et(r=>{let{length:o}=n;if(!o){r.complete();return}let l=new Array(o),c=o,d=o;for(let u=0;u<o;u++){let m=!1;wi(n[u]).subscribe(Mt(r,v=>{m||(m=!0,d--),l[u]=v},()=>c--,void 0,()=>{(!c||!m)&&(d||r.next(i?tb(i,l):l),r.complete())}))}});return t?a.pipe(Jy(t)):a}function H$(e=0,t,n=h$){let i=-1;return t!=null&&(Fy(t)?n=t:i=t),new Et(a=>{let r=T$(e)?+e-n.now():e;r<0&&(r=0);let o=0;return n.schedule(function(){a.closed||(a.next(o++),0<=i?this.schedule(void 0,i):a.complete())},r)})}function $i(...e){let t=ho(e),n=p$(e,1/0),i=e;return i.length?i.length===1?wi(i[0]):ib(n)(In(i,t)):rp}function Qt(e,t){return Ht((n,i)=>{let a=0;n.subscribe(Mt(i,r=>e.call(t,r,a++)&&i.next(r)))})}function $$(e){return Ht((t,n)=>{let i=!1,a=null,r=null,o=!1,l=()=>{if(r==null||r.unsubscribe(),r=null,i){i=!1;let d=a;a=null,n.next(d)}o&&n.complete()},c=()=>{r=null,o&&n.complete()};t.subscribe(Mt(n,d=>{i=!0,a=d,r||wi(e(d)).subscribe(r=Mt(n,l,c))},()=>{o=!0,(!i||!r||r.closed)&&n.complete()}))})}function ab(e,t=np){return $$(()=>H$(e,t))}function Vc(e){return Ht((t,n)=>{let i=null,a=!1,r;i=t.subscribe(Mt(n,void 0,void 0,o=>{r=wi(e(o,Vc(e)(t))),i?(i.unsubscribe(),i=null,r.subscribe(n)):a=!0})),a&&(i.unsubscribe(),i=null,r.subscribe(n))})}function nb(e,t){return yt(t)?Fs(e,t,1):Fs(e,1)}function rb(e,t=np){return Ht((n,i)=>{let a=null,r=null,o=null,l=()=>{if(a){a.unsubscribe(),a=null;let d=r;r=null,i.next(d)}};function c(){let d=o+e,u=t.now();if(u<d){a=this.schedule(void 0,d-u),i.add(a);return}l()}n.subscribe(Mt(i,d=>{r=d,o=t.now(),a||(a=t.schedule(c,e),i.add(a))},()=>{l(),i.complete()},void 0,()=>{r=a=null}))})}function U$(e){return Ht((t,n)=>{let i=!1;t.subscribe(Mt(n,a=>{i=!0,n.next(a)},()=>{i||n.next(e),n.complete()}))})}function fi(e){return e<=0?()=>rp:Ht((t,n)=>{let i=0;t.subscribe(Mt(n,a=>{++i<=e&&(n.next(a),e<=i&&n.complete())}))})}function G$(e,t=sr){return e=e??q$,Ht((n,i)=>{let a,r=!0;n.subscribe(Mt(i,o=>{let l=t(o);(r||!e(a,l))&&(r=!1,a=l,i.next(o))}))})}function q$(e,t){return e===t}function W$(e=Y$){return Ht((t,n)=>{let i=!1;t.subscribe(Mt(n,a=>{i=!0,n.next(a)},()=>i?n.complete():n.error(e())))})}function Y$(){return new Qy}function sb(e){return Ht((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function K$(e,t){let n=arguments.length>=2;return i=>i.pipe(sr,fi(1),n?U$(t):W$(()=>new Qy))}function Z$(){return Ht((e,t)=>{let n,i=!1;e.subscribe(Mt(t,a=>{let r=n;n=a,i&&t.next([r,a]),i=!0}))})}function ob(e={}){let{connector:t=()=>new re,resetOnError:n=!0,resetOnComplete:i=!0,resetOnRefCountZero:a=!0}=e;return r=>{let o,l,c,d=0,u=!1,m=!1,v=()=>{l==null||l.unsubscribe(),l=void 0},g=()=>{v(),o=c=void 0,u=m=!1},x=()=>{let w=o;g(),w==null||w.unsubscribe()};return Ht((w,E)=>{d++,!m&&!u&&v();let T=c=c??t();E.add(()=>{d--,d===0&&!m&&!u&&(l=Ld(x,a))}),T.subscribe(E),!o&&d>0&&(o=new Ps({next:z=>T.next(z),error:z=>{m=!0,v(),l=Ld(g,n,z),T.error(z)},complete:()=>{u=!0,v(),l=Ld(g,i),T.complete()}}),wi(w).subscribe(o))})(r)}}function Ld(e,t,...n){if(t===!0){e();return}if(t===!1)return;let i=new Ps({next:()=>{i.unsubscribe(),e()}});return wi(t(...n)).subscribe(i)}function Ul(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,ob({connector:()=>new Lc(i,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:a})}function lb(e){return Qt((t,n)=>e<=n)}function Ri(...e){let t=ho(e);return Ht((n,i)=>{(t?Ls(e,n,t):Ls(e,n)).subscribe(i)})}function Kn(e,t){return Ht((n,i)=>{let a=null,r=0,o=!1,l=()=>o&&!a&&i.complete();n.subscribe(Mt(i,c=>{a==null||a.unsubscribe();let d=0,u=r++;wi(e(c,u)).subscribe(a=Mt(i,m=>i.next(t?t(c,m,u,d++):m),()=>{a=null,l()}))},()=>{o=!0,l()}))})}function St(e){return Ht((t,n)=>{wi(e).subscribe(Mt(n,()=>n.complete(),ju)),!n.closed&&t.subscribe(n)})}function X$(e,t=!1){return Ht((n,i)=>{let a=0;n.subscribe(Mt(i,r=>{let o=e(r,a++);(o||t)&&i.next(r),!o&&i.complete()}))})}function As(e,t,n){let i=yt(e)||t||n?{next:e,error:t,complete:n}:e;return i?Ht((a,r)=>{var o;(o=i.subscribe)===null||o===void 0||o.call(i);let l=!0;a.subscribe(Mt(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)}))}):sr}var cb="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",W=class extends Error{constructor(t,n){super(db(t,n));s(this,"code");this.code=t}};function Q$(e){return`NG0${Math.abs(e)}`}function db(e,t){return`${Q$(e)}${t?": "+t:""}`}var zc=Symbol("InputSignalNode#UNSET"),ub=Qe(Z({},Ty),{transformFn:void 0,applyValueToInputSignal(e,t){Fc(e,t)}});function hb(e,t){let n=Object.create(ub);n.value=e,n.transformFn=t==null?void 0:t.transform;function i(){if(Nc(n),n.value===zc){let a=null;throw new W(-950,a)}return n.value}return i[_i]=n,i}function po(e){return{toString:e}.toString()}var Ko="__parameters__";function J$(e){return function(...t){}}function pb(e,t,n){return po(()=>{let i=J$();function a(...r){if(this instanceof a)return i.apply(this,r),this;let o=new a(...r);return l.annotation=o,l;function l(c,d,u){let m=c.hasOwnProperty(Ko)?c[Ko]:Object.defineProperty(c,Ko,{value:[]})[Ko];for(;m.length<=u;)m.push(null);return(m[u]=m[u]||[]).push(o),c}}return a.prototype.ngMetadataName=e,a.annotationCls=a,a})}var fn=globalThis;function bt(e){for(let t in e)if(e[t]===bt)return t;throw Error("Could not find renamed property on target object.")}function eU(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ui(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Ui).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 $u(e,t){return e?t?`${e} ${t}`:e:t||""}var tU=bt({__forward_ref__:bt});function Ja(e){return e.__forward_ref__=Ja,e.toString=function(){return Ui(this())},e}function Jt(e){return mb(e)?e():e}function mb(e){return typeof e=="function"&&e.hasOwnProperty(tU)&&e.__forward_ref__===Ja}function G(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function _t(e){return{providers:e.providers||[],imports:e.imports||[]}}function lp(e){return wf(e,fb)||wf(e,gb)}function wf(e,t){return e.hasOwnProperty(t)?e[t]:null}function iU(e){return e&&(e[fb]||e[gb])||null}function kf(e){return e&&(e.hasOwnProperty(Sf)||e.hasOwnProperty(aU))?e[Sf]:null}var fb=bt({ɵprov:bt}),Sf=bt({ɵinj:bt}),gb=bt({ngInjectableDef:bt}),aU=bt({ngInjectorDef:bt}),B=class{constructor(e,t){s(this,"_desc");s(this,"ngMetadataName","InjectionToken");s(this,"ɵprov");this._desc=e,this.ɵprov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.ɵprov=G({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function vb(e){return e&&!!e.ɵproviders}var nU=bt({ɵcmp:bt}),rU=bt({ɵdir:bt}),sU=bt({ɵpipe:bt}),Gl=bt({ɵfac:bt}),Ts=bt({__NG_ELEMENT_ID__:bt}),Ef=bt({__NG_ENV_ID__:bt});function Ni(e){return typeof e=="string"?e:e==null?"":String(e)}function oU(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Ni(e)}function yb(e,t){throw new W(-200,e)}function cp(e,t){throw new W(-201,!1)}var He=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}(He||{}),Uu;function bb(){return Uu}function bi(e){let t=Uu;return Uu=e,t}function _b(e,t,n){let i=lp(e);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(n&He.Optional)return null;if(t!==void 0)return t;cp()}var lU={},Wn=lU,Gu="__NG_DI_FLAG__",xb=class{constructor(e){s(this,"injector");this.injector=e}retrieve(e,t){let n=t;return this.injector.get(e,n.optional?Oy:Wn,n)}},ql="ngTempTokenPath",cU="ngTokenPath",dU=/\n/gm,uU="ɵ",Cf="__source";function hU(e,t=He.Default){if(Cl()===void 0)throw new W(-203,!1);if(Cl()===null)return _b(e,void 0,t);{let n=Cl(),i;return n instanceof xb?i=n.injector:i=n,i.get(e,t&He.Optional?null:void 0,t)}}function me(e,t=He.Default){return(bb()||hU)(Jt(e),t)}function k(e,t=He.Default){return me(e,jc(t))}function jc(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function qu(e){let t=[];for(let n=0;n<e.length;n++){let i=Jt(e[n]);if(Array.isArray(i)){if(i.length===0)throw new W(900,!1);let a,r=He.Default;for(let o=0;o<i.length;o++){let l=i[o],c=pU(l);typeof c=="number"?c===-1?a=l.token:r|=c:a=l}t.push(me(a,r))}else t.push(me(i))}return t}function wb(e,t){return e[Gu]=t,e.prototype[Gu]=t,e}function pU(e){return e[Gu]}function mU(e,t,n,i){let a=e[ql];throw t[Cf]&&a.unshift(t[Cf]),e.message=fU(`
|
|
16
|
+
`+e.message,a,n,i),e[cU]=a,e[ql]=null,e}function fU(e,t,n,i=null){e=e&&e.charAt(0)===`
|
|
17
|
+
`&&e.charAt(1)==uU?e.slice(2):e;let a=Ui(t);if(Array.isArray(t))a=t.map(Ui).join(" -> ");else if(typeof t=="object"){let r=[];for(let o in t)if(t.hasOwnProperty(o)){let l=t[o];r.push(o+":"+(typeof l=="string"?JSON.stringify(l):Ui(l)))}a=`{${r.join(", ")}}`}return`${n}${i?"("+i+")":""}[${a}]: ${e.replace(dU,`
|
|
18
|
+
`)}`}var kb=wb(pb("Optional"),8),Sb=wb(pb("SkipSelf"),4);function Zn(e,t){return e.hasOwnProperty(Gl)?e[Gl]:null}function gU(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 vU(e){return e.flat(Number.POSITIVE_INFINITY)}function dp(e,t){e.forEach(n=>Array.isArray(n)?dp(n,t):t(n))}function Eb(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Wl(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function yU(e,t){let n=[];for(let i=0;i<e;i++)n.push(t);return n}function bU(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 Bc(e,t,n){let i=mo(e,t);return i>=0?e[i|1]=n:(i=~i,bU(e,i,t,n)),i}function Vd(e,t){let n=mo(e,t);if(n>=0)return e[n|1]}function mo(e,t){return _U(e,t,1)}function _U(e,t,n){let i=0,a=e.length>>n;for(;a!==i;){let r=i+(a-i>>1),o=e[r<<n];if(t===o)return r<<n;o>t?a=r:i=r+1}return~(a<<n)}var Ea={},gi=[],Yl=new B(""),Cb=new B("",-1),Db=new B(""),Ib=class{get(e,t=Wn){if(t===Wn){let n=new Error(`NullInjectorError: No provider for ${Ui(e)}!`);throw n.name="NullInjectorError",n}return t}};function Mr(e){return e[nU]||null}function Ab(e){return e[rU]||null}function xU(e){return e[sU]||null}function up(e){return{ɵproviders:e}}function wU(...e){return{ɵproviders:Tb(!0,e),ɵfromNgModule:!0}}function Tb(e,...t){let n=[],i=new Set,a,r=o=>{n.push(o)};return dp(t,o=>{let l=o;Wu(l,r,[],i)&&(a||(a=[]),a.push(l))}),a!==void 0&&Ob(a,r),n}function Ob(e,t){for(let n=0;n<e.length;n++){let{ngModule:i,providers:a}=e[n];hp(a,r=>{t(r,i)})}}function Wu(e,t,n,i){if(e=Jt(e),!e)return!1;let a=null,r=kf(e),o=!r&&Mr(e);if(!r&&!o){let c=e.ngModule;if(r=kf(c),r)a=c;else return!1}else{if(o&&!o.standalone)return!1;a=e}let l=i.has(a);if(o){if(l)return!1;if(i.add(a),o.dependencies){let c=typeof o.dependencies=="function"?o.dependencies():o.dependencies;for(let d of c)Wu(d,t,n,i)}}else if(r){if(r.imports!=null&&!l){i.add(a);let d;try{dp(r.imports,u=>{Wu(u,t,n,i)&&(d||(d=[]),d.push(u))})}finally{}d!==void 0&&Ob(d,t)}if(!l){let d=Zn(a)||(()=>new a);t({provide:a,useFactory:d,deps:gi},a),t({provide:Db,useValue:a,multi:!0},a),t({provide:Yl,useValue:()=>me(a),multi:!0},a)}let c=r.providers;if(c!=null&&!l){let d=e;hp(c,u=>{t(u,d)})}}else return!1;return a!==e&&e.providers!==void 0}function hp(e,t){for(let n of e)vb(n)&&(n=n.ɵproviders),Array.isArray(n)?hp(n,t):t(n)}var kU=bt({provide:String,useValue:bt});function Nb(e){return e!==null&&typeof e=="object"&&kU in e}function SU(e){return!!(e&&e.useExisting)}function EU(e){return!!(e&&e.useFactory)}function Pr(e){return typeof e=="function"}function CU(e){return!!e.useClass}var pp=new B(""),Il={},Df={},zd;function Hc(){return zd===void 0&&(zd=new Ib),zd}var Ca=class{},mp=class extends Ca{constructor(t,n,i,a){super();s(this,"parent");s(this,"source");s(this,"scopes");s(this,"records",new Map);s(this,"_ngOnDestroyHooks",new Set);s(this,"_onDestroyHooks",[]);s(this,"_destroyed",!1);s(this,"injectorDefTypes");this.parent=n,this.source=i,this.scopes=a,Ku(t,o=>this.processProvider(o)),this.records.set(Cb,kr(void 0,this)),a.has("environment")&&this.records.set(Ca,kr(void 0,this));let r=this.records.get(pp);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(Db,gi,He.Self))}get destroyed(){return this._destroyed}retrieve(t,n){let i=n;return this.get(t,i.optional?Oy:Wn,i)}destroy(){xs(this),this._destroyed=!0;let t=ze(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(),ze(t)}}onDestroy(t){return xs(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){xs(this);let n=un(this),i=bi(void 0);try{return t()}finally{un(n),bi(i)}}get(t,n=Wn,i=He.Default){if(xs(this),t.hasOwnProperty(Ef))return t[Ef](this);i=jc(i);let a=un(this),r=bi(void 0);try{if(!(i&He.SkipSelf)){let l=this.records.get(t);if(l===void 0){let c=OU(t)&&lp(t);c&&this.injectableDefInScope(c)?l=kr(Yu(t),Il):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,i)}let o=i&He.Self?Hc():this.parent;return n=i&He.Optional&&n===Wn?null:n,o.get(t,n)}catch(o){if(o.name==="NullInjectorError"){if((o[ql]=o[ql]||[]).unshift(Ui(t)),a)throw o;return mU(o,t,"R3InjectorError",this.source)}else throw o}finally{bi(r),un(a)}}resolveInjectorInitializers(){let t=ze(null),n=un(this),i=bi(void 0);try{let a=this.get(Yl,gi,He.Self);for(let r of a)r()}finally{un(n),bi(i),ze(t)}}toString(){let t=[],n=this.records;for(let i of n.keys())t.push(Ui(i));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Jt(t);let n=Pr(t)?t:Jt(t&&t.provide),i=IU(t);if(!Pr(t)&&t.multi===!0){let a=this.records.get(n);a||(a=kr(void 0,Il,!0),a.factory=()=>qu(a.multi),this.records.set(n,a)),n=t,a.multi.push(t)}this.records.set(n,i)}hydrate(t,n,i){let a=ze(null);try{return n.value===Df?yb(Ui(t)):n.value===Il&&(n.value=Df,n.value=n.factory(void 0,i)),typeof n.value=="object"&&n.value&&TU(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{ze(a)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Jt(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 Yu(e){let t=lp(e),n=t!==null?t.factory:Zn(e);if(n!==null)return n;if(e instanceof B)throw new W(204,!1);if(e instanceof Function)return DU(e);throw new W(204,!1)}function DU(e){if(e.length>0)throw new W(204,!1);let t=iU(e);return t!==null?()=>t.factory(e):()=>new e}function IU(e){if(Nb(e))return kr(void 0,e.useValue);{let t=Rb(e);return kr(t,Il)}}function Rb(e,t,n){let i;if(Pr(e)){let a=Jt(e);return Zn(a)||Yu(a)}else if(Nb(e))i=()=>Jt(e.useValue);else if(EU(e))i=()=>e.useFactory(...qu(e.deps||[]));else if(SU(e))i=(a,r)=>me(Jt(e.useExisting),r!==void 0&&r&He.Optional?He.Optional:void 0);else{let a=Jt(e&&(e.useClass||e.provide));if(AU(e))i=()=>new a(...qu(e.deps));else return Zn(a)||Yu(a)}return i}function xs(e){if(e.destroyed)throw new W(205,!1)}function kr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function AU(e){return!!e.deps}function TU(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function OU(e){return typeof e=="function"||typeof e=="object"&&e instanceof B}function Ku(e,t){for(let n of e)Array.isArray(n)?Ku(n,t):n&&vb(n)?Ku(n.ɵproviders,t):t(n)}function $c(e,t){let n;e instanceof mp?(xs(e),n=e):n=new xb(e);let i=un(n),a=bi(void 0);try{return t()}finally{un(i),bi(a)}}function Mb(){return bb()!==void 0||Cl()!=null}function fo(e){if(!Mb())throw new W(-203,!1)}function NU(e){return typeof e=="function"}var en=0,De=1,_e=2,si=3,ra=4,ki=5,Fr=6,Ir=7,Gt=8,Lr=9,Xa=10,It=11,zs=12,If=13,qr=14,Mi=15,Xn=16,Sr=17,sa=18,Uc=19,Pb=20,_n=21,jd=22,Ga=23,Gi=24,xn=25,jt=26,Fb=1,Qn=7,Kl=8,Vr=9,ri=10;function wn(e){return Array.isArray(e)&&typeof e[Fb]=="object"}function tn(e){return Array.isArray(e)&&e[Fb]===!0}function Lb(e){return(e.flags&4)!==0}function Wr(e){return e.componentOffset>-1}function fp(e){return(e.flags&1)===1}function Da(e){return!!e.template}function Zl(e){return(e[_e]&512)!==0}function Yr(e){return(e[_e]&256)===256}var RU=class{constructor(e,t,n){s(this,"previousValue");s(this,"currentValue");s(this,"firstChange");this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}};function Vb(e,t,n,i){t!==null?t.applyValueToInputSignal(t,i):e[n]=i}var oi=(()=>{let e=()=>zb;return e.ngInherit=!0,e})();function zb(e){return e.type.prototype.ngOnChanges&&(e.setInput=PU),MU}function MU(){let e=Bb(this),t=e==null?void 0:e.current;if(t){let n=e.previous;if(n===Ea)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function PU(e,t,n,i,a){let r=this.declaredInputs[i],o=Bb(e)||FU(e,{previous:Ea,current:null}),l=o.current||(o.current={}),c=o.previous,d=c[r];l[r]=new RU(d&&d.currentValue,n,c===Ea),Vb(e,t,a,n)}var jb="__ngSimpleChanges__";function Bb(e){return e[jb]||null}function FU(e,t){return e[jb]=t}var Jn=function(e,t=null,n){},Hb="svg",LU="math";function Ia(e){for(;Array.isArray(e);)e=e[en];return e}function $b(e,t){return Ia(t[e])}function Na(e,t){return Ia(t[e.index])}function gp(e,t){return e.data[t]}function Gc(e,t){return e[t]}function vp(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}function Aa(e,t){let n=t[e];return wn(n)?n:n[en]}function VU(e){return(e[_e]&4)===4}function yp(e){return(e[_e]&128)===128}function zU(e){return tn(e[si])}function js(e,t){return t==null?null:e[t]}function Ub(e){e[Sr]=0}function bp(e){e[_e]&1024||(e[_e]|=1024,yp(e)&&Kr(e))}function jU(e,t){for(;e>0;)t=t[qr],e--;return t}function go(e){var t;return!!(e[_e]&9216||(t=e[Gi])!=null&&t.dirty)}function Zu(e){var t;(t=e[Xa].changeDetectionScheduler)==null||t.notify(8),e[_e]&64&&(e[_e]|=1024),go(e)&&Kr(e)}function Kr(e){var n;(n=e[Xa].changeDetectionScheduler)==null||n.notify(0);let t=er(e);for(;t!==null&&!(t[_e]&8192||(t[_e]|=8192,!yp(t)));)t=er(t)}function Gb(e,t){if(Yr(e))throw new W(911,!1);e[_n]===null&&(e[_n]=[]),e[_n].push(t)}function BU(e,t){if(e[_n]===null)return;let n=e[_n].indexOf(t);n!==-1&&e[_n].splice(n,1)}function er(e){let t=e[si];return tn(t)?t[si]:t}function _p(e){return e[Ir]??(e[Ir]=[])}function xp(e){return e.cleanup??(e.cleanup=[])}function HU(e,t,n,i){let a=_p(t);a.push(n),e.firstCreatePass&&xp(e).push(i,a.length-1)}var Ne={lFrame:e_(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Xu=!1;function $U(){return Ne.lFrame.elementDepthCount}function UU(){Ne.lFrame.elementDepthCount++}function GU(){Ne.lFrame.elementDepthCount--}function qU(){return Ne.bindingsEnabled}function qb(){return Ne.skipHydrationRootTNode!==null}function WU(e){return Ne.skipHydrationRootTNode===e}function YU(){Ne.skipHydrationRootTNode=null}function fe(){return Ne.lFrame.lView}function Ct(){return Ne.lFrame.tView}function ve(e){return Ne.lFrame.contextLView=e,e[Gt]}function ye(e){return Ne.lFrame.contextLView=null,e}function yi(){let e=Wb();for(;e!==null&&e.type===64;)e=e.parent;return e}function Wb(){return Ne.lFrame.currentTNode}function KU(){let e=Ne.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Zr(e,t){let n=Ne.lFrame;n.currentTNode=e,n.isParent=t}function Yb(){return Ne.lFrame.isParent}function Kb(){Ne.lFrame.isParent=!1}function Zb(){return Ne.lFrame.contextLView}function Xb(){return Xu}function Xl(e){let t=Xu;return Xu=e,t}function Xr(){let e=Ne.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function wp(){return Ne.lFrame.bindingIndex}function ZU(e){return Ne.lFrame.bindingIndex=e}function or(){return Ne.lFrame.bindingIndex++}function vo(e){let t=Ne.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function XU(){return Ne.lFrame.inI18n}function QU(e,t){let n=Ne.lFrame;n.bindingIndex=n.bindingRootIndex=e,Qu(t)}function JU(){return Ne.lFrame.currentDirectiveIndex}function Qu(e){Ne.lFrame.currentDirectiveIndex=e}function eG(e){let t=Ne.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function kp(){return Ne.lFrame.currentQueryIndex}function qc(e){Ne.lFrame.currentQueryIndex=e}function tG(e){let t=e[De];return t.type===2?t.declTNode:t.type===1?e[ki]:null}function Qb(e,t,n){if(n&He.SkipSelf){let a=t,r=e;for(;(a=a.parent,a===null&&!(n&He.Host))&&(a=tG(r),!(a===null||(r=r[qr],a.type&10))););if(a===null)return!1;t=a,e=r}let i=Ne.lFrame=Jb();return i.currentTNode=t,i.lView=e,!0}function Sp(e){let t=Jb(),n=e[De];Ne.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Jb(){let e=Ne.lFrame,t=e===null?null:e.child;return t===null?e_(e):t}function e_(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 t_(){let e=Ne.lFrame;return Ne.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var i_=t_;function Ep(){let e=t_();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 iG(e){return(Ne.lFrame.contextLView=jU(e,Ne.lFrame.contextLView))[Gt]}function Yi(){return Ne.lFrame.selectedIndex}function tr(e){Ne.lFrame.selectedIndex=e}function yo(){let e=Ne.lFrame;return gp(e.tView,e.selectedIndex)}function Za(){Ne.lFrame.currentNamespace=Hb}function Ju(){aG()}function aG(){Ne.lFrame.currentNamespace=null}function nG(){return Ne.lFrame.currentNamespace}var a_=!0;function Cp(){return a_}function Dp(e){a_=e}function rG(e,t,n){let{ngOnChanges:i,ngOnInit:a,ngDoCheck:r}=t.type.prototype;if(i){let o=zb(t);(n.preOrderHooks??(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,o)}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 n_(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){let a=e.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:o,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=a;r&&(e.contentHooks??(e.contentHooks=[])).push(-n,r),o&&((e.contentHooks??(e.contentHooks=[])).push(n,o),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(n,o)),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 Al(e,t,n){r_(e,t,3,n)}function Tl(e,t,n,i){(e[_e]&3)===n&&r_(e,t,n,i)}function Bd(e,t){let n=e[_e];(n&3)===t&&(n&=16383,n+=1,e[_e]=n)}function r_(e,t,n,i){let a=i!==void 0?e[Sr]&65535:0,r=i??-1,o=t.length-1,l=0;for(let c=a;c<o;c++)if(typeof t[c+1]=="number"){if(l=t[c],i!=null&&l>=i)break}else t[c]<0&&(e[Sr]+=65536),(l<r||r==-1)&&(sG(e,n,t,c),e[Sr]=(e[Sr]&4294901760)+c+2),c++}function Af(e,t){let n=ze(null);try{t.call(e)}finally{ze(n)}}function sG(e,t,n,i){let a=n[i]<0,r=n[i+1],o=a?-n[i]:n[i],l=e[o];a?e[_e]>>14<e[Sr]>>16&&(e[_e]&3)===t&&(e[_e]+=16384,Af(l,r)):Af(l,r)}var Ar=-1,bo=class{constructor(e,t,n){s(this,"factory");s(this,"injectImpl");s(this,"resolving",!1);s(this,"canSeeViewProviders");s(this,"multi");s(this,"componentProviders");s(this,"index");s(this,"providerFactory");this.factory=e,this.canSeeViewProviders=t,this.injectImpl=n}};function oG(e){return(e.flags&8)!==0}function lG(e){return(e.flags&16)!==0}function cG(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++],o=n[i++],l=n[i++];e.setAttribute(t,o,l,r)}else{let r=a,o=n[++i];dG(r)?e.setProperty(t,r,o):e.setAttribute(t,r,o),i++}}return i}function s_(e){return e===3||e===4||e===6}function dG(e){return e.charCodeAt(0)===64}function Bs(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?Tf(e,n,a,null,t[++i]):Tf(e,n,a,null,null))}}return e}function Tf(e,t,n,i,a){let r=0,o=e.length;if(t===-1)o=-1;else for(;r<e.length;){let l=e[r++];if(typeof l=="number"){if(l===t){o=-1;break}else if(l>t){o=r-1;break}}}for(;r<e.length;){let l=e[r];if(typeof l=="number")break;if(l===n){a!==null&&(e[r+1]=a);return}r++,a!==null&&r++}o!==-1&&(e.splice(o,0,t),r=o+1),e.splice(r++,0,n),a!==null&&e.splice(r++,0,a)}function o_(e){return e!==Ar}function Ql(e){return e&32767}function uG(e){return e>>16}function Jl(e,t){let n=uG(e),i=t;for(;n>0;)i=i[qr],n--;return i}var eh=!0;function ec(e){let t=eh;return eh=e,t}var hG=256,l_=hG-1,c_=5,pG=0,ba={};function mG(e,t,n){let i;typeof n=="string"?i=n.charCodeAt(0)||0:n.hasOwnProperty(Ts)&&(i=n[Ts]),i==null&&(i=n[Ts]=pG++);let a=i&l_,r=1<<a;t.data[e+(a>>c_)]|=r}function tc(e,t){let n=d_(e,t);if(n!==-1)return n;let i=t[De];i.firstCreatePass&&(e.injectorIndex=t.length,Hd(i.data,e),Hd(t,null),Hd(i.blueprint,null));let a=Ip(e,t),r=e.injectorIndex;if(o_(a)){let o=Ql(a),l=Jl(a,t),c=l[De].data;for(let d=0;d<8;d++)t[r+d]=l[o+d]|c[o+d]}return t[r+8]=a,r}function Hd(e,t){e.push(0,0,0,0,0,0,0,0,t)}function d_(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ip(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=f_(a),i===null)return Ar;if(n++,a=a[qr],i.injectorIndex!==-1)return i.injectorIndex|n<<16}return Ar}function th(e,t,n){mG(e,t,n)}function fG(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(s_(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 u_(e,t,n){if(n&He.Optional||e!==void 0)return e;cp()}function h_(e,t,n,i){if(n&He.Optional&&i===void 0&&(i=null),(n&(He.Self|He.Host))===0){let a=e[Lr],r=bi(void 0);try{return a?a.get(t,i,n&He.Optional):_b(t,i,n&He.Optional)}finally{bi(r)}}return u_(i,t,n)}function p_(e,t,n,i=He.Default,a){if(e!==null){if(t[_e]&2048&&!(i&He.Self)){let o=bG(e,t,n,i,ba);if(o!==ba)return o}let r=m_(e,t,n,i,ba);if(r!==ba)return r}return h_(t,n,i,a)}function m_(e,t,n,i,a){let r=vG(n);if(typeof r=="function"){if(!Qb(t,e,i))return i&He.Host?u_(a,n,i):h_(t,n,i,a);try{let o;if(o=r(i),o==null&&!(i&He.Optional))cp(n);else return o}finally{i_()}}else if(typeof r=="number"){let o=null,l=d_(e,t),c=Ar,d=i&He.Host?t[Mi][ki]:null;for((l===-1||i&He.SkipSelf)&&(c=l===-1?Ip(e,t):t[l+8],c===Ar||!Nf(i,!1)?l=-1:(o=t[De],l=Ql(c),t=Jl(c,t)));l!==-1;){let u=t[De];if(Of(r,l,u.data)){let m=gG(l,t,n,o,i,d);if(m!==ba)return m}c=t[l+8],c!==Ar&&Nf(i,t[De].data[l+8]===d)&&Of(r,l,t)?(o=u,l=Ql(c),t=Jl(c,t)):l=-1}}return a}function gG(e,t,n,i,a,r){let o=t[De],l=o.data[e+8],c=i==null?Wr(l)&&eh:i!=o&&(l.type&3)!==0,d=a&He.Host&&r===l,u=Ol(l,o,n,c,d);return u!==null?Hs(t,o,u,l,a):ba}function Ol(e,t,n,i,a){let r=e.providerIndexes,o=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=o[g];if(g<c&&n===x||g>=c&&x.type===n)return g}if(a){let g=o[c];if(g&&Da(g)&&g.type===n)return c}return null}function Hs(e,t,n,i,a){let r=e[n],o=t.data;if(r instanceof bo){let l=r;l.resolving&&yb(oU(o[n]));let c=ec(l.canSeeViewProviders);l.resolving=!0;let d=l.injectImpl?bi(l.injectImpl):null;Qb(e,i,He.Default);try{r=e[n]=l.factory(void 0,a,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&rG(n,o[n],t)}finally{d!==null&&bi(d),ec(c),l.resolving=!1,i_()}}return r}function vG(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Ts)?e[Ts]:void 0;return typeof t=="number"?t>=0?t&l_:yG:t}function Of(e,t,n){let i=1<<e;return!!(n[t+(e>>c_)]&i)}function Nf(e,t){return!(e&He.Self)&&!(e&He.Host&&t)}var Os=class{constructor(e,t){s(this,"_tNode");s(this,"_lView");this._tNode=e,this._lView=t}get(e,t,n){return p_(this._tNode,this._lView,e,jc(n),t)}};function yG(){return new Os(yi(),fe())}function li(e){return po(()=>{let t=e.prototype.constructor,n=t[Gl]||ih(t),i=Object.prototype,a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==i;){let r=a[Gl]||ih(a);if(r&&r!==n)return r;a=Object.getPrototypeOf(a)}return r=>new r})}function ih(e){return mb(e)?()=>{let t=ih(Jt(e));return t&&t()}:Zn(e)}function bG(e,t,n,i,a){let r=e,o=t;for(;r!==null&&o!==null&&o[_e]&2048&&!Zl(o);){let l=m_(r,o,n,i|He.Self,ba);if(l!==ba)return l;let c=r.parent;if(!c){let d=o[Pb];if(d){let u=d.get(n,ba,i);if(u!==ba)return u}c=f_(o),o=o[qr]}r=c}return a}function f_(e){let t=e[De],n=t.type;return n===2?t.declTNode:n===1?e[ki]:null}function _G(e){return fG(yi(),e)}function Rf(e,t=null,n=null,i){let a=xG(e,t,n,i);return a.resolveInjectorInitializers(),a}function xG(e,t=null,n=null,i,a=new Set){let r=[n||gi,wU(e)];return i=i||(typeof e=="object"?void 0:Ui(e)),new mp(r,t||Hc(),i||null,a)}var fa,lt=(fa=class{static create(t,n){if(Array.isArray(t))return Rf({name:""},n,t,"");{let i=t.name??"";return Rf({name:i},t.parent,t.providers,i)}}},s(fa,"THROW_IF_NOT_FOUND",Wn),s(fa,"NULL",new Ib),s(fa,"ɵprov",G({token:fa,providedIn:"any",factory:()=>me(Cb)})),s(fa,"__NG_ELEMENT_ID__",-1),fa),Ap=class{constructor(e){s(this,"attributeName");s(this,"__NG_ELEMENT_ID__",()=>_G(this.attributeName));this.attributeName=e}toString(){return`HostAttributeToken ${this.attributeName}`}},wG=new B("");wG.__NG_ELEMENT_ID__=e=>{let t=yi();if(t===null)throw new W(204,!1);if(t.type&2)return t.value;if(e&He.Optional)return null;throw new W(204,!1)};var g_=!1,Pi=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",kG),s(e,"__NG_ENV_ID__",n=>n),e})(),v_=class extends Pi{constructor(t){super();s(this,"_lView");this._lView=t}onDestroy(t){let n=this._lView;return Yr(n)?(t(),()=>{}):(Gb(n,t),()=>BU(n,t))}};function kG(){return new v_(fe())}var Qr=class{},y_=new B("",{providedIn:"root",factory:()=>!1}),b_=new B(""),__=new B(""),_o=(()=>{const t=class t{constructor(){s(this,"taskId",0);s(this,"pendingTasks",new Set);s(this,"hasPendingTasks",new Un(!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)}};s(t,"ɵprov",G({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),SG=class extends re{constructor(t=!1){super();s(this,"__isAsync");s(this,"destroyRef");s(this,"pendingTasks");this.__isAsync=t,Mb()&&(this.destroyRef=k(Pi,{optional:!0})??void 0,this.pendingTasks=k(_o,{optional:!0})??void 0)}emit(t){let n=ze(null);try{super.next(t)}finally{ze(n)}}subscribe(t,n,i){var c,d,u;let a=t,r=n||(()=>null),o=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),o=(u=m.complete)==null?void 0:u.bind(m)}this.__isAsync&&(r=this.wrapInTimeout(r),a&&(a=this.wrapInTimeout(a)),o&&(o=this.wrapInTimeout(o)));let l=super.subscribe({next:a,error:r,complete:o});return t instanceof ot&&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))}})}}},se=SG;function $s(...e){}function x_(e){let t,n;function i(){e=$s;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 Mf(e){return queueMicrotask(()=>e()),()=>{e=$s}}var Tp="isAngularZone",ic=Tp+"_ID",EG=0,Ie=class ah{constructor(t){s(this,"hasPendingMacrotasks",!1);s(this,"hasPendingMicrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new se(!1));s(this,"onMicrotaskEmpty",new se(!1));s(this,"onStable",new se(!1));s(this,"onError",new se(!1));let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:a=!1,scheduleInRootZone:r=g_}=t;if(typeof Zone>"u")throw new W(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!a&&i,o.shouldCoalesceRunChangeDetection=a,o.callbackScheduled=!1,o.scheduleInRootZone=r,IG(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Tp)===!0}static assertInAngularZone(){if(!ah.isInAngularZone())throw new W(909,!1)}static assertNotInAngularZone(){if(ah.isInAngularZone())throw new W(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,a){let r=this._inner,o=r.scheduleEventTask("NgZoneEvent: "+a,t,CG,$s,$s);try{return r.runTask(o,n,i)}finally{r.cancelTask(o)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}},CG={};function Op(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 DG(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){x_(()=>{e.callbackScheduled=!1,nh(e),e.isCheckStableRunning=!0,Op(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),nh(e)}function IG(e){let t=()=>{DG(e)},n=EG++;e._inner=e._inner.fork({name:"angular",properties:{[Tp]:!0,[ic]:n,[ic+n]:!0},onInvokeTask:(i,a,r,o,l,c)=>{if(TG(c))return i.invokeTask(r,o,l,c);try{return Pf(e),i.invokeTask(r,o,l,c)}finally{(e.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Ff(e)}},onInvoke:(i,a,r,o,l,c,d)=>{try{return Pf(e),i.invoke(r,o,l,c,d)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!OG(c)&&t(),Ff(e)}},onHasTask:(i,a,r,o)=>{i.hasTask(r,o),a===r&&(o.change=="microTask"?(e._hasPendingMicrotasks=o.microTask,nh(e),Op(e)):o.change=="macroTask"&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(i,a,r,o)=>(i.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}function nh(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Pf(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ff(e){e._nesting--,Op(e)}var AG=class{constructor(){s(this,"hasPendingMicrotasks",!1);s(this,"hasPendingMacrotasks",!1);s(this,"isStable",!0);s(this,"onUnstable",new se);s(this,"onMicrotaskEmpty",new se);s(this,"onStable",new se);s(this,"onError",new se)}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 TG(e){return w_(e,"__ignore_ng_zone__")}function OG(e){return w_(e,"__scheduler_tick__")}function w_(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 oa=class{constructor(){s(this,"_console",console)}handleError(e){this._console.error("ERROR",e)}},NG=new B("",{providedIn:"root",factory:()=>{let e=k(Ie),t=k(oa);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),RG=class{constructor(){s(this,"destroyed",!1);s(this,"listeners",null);s(this,"errorHandler",k(oa,{optional:!0}));s(this,"destroyRef",k(Pi));this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new W(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(db(953,!1));return}if(this.listeners===null)return;let t=ze(null);try{for(let i of this.listeners)try{i(e)}catch(a){(n=this.errorHandler)==null||n.handleError(a)}}finally{ze(t)}}};function Lf(e,t){return hb(e,t)}function MG(e){return hb(zc,e)}var ga=(Lf.required=MG,Lf);function PG(){return Jr(yi(),fe())}function Jr(e,t){return new Pe(Na(e,t))}var Pe=(()=>{class e{constructor(n){s(this,"nativeElement");this.nativeElement=n}}return s(e,"__NG_ELEMENT_ID__",PG),e})();function k_(e){return e instanceof Pe?e.nativeElement:e}function Us(e){return typeof e=="function"&&e[_i]!==void 0}function xa(e,t){let n=Y8(e,t==null?void 0:t.equal),i=n[_i];return n.set=a=>Fc(i,a),n.update=a=>K8(i,a),n.asReadonly=S_.bind(n),n}function S_(){let e=this[_i];if(e.readonlyFn===void 0){let t=()=>this();t[_i]=e,e.readonlyFn=t}return e.readonlyFn}function E_(e){return Us(e)&&typeof e.set=="function"}function FG(){return this._results[Symbol.iterator]()}var dy,ac=(dy=Symbol.iterator,class{constructor(e=!1){s(this,"_emitDistinctChangesOnly");s(this,"dirty",!0);s(this,"_onDirty");s(this,"_results",[]);s(this,"_changesDetected",!1);s(this,"_changes");s(this,"length",0);s(this,"first");s(this,"last");s(this,dy,FG);this._emitDistinctChangesOnly=e}get changes(){return this._changes??(this._changes=new re)}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=vU(e);(this._changesDetected=!gU(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 C_(e){return(e.flags&128)===128}var D_=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(D_||{}),I_=new Map,LG=0;function VG(){return LG++}function zG(e){I_.set(e[Uc],e)}function rh(e){I_.delete(e[Uc])}var Vf="__ngContext__";function xo(e,t){wn(t)?(e[Vf]=t[Uc],zG(t)):e[Vf]=t}function A_(e){return O_(e[zs])}function T_(e){return O_(e[ra])}function O_(e){for(;e!==null&&!tn(e);)e=e[ra];return e}var sh;function jG(e){sh=e}function N_(){if(sh!==void 0)return sh;if(typeof document<"u")return document;throw new W(210,!1)}var Wc=new B("",{providedIn:"root",factory:()=>BG}),BG="ng",R_=new B(""),Yc=new B("",{providedIn:"platform",factory:()=>"unknown"}),Li=new B(""),Np=new B("",{providedIn:"root",factory:()=>{var e,t;return((t=(e=N_().body)==null?void 0:e.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}}),M_=!1,HG=new B("",{providedIn:"root",factory:()=>M_}),Rp=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Rp||{}),wo=new B(""),zf=new Set;function lr(e){var t;zf.has(e)||(zf.add(e),(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}}))}var Mp=(()=>{class e{constructor(n,i){s(this,"view");s(this,"node");this.view=n,this.node=i}}return s(e,"__NG_ELEMENT_ID__",$G),e})();function $G(){return new Mp(fe(),yi())}var Er=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Er||{}),P_=(()=>{const t=class t{constructor(){s(this,"impl",null)}execute(){var i;(i=this.impl)==null||i.execute()}};s(t,"ɵprov",G({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),UG=[Er.EarlyRead,Er.Write,Er.MixedReadWrite,Er.Read],GG=(()=>{const t=class t{constructor(){s(this,"ngZone",k(Ie));s(this,"scheduler",k(Qr));s(this,"errorHandler",k(oa,{optional:!0}));s(this,"sequences",new Set);s(this,"deferredRegistrations",new Set);s(this,"executing",!1);k(wo,{optional:!0})}execute(){var i;this.sequences.size>0,this.executing=!0;for(let a of UG)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[a]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=r.hooks[a];return o(r.pipelinedValue)},r.snapshot))}catch(o){r.erroredOrDestroyed=!0,(i=this.errorHandler)==null||i.handleError(o)}this.executing=!1;for(let a of this.sequences)a.afterRun(),a.once&&(this.sequences.delete(a),a.destroy());for(let a of this.deferredRegistrations)this.sequences.add(a);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(i){let{view:a}=i;a!==void 0?((a[xn]??(a[xn]=[])).push(i),Kr(a),a[_e]|=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(Rp.AFTER_NEXT_RENDER,i):i()}};s(t,"ɵprov",G({token:t,providedIn:"root",factory:()=>new t}));let e=t;return e})(),qG=class{constructor(e,t,n,i,a,r=null){s(this,"impl");s(this,"hooks");s(this,"view");s(this,"once");s(this,"snapshot");s(this,"erroredOrDestroyed",!1);s(this,"pipelinedValue");s(this,"unregisterOnDestroy");this.impl=e,this.hooks=t,this.view=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[xn];e&&(this.view[xn]=e.filter(i=>i!==this))}};function Pp(e,t){!(t!=null&&t.injector)&&fo();let n=(t==null?void 0:t.injector)??k(lt);return lr("NgAfterRender"),F_(e,n,t,!1)}function ir(e,t){!(t!=null&&t.injector)&&fo();let n=(t==null?void 0:t.injector)??k(lt);return lr("NgAfterNextRender"),F_(e,n,t,!0)}function WG(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 F_(e,t,n,i){let a=t.get(P_);a.impl??(a.impl=t.get(GG));let r=t.get(wo,null,{optional:!0}),o=(n==null?void 0:n.phase)??Er.MixedReadWrite,l=(n==null?void 0:n.manualCleanup)!==!0?t.get(Pi):null,c=t.get(Mp,null,{optional:!0}),d=new qG(a.impl,WG(e,o),c==null?void 0:c.view,i,l,r==null?void 0:r.snapshot(null));return a.impl.register(d),d}var YG=()=>null;function L_(e,t,n=!1){return YG()}function V_(e,t){let n=e.contentQueries;if(n!==null){let i=ze(null);try{for(let a=0;a<n.length;a+=2){let r=n[a],o=n[a+1];if(o!==-1){let l=e.data[o];qc(r),l.contentQueries(2,t[o],o)}}}finally{ze(i)}}}function oh(e,t,n){qc(0);let i=ze(null);try{t(e,n)}finally{ze(i)}}function z_(e,t,n){if(Lb(t)){let i=ze(null);try{let a=t.directiveStart,r=t.directiveEnd;for(let o=a;o<r;o++){let l=e.data[o];if(l.contentQueries){let c=n[o];l.contentQueries(1,c,o)}}}finally{ze(i)}}}var qa=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(qa||{}),Zo;function KG(){if(Zo===void 0&&(Zo=null,fn.trustedTypes))try{Zo=fn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Zo}function Kc(e){var t;return((t=KG())==null?void 0:t.createHTML(e))||e}var Xo;function ZG(){if(Xo===void 0&&(Xo=null,fn.trustedTypes))try{Xo=fn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Xo}function jf(e){var t;return((t=ZG())==null?void 0:t.createHTML(e))||e}var cr=class{constructor(e){s(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${cb})`}},XG=class extends cr{getTypeName(){return"HTML"}},QG=class extends cr{getTypeName(){return"Style"}},JG=class extends cr{getTypeName(){return"Script"}},eq=class extends cr{getTypeName(){return"URL"}},tq=class extends cr{getTypeName(){return"ResourceURL"}};function hn(e){return e instanceof cr?e.changingThisBreaksApplicationSecurity:e}function _r(e,t){let n=iq(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${cb})`)}return n===t}function iq(e){return e instanceof cr&&e.getTypeName()||null}function aq(e){return new XG(e)}function nq(e){return new QG(e)}function rq(e){return new JG(e)}function sq(e){return new eq(e)}function oq(e){return new tq(e)}function lq(e){let t=new dq(e);return uq()?new cq(t):t}var cq=class{constructor(e){s(this,"inertDocumentHelper");this.inertDocumentHelper=e}getInertBodyElement(e){var t;e="<body><remove></remove>"+e;try{let n=new window.DOMParser().parseFromString(Kc(e),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(e):((t=n.firstChild)==null||t.remove(),n)}catch{return null}}},dq=class{constructor(e){s(this,"defaultDoc");s(this,"inertDocument");this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let t=this.inertDocument.createElement("template");return t.innerHTML=Kc(e),t}};function uq(){try{return!!new window.DOMParser().parseFromString(Kc(""),"text/html")}catch{return!1}}var hq=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function j_(e){return e=String(e),e.match(hq)?e:"unsafe:"+e}function an(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function ko(...e){let t={};for(let n of e)for(let i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}var B_=an("area,br,col,hr,img,wbr"),H_=an("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),$_=an("rp,rt"),pq=ko($_,H_),mq=ko(H_,an("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")),fq=ko($_,an("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")),Bf=ko(B_,mq,fq,pq),U_=an("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),gq=an("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"),vq=an("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"),yq=ko(U_,gq,vq),bq=an("script,style,template"),_q=class{constructor(){s(this,"sanitizedSomething",!1);s(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=kq(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let a=wq(t);if(a){t=a;break}t=i.pop()}}return this.buf.join("")}startElement(e){let t=Hf(e).toLowerCase();if(!Bf.hasOwnProperty(t))return this.sanitizedSomething=!0,!bq.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,o=r.toLowerCase();if(!yq.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let l=a.value;U_[o]&&(l=j_(l)),this.buf.push(" ",r,'="',$f(l),'"')}return this.buf.push(">"),!0}endElement(e){let t=Hf(e).toLowerCase();Bf.hasOwnProperty(t)&&!B_.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push($f(e))}};function xq(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function wq(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw G_(t);return t}function kq(e){let t=e.firstChild;if(t&&xq(e,t))throw G_(t);return t}function Hf(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function G_(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Sq=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Eq=/([^\#-~ |!])/g;function $f(e){return e.replace(/&/g,"&").replace(Sq,function(t){let n=t.charCodeAt(0),i=t.charCodeAt(1);return"&#"+((n-55296)*1024+(i-56320)+65536)+";"}).replace(Eq,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Qo;function q_(e,t){let n=null;try{Qo=Qo||lq(e);let i=t?String(t):"";n=Qo.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=Qo.getInertBodyElement(i)}while(i!==r);let o=new _q().sanitizeChildren(Uf(n)||n);return Kc(o)}finally{if(n){let i=Uf(n)||n;for(;i.firstChild;)i.firstChild.remove()}}}function Uf(e){return"content"in e&&Cq(e)?e.content:null}function Cq(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Ti=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}(Ti||{});function Dq(e){let t=Iq();return t?jf(t.sanitize(Ti.HTML,e)||""):_r(e,"HTML")?jf(hn(e)):q_(N_(),Ni(e))}function Iq(){let e=fe();return e&&e[Xa].sanitizer}function Aq(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 W_="ng-template";function Tq(e,t,n,i){let a=0;if(i){for(;a<t.length&&typeof t[a]=="string";a+=2)if(t[a]==="class"&&Aq(t[a+1].toLowerCase(),n,0)!==-1)return!0}else if(Fp(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 Fp(e){return e.type===4&&e.value!==W_}function Oq(e,t,n){let i=e.type===4&&!n?W_:e.value;return t===i}function Nq(e,t,n){let i=4,a=e.attrs,r=a!==null?Pq(a):0,o=!1;for(let l=0;l<t.length;l++){let c=t[l];if(typeof c=="number"){if(!o&&!ea(i)&&!ea(c))return!1;if(o&&ea(c))continue;o=!1,i=c|i&1;continue}if(!o)if(i&4){if(i=2|i&1,c!==""&&!Oq(e,c,n)||c===""&&t.length===1){if(ea(i))return!1;o=!0}}else if(i&8){if(a===null||!Tq(e,a,c,n)){if(ea(i))return!1;o=!0}}else{let d=t[++l],u=Rq(c,a,Fp(e),n);if(u===-1){if(ea(i))return!1;o=!0;continue}if(d!==""){let m;if(u>r?m="":m=a[u+1].toLowerCase(),i&2&&d!==m){if(ea(i))return!1;o=!0}}}}return ea(i)||o}function ea(e){return(e&1)===0}function Rq(e,t,n,i){if(t===null)return-1;let a=0;if(i||!n){let r=!1;for(;a<t.length;){let o=t[a];if(o===e)return a;if(o===3||o===6)r=!0;else if(o===1||o===2){let l=t[++a];for(;typeof l=="string";)l=t[++a];continue}else{if(o===4)break;if(o===0){a+=4;continue}}a+=r?1:2}return-1}else return Fq(t,e)}function Y_(e,t,n=!1){for(let i=0;i<t.length;i++)if(Nq(e,t[i],n))return!0;return!1}function Mq(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function Pq(e){for(let t=0;t<e.length;t++){let n=e[t];if(s_(n))return t}return e.length}function Fq(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 Lq(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 Gf(e,t){return e?":not("+t.trim()+")":t}function Vq(e){let t=e[0],n=1,i=2,a="",r=!1;for(;n<e.length;){let o=e[n];if(typeof o=="string")if(i&2){let l=e[++n];a+="["+o+(l.length>0?'="'+l+'"':"")+"]"}else i&8?a+="."+o:i&4&&(a+=" "+o);else a!==""&&!ea(o)&&(t+=Gf(r,a),a=""),i=o,r=r||!ea(i);n++}return a!==""&&(t+=Gf(r,a)),t}function zq(e){return e.map(Vq).join(",")}function jq(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(!ea(a))break;a=r}i++}return n.length&&t.push(1,...n),t}var Yt={};function Bq(e,t){return e.createText(t)}function Hq(e,t,n){e.setValue(t,n)}function K_(e,t,n){return e.createElement(t,n)}function nc(e,t,n,i,a){e.insertBefore(t,n,i,a)}function Z_(e,t,n){e.appendChild(t,n)}function qf(e,t,n,i,a){i!==null?nc(e,t,n,i,a):Z_(e,t,n)}function $q(e,t,n){e.removeChild(null,t,n)}function Uq(e,t,n){e.setAttribute(t,"style",n)}function Gq(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function X_(e,t,n){let{mergedAttrs:i,classes:a,styles:r}=n;i!==null&&cG(e,t,i),a!==null&&Gq(e,t,a),r!==null&&Uq(e,t,r)}function Lp(e,t,n,i,a,r,o,l,c,d,u){let m=jt+i,v=m+a,g=qq(m,v),x=typeof d=="function"?d():d;return g[De]={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 o=="function"?o():o,firstChild:null,schemas:c,consts:x,incompleteFirstPass:!1,ssrId:u}}function qq(e,t){let n=[];for(let i=0;i<t;i++)n.push(i<e?null:Yt);return n}function Wq(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Lp(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Vp(e,t,n,i,a,r,o,l,c,d,u){let m=t.blueprint.slice();return m[en]=a,m[_e]=i|4|128|8|64|1024,(d!==null||e&&e[_e]&2048)&&(m[_e]|=2048),Ub(m),m[si]=m[qr]=e,m[Gt]=n,m[Xa]=o||e&&e[Xa],m[It]=l||e&&e[It],m[Lr]=c||e&&e[Lr]||null,m[ki]=r,m[Uc]=VG(),m[Fr]=u,m[Pb]=d,m[Mi]=t.type==2?e[Mi]:m,m}function Yq(e,t,n){let i=Na(t,e),a=Wq(n),r=e[Xa].rendererFactory,o=zp(e,Vp(e,a,null,Q_(n),i,t,null,r.createRenderer(i,n),null,null,null));return e[t.index]=o}function Q_(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function J_(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 zp(e,t){return e[zs]?e[If][ra]=t:e[zs]=t,e[If]=t,t}function D(e=1){e0(Ct(),fe(),Yi()+e)}function e0(e,t,n,i){if((t[_e]&3)===3){let a=e.preOrderCheckHooks;a!==null&&Al(t,a,n)}else{let a=e.preOrderHooks;a!==null&&Tl(t,a,0,n)}tr(n)}var Zc=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Zc||{});function lh(e,t,n,i){let a=ze(null);try{let[r,o,l]=e.inputs[n],c=null;o&Zc.SignalBased&&(c=t[r][_i]),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):Vb(t,c,r,i)}finally{ze(a)}}function t0(e,t,n,i,a){let r=Yi(),o=i&2;try{tr(-1),o&&t.length>jt&&e0(e,t,jt,!1),Jn(o?2:0,a),n(i,a)}finally{tr(r)}}function jp(e,t,n){Qq(e,t,n),(n.flags&64)===64&&Jq(e,t,n)}function i0(e,t,n=Na){let i=t.localNames;if(i!==null){let a=t.index+1;for(let r=0;r<i.length;r+=2){let o=i[r+1],l=o===-1?n(t,e):e[o];e[a++]=l}}}function Kq(e,t,n,i){let a=i.get(HG,M_)||n===qa.ShadowDom;return e.selectRootElement(t,a)}function Zq(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Xc(e,t,n,i,a,r,o,l){if(!l&&Bp(t,e,n,i,a)){Wr(t)&&Xq(n,t.index);return}if(t.type&3){let c=Na(t,n);i=Zq(i),a=o!=null?o(a,t.value||"",i):a,r.setProperty(c,i,a)}else t.type&12}function Xq(e,t){let n=Aa(t,e);n[_e]&16||(n[_e]|=64)}function Qq(e,t,n){let i=n.directiveStart,a=n.directiveEnd;Wr(n)&&Yq(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||tc(n,t);let r=n.initialInputs;for(let o=i;o<a;o++){let l=e.data[o],c=Hs(t,e,o,n);if(xo(c,t),r!==null&&aW(t,o-i,c,l,n,r),Da(l)){let d=Aa(n.index,t);d[Gt]=Hs(t,e,o,n)}}}function Jq(e,t,n){let i=n.directiveStart,a=n.directiveEnd,r=n.index,o=JU();try{tr(r);for(let l=i;l<a;l++){let c=e.data[l],d=t[l];Qu(l),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&eW(c,d)}}finally{tr(-1),Qu(o)}}function eW(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function a0(e,t){let n=e.directiveRegistry,i=null;if(n)for(let a=0;a<n.length;a++){let r=n[a];Y_(t,r.selectors,!1)&&(i??(i=[]),Da(r)?i.unshift(r):i.push(r))}return i}function tW(e,t,n,i,a,r){let o=Na(e,t);iW(t[It],o,r,e.value,n,i,a)}function iW(e,t,n,i,a,r,o){if(r==null)e.removeAttribute(t,a,n);else{let l=o==null?Ni(r):o(r,i||"",a);e.setAttribute(t,a,l,n)}}function aW(e,t,n,i,a,r){let o=r[t];if(o!==null)for(let l=0;l<o.length;l+=2){let c=o[l],d=o[l+1];lh(i,n,c,d)}}function nW(e,t){let n=e[Lr],i=n?n.get(oa,null):null;i&&i.handleError(t)}function Bp(e,t,n,i,a){var c,d;let r=(c=e.inputs)==null?void 0:c[i],o=(d=e.hostDirectiveInputs)==null?void 0:d[i],l=!1;if(o)for(let u=0;u<o.length;u+=2){let m=o[u],v=o[u+1],g=t.data[m];lh(g,n[m],v,a),l=!0}if(r)for(let u of r){let m=n[u],v=t.data[u];lh(v,m,i,a),l=!0}return l}function rW(e,t){let n=Aa(t,e),i=n[De];sW(i,n);let a=n[en];a!==null&&n[Fr]===null&&(n[Fr]=L_(a,n[Lr])),Hp(i,n,n[Gt]),Jn(19,n[Gt])}function sW(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Hp(e,t,n){var i;Sp(t);try{let a=e.viewQuery;a!==null&&oh(1,a,n);let r=e.template;r!==null&&t0(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),(i=t[sa])==null||i.finishViewCreation(e),e.staticContentQueries&&V_(e,t),e.staticViewQueries&&oh(2,e.viewQuery,n);let o=e.components;o!==null&&oW(t,o)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),a}finally{t[_e]&=-5,Ep()}}function oW(e,t){for(let n=0;n<t.length;n++)rW(e,t[n])}function So(e,t,n,i){let a=ze(null);try{let r=t.tView,o=e[_e]&4096?4096:16,l=Vp(e,r,n,o,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[Xn]=c;let d=e[sa];return d!==null&&(l[sa]=d.createEmbeddedView(r)),Hp(r,l,n),l}finally{ze(a)}}function zr(e,t){return!t||t.firstChild===null||C_(e)}var lW;function $p(e,t){return lW(e,t)}var gn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(gn||{});function Up(e){return(e.flags&32)===32}function Cr(e,t,n,i,a){if(i!=null){let r,o=!1;tn(i)?r=i:wn(i)&&(o=!0,i=i[en]);let l=Ia(i);e===0&&n!==null?a==null?Z_(t,n,l):nc(t,n,l,a||null,!0):e===1&&n!==null?nc(t,n,l,a||null,!0):e===2?$q(t,l,o):e===3&&t.destroyNode(l),r!=null&&yW(t,e,r,n,a)}}function cW(e,t){n0(e,t),t[en]=null,t[ki]=null}function dW(e,t,n,i,a,r){i[en]=a,i[ki]=t,Jc(e,i,n,1,a,r)}function n0(e,t){var n;(n=t[Xa].changeDetectionScheduler)==null||n.notify(9),Jc(e,t,t[It],2,null,null)}function uW(e){let t=e[zs];if(!t)return $d(e[De],e);for(;t;){let n=null;if(wn(t))n=t[zs];else{let i=t[ri];i&&(n=i)}if(!n){for(;t&&!t[ra]&&t!==e;)wn(t)&&$d(t[De],t),t=t[si];t===null&&(t=e),wn(t)&&$d(t[De],t),n=t&&t[ra]}t=n}}function Gp(e,t){let n=e[Vr],i=n.indexOf(t);n.splice(i,1)}function Qc(e,t){if(Yr(t))return;let n=t[It];n.destroyNode&&Jc(e,t,n,3,null,null),uW(t)}function $d(e,t){if(Yr(t))return;let n=ze(null);try{t[_e]&=-129,t[_e]|=256,t[Gi]&&Rc(t[Gi]),pW(e,t),hW(e,t),t[De].type===1&&t[It].destroy();let i=t[Xn];if(i!==null&&tn(t[si])){i!==t[si]&&Gp(i,t);let a=t[sa];a!==null&&a.detachView(e)}rh(t)}finally{ze(n)}}function hW(e,t){let n=e.cleanup,i=t[Ir];if(n!==null)for(let o=0;o<n.length-1;o+=2)if(typeof n[o]=="string"){let l=n[o+3];l>=0?i[l]():i[-l].unsubscribe(),o+=2}else{let l=i[n[o+1]];n[o].call(l)}i!==null&&(t[Ir]=null);let a=t[_n];if(a!==null){t[_n]=null;for(let o=0;o<a.length;o++){let l=a[o];l()}}let r=t[Ga];if(r!==null){t[Ga]=null;for(let o of r)o.destroy()}}function pW(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 bo)){let r=n[i+1];if(Array.isArray(r))for(let o=0;o<r.length;o+=2){let l=a[r[o]],c=r[o+1];try{c.call(l)}finally{}}else try{r.call(a)}finally{}}}}function r0(e,t,n){return mW(e,t.parent,n)}function mW(e,t,n){let i=t;for(;i!==null&&i.type&168;)t=i,i=t.parent;if(i===null)return n[en];if(Wr(i)){let{encapsulation:a}=e.data[i.directiveStart+i.componentOffset];if(a===qa.None||a===qa.Emulated)return null}return Na(i,n)}function s0(e,t,n){return gW(e,t,n)}function fW(e,t,n){return e.type&40?Na(e,n):null}var gW=fW;function qp(e,t,n,i){let a=r0(e,i,t),r=t[It],o=i.parent||t[ki],l=s0(o,i,t);if(a!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)qf(r,a,n[c],l,!1);else qf(r,a,n,l,!1)}function ws(e,t){if(t!==null){let n=t.type;if(n&3)return Na(t,e);if(n&4)return ch(-1,e[t.index]);if(n&8){let i=t.child;if(i!==null)return ws(e,i);{let a=e[t.index];return tn(a)?ch(-1,a):Ia(a)}}else{if(n&128)return ws(e,t.next);if(n&32)return $p(t,e)()||Ia(e[t.index]);{let i=o0(e,t);if(i!==null){if(Array.isArray(i))return i[0];let a=er(e[Mi]);return ws(a,i)}else return ws(e,t.next)}}}return null}function o0(e,t){if(t!==null){let n=e[Mi][ki],i=t.projection;return n.projection[i]}return null}function ch(e,t){let n=ri+e+1;if(n<t.length){let i=t[n],a=i[De].firstChild;if(a!==null)return ws(i,a)}return t[Qn]}function Wp(e,t,n,i,a,r,o){for(;n!=null;){if(n.type===128){n=n.next;continue}let l=i[n.index],c=n.type;if(o&&t===0&&(l&&xo(Ia(l),i),n.flags|=2),!Up(n))if(c&8)Wp(e,t,n.child,i,a,r,!1),Cr(t,e,a,l,r);else if(c&32){let d=$p(n,i),u;for(;u=d();)Cr(t,e,a,u,r);Cr(t,e,a,l,r)}else c&16?l0(e,t,i,n,a,r):Cr(t,e,a,l,r);n=o?n.projectionNext:n.next}}function Jc(e,t,n,i,a,r){Wp(n,i,e.firstChild,t,a,r,!1)}function vW(e,t,n){let i=t[It],a=r0(e,n,t),r=n.parent||t[ki],o=s0(r,n,t);l0(i,0,t,n,a,o)}function l0(e,t,n,i,a,r){let o=n[Mi],l=o[ki].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let d=l[c];Cr(t,e,a,d,r)}else{let c=l,d=o[si];C_(i)&&(c.flags|=128),Wp(e,t,c,d,a,r,!0)}}function yW(e,t,n,i,a){let r=n[Qn],o=Ia(n);r!==o&&Cr(t,e,i,r,a);for(let l=ri;l<n.length;l++){let c=n[l];Jc(c[De],c,e,t,i,r)}}function bW(e,t,n,i,a){if(t)a?e.addClass(n,i):e.removeClass(n,i);else{let r=i.indexOf("-")===-1?void 0:gn.DashCase;a==null?e.removeStyle(n,i,r):(typeof a=="string"&&a.endsWith("!important")&&(a=a.slice(0,-10),r|=gn.Important),e.setStyle(n,i,a,r))}}function rc(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(Ia(r)),tn(r)&&_W(r,i);let o=n.type;if(o&8)rc(e,t,n.child,i);else if(o&32){let l=$p(n,t),c;for(;c=l();)i.push(c)}else if(o&16){let l=o0(t,n);if(Array.isArray(l))i.push(...l);else{let c=er(t[Mi]);rc(c[De],c,l,i,!0)}}n=a?n.projectionNext:n.next}return i}function _W(e,t){for(let n=ri;n<e.length;n++){let i=e[n],a=i[De].firstChild;a!==null&&rc(i[De],i,a,t)}e[Qn]!==e[en]&&t.push(e[Qn])}function c0(e){if(e[xn]!==null){for(let t of e[xn])t.impl.addSequence(t);e[xn].length=0}}var d0=[];function xW(e){return e[Gi]??wW(e)}function wW(e){let t=d0.pop()??Object.create(SW);return t.lView=e,t}function kW(e){e.lView[Gi]!==e&&(e.lView=null,d0.push(e))}var SW=Qe(Z({},uo),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Kr(e.lView)},consumerOnSignalRead(){this.lView[Gi]=this}});function EW(e){let t=e[Gi]??Object.create(CW);return t.lView=e,t}var CW=Qe(Z({},uo),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=er(e.lView);for(;t&&!u0(t[De]);)t=er(t);t&&bp(t)},consumerOnSignalRead(){this.lView[Gi]=this}});function u0(e){return e.type!==2}function h0(e){if(e[Ga]===null)return;let t=!0;for(;t;){let n=!1;for(let i of e[Ga])i.dirty&&(n=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));t=n&&!!(e[_e]&8192)}}var DW=100;function p0(e,t=!0,n=0){var a,r;let i=e[Xa].rendererFactory;(a=i.begin)==null||a.call(i);try{IW(e,n)}catch(o){throw t&&nW(e,o),o}finally{(r=i.end)==null||r.call(i)}}function IW(e,t){let n=Xb();try{Xl(!0),dh(e,t);let i=0;for(;go(e);){if(i===DW)throw new W(103,!1);i++,dh(e,1)}}finally{Xl(n)}}function AW(e,t,n,i){if(Yr(t))return;let a=t[_e],r=!1,o=!1;Sp(t);let l=!0,c=null,d=null;u0(e)?(d=xW(t),c=Hl(d)):H8()===null?(l=!1,d=EW(t),c=Hl(d)):t[Gi]&&(Rc(t[Gi]),t[Gi]=null);try{Ub(t),ZU(e.bindingStartIndex),n!==null&&t0(e,t,n,2,i);let u=(a&3)===3;if(!r)if(u){let g=e.preOrderCheckHooks;g!==null&&Al(t,g,null)}else{let g=e.preOrderHooks;g!==null&&Tl(t,g,0,null),Bd(t,0)}if(o||TW(t),h0(t),m0(t,0),e.contentQueries!==null&&V_(e,t),!r)if(u){let g=e.contentCheckHooks;g!==null&&Al(t,g)}else{let g=e.contentHooks;g!==null&&Tl(t,g,1),Bd(t,1)}NW(e,t);let m=e.components;m!==null&&g0(t,m,0);let v=e.viewQuery;if(v!==null&&oh(2,v,i),!r)if(u){let g=e.viewCheckHooks;g!==null&&Al(t,g)}else{let g=e.viewHooks;g!==null&&Tl(t,g,2),Bd(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[jd]){for(let g of t[jd])g();t[jd]=null}r||(c0(t),t[_e]&=-73)}catch(u){throw Kr(t),u}finally{d!==null&&(Qh(d,c),l&&kW(d)),Ep()}}function m0(e,t){for(let n=A_(e);n!==null;n=T_(n))for(let i=ri;i<n.length;i++){let a=n[i];f0(a,t)}}function TW(e){for(let t=A_(e);t!==null;t=T_(t)){if(!(t[_e]&2))continue;let n=t[Vr];for(let i=0;i<n.length;i++){let a=n[i];bp(a)}}}function OW(e,t,n){let i=Aa(t,e);f0(i,n),Jn(19,i[Gt])}function f0(e,t){yp(e)&&dh(e,t)}function dh(e,t){let n=e[De],i=e[_e],a=e[Gi],r=!!(t===0&&i&16);if(r||(r=!!(i&64&&t===0)),r||(r=!!(i&1024)),r||(r=!!(a!=null&&a.dirty&&Jh(a))),r||(r=!1),a&&(a.dirty=!1),e[_e]&=-9217,r)AW(n,e,n.template,e[Gt]);else if(i&8192){h0(e),m0(e,1);let o=n.components;o!==null&&g0(e,o,1),c0(e)}}function g0(e,t,n){for(let i=0;i<t.length;i++)OW(e,t[i],n)}function NW(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)tr(~a);else{let r=a,o=n[++i],l=n[++i];QU(o,r);let c=t[r];Jn(24,c),l(2,c),Jn(25,c)}}}finally{tr(-1)}}function Yp(e,t){var i;let n=Xb()?64:1088;for((i=e[Xa].changeDetectionScheduler)==null?void 0:i.notify(t);e;){e[_e]|=n;let a=er(e);if(Zl(e)&&!a)return e;e=a}return null}function v0(e,t,n,i){return[e,!0,0,t,null,i,null,n,null,null]}function y0(e,t){let n=ri+t;if(n<e.length)return e[n]}function Eo(e,t,n,i=!0){let a=t[De];if(RW(a,t,e,n),i){let o=ch(n,e),l=t[It],c=l.parentNode(e[Qn]);c!==null&&dW(a,e[ki],l,t,c,o)}let r=t[Fr];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function b0(e,t){let n=Gs(e,t);return n!==void 0&&Qc(n[De],n),n}function Gs(e,t){if(e.length<=ri)return;let n=ri+t,i=e[n];if(i){let a=i[Xn];a!==null&&a!==e&&Gp(a,i),t>0&&(e[n-1][ra]=i[ra]);let r=Wl(e,ri+t);cW(i[De],i);let o=r[sa];o!==null&&o.detachView(r[De]),i[si]=null,i[ra]=null,i[_e]&=-129}return i}function RW(e,t,n,i){let a=ri+i,r=n.length;i>0&&(n[a-1][ra]=t),i<r-ri?(t[ra]=n[a],Eb(n,ri+i,t)):(n.push(t),t[ra]=null),t[si]=n;let o=t[Xn];o!==null&&n!==o&&_0(o,t);let l=t[sa];l!==null&&l.insertView(e),Zu(t),t[_e]|=128}function _0(e,t){let n=e[Vr],i=t[si];if(wn(i))e[_e]|=2;else{let a=i[si][Mi];t[Mi]!==a&&(e[_e]|=2)}n===null?e[Vr]=[t]:n.push(t)}var qs=class{constructor(e,t,n=!0){s(this,"_lView");s(this,"_cdRefInjectingView");s(this,"notifyErrorHandler");s(this,"_appRef",null);s(this,"_attachedToViewContainer",!1);this._lView=e,this._cdRefInjectingView=t,this.notifyErrorHandler=n}get rootNodes(){let e=this._lView,t=e[De];return rc(t,e,t.firstChild,[])}get context(){return this._lView[Gt]}set context(e){this._lView[Gt]=e}get destroyed(){return Yr(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[si];if(tn(e)){let t=e[Kl],n=t?t.indexOf(this):-1;n>-1&&(Gs(e,n),Wl(t,n))}this._attachedToViewContainer=!1}Qc(this._lView[De],this._lView)}onDestroy(e){Gb(this._lView,e)}markForCheck(){Yp(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[_e]&=-129}reattach(){Zu(this._lView),this._lView[_e]|=128}detectChanges(){this._lView[_e]|=1024,p0(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new W(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Zl(this._lView),t=this._lView[Xn];t!==null&&!e&&Gp(t,this._lView),n0(this._lView[De],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new W(902,!1);this._appRef=e;let t=Zl(this._lView),n=this._lView[Xn];n!==null&&!t&&_0(n,this._lView),Zu(this._lView)}};function MW(e){return go(e._lView)||!!(e._lView[_e]&64)}function PW(e){bp(e._cdRefInjectingView||e._lView)}var ar=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",VW),e})(),FW=ar,LW=class extends FW{constructor(t,n,i){super();s(this,"_declarationLView");s(this,"_declarationTContainer");s(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=So(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:i});return new qs(a)}};function VW(){return ed(yi(),fe())}function ed(e,t){return e.type&4?new LW(t,e,Jr(e,t)):null}function Co(e,t,n,i,a){let r=e.data[t];if(r===null)r=zW(e,t,n,i,a),XU()&&(r.flags|=32);else if(r.type&64){r.type=n,r.value=i,r.attrs=a;let o=KU();r.injectorIndex=o===null?-1:o.injectorIndex}return Zr(r,!0),r}function zW(e,t,n,i,a){let r=Wb(),o=Yb(),l=o?r:r&&r.parent,c=e.data[t]=BW(e,l,n,t,i,a);return jW(e,c,r,o),c}function jW(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 BW(e,t,n,i,a,r){let o=t?t.injectorIndex:-1,l=0;return qb()&&(l|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:a,attrs:r,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var HW=()=>null;function jr(e,t){return HW()}var $W=class{},x0=class{},UW=class{resolveComponentFactory(e){throw Error(`No component factory found for ${Ui(e)}.`)}},Fu,Do=(Fu=class{},s(Fu,"NULL",new UW),Fu),Ki=class{},Zi=(()=>{class e{constructor(){s(this,"destroyNode",null)}}return s(e,"__NG_ELEMENT_ID__",()=>GW()),e})();function GW(){let e=fe(),t=yi(),n=Aa(t.index,e);return(wn(n)?n:e)[It]}var qW=(()=>{const t=class t{};s(t,"ɵprov",G({token:t,providedIn:"root",factory:()=>null}));let e=t;return e})(),Ud={},WW=class{constructor(e,t){s(this,"injector");s(this,"parentInjector");this.injector=e,this.parentInjector=t}get(e,t,n){n=jc(n);let i=this.injector.get(e,Ud,n);return i!==Ud||t===Ud?i:this.parentInjector.get(e,t,n)}};function Wf(e,t,n){let i=n?e.styles:null,a=n?e.classes:null,r=0;if(t!==null)for(let o=0;o<t.length;o++){let l=t[o];if(typeof l=="number")r=l;else if(r==1)a=$u(a,l);else if(r==2){let c=l,d=t[++o];i=$u(i,c+": "+d+";")}}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=a:e.classesWithoutHost=a}function Ke(e,t=He.Default){let n=fe();if(n===null)return me(e,t);let i=yi();return p_(i,n,Jt(e),t)}function YW(){let e="invalid";throw new Error(e)}function w0(e,t,n,i,a){let r=i===null?null:{"":-1},o=a(e,n);if(o!==null){let l,c=null,d=null,u=ZW(o);u===null?l=o:[l,c,d]=u,JW(e,t,n,l,r,c,d)}r!==null&&i!==null&&KW(n,i,r)}function KW(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 W(-301,!1);i.push(t[a],r)}}function ZW(e){let t=null,n=!1;for(let o=0;o<e.length;o++){let l=e[o];if(o===0&&Da(l)&&(t=l),l.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let i=null,a=null,r=null;for(let o of e)o.findHostDirectiveDefs!==null&&(i??(i=[]),a??(a=new Map),r??(r=new Map),XW(o,i,r,a)),o===t&&(i??(i=[]),i.push(o));return i!==null?(i.push(...t===null?e:e.slice(1)),[i,a,r]):null}function XW(e,t,n,i){let a=t.length;e.findHostDirectiveDefs(e,t,i),n.set(e,[a,t.length-1])}function QW(e,t,n){t.componentOffset=n,(e.components??(e.components=[])).push(t.index)}function JW(e,t,n,i,a,r,o){let l=i.length,c=!1;for(let v=0;v<l;v++){let g=i[v];!c&&Da(g)&&(c=!0,QW(e,n,v)),th(tc(n,t),e,g.type)}rY(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=J_(e,t,l,null);l>0&&(n.directiveToIndex=new Map);for(let v=0;v<l;v++){let g=i[v];if(n.mergedAttrs=Bs(n.mergedAttrs,g.hostAttrs),tY(e,n,t,m,g),nY(m,g,a),o!==null&&o.has(g)){let[w,E]=o.get(g);n.directiveToIndex.set(g.type,[m,w+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++}eY(e,n,r)}function eY(e,t,n){for(let i=t.directiveStart;i<t.directiveEnd;i++){let a=e.data[i];if(n===null||!n.has(a))Yf(0,t,a,i),Yf(1,t,a,i),Zf(t,i,!1);else{let r=n.get(a);Kf(0,t,r,i),Kf(1,t,r,i),Zf(t,i,!0)}}}function Yf(e,t,n,i){let a=e===0?n.inputs:n.outputs;for(let r in a)if(a.hasOwnProperty(r)){let o;e===0?o=t.inputs??(t.inputs={}):o=t.outputs??(t.outputs={}),o[r]??(o[r]=[]),o[r].push(i),k0(t,r)}}function Kf(e,t,n,i){let a=e===0?n.inputs:n.outputs;for(let r in a)if(a.hasOwnProperty(r)){let o=a[r],l;e===0?l=t.hostDirectiveInputs??(t.hostDirectiveInputs={}):l=t.hostDirectiveOutputs??(t.hostDirectiveOutputs={}),l[o]??(l[o]=[]),l[o].push(i,r),k0(t,o)}}function k0(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Zf(e,t,n){let{attrs:i,inputs:a,hostDirectiveInputs:r}=e;if(i===null||!n&&a===null||n&&r===null||Fp(e)){e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(null);return}let o=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){o??(o=[]),o.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){o??(o=[]),o.push(d[u+1],i[l+1]);break}}l+=2}e.initialInputs??(e.initialInputs=[]),e.initialInputs.push(o)}function tY(e,t,n,i,a){e.data[i]=a;let r=a.factory||(a.factory=Zn(a.type)),o=new bo(r,Da(a),Ke);e.blueprint[i]=o,n[i]=o,iY(e,t,i,J_(e,n,a.hostVars,Yt),a)}function iY(e,t,n,i,a){let r=a.hostBindings;if(r){let o=e.hostBindingOpCodes;o===null&&(o=e.hostBindingOpCodes=[]);let l=~t.index;aY(o)!=l&&o.push(l),o.push(n,i,r)}}function aY(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function nY(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;Da(t)&&(n[""]=e)}}function rY(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function S0(e,t,n,i,a,r,o,l){let c=t.consts,d=js(c,o),u=Co(t,e,2,i,d);return w0(t,n,u,js(c,l),a),u.mergedAttrs=Bs(u.mergedAttrs,u.attrs),u.attrs!==null&&Wf(u,u.attrs,!1),u.mergedAttrs!==null&&Wf(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function E0(e,t){n_(e,t),Lb(t)&&e.queries.elementEnd(t)}var sY=class extends Do{constructor(t){super();s(this,"ngModule");this.ngModule=t}resolveComponentFactory(t){let n=Mr(t);return new Kp(n,this.ngModule)}};function oY(e){return Object.keys(e).map(t=>{let[n,i,a]=e[t],r={propName:n,templateName:t,isSignal:(i&Zc.SignalBased)!==0};return a&&(r.transform=a),r})}function lY(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function cY(e,t,n){let i=t instanceof Ca?t:t==null?void 0:t.injector;return i&&e.getStandaloneInjector!==null&&(i=e.getStandaloneInjector(i)||i),i?new WW(n,i):n}function dY(e){let t=e.get(Ki,null);if(t===null)throw new W(407,!1);let n=e.get(qW,null),i=e.get(Qr,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:i}}function uY(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return K_(t,n,n==="svg"?Hb:n==="math"?LU:null)}var Kp=class extends x0{constructor(t,n){super();s(this,"componentDef");s(this,"ngModule");s(this,"selector");s(this,"componentType");s(this,"ngContentSelectors");s(this,"isBoundToModule");s(this,"cachedInputs",null);s(this,"cachedOutputs",null);this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=zq(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}get inputs(){return this.cachedInputs??(this.cachedInputs=oY(this.componentDef.inputs)),this.cachedInputs}get outputs(){return this.cachedOutputs??(this.cachedOutputs=lY(this.componentDef.outputs)),this.cachedOutputs}create(t,n,i,a){let r=ze(null);try{let o=this.componentDef,l=i?["ng-version","19.2.14"]:jq(this.componentDef.selectors[0]),c=Lp(0,null,null,1,0,null,null,null,null,[l],null),d=cY(o,a||this.ngModule,t),u=dY(d),m=u.rendererFactory.createRenderer(null,o),v=i?Kq(m,i,o.encapsulation,d):uY(o,m),g=Vp(null,c,null,512|Q_(o),null,null,u,m,d,null,L_(v,d,!0));g[jt]=v,Sp(g);let x=null;try{let w=S0(jt,c,g,"#host",()=>[this.componentDef],!0,0);v&&(X_(m,v,w),xo(v,g)),jp(c,g,w),z_(c,w,g),E0(c,w),n!==void 0&&pY(w,this.ngContentSelectors,n),x=Aa(w.index,g),g[Gt]=x[Gt],Hp(c,g,null)}catch(w){throw x!==null&&rh(x),rh(g),w}finally{Jn(23),Ep()}return new hY(this.componentType,g)}finally{ze(r)}}},hY=class extends $W{constructor(t,n){super();s(this,"_rootLView");s(this,"instance");s(this,"hostView");s(this,"changeDetectorRef");s(this,"componentType");s(this,"location");s(this,"previousInputValues",null);s(this,"_tNode");this._rootLView=n,this._tNode=gp(n[De],jt),this.location=Jr(this._tNode,n),this.instance=Aa(this._tNode.index,n)[Gt],this.hostView=this.changeDetectorRef=new qs(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;Bp(i,a[De],a,t,n),this.previousInputValues.set(t,n);let r=Aa(i.index,a);Yp(r,1)}get injector(){return new Os(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function pY(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 An=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",mY),e})();function mY(){let e=yi();return D0(e,fe())}var fY=An,C0=class extends fY{constructor(t,n,i){super();s(this,"_lContainer");s(this,"_hostTNode");s(this,"_hostLView");this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return Jr(this._hostTNode,this._hostLView)}get injector(){return new Os(this._hostTNode,this._hostLView)}get parentInjector(){let t=Ip(this._hostTNode,this._hostLView);if(o_(t)){let n=Jl(t,this._hostLView),i=Ql(t),a=n[De].data[i+8];return new Os(a,n)}else return new Os(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Xf(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-ri}createEmbeddedView(t,n,i){let a,r;typeof i=="number"?a=i:i!=null&&(a=i.index,r=i.injector);let o=jr(this._lContainer,t.ssrId),l=t.createEmbeddedViewImpl(n||{},r,o);return this.insertImpl(l,a,zr(this._hostTNode,o)),l}createComponent(t,n,i,a,r){let o=t&&!NU(t),l;if(o)l=n;else{let x=n||{};l=x.index,i=x.injector,a=x.projectableNodes,r=x.environmentInjector||x.ngModuleRef}let c=o?t:new Kp(Mr(t)),d=i||this.parentInjector;if(!r&&c.ngModule==null){let x=(o?d:this.parentInjector).get(Ca,null);x&&(r=x)}let u=Mr(c.componentType??{}),m=jr(this._lContainer,(u==null?void 0:u.id)??null),v=null,g=c.create(d,a,v,r);return this.insertImpl(g.hostView,l,zr(this._hostTNode,m)),g}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,i){let a=t._lView;if(zU(a)){let l=this.indexOf(t);if(l!==-1)this.detach(l);else{let c=a[si],d=new C0(c,c[ki],c[si]);d.detach(d.indexOf(t))}}let r=this._adjustIndex(n),o=this._lContainer;return Eo(o,a,r,i),t.attachToViewContainerRef(),Eb(Gd(o),r,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Xf(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),i=Gs(this._lContainer,n);i&&(Wl(Gd(this._lContainer),n),Qc(i[De],i))}detach(t){let n=this._adjustIndex(t,-1),i=Gs(this._lContainer,n);return i&&Wl(Gd(this._lContainer),n)!=null?new qs(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function Xf(e){return e[Kl]}function Gd(e){return e[Kl]||(e[Kl]=[])}function D0(e,t){let n,i=t[e.index];return tn(i)?n=i:(n=v0(i,t,null,e),t[e.index]=n,zp(t,n)),vY(n,t,e,i),new C0(n,e,t)}function gY(e,t){let n=e[It],i=n.createComment(""),a=Na(t,e),r=n.parentNode(a);return nc(n,r,i,n.nextSibling(a),!1),i}var vY=yY;function yY(e,t,n,i){if(e[Qn])return;let a;n.type&8?a=Ia(i):a=gY(t,n),e[Qn]=a}var bY=class I0{constructor(t){s(this,"queryList");s(this,"matches",null);this.queryList=t}clone(){return new I0(this.queryList)}setDirty(){this.queryList.setDirty()}},_Y=class A0{constructor(t=[]){s(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 o=n.getByIndex(r),l=this.queries[o.indexInDeclarationView];a.push(l.clone())}return new A0(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++)Xp(t,n).matches!==null&&this.queries[n].setDirty()}},T0=class{constructor(e,t,n=null){s(this,"flags");s(this,"read");s(this,"predicate");this.flags=t,this.read=n,typeof e=="string"?this.predicate=IY(e):this.predicate=e}},xY=class O0{constructor(t=[]){s(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 O0(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)}},wY=class N0{constructor(t,n=-1){s(this,"metadata");s(this,"matches",null);s(this,"indexInDeclarationView",-1);s(this,"crossesNgTemplate",!1);s(this,"_declarationNodeIndex");s(this,"_appliesToNextNode",!0);this.metadata=t,this._declarationNodeIndex=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 N0(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,kY(n,r)),this.matchTNodeWithReadOption(t,n,Ol(n,t,r,!1,!1))}else i===ar?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Ol(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(i!==null){let a=this.metadata.read;if(a!==null)if(a===Pe||a===An||a===ar&&n.type&4)this.addMatch(n.index,-2);else{let r=Ol(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 kY(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 SY(e,t){return e.type&11?Jr(e,t):e.type&4?ed(e,t):null}function EY(e,t,n,i){return n===-1?SY(t,e):n===-2?CY(e,t,i):Hs(e,e[De],n,t)}function CY(e,t,n){if(n===Pe)return Jr(t,e);if(n===ar)return ed(t,e);if(n===An)return D0(t,e)}function R0(e,t,n,i){let a=t[sa].queries[i];if(a.matches===null){let r=e.data,o=n.matches,l=[];for(let c=0;o!==null&&c<o.length;c+=2){let d=o[c];if(d<0)l.push(null);else{let u=r[d];l.push(EY(t,u,o[c+1],n.metadata.read))}}a.matches=l}return a.matches}function uh(e,t,n,i){let a=e.queries.getByIndex(n),r=a.matches;if(r!==null){let o=R0(e,t,a,n);for(let l=0;l<r.length;l+=2){let c=r[l];if(c>0)i.push(o[l/2]);else{let d=r[l+1],u=t[-c];for(let m=ri;m<u.length;m++){let v=u[m];v[Xn]===v[si]&&uh(v[De],v,d,i)}if(u[Vr]!==null){let m=u[Vr];for(let v=0;v<m.length;v++){let g=m[v];uh(g[De],g,d,i)}}}}}return i}function Zp(e,t){return e[sa].queries[t].queryList}function M0(e,t,n){let i=new ac((n&4)===4);return HU(e,t,i,i.destroy),(t[sa]??(t[sa]=new _Y)).queries.push(new bY(i))-1}function DY(e,t,n){let i=Ct();return i.firstCreatePass&&(F0(i,new T0(e,t,n),-1),(t&2)===2&&(i.staticViewQueries=!0)),M0(i,fe(),t)}function P0(e,t,n,i){let a=Ct();if(a.firstCreatePass){let r=yi();F0(a,new T0(t,n,i),r.index),AY(a,e)}return M0(a,fe(),n)}function IY(e){return e.split(",").map(t=>t.trim())}function F0(e,t,n){e.queries===null&&(e.queries=new xY),e.queries.track(new wY(t,n))}function AY(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 Xp(e,t){return e.queries.getByIndex(t)}function L0(e,t){let n=e[De],i=Xp(n,t);return i.crossesNgTemplate?uh(n,e,t,[]):R0(n,e,i,t)}function V0(e,t,n){let i,a=Dy(()=>{i._dirtyCounter();let r=RY(i,e);if(t&&r===void 0)throw new W(-951,!1);return r});return i=a[_i],i._dirtyCounter=xa(0),i._flatValue=void 0,a}function TY(e){return V0(!0,!1)}function OY(e){return V0(!0,!0)}function NY(e,t){let n=e[_i];n._lView=fe(),n._queryIndex=t,n._queryList=Zp(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(i=>i+1))}function RY(e,t){let n=e._lView,i=e._queryIndex;if(n===void 0||i===void 0||n[_e]&4)return t?void 0:gi;let a=Zp(n,i),r=L0(n,i);return a.reset(r,k_),t?a.first:a._changesDetected||e._flatValue===void 0?e._flatValue=a.toArray():e._flatValue}function Qf(e,t){return TY()}function MY(e,t){return OY()}var PY=(Qf.required=MY,Qf);function z0(e,t){let n=Object.create(ub),i=new RG;n.value=e;function a(){return Nc(n),Jf(n.value),n.value}return a[_i]=n,a.asReadonly=S_.bind(a),a.set=r=>{n.equal(n.value,r)||(Fc(n,r),i.emit(r))},a.update=r=>{Jf(n.value),a.set(r(n.value))},a.subscribe=i.subscribe.bind(i),a.destroyRef=i.destroyRef,a}function Jf(e){if(e===zc)throw new W(952,!1)}function eg(e,t){return z0(e)}function FY(e){return z0(zc)}var LY=(eg.required=FY,eg),Ws=class{},j0=class extends Ws{constructor(t){super();s(this,"injector");s(this,"componentFactoryResolver",new sY(this));s(this,"instance",null);let n=new mp([...t.providers,{provide:Ws,useValue:this},{provide:Do,useValue:this.componentFactoryResolver}],t.parent||Hc(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function VY(e,t,n=null){return new j0({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var zY=(()=>{const t=class t{constructor(i){s(this,"_injector");s(this,"cachedInjectors",new Map);this._injector=i}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){let a=Tb(!1,i.type),r=a.length>0?VY([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()}}};s(t,"ɵprov",G({token:t,providedIn:"environment",factory:()=>new t(me(Ca))}));let e=t;return e})();function Ee(e){return po(()=>{let t=B0(e),n=Qe(Z({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===D_.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?a=>a.get(zY).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||qa.Emulated,styles:e.styles||gi,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&lr("NgStandalone"),H0(n);let i=e.dependencies;return n.directiveDefs=tg(i,!1),n.pipeDefs=tg(i,!0),n.id=UY(n),n})}function jY(e){return Mr(e)||Ab(e)}function BY(e){return e!==null}function xt(e){return po(()=>({type:e.type,bootstrap:e.bootstrap||gi,declarations:e.declarations||gi,imports:e.imports||gi,exports:e.exports||gi,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function HY(e,t){if(e==null)return Ea;let n={};for(let i in e)if(e.hasOwnProperty(i)){let a=e[i],r,o,l,c;Array.isArray(a)?(l=a[0],r=a[1],o=a[2]??r,c=a[3]||null):(r=a,o=a,l=Zc.None,c=null),n[r]=[i,l,c],t[r]=o}return n}function $Y(e){if(e==null)return Ea;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function xe(e){return po(()=>{let t=B0(e);return H0(t),t})}function Io(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 B0(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||Ea,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||gi,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:HY(e.inputs,t),outputs:$Y(e.outputs),debugInfo:null}}function H0(e){var t;(t=e.features)==null||t.forEach(n=>n(e))}function tg(e,t){if(!e)return null;let n=t?xU:jY;return()=>(typeof e=="function"?e():e).map(i=>n(i)).filter(BY)}function UY(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 GY(e){return Object.getPrototypeOf(e.prototype).constructor}function Ot(e){let t=GY(e.type),n=!0,i=[e];for(;t;){let a;if(Da(e))a=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new W(903,!1);a=t.ɵdir}if(a){if(n){i.push(a);let o=e;o.inputs=qd(e.inputs),o.declaredInputs=qd(e.declaredInputs),o.outputs=qd(e.outputs);let l=a.hostBindings;l&&ZY(e,l);let c=a.viewQuery,d=a.contentQueries;if(c&&YY(e,c),d&&KY(e,d),qY(e,a),eU(e.outputs,a.outputs),Da(a)&&a.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(a.data.animation)}}let r=a.features;if(r)for(let o=0;o<r.length;o++){let l=r[o];l&&l.ngInherit&&l(e),l===Ot&&(n=!1)}}t=Object.getPrototypeOf(t)}WY(i)}function qY(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 WY(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=Bs(a.hostAttrs,n=Bs(n,a.hostAttrs))}}function qd(e){return e===Ea?{}:e===gi?[]:e}function YY(e,t){let n=e.viewQuery;n?e.viewQuery=(i,a)=>{t(i,a),n(i,a)}:e.viewQuery=t}function KY(e,t){let n=e.contentQueries;n?e.contentQueries=(i,a,r)=>{t(i,a,r),n(i,a,r)}:e.contentQueries=t}function ZY(e,t){let n=e.hostBindings;n?e.hostBindings=(i,a)=>{t(i,a),n(i,a)}:e.hostBindings=t}function XY(e){let t=n=>{let i=Array.isArray(e);n.hostDirectives===null?(n.findHostDirectiveDefs=$0,n.hostDirectives=i?e.map(hh):[e]):i?n.hostDirectives.unshift(...e.map(hh)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function $0(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)ig(hh(r),t,n)}else ig(i,t,n)}function ig(e,t,n){let i=Ab(e.directive);QY(i.declaredInputs,e.inputs),$0(i,t,n),n.set(i,e),t.push(i)}function hh(e){return typeof e=="function"?{directive:Jt(e),inputs:Ea,outputs:Ea}:{directive:Jt(e.directive),inputs:ag(e.inputs),outputs:ag(e.outputs)}}function ag(e){if(e===void 0||e.length===0)return Ea;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function QY(e,t){for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],a=e[n];e[i]=a}}function U0(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function td(e,t,n){return e[t]=n}function G0(e,t){return e[t]}function xi(e,t,n){let i=e[t];return Object.is(i,n)?!1:(e[t]=n,!0)}function Ys(e,t,n,i){let a=xi(e,t,n);return xi(e,t+1,i)||a}function JY(e,t,n,i,a){let r=Ys(e,t,n,i);return xi(e,t+2,a)||r}function q0(e,t,n,i,a,r){let o=Ys(e,t,n,i);return Ys(e,t+2,a,r)||o}function eK(e,t,n,i,a,r,o,l,c){let d=t.consts,u=Co(t,e,4,o||null,l||null);w0(t,n,u,js(d,c),a0),u.mergedAttrs=Bs(u.mergedAttrs,u.attrs),n_(t,u);let m=u.tView=Lp(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 W0(e,t,n,i,a,r,o,l,c,d){let u=n+jt,m=t.firstCreatePass?eK(u,t,e,i,a,r,o,l,c):t.data[u];Zr(m,!1);let v=tK(t,e);Cp()&&qp(t,e,v,m),xo(v,e);let g=v0(v,e,v,m);return e[u]=g,zp(e,g),fp(m)&&jp(t,e,m),c!=null&&i0(e,m,d),m}function ue(e,t,n,i,a,r,o,l){let c=fe(),d=Ct(),u=js(d.consts,r);return W0(c,d,e,t,n,i,a,u,o,l),ue}var tK=iK;function iK(e,t,n,i){return Dp(!0),t[It].createComment("")}var aK=new B(""),Y0=(()=>{const t=class t{};s(t,"ɵprov",G({token:t,providedIn:"root",factory:()=>new nK}));let e=t;return e})(),nK=class{constructor(){s(this,"queuedEffectCount",0);s(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 id(e){return!!e&&typeof e.then=="function"}function K0(e){return!!e&&typeof e.subscribe=="function"}var rK=new B(""),Z0=(()=>{const t=class t{constructor(){s(this,"resolve");s(this,"reject");s(this,"initialized",!1);s(this,"done",!1);s(this,"donePromise",new Promise((i,a)=>{this.resolve=i,this.reject=a}));s(this,"appInits",k(rK,{optional:!0})??[]);s(this,"injector",k(lt))}runInitializers(){if(this.initialized)return;let i=[];for(let r of this.appInits){let o=$c(this.injector,r);if(id(o))i.push(o);else if(K0(o)){let l=new Promise((c,d)=>{o.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}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),sK=new B("");function oK(){W8(()=>{throw new W(600,!1)})}function lK(e){return e.isBoundToModule}var cK=10,En=(()=>{const t=class t{constructor(){s(this,"_runningTick",!1);s(this,"_destroyed",!1);s(this,"_destroyListeners",[]);s(this,"_views",[]);s(this,"internalErrorHandler",k(NG));s(this,"afterRenderManager",k(P_));s(this,"zonelessEnabled",k(y_));s(this,"rootEffectScheduler",k(Y0));s(this,"dirtyFlags",0);s(this,"tracingSnapshot",null);s(this,"externalTestViews",new Set);s(this,"afterTick",new re);s(this,"componentTypes",[]);s(this,"components",[]);s(this,"isStable",k(_o).hasPendingTasks.pipe(vt(i=>!i)));s(this,"_injector",k(Ca));s(this,"_rendererFactory",null);s(this,"tickImpl",()=>{var a;if(this._runningTick)throw new W(101,!1);let i=ze(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,ze(i),this.afterTick.next()}});k(wo,{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=lt.NULL){let o=i instanceof x0;if(!this._injector.get(Z0).done){let g="";throw new W(405,g)}let l;o?l=i:l=this._injector.get(Do).resolveComponentFactory(i),this.componentTypes.push(l.componentType);let c=lK(l)?void 0:this._injector.get(Ws),d=a||l.selector,u=l.create(r,[],d,c),m=u.location.nativeElement,v=u.injector.get(aK,null);return v==null||v.registerApplication(m),u.onDestroy(()=>{this.detachView(u.hostView),Nl(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(Rp.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Ki,null,{optional:!0}));let i=0;for(;this.dirtyFlags!==0&&i++<cK;)this.synchronizeOnce()}synchronizeOnce(){var i,a,r,o;if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let l=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:c,notifyErrorHandler:d}of this.allViews)dK(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),(o=(r=this._rendererFactory)==null?void 0:r.end)==null||o.call(r);this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:i})=>go(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;Nl(this._views,a),a.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i),this._injector.get(sK,[]).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),()=>Nl(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new W(406,!1);let i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Nl(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function dK(e,t,n,i){!n&&!go(e)||p0(e,t,n&&!i?0:1)}function be(e,t,n,i){let a=fe(),r=or();if(xi(a,r,t)){Ct();let o=yo();tW(o,a,e,t,n,i)}return be}function Qp(e,t,n,i){return xi(e,or(),n)?t+Ni(n)+i:Yt}function uK(e,t,n,i,a,r){let o=wp(),l=Ys(e,o,n,a);return vo(2),l?t+Ni(n)+i+Ni(a)+r:Yt}function hK(e,t,n,i,a,r,o,l){let c=wp(),d=JY(e,c,n,a,o);return vo(3),d?t+Ni(n)+i+Ni(a)+r+Ni(o)+l:Yt}function pK(e,t,n,i,a,r,o,l,c,d){let u=wp(),m=q0(e,u,n,a,o,c);return vo(4),m?t+Ni(n)+i+Ni(a)+r+Ni(o)+l+Ni(c)+d:Yt}function Jo(e,t){return e<<17|t<<2}function nr(e){return e>>17&32767}function mK(e){return(e&2)==2}function fK(e,t){return e&131071|t<<17}function ph(e){return e|2}function Br(e){return(e&131068)>>2}function Wd(e,t){return e&-131069|t<<2}function gK(e){return(e&1)===1}function mh(e){return e|1}function vK(e,t,n,i,a,r){let o=r?t.classBindings:t.styleBindings,l=nr(o),c=Br(o);e[i]=n;let d=!1,u;if(Array.isArray(n)){let m=n;u=m[1],(u===null||mo(m,u)>0)&&(d=!0)}else u=n;if(a)if(c!==0){let m=nr(e[l+1]);e[i+1]=Jo(m,l),m!==0&&(e[m+1]=Wd(e[m+1],i)),e[l+1]=fK(e[l+1],i)}else e[i+1]=Jo(l,0),l!==0&&(e[l+1]=Wd(e[l+1],i)),l=i;else e[i+1]=Jo(c,0),l===0?l=i:e[c+1]=Wd(e[c+1],i),c=i;d&&(e[i+1]=ph(e[i+1])),ng(e,u,i,!0),ng(e,u,i,!1),yK(t,u,e,i,r),o=Jo(l,c),r?t.classBindings=o:t.styleBindings=o}function yK(e,t,n,i,a){let r=a?e.residualClasses:e.residualStyles;r!=null&&typeof t=="string"&&mo(r,t)>=0&&(n[i+1]=mh(n[i+1]))}function ng(e,t,n,i){let a=e[n+1],r=t===null,o=i?nr(a):Br(a),l=!1;for(;o!==0&&(l===!1||r);){let c=e[o],d=e[o+1];bK(c,t)&&(l=!0,e[o+1]=i?mh(d):ph(d)),o=i?nr(d):Br(d)}l&&(e[n+1]=i?ph(a):mh(a))}function bK(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?mo(e,t)>=0:!1}var na={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function _K(e){return e.substring(na.key,na.keyEnd)}function xK(e){return wK(e),X0(e,Q0(e,0,na.textEnd))}function X0(e,t){let n=na.textEnd;return n===t?-1:(t=na.keyEnd=kK(e,na.key=t,n),Q0(e,t,n))}function wK(e){na.key=0,na.keyEnd=0,na.value=0,na.valueEnd=0,na.textEnd=e.length}function Q0(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function kK(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function ae(e,t,n){let i=fe(),a=or();if(xi(i,a,t)){let r=Ct(),o=yo();Xc(r,o,i,e,t,i[It],n,!1)}return ae}function fh(e,t,n,i,a){Bp(t,e,n,a?"class":"style",i)}function ad(e,t,n){return ex(e,t,n,!1),ad}function Ge(e,t){return ex(e,t,null,!0),Ge}function Hr(e){tx(AK,J0,e,!0)}function J0(e,t){for(let n=xK(t);n>=0;n=X0(t,n))Bc(e,_K(t),!0)}function ex(e,t,n,i){let a=fe(),r=Ct(),o=vo(2);if(r.firstUpdatePass&&ax(r,e,o,i),t!==Yt&&xi(a,o,t)){let l=r.data[Yi()];nx(r,l,a,a[It],e,a[o+1]=OK(t,n),i,o)}}function tx(e,t,n,i){let a=Ct(),r=vo(2);a.firstUpdatePass&&ax(a,null,r,i);let o=fe();if(n!==Yt&&xi(o,r,n)){let l=a.data[Yi()];if(rx(l,i)&&!ix(a,r)){let c=l.classesWithoutHost;c!==null&&(n=$u(c,n||"")),fh(a,l,o,n,i)}else TK(a,l,o,o[It],o[r+1],o[r+1]=IK(e,t,n),i,r)}}function ix(e,t){return t>=e.expandoStartIndex}function ax(e,t,n,i){let a=e.data;if(a[n+1]===null){let r=a[Yi()],o=ix(e,n);rx(r,i)&&t===null&&!o&&(t=!1),t=SK(a,r,t,i),vK(a,r,t,n,o,i)}}function SK(e,t,n,i){let a=eG(e),r=i?t.residualClasses:t.residualStyles;if(a===null)(i?t.classBindings:t.styleBindings)===0&&(n=Yd(null,e,t,n,i),n=Ks(n,t.attrs,i),r=null);else{let o=t.directiveStylingLast;if(o===-1||e[o]!==a)if(n=Yd(a,e,t,n,i),r===null){let l=EK(e,t,i);l!==void 0&&Array.isArray(l)&&(l=Yd(null,e,t,l[1],i),l=Ks(l,t.attrs,i),CK(e,t,i,l))}else r=DK(e,t,i)}return r!==void 0&&(i?t.residualClasses=r:t.residualStyles=r),n}function EK(e,t,n){let i=n?t.classBindings:t.styleBindings;if(Br(i)!==0)return e[nr(i)]}function CK(e,t,n,i){let a=n?t.classBindings:t.styleBindings;e[nr(a)]=i}function DK(e,t,n){let i,a=t.directiveEnd;for(let r=1+t.directiveStylingLast;r<a;r++){let o=e[r].hostAttrs;i=Ks(i,o,n)}return Ks(i,t.attrs,n)}function Yd(e,t,n,i,a){let r=null,o=n.directiveEnd,l=n.directiveStylingLast;for(l===-1?l=n.directiveStart:l++;l<o&&(r=t[l],i=Ks(i,r.hostAttrs,a),r!==e);)l++;return e!==null&&(n.directiveStylingLast=l),i}function Ks(e,t,n){let i=n?1:2,a=-1;if(t!==null)for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?a=o:a===i&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Bc(e,o,n?!0:t[++r]))}return e===void 0?null:e}function IK(e,t,n){if(n==null||n==="")return gi;let i=[],a=hn(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 AK(e,t,n){let i=String(t);i!==""&&!i.includes(" ")&&Bc(e,i,n)}function TK(e,t,n,i,a,r,o,l){a===Yt&&(a=gi);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,w;u===m?(c+=2,d+=2,v!==g&&(x=m,w=g)):m===null||u!==null&&u<m?(c+=2,x=u):(d+=2,x=m,w=g),x!==null&&nx(e,t,n,i,x,w,o,l),u=c<a.length?a[c]:null,m=d<r.length?r[d]:null}}function nx(e,t,n,i,a,r,o,l){if(!(t.type&3))return;let c=e.data,d=c[l+1],u=gK(d)?rg(c,t,n,a,Br(d),o):void 0;if(!sc(u)){sc(r)||mK(d)&&(r=rg(c,null,n,a,l,o));let m=$b(Yi(),n);bW(i,o,m,a,r)}}function rg(e,t,n,i,a,r){let o=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===Yt&&(v=m?gi:void 0);let g=m?Vd(v,i):u===i?v:void 0;if(d&&!sc(g)&&(g=Vd(c,i)),sc(g)&&(l=g,o))return l;let x=e[a+1];a=o?nr(x):Br(x)}if(t!==null){let c=r?t.residualClasses:t.residualStyles;c!=null&&(l=Vd(c,i))}return l}function sc(e){return e!==void 0}function OK(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Ui(hn(e)))),e}function rx(e,t){return(e.flags&(t?8:16))!==0}function NK(e,t,n){let i=fe(),a=Qp(i,e,t,n);tx(Bc,J0,a,!0)}var RK=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 Kd(e,t,n,i,a){return e===n&&Object.is(t,i)?1:Object.is(a(e,t),a(n,i))?-1:0}function MK(e,t,n){let i,a,r=0,o=e.length-1;if(Array.isArray(t)){let l=t.length-1;for(;r<=o&&r<=l;){let c=e.at(r),d=t[r],u=Kd(r,c,r,d,n);if(u!==0){u<0&&e.updateValue(r,d),r++;continue}let m=e.at(o),v=t[l],g=Kd(o,m,l,v,n);if(g!==0){g<0&&e.updateValue(o,v),o--,l--;continue}let x=n(r,c),w=n(o,m),E=n(r,d);if(Object.is(E,w)){let T=n(l,v);Object.is(T,x)?(e.swap(r,o),e.updateValue(o,v),l--,o--):e.move(o,r),e.updateValue(r,d),r++;continue}if(i??(i=new lg),a??(a=og(e,r,o,n)),gh(e,i,r,E))e.updateValue(r,d),r++,o++;else if(a.has(E))i.set(x,e.detach(r)),o--;else{let T=e.create(r,t[r]);e.attach(r,T),r++,o++}}for(;r<=l;)sg(e,i,n,r,t[r]),r++}else if(t!=null){let l=t[Symbol.iterator](),c=l.next();for(;!c.done&&r<=o;){let d=e.at(r),u=c.value,m=Kd(r,d,r,u,n);if(m!==0)m<0&&e.updateValue(r,u),r++,c=l.next();else{i??(i=new lg),a??(a=og(e,r,o,n));let v=n(r,u);if(gh(e,i,r,v))e.updateValue(r,u),r++,o++,c=l.next();else if(!a.has(v))e.attach(r,e.create(r,u)),r++,o++,c=l.next();else{let g=n(r,d);i.set(g,e.detach(r)),o--}}}for(;!c.done;)sg(e,i,n,e.length,c.value),c=l.next()}for(;r<=o;)e.destroy(e.detach(o--));i==null||i.forEach(l=>{e.destroy(l)})}function gh(e,t,n,i){return t!==void 0&&t.has(i)?(e.attach(n,t.get(i)),t.delete(i),!0):!1}function sg(e,t,n,i,a){if(gh(e,t,i,n(i,a)))e.updateValue(i,a);else{let r=e.create(i,a);e.attach(i,r)}}function og(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 lg=class{constructor(){s(this,"kvMap",new Map);s(this,"_vMap")}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let t=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let 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 de(e,t){lr("NgControlFlow");let n=fe(),i=or(),a=n[i]!==Yt?n[i]:-1,r=a!==-1?oc(n,jt+a):void 0,o=0;if(xi(n,i,e)){let l=ze(null);try{if(r!==void 0&&b0(r,o),e!==-1){let c=jt+e,d=oc(n,c),u=vh(n[De],c),m=jr(d,u.tView.ssrId),v=So(n,u,t,{dehydratedView:m});Eo(d,v,o,zr(u,m))}}finally{ze(l)}}else if(r!==void 0){let l=y0(r,o);l!==void 0&&(l[Gt]=t)}}var PK=class{constructor(e,t,n){s(this,"lContainer");s(this,"$implicit");s(this,"$index");this.lContainer=e,this.$implicit=t,this.$index=n}get $count(){return this.lContainer.length-ri}};function la(e,t){return t}var FK=class{constructor(e,t,n){s(this,"hasEmptyBlock");s(this,"trackByFn");s(this,"liveCollection");this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=n}};function Si(e,t,n,i,a,r,o,l,c,d,u,m,v){lr("NgControlFlow");let g=fe(),x=Ct(),w=c!==void 0,E=fe(),T=l?o.bind(E[Mi][Gt]):o,z=new FK(w,T);E[jt+e]=z,W0(g,x,e+1,t,n,i,a,js(x.consts,r))}var LK=class extends RK{constructor(t,n,i){super();s(this,"lContainer");s(this,"hostLView");s(this,"templateTNode");s(this,"operationsCounter");s(this,"needsIndexUpdate",!1);this.lContainer=t,this.hostLView=n,this.templateTNode=i}get length(){return this.lContainer.length-ri}at(t){return this.getLView(t)[Gt].$implicit}attach(t,n){let i=n[Fr];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),Eo(this.lContainer,n,t,zr(this.templateTNode,i))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),VK(this.lContainer,t)}create(t,n){var r;let i=jr(this.lContainer,this.templateTNode.tView.ssrId),a=So(this.hostLView,this.templateTNode,new PK(this.lContainer,n,t),{dehydratedView:i});return(r=this.operationsCounter)==null||r.recordCreate(),a}destroy(t){var n;Qc(t[De],t),(n=this.operationsCounter)==null||n.recordDestroy()}updateValue(t,n){this.getLView(t)[Gt].$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)[Gt].$index=t}getLView(t){return zK(this.lContainer,t)}};function Ei(e){let t=ze(null),n=Yi();try{let i=fe(),a=i[De],r=i[n],o=n+1,l=oc(i,o);if(r.liveCollection===void 0){let d=vh(a,o);r.liveCollection=new LK(l,i,d)}else r.liveCollection.reset();let c=r.liveCollection;if(MK(c,e,r.trackByFn),c.updateIndexes(),r.hasEmptyBlock){let d=or(),u=c.length===0;if(xi(i,d,u)){let m=n+2,v=oc(i,m);if(u){let g=vh(a,m),x=jr(v,g.tView.ssrId),w=So(i,g,void 0,{dehydratedView:x});Eo(v,w,0,zr(g,x))}else b0(v,0)}}}finally{ze(t)}}function oc(e,t){return e[t]}function VK(e,t){return Gs(e,t)}function zK(e,t){return y0(e,t)}function vh(e,t){return gp(e,t)}function O(e,t,n,i){let a=fe(),r=Ct(),o=jt+e,l=a[It],c=r.firstCreatePass?S0(o,r,a,t,a0,qU(),n,i):r.data[o],d=jK(r,a,c,l,t);a[o]=d;let u=fp(c);return Zr(c,!0),X_(l,d,c),!Up(c)&&Cp()&&qp(r,a,d,c),($U()===0||u)&&xo(d,a),UU(),u&&(jp(r,a,c),z_(r,c,a)),i!==null&&i0(a,c),O}function N(){let e=yi();Yb()?Kb():(e=e.parent,Zr(e,!1));let t=e;WU(t)&&YU(),GU();let n=Ct();return n.firstCreatePass&&E0(n,t),t.classesWithoutHost!=null&&oG(t)&&fh(n,t,fe(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&lG(t)&&fh(n,t,fe(),t.stylesWithoutHost,!1),N}function le(e,t,n,i){return O(e,t,n,i),N(),le}var jK=(e,t,n,i,a,r)=>(Dp(!0),K_(i,a,nG()));function Je(){return fe()}function nn(e,t,n){let i=fe(),a=or();if(xi(i,a,t)){let r=Ct(),o=yo();Xc(r,o,i,e,t,i[It],n,!0)}return nn}var Mn=void 0;function BK(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var HK=["en",[["a","p"],["AM","PM"],Mn],[["AM","PM"],Mn,Mn],[["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"]],Mn,[["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"]],Mn,[["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}",Mn,"{1} 'at' {0}",Mn],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",BK],Ns={};function $K(e,t,n){typeof t!="string"&&(n=t,t=e[Bt.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Ns[t]=e,n&&(Ns[t][Bt.ExtraData]=n)}function ca(e){let t=UK(e),n=cg(t);if(n)return n;let i=t.split("-")[0];if(n=cg(i),n)return n;if(i==="en")return HK;throw new W(701,!1)}function cg(e){return e in Ns||(Ns[e]=fn.ng&&fn.ng.common&&fn.ng.common.locales&&fn.ng.common.locales[e]),Ns[e]}var Bt=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}(Bt||{});function UK(e){return e.toLowerCase().replace(/_/g,"-")}var yh="en-US";function GK(e){typeof e=="string"&&e.toLowerCase().replace(/_/g,"-")}function dg(e,t,n){return function i(a){if(a===Function)return n;let r=Wr(e)?Aa(e.index,t):t;Yp(r,5);let o=t[Gt],l=ug(t,o,n,a),c=i.__ngNextListenerFn__;for(;c;)l=ug(t,o,c,a)&&l,c=c.__ngNextListenerFn__;return l}}function ug(e,t,n,i){let a=ze(null);try{return Jn(6,t,n),n(i)!==!1}catch(r){return qK(e,r),!1}finally{ze(a)}}function qK(e,t){let n=e[Lr],i=n?n.get(oa,null):null;i&&i.handleError(t)}function hg(e,t,n,i,a,r){let o=t[n],l=t[De],c=l.data[n].outputs[i],d=o[c],u=l.firstCreatePass?xp(l):null,m=_p(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=fe(),r=Ct(),o=yi();return sx(r,a,a[It],o,e,t,i),ce}function WK(e,t,n,i){let a=e.cleanup;if(a!=null)for(let r=0;r<a.length-1;r+=2){let o=a[r];if(o===n&&a[r+1]===i){let l=t[Ir],c=a[r+2];return l.length>c?l[c]:null}typeof o=="string"&&(r+=2)}return null}function sx(e,t,n,i,a,r,o){var m,v;let l=fp(i),c=e.firstCreatePass?xp(e):null,d=_p(t),u=!0;if(i.type&3||o){let g=Na(i,t),x=o?o(g):g,w=d.length,E=o?z=>o(Ia(z[i.index])):i.index,T=null;if(!o&&l&&(T=WK(e,t,a,i.index)),T!==null){let z=T.__ngLastListenerFn__||T;z.__ngNextListenerFn__=r,T.__ngLastListenerFn__=r,u=!1}else{r=dg(i,t,r);let z=n.listen(x,a,r);d.push(r,z),c&&c.push(a,E,w,w+1)}}else r=dg(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 w=0;w<x.length;w+=2){let E=x[w],T=x[w+1];hg(i,t,E,T,a,r)}if(g&&g.length)for(let w of g)hg(i,t,w,a,a,r)}}function j(e=1){return iG(e)}function YK(e,t){let n=null,i=Mq(e);for(let a=0;a<t.length;a++){let r=t[a];if(r==="*"){n=a;continue}if(i===null?Y_(e,r,!0):Lq(i,r))return a}return n}function Ci(e){let t=fe()[Mi][ki];if(!t.projection){let n=e?e.length:1,i=t.projection=yU(n,null),a=i.slice(),r=t.child;for(;r!==null;){if(r.type!==128){let o=e?YK(r,e):0;o!==null&&(a[o]?a[o].projectionNext=r:i[o]=r,a[o]=r)}r=r.next}}}function nt(e,t=0,n,i,a,r){let o=fe(),l=Ct(),c=null,d=Co(l,jt+e,16,null,null);d.projection===null&&(d.projection=t),Kb();let u=!o[Fr]||qb();o[Mi][ki].projection[d.projection]===null&&c!==null?KK(o,l,c):u&&!Up(d)&&vW(l,o,d)}function KK(e,t,n){let i=jt+n,a=t.data[i],r=e[i],o=jr(r,a.tView.ssrId),l=So(e,a,void 0,{dehydratedView:o});Eo(r,l,0,zr(a,o))}function nd(e,t,n){return ox(e,"",t,"",n),nd}function ox(e,t,n,i,a){let r=fe(),o=Qp(r,t,n,i);if(o!==Yt){let l=Ct(),c=yo();Xc(l,c,r,e,o,r[It],a,!1)}return ox}function ni(e,t,n,i){P0(e,t,n,i)}function pt(e,t,n){DY(e,t,n)}function Te(e){let t=fe(),n=Ct(),i=kp();qc(i+1);let a=Xp(n,i);if(e.dirty&&VU(t)===((a.metadata.flags&2)===2)){if(a.matches===null)e.reset([]);else{let r=L0(t,i);e.reset(r,k_),e.notifyOnChanges()}return!0}return!1}function Oe(){return Zp(fe(),kp())}function ZK(e,t,n,i,a){NY(t,P0(e,n,i,a))}function XK(e=1){qc(kp()+e)}function vn(e){let t=Zb();return Gc(t,jt+e)}function q(e,t=""){let n=fe(),i=Ct(),a=e+jt,r=i.firstCreatePass?Co(i,a,1,t,null):i.data[a],o=QK(i,n,r,t);n[a]=o,Cp()&&qp(i,n,o,r),Zr(r,!1)}var QK=(e,t,n,i,a)=>(Dp(!0),Bq(t[It],i));function Le(e){return Me("",e,""),Le}function Me(e,t,n){let i=fe(),a=Qp(i,e,t,n);return a!==Yt&&rd(i,Yi(),a),Me}function Zs(e,t,n,i,a){let r=fe(),o=uK(r,e,t,n,i,a);return o!==Yt&&rd(r,Yi(),o),Zs}function lx(e,t,n,i,a,r,o){let l=fe(),c=hK(l,e,t,n,i,a,r,o);return c!==Yt&&rd(l,Yi(),c),lx}function cx(e,t,n,i,a,r,o,l,c){let d=fe(),u=pK(d,e,t,n,i,a,r,o,l,c);return u!==Yt&&rd(d,Yi(),u),cx}function rd(e,t,n){let i=$b(t,e);Hq(e[It],i,n)}function Ta(e,t,n){E_(t)&&(t=t());let i=fe(),a=or();if(xi(i,a,t)){let r=Ct(),o=yo();Xc(r,o,i,e,t,i[It],n,!1)}return Ta}function Qa(e,t){let n=E_(e);return n&&e.set(t),n}function Oa(e,t){let n=fe(),i=Ct(),a=yi();return sx(i,n,n[It],a,e,t),Oa}var dx={};function Jp(e){let t=Ct(),n=fe(),i=e+jt,a=Co(t,i,128,null,null);return Zr(a,!1),vp(t,n,i,dx),Jp}function pg(e){lr("NgLet");let t=Ct(),n=fe(),i=Yi();return vp(t,n,i,e),e}function mg(e){let t=Zb(),n=Gc(t,jt+e);if(n===dx)throw new W(314,!1);return n}function JK(e,t,n){let i=Ct();if(i.firstCreatePass){let a=Da(e);bh(n,i.data,i.blueprint,a,!0),bh(t,i.data,i.blueprint,a,!1)}}function bh(e,t,n,i,a){if(e=Jt(e),Array.isArray(e))for(let r=0;r<e.length;r++)bh(e[r],t,n,i,a);else{let r=Ct(),o=fe(),l=yi(),c=Pr(e)?e:Jt(e.provide),d=Rb(e),u=l.providerIndexes&1048575,m=l.directiveStart,v=l.providerIndexes>>20;if(Pr(e)||!e.multi){let g=new bo(d,a,Ke),x=Xd(c,t,a?u:u+v,m);x===-1?(th(tc(l,o),r,c),Zd(r,e,t.length),t.push(c),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),n.push(g),o.push(g)):(n[x]=g,o[x]=g)}else{let g=Xd(c,t,u+v,m),x=Xd(c,t,u,u+v),w=g>=0&&n[g],E=x>=0&&n[x];if(a&&!E||!a&&!w){th(tc(l,o),r,c);let T=iZ(a?tZ:eZ,n.length,a,i,d);!a&&E&&(n[x].providerFactory=T),Zd(r,e,t.length,0),t.push(c),l.directiveStart++,l.directiveEnd++,a&&(l.providerIndexes+=1048576),n.push(T),o.push(T)}else{let T=ux(n[a?x:g],d,!a&&i);Zd(r,e,g>-1?g:x,T)}!a&&i&&E&&n[x].componentProviders++}}}function Zd(e,t,n,i){let a=Pr(t),r=CU(t);if(a||r){let o=(r?Jt(t.useClass):t).prototype.ngOnDestroy;if(o){let l=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){let c=l.indexOf(n);c===-1?l.push(n,[i,o]):l[c+1].push(i,o)}else l.push(n,o)}}}function ux(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Xd(e,t,n,i){for(let a=n;a<i;a++)if(t[a]===e)return a;return-1}function eZ(e,t,n,i,a){return _h(this.multi,[])}function tZ(e,t,n,i,a){let r=this.multi,o;if(this.providerFactory){let l=this.providerFactory.componentProviders,c=Hs(i,i[De],this.providerFactory.index,a);o=c.slice(0,l),_h(r,o);for(let d=l;d<c.length;d++)o.push(c[d])}else o=[],_h(r,o);return o}function _h(e,t){for(let n=0;n<e.length;n++){let i=e[n];t.push(i())}return t}function iZ(e,t,n,i,a){let r=new bo(e,n,Ke);return r.multi=[],r.index=t,r.componentProviders=0,ux(r,a,i&&!n),r}function ci(e,t=[]){return n=>{n.providersResolver=(i,a)=>JK(i,a?a(e):e,t)}}function hx(e,t,n){let i=Xr()+e,a=fe();return a[i]===Yt?td(a,i,t()):G0(a,i)}function lc(e,t,n,i){return mx(fe(),Xr(),e,t,n,i)}function aZ(e,t,n,i,a){return fx(fe(),Xr(),e,t,n,i,a)}function nZ(e,t,n,i,a,r,o,l){let c=Xr()+e,d=fe(),u=q0(d,c,n,i,a,r);return xi(d,c+4,o)||u?td(d,c+5,t(n,i,a,r,o)):G0(d,c+5)}function px(e,t){let n=e[t];return n===Yt?void 0:n}function mx(e,t,n,i,a,r){let o=t+n;return xi(e,o,a)?td(e,o+1,r?i.call(r,a):i(a)):px(e,o+1)}function fx(e,t,n,i,a,r,o){let l=t+n;return Ys(e,l,a,r)?td(e,l+2,o?i.call(o,a,r):i(a,r)):px(e,l+2)}function Y(e,t){let n=Ct(),i,a=e+jt;n.firstCreatePass?(i=rZ(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=Zn(i.type)),o=bi(Ke);try{let l=ec(!1),c=r();return ec(l),vp(n,fe(),a,c),c}finally{bi(o)}}function rZ(e,t){if(t)for(let n=t.length-1;n>=0;n--){let i=t[n];if(e===i.name)return i}}function ee(e,t,n){let i=e+jt,a=fe(),r=Gc(a,i);return gx(a,i)?mx(a,Xr(),t,r.transform,n,r):r.transform(n)}function $r(e,t,n,i){let a=e+jt,r=fe(),o=Gc(r,a);return gx(r,a)?fx(r,Xr(),t,o.transform,n,i,o):o.transform(n,i)}function gx(e,t){return e[De].data[t].pure}function sZ(e,t){return ed(e,t)}var oZ=class{constructor(e){s(this,"full");s(this,"major");s(this,"minor");s(this,"patch");this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}},fg=new oZ("19.2.14"),lZ=(()=>{const t=class t{constructor(){s(this,"zone",k(Ie));s(this,"changeDetectionScheduler",k(Qr));s(this,"applicationRef",k(En));s(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()}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function cZ({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??(e=()=>new Ie(Qe(Z({},dZ()),{scheduleInRootZone:n}))),[{provide:Ie,useFactory:e},{provide:Yl,multi:!0,useFactory:()=>{let i=k(lZ,{optional:!0});return()=>i.initialize()}},{provide:Yl,multi:!0,useFactory:()=>{let i=k(uZ);return()=>{i.initialize()}}},t===!0?{provide:b_,useValue:!0}:[],{provide:__,useValue:n??g_}]}function dZ(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e==null?void 0:e.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(e==null?void 0:e.runCoalescing)??!1}}var uZ=(()=>{const t=class t{constructor(){s(this,"subscription",new ot);s(this,"initialized",!1);s(this,"zone",k(Ie));s(this,"pendingTasks",k(_o))}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(()=>{Ie.assertNotInAngularZone(),queueMicrotask(()=>{i!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(i),i=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ie.assertInAngularZone(),i??(i=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),hZ=(()=>{var t;const n=class n{constructor(){s(this,"appRef",k(En));s(this,"taskService",k(_o));s(this,"ngZone",k(Ie));s(this,"zonelessEnabled",k(y_));s(this,"tracing",k(wo,{optional:!0}));s(this,"disableScheduling",k(b_,{optional:!0})??!1);s(this,"zoneIsDefined",typeof Zone<"u"&&!!Zone.root.run);s(this,"schedulerTickApplyArgs",[{data:{__scheduler_tick__:!0}}]);s(this,"subscriptions",new ot);s(this,"angularZoneId",this.zoneIsDefined?(t=this.ngZone._inner)==null?void 0:t.get(ic):null);s(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&(k(__,{optional:!0})??!1));s(this,"cancelScheduledCallback",null);s(this,"useMicrotaskScheduler",!1);s(this,"runningTick",!1);s(this,"pendingRenderTaskId",null);this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||(this.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof AG||!this.zoneIsDefined))}notify(a){var l;if(!this.zonelessEnabled&&a===5)return;let r=!1;switch(a){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=((l=this.tracing)==null?void 0:l.snapshot(this.appRef.tracingSnapshot))??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Mf:x_;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(a){return!(this.disableScheduling&&!a||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ic+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,Mf(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(a)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var a;if(this.runningTick=!1,(a=this.cancelScheduledCallback)==null||a.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};s(n,"ɵfac",function(a){return new(a||n)}),s(n,"ɵprov",G({token:n,factory:n.ɵfac,providedIn:"root"}));let e=n;return e})();function pZ(){return typeof $localize<"u"&&$localize.locale||yh}var sd=new B("",{providedIn:"root",factory:()=>k(sd,He.Optional|He.SkipSelf)||pZ()}),xh=new B(""),mZ=new B("");function ds(e){return!e.moduleRef}function fZ(e){let t=ds(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Ie);return n.run(()=>{ds(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let i=t.get(oa,null),a;if(n.runOutsideAngular(()=>{a=n.onError.subscribe({next:r=>{i.handleError(r)}})}),ds(e)){let r=()=>t.destroy(),o=e.platformInjector.get(xh);o.add(r),t.onDestroy(()=>{a.unsubscribe(),o.delete(r)})}else{let r=()=>e.moduleRef.destroy(),o=e.platformInjector.get(xh);o.add(r),e.moduleRef.onDestroy(()=>{Nl(e.allPlatformModules,e.moduleRef),a.unsubscribe(),o.delete(r)})}return vZ(i,n,()=>{let r=t.get(Z0);return r.runInitializers(),r.donePromise.then(()=>{let o=t.get(sd,yh);if(GK(o||yh),!t.get(mZ,!0))return ds(e)?t.get(En):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(ds(e)){let l=t.get(En);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return gZ(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function gZ(e,t){let n=e.injector.get(En);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(i=>n.bootstrap(i));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new W(-403,!1);t.push(e)}function vZ(e,t,n){try{let i=n();return id(i)?i.catch(a=>{throw t.runOutsideAngular(()=>e.handleError(a)),a}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}var Rl=null;function yZ(e=[],t){return lt.create({name:t,providers:[{provide:pp,useValue:"platform"},{provide:xh,useValue:new Set([()=>Rl=null])},...e]})}function bZ(e=[]){if(Rl)return Rl;let t=yZ(e);return Rl=t,oK(),_Z(t),t}function _Z(e){let t=e.get(R_,null);$c(e,()=>{t==null||t.forEach(n=>n())})}function xZ(){return!1}var Pt=(()=>{class e{}return s(e,"__NG_ELEMENT_ID__",wZ),e})();function wZ(e){return kZ(yi(),fe(),(e&16)===16)}function kZ(e,t,n){if(Wr(e)&&!n){let i=Aa(e.index,t);return new qs(i,i)}else if(e.type&175){let i=t[Mi];return new qs(i,t)}return null}var SZ=class{constructor(){}supports(e){return e instanceof Map||U0(e)}create(){return new EZ}},EZ=class{constructor(){s(this,"_records",new Map);s(this,"_mapHead",null);s(this,"_appendAfter",null);s(this,"_previousMapHead",null);s(this,"_changesHead",null);s(this,"_changesTail",null);s(this,"_additionsHead",null);s(this,"_additionsTail",null);s(this,"_removalsHead",null);s(this,"_removalsTail",null)}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let t;for(t=this._mapHead;t!==null;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||U0(e)))throw new W(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 CZ(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))}},CZ=class{constructor(e){s(this,"key");s(this,"previousValue",null);s(this,"currentValue",null);s(this,"_nextPrevious",null);s(this,"_next",null);s(this,"_prev",null);s(this,"_nextAdded",null);s(this,"_nextRemoved",null);s(this,"_nextChanged",null);this.key=e}};function gg(){return new vx([new SZ])}var vx=(()=>{const t=class t{constructor(i){s(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||gg()),deps:[[t,new Sb,new kb]]}}find(i){let a=this.factories.find(r=>r.supports(i));if(a)return a;throw new W(901,!1)}};s(t,"ɵprov",G({token:t,providedIn:"root",factory:gg}));let e=t;return e})();function DZ(e){try{let{rootComponent:t,appProviders:n,platformProviders:i}=e,a=bZ(i),r=[cZ({}),{provide:Qr,useExisting:hZ},...n||[]],o=new j0({providers:r,parent:a,debugName:"",runEnvironmentInitializers:!1});return fZ({r3Injector:o.injector,platformInjector:a,rootComponent:t})}catch(t){return Promise.reject(t)}finally{}}function Be(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Wa(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function aa(e){return X8(e)}function wa(e,t){return Dy(e,t==null?void 0:t.equal)}var uy,IZ=(uy=_i,class{constructor(e){s(this,uy);this[_i]=e}destroy(){this[_i].destroy()}});function yx(e,t){!(t!=null&&t.injector)&&fo();let n=(t==null?void 0:t.injector)??k(lt),i=(t==null?void 0:t.manualCleanup)!==!0?n.get(Pi):null,a,r=n.get(Mp,null,{optional:!0}),o=n.get(Qr);return r!==null&&!(t!=null&&t.forceRoot)?(a=OZ(r.view,o,e),i instanceof v_&&i._lView===r.view&&(i=null)):a=NZ(e,n.get(Y0),o),a.injector=n,i!==null&&(a.onDestroyFn=i.onDestroy(()=>a.destroy())),new IZ(a)}var bx=Qe(Z({},uo),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:$s,run(){if(this.dirty=!1,this.hasRun&&!Jh(this))return;this.hasRun=!0;let e=i=>(this.cleanupFns??(this.cleanupFns=[])).push(i),t=Hl(this),n=Xl(!1);try{this.maybeCleanup(),this.fn(e)}finally{Xl(n),Qh(this,t)}},maybeCleanup(){var e;if((e=this.cleanupFns)!=null&&e.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),AZ=Qe(Z({},bx),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Rc(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),TZ=Qe(Z({},bx),{consumerMarkedDirty(){this.view[_e]|=8192,Kr(this.view),this.notifier.notify(13)},destroy(){var e;Rc(this),this.onDestroyFn(),this.maybeCleanup(),(e=this.view[Ga])==null||e.delete(this)}});function OZ(e,t,n){let i=Object.create(TZ);return i.view=e,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=t,i.fn=n,e[Ga]??(e[Ga]=new Set),e[Ga].add(i),i.consumerMarkedDirty(i),i}function NZ(e,t,n){let i=Object.create(AZ);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}function _x(e,t){let n=Mr(e),i=t.elementInjector||Hc();return new Kp(n).create(i,t.projectableNodes,t.hostElement,t.environmentInjector)}var RZ={schedule(e,t){let n=setTimeout(e,t);return()=>clearTimeout(n)}};function MZ(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function PZ(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}var Qd;function FZ(e,t){if(!Qd){let n=Element.prototype;Qd=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE?Qd.call(e,t):!1}function LZ(e){let t={};return e.forEach(({propName:n,templateName:i,transform:a})=>{t[MZ(i)]=[n,a]}),t}function VZ(e,t){return t.get(Do).resolveComponentFactory(e).inputs}function zZ(e,t){let n=e.childNodes,i=t.map(()=>[]),a=-1;t.some((r,o)=>r==="*"?(a=o,!0):!1);for(let r=0,o=n.length;r<o;++r){let l=n[r],c=jZ(l,t,a);c!==-1&&i[c].push(l)}return i}function jZ(e,t,n){let i=n;return PZ(e)&&t.some((a,r)=>a!=="*"&&FZ(e,a)?(i=r,!0):!1),i}var BZ=10,HZ=class{constructor(e,t){s(this,"componentFactory");s(this,"inputMap",new Map);this.componentFactory=t.get(Do).resolveComponentFactory(e);for(let n of this.componentFactory.inputs)this.inputMap.set(n.propName,n.templateName)}create(e){return new $Z(this.componentFactory,e,this.inputMap)}},$Z=class{constructor(e,t,n){s(this,"componentFactory");s(this,"injector");s(this,"inputMap");s(this,"eventEmitters",new Lc(1));s(this,"events",this.eventEmitters.pipe(Kn(e=>$i(...e))));s(this,"componentRef",null);s(this,"scheduledDestroyFn",null);s(this,"initialInputValues",new Map);s(this,"ngZone");s(this,"elementZone");s(this,"appRef");s(this,"cdScheduler");this.componentFactory=e,this.injector=t,this.inputMap=n,this.ngZone=this.injector.get(Ie),this.appRef=this.injector.get(En),this.cdScheduler=t.get(Qr),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=RZ.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},BZ))})}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),MW(this.componentRef.hostView)&&(PW(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(e){let t=lt.create({providers:[],parent:this.injector}),n=zZ(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 Et(r=>{let o=a.subscribe(l=>r.next({name:i,value:l}));return()=>o.unsubscribe()})});this.eventEmitters.next(t)}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},UZ=class extends HTMLElement{constructor(){super(...arguments);s(this,"ngElementEventsSubscription",null)}};function GZ(e,t){let n=VZ(e,t.injector),i=t.strategyFactory||new HZ(e,t.injector),a=LZ(n);class r extends UZ{constructor(c){super();s(this,"injector");s(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 s(r,"observedAttributes",Object.keys(a)),n.forEach(({propName:o,transform:l})=>{Object.defineProperty(r.prototype,o,{get(){return this.ngElementStrategy.getInputValue(o)},set(c){this.ngElementStrategy.setInputValue(o,c,l)},configurable:!0,enumerable:!0})}),r}var Ze=new B(""),xx=null;function Yn(){return xx}function qZ(e){xx??(xx=e)}var WZ=class{},wx=(()=>{const t=class t{historyGo(i){throw new Error("")}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:()=>k(YZ),providedIn:"platform"}));let e=t;return e})(),YZ=(()=>{const t=class t extends wx{constructor(){super();s(this,"_location");s(this,"_history");s(this,"_doc",k(Ze));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Yn().getBaseHref(this._doc)}onPopState(a){let r=Yn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",a,!1),()=>r.removeEventListener("popstate",a)}onHashChange(a){let r=Yn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",a,!1),()=>r.removeEventListener("hashchange",a)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(a){this._location.pathname=a}pushState(a,r,o){this._history.pushState(a,r,o)}replaceState(a,r,o){this._history.replaceState(a,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(a=0){this._history.go(a)}getState(){return this._history.state}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵprov",G({token:t,factory:()=>new t,providedIn:"platform"}));let e=t;return e})();function kx(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function vg(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Gn(e){return e&&e[0]!=="?"?`?${e}`:e}var em=(()=>{const t=class t{historyGo(i){throw new Error("")}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:()=>k(ZZ),providedIn:"root"}));let e=t;return e})(),KZ=new B(""),ZZ=(()=>{const t=class t extends em{constructor(a,r){var o;super();s(this,"_platformLocation");s(this,"_baseHref");s(this,"_removeListenerFns",[]);this._platformLocation=a,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??((o=k(Ze).location)==null?void 0:o.origin)??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),this._platformLocation.onHashChange(a))}getBaseHref(){return this._baseHref}prepareExternalUrl(a){return kx(this._baseHref,a)}path(a=!1){let r=this._platformLocation.pathname+Gn(this._platformLocation.search),o=this._platformLocation.hash;return o&&a?`${r}${o}`:r}pushState(a,r,o,l){let c=this.prepareExternalUrl(o+Gn(l));this._platformLocation.pushState(a,r,c)}replaceState(a,r,o,l){let c=this.prepareExternalUrl(o+Gn(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,o;(o=(r=this._platformLocation).historyGo)==null||o.call(r,a)}};s(t,"ɵfac",function(a){return new(a||t)(me(wx),me(KZ,8))}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Sx=(()=>{const t=class t{constructor(i){s(this,"_subject",new re);s(this,"_basePath");s(this,"_locationStrategy");s(this,"_urlChangeListeners",[]);s(this,"_urlChangeSubscription",null);this._locationStrategy=i;let a=this._locationStrategy.getBaseHref();this._basePath=JZ(vg(yg(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+Gn(a))}normalize(i){return t.stripTrailingSlash(QZ(this._basePath,yg(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+Gn(a)),r)}replaceState(i,a="",r=null){this._locationStrategy.replaceState(r,"",i,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(i+Gn(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})}};s(t,"normalizeQueryParams",Gn),s(t,"joinWithSlash",kx),s(t,"stripTrailingSlash",vg),s(t,"ɵfac",function(i){return new(i||t)(me(em))}),s(t,"ɵprov",G({token:t,factory:()=>XZ(),providedIn:"root"}));let e=t;return e})();function XZ(){return new Sx(me(em))}function QZ(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function yg(e){return e.replace(/\/index.html$/,"")}function JZ(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var pi=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(pi||{}),ct=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(ct||{}),Ii=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(Ii||{}),od={MinusSign:5};function eX(e){return ca(e)[Bt.LocaleId]}function tX(e,t,n){let i=ca(e),a=[i[Bt.DayPeriodsFormat],i[Bt.DayPeriodsStandalone]],r=qi(a,t);return qi(r,n)}function iX(e,t,n){let i=ca(e),a=[i[Bt.DaysFormat],i[Bt.DaysStandalone]],r=qi(a,t);return qi(r,n)}function aX(e,t,n){let i=ca(e),a=[i[Bt.MonthsFormat],i[Bt.MonthsStandalone]],r=qi(a,t);return qi(r,n)}function nX(e,t){let n=ca(e)[Bt.Eras];return qi(n,t)}function el(e,t){let n=ca(e);return qi(n[Bt.DateFormat],t)}function tl(e,t){let n=ca(e);return qi(n[Bt.TimeFormat],t)}function il(e,t){let n=ca(e)[Bt.DateTimeFormat];return qi(n,t)}function ld(e,t){return ca(e)[Bt.NumberSymbols][t]}function Ex(e){if(!e[Bt.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Bt.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function rX(e){let t=ca(e);return Ex(t),(t[Bt.ExtraData][2]||[]).map(n=>typeof n=="string"?Jd(n):[Jd(n[0]),Jd(n[1])])}function sX(e,t,n){let i=ca(e);Ex(i);let a=[i[Bt.ExtraData][0],i[Bt.ExtraData][1]],r=qi(a,t)||[];return qi(r,n)||[]}function qi(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 Jd(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var oX=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,fr={},lX=/((?:[^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 cX(e,t,n,i){let a=yX(e);t=$a(n,t)||t;let r=[],o;for(;t;)if(o=lX.exec(t),o){r=r.concat(o.slice(1));let d=r.pop();if(!d)break;t=d}else{r.push(t);break}let l=a.getTimezoneOffset();i&&(l=Dx(i,l),a=vX(a,i));let c="";return r.forEach(d=>{let u=fX(d);c+=u?u(a,n,l):d==="''"?"'":d.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function cc(e,t,n){let i=new Date(0);return i.setFullYear(e,t,n),i.setHours(0,0,0),i}function $a(e,t){let n=eX(e);if(fr[n]??(fr[n]={}),fr[n][t])return fr[n][t];let i="";switch(t){case"shortDate":i=el(e,Ii.Short);break;case"mediumDate":i=el(e,Ii.Medium);break;case"longDate":i=el(e,Ii.Long);break;case"fullDate":i=el(e,Ii.Full);break;case"shortTime":i=tl(e,Ii.Short);break;case"mediumTime":i=tl(e,Ii.Medium);break;case"longTime":i=tl(e,Ii.Long);break;case"fullTime":i=tl(e,Ii.Full);break;case"short":let a=$a(e,"shortTime"),r=$a(e,"shortDate");i=al(il(e,Ii.Short),[a,r]);break;case"medium":let o=$a(e,"mediumTime"),l=$a(e,"mediumDate");i=al(il(e,Ii.Medium),[o,l]);break;case"long":let c=$a(e,"longTime"),d=$a(e,"longDate");i=al(il(e,Ii.Long),[c,d]);break;case"full":let u=$a(e,"fullTime"),m=$a(e,"fullDate");i=al(il(e,Ii.Full),[u,m]);break}return i&&(fr[n][t]=i),i}function al(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,i){return t!=null&&i in t?t[i]:n})),e}function ia(e,t,n="-",i,a){let r="";(e<0||a&&e<=0)&&(a?e=-e+1:(e=-e,r=n));let o=String(e);for(;o.length<t;)o="0"+o;return i&&(o=o.slice(o.length-t)),r+o}function dX(e,t){return ia(e,3).substring(0,t)}function Vt(e,t,n=0,i=!1,a=!1){return function(r,o){let l=uX(e,r);if((n>0||l>-n)&&(l+=n),e===3)l===0&&n===-12&&(l=12);else if(e===6)return dX(l,t);let c=ld(o,od.MinusSign);return ia(l,t,c,i,a)}}function uX(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 ht(e,t,n=pi.Format,i=!1){return function(a,r){return hX(a,r,e,t,n,i)}}function hX(e,t,n,i,a,r){switch(n){case 2:return aX(t,a,i)[e.getMonth()];case 1:return iX(t,a,i)[e.getDay()];case 0:let o=e.getHours(),l=e.getMinutes();if(r){let d=rX(t),u=sX(t,a,i),m=d.findIndex(v=>{if(Array.isArray(v)){let[g,x]=v,w=o>=g.hours&&l>=g.minutes,E=o<x.hours||o===x.hours&&l<x.minutes;if(g.hours<x.hours){if(w&&E)return!0}else if(w||E)return!0}else if(v.hours===o&&v.minutes===l)return!0;return!1});if(m!==-1)return u[m]}return tX(t,a,i)[o<12?0:1];case 3:return nX(t,i)[e.getFullYear()<=0?0:1];default:let c=n;throw new Error(`unexpected translation type ${c}`)}}function nl(e){return function(t,n,i){let a=-1*i,r=ld(n,od.MinusSign),o=a>0?Math.floor(a/60):Math.ceil(a/60);switch(e){case 0:return(a>=0?"+":"")+ia(o,2,r)+ia(Math.abs(a%60),2,r);case 1:return"GMT"+(a>=0?"+":"")+ia(o,1,r);case 2:return"GMT"+(a>=0?"+":"")+ia(o,2,r)+":"+ia(Math.abs(a%60),2,r);case 3:return i===0?"Z":(a>=0?"+":"")+ia(o,2,r)+":"+ia(Math.abs(a%60),2,r);default:throw new Error(`Unknown zone width "${e}"`)}}}var pX=0,Ml=4;function mX(e){let t=cc(e,pX,1).getDay();return cc(e,0,1+(t<=Ml?Ml:Ml+7)-t)}function Cx(e){let t=e.getDay(),n=t===0?-3:Ml-t;return cc(e.getFullYear(),e.getMonth(),e.getDate()+n)}function eu(e,t=!1){return function(n,i){let a;if(t){let r=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,o=n.getDate();a=1+Math.floor((o+r)/7)}else{let r=Cx(n),o=mX(r.getFullYear()),l=r.getTime()-o.getTime();a=1+Math.round(l/6048e5)}return ia(a,e,ld(i,od.MinusSign))}}function rl(e,t=!1){return function(n,i){let a=Cx(n).getFullYear();return ia(a,e,ld(i,od.MinusSign),t)}}var tu={};function fX(e){if(tu[e])return tu[e];let t;switch(e){case"G":case"GG":case"GGG":t=ht(3,ct.Abbreviated);break;case"GGGG":t=ht(3,ct.Wide);break;case"GGGGG":t=ht(3,ct.Narrow);break;case"y":t=Vt(0,1,0,!1,!0);break;case"yy":t=Vt(0,2,0,!0,!0);break;case"yyy":t=Vt(0,3,0,!1,!0);break;case"yyyy":t=Vt(0,4,0,!1,!0);break;case"Y":t=rl(1);break;case"YY":t=rl(2,!0);break;case"YYY":t=rl(3);break;case"YYYY":t=rl(4);break;case"M":case"L":t=Vt(1,1,1);break;case"MM":case"LL":t=Vt(1,2,1);break;case"MMM":t=ht(2,ct.Abbreviated);break;case"MMMM":t=ht(2,ct.Wide);break;case"MMMMM":t=ht(2,ct.Narrow);break;case"LLL":t=ht(2,ct.Abbreviated,pi.Standalone);break;case"LLLL":t=ht(2,ct.Wide,pi.Standalone);break;case"LLLLL":t=ht(2,ct.Narrow,pi.Standalone);break;case"w":t=eu(1);break;case"ww":t=eu(2);break;case"W":t=eu(1,!0);break;case"d":t=Vt(2,1);break;case"dd":t=Vt(2,2);break;case"c":case"cc":t=Vt(7,1);break;case"ccc":t=ht(1,ct.Abbreviated,pi.Standalone);break;case"cccc":t=ht(1,ct.Wide,pi.Standalone);break;case"ccccc":t=ht(1,ct.Narrow,pi.Standalone);break;case"cccccc":t=ht(1,ct.Short,pi.Standalone);break;case"E":case"EE":case"EEE":t=ht(1,ct.Abbreviated);break;case"EEEE":t=ht(1,ct.Wide);break;case"EEEEE":t=ht(1,ct.Narrow);break;case"EEEEEE":t=ht(1,ct.Short);break;case"a":case"aa":case"aaa":t=ht(0,ct.Abbreviated);break;case"aaaa":t=ht(0,ct.Wide);break;case"aaaaa":t=ht(0,ct.Narrow);break;case"b":case"bb":case"bbb":t=ht(0,ct.Abbreviated,pi.Standalone,!0);break;case"bbbb":t=ht(0,ct.Wide,pi.Standalone,!0);break;case"bbbbb":t=ht(0,ct.Narrow,pi.Standalone,!0);break;case"B":case"BB":case"BBB":t=ht(0,ct.Abbreviated,pi.Format,!0);break;case"BBBB":t=ht(0,ct.Wide,pi.Format,!0);break;case"BBBBB":t=ht(0,ct.Narrow,pi.Format,!0);break;case"h":t=Vt(3,1,-12);break;case"hh":t=Vt(3,2,-12);break;case"H":t=Vt(3,1);break;case"HH":t=Vt(3,2);break;case"m":t=Vt(4,1);break;case"mm":t=Vt(4,2);break;case"s":t=Vt(5,1);break;case"ss":t=Vt(5,2);break;case"S":t=Vt(6,1);break;case"SS":t=Vt(6,2);break;case"SSS":t=Vt(6,3);break;case"Z":case"ZZ":case"ZZZ":t=nl(0);break;case"ZZZZZ":t=nl(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=nl(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=nl(2);break;default:return null}return tu[e]=t,t}function Dx(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function gX(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function vX(e,t,n){let i=e.getTimezoneOffset(),a=Dx(t,i);return gX(e,-1*(a-i))}function yX(e){if(bg(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[a,r=1,o=1]=e.split("-").map(l=>+l);return cc(a,r-1,o)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let i;if(i=e.match(oX))return bX(i)}let t=new Date(e);if(!bg(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function bX(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 o=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,o,l,c,d),t}function bg(e){return e instanceof Date&&!isNaN(e.valueOf())}var iu=/\s+/,_g=[],Ao=(()=>{const t=class t{constructor(i,a){s(this,"_ngEl");s(this,"_renderer");s(this,"initialClasses",_g);s(this,"rawClass");s(this,"stateMap",new Map);this._ngEl=i,this._renderer=a}set klass(i){this.initialClasses=i!=null?i.trim().split(iu):_g}set ngClass(i){this.rawClass=typeof i=="string"?i.trim().split(iu):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(iu).forEach(r=>{a?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}};s(t,"ɵfac",function(i){return new(i||t)(Ke(Pe),Ke(Zi))}),s(t,"ɵdir",xe({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let e=t;return e})(),_X=(()=>{const t=class t{constructor(i,a,r){s(this,"_ngEl");s(this,"_differs");s(this,"_renderer");s(this,"_ngStyle",null);s(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,o]=i.split("."),l=r.indexOf("-")===-1?void 0:gn.DashCase;a!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${a}${o}`: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))}};s(t,"ɵfac",function(i){return new(i||t)(Ke(Pe),Ke(vx),Ke(Zi))}),s(t,"ɵdir",xe({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let e=t;return e})(),xX=(()=>{const t=class t{constructor(i){s(this,"_viewContainerRef");s(this,"_viewRef",null);s(this,"ngTemplateOutletContext",null);s(this,"ngTemplateOutlet",null);s(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)}})}};s(t,"ɵfac",function(i){return new(i||t)(Ke(An))}),s(t,"ɵdir",xe({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[oi]}));let e=t;return e})();function Ix(e,t){return new W(2100,!1)}var wX=class{createSubscription(e,t){return aa(()=>e.subscribe({next:t,error:n=>{throw n}}))}dispose(e){aa(()=>e.unsubscribe())}},kX=class{createSubscription(e,t){return e.then(n=>t==null?void 0:t(n),n=>{throw n}),{unsubscribe:()=>{t=null}}}dispose(e){e.unsubscribe()}},SX=new kX,EX=new wX,Ax=(()=>{const t=class t{constructor(i){s(this,"_ref");s(this,"_latestValue",null);s(this,"markForCheckOnValueUpdate",!0);s(this,"_subscription",null);s(this,"_obj",null);s(this,"_strategy",null);this._ref=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(id(i))return SX;if(K0(i))return EX;throw Ix()}_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()))}};s(t,"ɵfac",function(i){return new(i||t)(Ke(Pt,16))}),s(t,"ɵpipe",Io({name:"async",type:t,pure:!1}));let e=t;return e})(),CX="mediumDate",DX=new B(""),IX=new B(""),Tx=(()=>{const t=class t{constructor(i,a,r){s(this,"locale");s(this,"defaultTimezone");s(this,"defaultOptions");this.locale=i,this.defaultTimezone=a,this.defaultOptions=r}transform(i,a,r,o){var l,c;if(i==null||i===""||i!==i)return null;try{let d=a??((l=this.defaultOptions)==null?void 0:l.dateFormat)??CX,u=r??((c=this.defaultOptions)==null?void 0:c.timezone)??this.defaultTimezone??void 0;return cX(i,d,o||this.locale,u)}catch(d){throw Ix(t,d.message)}}};s(t,"ɵfac",function(i){return new(i||t)(Ke(sd,16),Ke(DX,24),Ke(IX,24))}),s(t,"ɵpipe",Io({name:"date",type:t,pure:!0}));let e=t;return e})(),AX=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵmod",xt({type:t})),s(t,"ɵinj",_t({}));let e=t;return e})();function Ox(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 Nx="browser",TX="server";function OX(e){return e===Nx}function Rx(e){return e===TX}var Mx=class{};function cd(e,t,n){return $K(e,t,n)}var wh=new B(""),Px=(()=>{const t=class t{constructor(i,a){s(this,"_zone");s(this,"_plugins");s(this,"_eventNameToPlugin",new Map);this._zone=a,i.forEach(r=>{r.manager=this}),this._plugins=i.slice().reverse()}addEventListener(i,a,r,o){return this._findPluginFor(a).addEventListener(i,a,r,o)}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 W(5101,!1);return this._eventNameToPlugin.set(i,a),a}};s(t,"ɵfac",function(i){return new(i||t)(me(wh),me(Ie))}),s(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),Fx=class{constructor(e){s(this,"_doc");s(this,"manager");this._doc=e}},Pl="ng-app-id";function xg(e){for(let t of e)t.remove()}function wg(e,t){let n=t.createElement("style");return n.textContent=e,n}function NX(e,t,n,i){var r;let a=(r=e.head)==null?void 0:r.querySelectorAll(`style[${Pl}="${t}"],link[${Pl}="${t}"]`);if(a)for(let o of a)o.removeAttribute(Pl),o instanceof HTMLLinkElement?i.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&n.set(o.textContent,{usage:0,elements:[o]})}function kh(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Lx=(()=>{const t=class t{constructor(i,a,r,o={}){s(this,"doc");s(this,"appId");s(this,"nonce");s(this,"inline",new Map);s(this,"external",new Map);s(this,"hosts",new Set);s(this,"isServer");this.doc=i,this.appId=a,this.nonce=r,this.isServer=Rx(o),NX(i,a,this.inline,this.external),this.hosts.add(i.head)}addStyles(i,a){for(let r of i)this.addUsage(r,this.inline,wg);a==null||a.forEach(r=>this.addUsage(r,this.external,kh))}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 o=a.get(i);o?o.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&&(xg(r.elements),a.delete(i)))}ngOnDestroy(){for(let[,{elements:i}]of[...this.inline,...this.external])xg(i);this.hosts.clear()}addHost(i){this.hosts.add(i);for(let[a,{elements:r}]of this.inline)r.push(this.addElement(i,wg(a,this.doc)));for(let[a,{elements:r}]of this.external)r.push(this.addElement(i,kh(a,this.doc)))}removeHost(i){this.hosts.delete(i)}addElement(i,a){return this.nonce&&a.setAttribute("nonce",this.nonce),this.isServer&&a.setAttribute(Pl,this.appId),i.appendChild(a)}};s(t,"ɵfac",function(i){return new(i||t)(me(Ze),me(Wc),me(Np,8),me(Yc))}),s(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),au={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"},tm=/%COMP%/g,Vx="%COMP%",RX=`_nghost-${Vx}`,MX=`_ngcontent-${Vx}`,PX=!0,FX=new B("",{providedIn:"root",factory:()=>PX});function LX(e){return MX.replace(tm,e)}function VX(e){return RX.replace(tm,e)}function zx(e,t){return t.map(n=>n.replace(tm,e))}var Sh=(()=>{const t=class t{constructor(i,a,r,o,l,c,d,u=null,m=null){s(this,"eventManager");s(this,"sharedStylesHost");s(this,"appId");s(this,"removeStylesOnCompDestroy");s(this,"doc");s(this,"platformId");s(this,"ngZone");s(this,"nonce");s(this,"tracingService");s(this,"rendererByCompId",new Map);s(this,"defaultRenderer");s(this,"platformIsServer");this.eventManager=i,this.sharedStylesHost=a,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=l,this.platformId=c,this.ngZone=d,this.nonce=u,this.tracingService=m,this.platformIsServer=Rx(c),this.defaultRenderer=new im(i,l,d,this.platformIsServer,this.tracingService)}createRenderer(i,a){if(!i||!a)return this.defaultRenderer;this.platformIsServer&&a.encapsulation===qa.ShadowDom&&(a=Qe(Z({},a),{encapsulation:qa.Emulated}));let r=this.getOrCreateRenderer(i,a);return r instanceof Sg?r.applyToHost(i):r instanceof Eh&&r.applyStyles(),r}getOrCreateRenderer(i,a){let r=this.rendererByCompId,o=r.get(a.id);if(!o){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 qa.Emulated:o=new Sg(d,u,a,this.appId,m,l,c,v,g);break;case qa.ShadowDom:return new zX(d,u,i,a,l,c,this.nonce,v,g);default:o=new Eh(d,u,a,m,l,c,v,g);break}r.set(a.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(i){this.rendererByCompId.delete(i)}};s(t,"ɵfac",function(i){return new(i||t)(me(Px),me(Lx),me(Wc),me(FX),me(Ze),me(Yc),me(Ie),me(Np),me(wo,8))}),s(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),im=class{constructor(e,t,n,i,a){s(this,"eventManager");s(this,"doc");s(this,"ngZone");s(this,"platformIsServer");s(this,"tracingService");s(this,"data",Object.create(null));s(this,"throwOnSyntheticProps",!0);s(this,"destroyNode",null);this.eventManager=e,this.doc=t,this.ngZone=n,this.platformIsServer=i,this.tracingService=a}destroy(){}createElement(e,t){return t?this.doc.createElementNS(au[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(kg(e)?e.content:e).appendChild(t)}insertBefore(e,t,n){e&&(kg(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 W(-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=au[i];a?e.setAttributeNS(a,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){let i=au[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&(gn.DashCase|gn.Important)?e.style.setProperty(t,n,i&gn.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&gn.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=Yn().getGlobalEventTarget(this.doc,e),!e))throw new W(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 kg(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var zX=class extends im{constructor(t,n,i,a,r,o,l,c,d){var v;super(t,r,o,c,d);s(this,"sharedStylesHost");s(this,"hostEl");s(this,"shadowRoot");this.sharedStylesHost=n,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=a.styles;u=zx(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=kh(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)}},Eh=class extends im{constructor(t,n,i,a,r,o,l,c,d){var m;super(t,r,o,l,c);s(this,"sharedStylesHost");s(this,"removeStylesOnCompDestroy");s(this,"styles");s(this,"styleUrls");this.sharedStylesHost=n,this.removeStylesOnCompDestroy=a;let u=i.styles;this.styles=d?zx(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)}},Sg=class extends Eh{constructor(t,n,i,a,r,o,l,c,d){let u=a+"-"+i.id;super(t,n,i,r,o,l,c,d,u);s(this,"contentAttr");s(this,"hostAttr");this.contentAttr=LX(u),this.hostAttr=VX(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}},jX=class jx extends WZ{constructor(){super(...arguments);s(this,"supportsDOMEvents",!0)}static makeCurrent(){qZ(new jx)}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=BX();return i==null?null:HX(i)}resetBaseElement(){ks=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Ox(document.cookie,n)}},ks=null;function BX(){return ks=ks||document.head.querySelector("base"),ks?ks.getAttribute("href"):null}function HX(e){return new URL(e,document.baseURI).pathname}var $X=(()=>{const t=class t{build(){return new XMLHttpRequest}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),UX=(()=>{const t=class t extends Fx{constructor(i){super(i)}supports(i){return!0}addEventListener(i,a,r,o){return i.addEventListener(a,r,o),()=>this.removeEventListener(i,a,r,o)}removeEventListener(i,a,r,o){return i.removeEventListener(a,r,o)}};s(t,"ɵfac",function(i){return new(i||t)(me(Ze))}),s(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),Eg=["alt","control","meta","shift"],GX={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},qX={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},WX=(()=>{const t=class t extends Fx{constructor(i){super(i)}supports(i){return t.parseEventName(i)!=null}addEventListener(i,a,r,o){let l=t.parseEventName(a),c=t.eventCallback(l.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Yn().onAndCancel(i,l.domEventName,c,o))}static parseEventName(i){let a=i.toLowerCase().split("."),r=a.shift();if(a.length===0||!(r==="keydown"||r==="keyup"))return null;let o=t._normalizeKey(a.pop()),l="",c=a.indexOf("code");if(c>-1&&(a.splice(c,1),l="code."),Eg.forEach(u=>{let m=a.indexOf(u);m>-1&&(a.splice(m,1),l+=u+".")}),l+=o,a.length!=0||o.length===0)return null;let d={};return d.domEventName=r,d.fullKey=l,d}static matchEventFullKeyCode(i,a){let r=GX[i.key]||i.key,o="";return a.indexOf("code.")>-1&&(r=i.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),Eg.forEach(l=>{if(l!==r){let c=qX[l];c(i)&&(o+=l+".")}}),o+=r,o===a)}static eventCallback(i,a,r){return o=>{t.matchEventFullKeyCode(o,i)&&r.runGuarded(()=>a(o))}}static _normalizeKey(i){return i==="esc"?"escape":i}};s(t,"ɵfac",function(i){return new(i||t)(me(Ze))}),s(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})();function YX(e){return DZ(KX(e))}function KX(e){return{appProviders:[...eQ,...(e==null?void 0:e.providers)??[]],platformProviders:JX}}function ZX(){jX.makeCurrent()}function XX(){return new oa}function QX(){return jG(document),document}var JX=[{provide:Yc,useValue:Nx},{provide:R_,useValue:ZX,multi:!0},{provide:Ze,useFactory:QX}],eQ=[{provide:pp,useValue:"root"},{provide:oa,useFactory:XX},{provide:wh,useClass:UX,multi:!0,deps:[Ze]},{provide:wh,useClass:WX,multi:!0,deps:[Ze]},Sh,Lx,Px,{provide:Ki,useExisting:Sh},{provide:Mx,useClass:$X},[]],am=class{},Bx=class{},Ur=class Fl{constructor(t){s(this,"headers");s(this,"normalizedNames",new Map);s(this,"lazyInit");s(this,"lazyUpdate",null);t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
19
|
+
`).forEach(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 Fl?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 Fl;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof Fl?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 o=this.headers.get(n);if(!o)return;o=o.filter(l=>r.indexOf(l)===-1),o.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,o)}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)))}},tQ=class{encodeKey(e){return Cg(e)}encodeValue(e){return Cg(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function iQ(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{let a=i.indexOf("="),[r,o]=a==-1?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,a)),t.decodeValue(i.slice(a+1))],l=n.get(r)||[];l.push(o),n.set(r,l)}),n}var aQ=/%(\d[a-f0-9])/gi,nQ={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Cg(e){return encodeURIComponent(e).replace(aQ,(t,n)=>nQ[n]??t)}function sl(e){return`${e}`}var Tr=class Hx{constructor(t={}){s(this,"map");s(this,"encoder");s(this,"updates",null);s(this,"cloneFrom",null);if(this.encoder=t.encoder||new tQ,t.fromString){if(t.fromObject)throw new W(2805,!1);this.map=iQ(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(sl):[sl(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 Hx({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(sl(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(sl(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)}},rQ=class{constructor(){s(this,"map",new Map)}set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function sQ(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Dg(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Ig(e){return typeof Blob<"u"&&e instanceof Blob}function Ag(e){return typeof FormData<"u"&&e instanceof FormData}function oQ(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Tg="Content-Type",Og="Accept",$x="X-Request-URL",Ux="text/plain",Gx="application/json",lQ=`${Gx}, ${Ux}, */*`,nu=class qx{constructor(t,n,i,a){s(this,"url");s(this,"body",null);s(this,"headers");s(this,"context");s(this,"reportProgress",!1);s(this,"withCredentials",!1);s(this,"responseType","json");s(this,"method");s(this,"params");s(this,"urlWithParams");s(this,"transferCache");this.url=n,this.method=t.toUpperCase();let r;if(sQ(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 Ur),this.context??(this.context=new rQ),!this.params)this.params=new Tr,this.urlWithParams=n;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=n;else{let l=n.indexOf("?"),c=l===-1?"?":l<n.length-1?"&":"";this.urlWithParams=n+c+o}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Dg(this.body)||Ig(this.body)||Ag(this.body)||oQ(this.body)?this.body:this.body instanceof Tr?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||Ag(this.body)?null:Ig(this.body)?this.body.type||null:Dg(this.body)?null:typeof this.body=="string"?Ux:this.body instanceof Tr?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Gx:null}clone(t={}){let n=t.method||this.method,i=t.url||this.url,a=t.responseType||this.responseType,r=t.transferCache??this.transferCache,o=t.body!==void 0?t.body:this.body,l=t.withCredentials??this.withCredentials,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 qx(n,i,o,{params:u,headers:d,context:m,reportProgress:c,responseType:a,withCredentials:l,transferCache:r})}},Or=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}(Or||{}),nm=class{constructor(e,t=200,n="OK"){s(this,"headers");s(this,"status");s(this,"statusText");s(this,"url");s(this,"ok");s(this,"type");this.headers=e.headers||new Ur,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}},cQ=class Wx extends nm{constructor(n={}){super(n);s(this,"type",Or.ResponseHeader)}clone(n={}){return new Wx({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})}},Yx=class Kx extends nm{constructor(n={}){super(n);s(this,"body");s(this,"type",Or.Response);this.body=n.body!==void 0?n.body:null}clone(n={}){return new Kx({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})}},Ng=class extends nm{constructor(t){super(t,0,"Unknown Error");s(this,"name","HttpErrorResponse");s(this,"message");s(this,"error");s(this,"ok",!1);this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},dQ=200,uQ=204;function ru(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 rm=(()=>{const t=class t{constructor(i){s(this,"handler");this.handler=i}request(i,a,r={}){let o;if(i instanceof nu)o=i;else{let d;r.headers instanceof Ur?d=r.headers:d=new Ur(r.headers);let u;r.params&&(r.params instanceof Tr?u=r.params:u=new Tr({fromObject:r.params})),o=new nu(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=mt(o).pipe(nb(d=>this.handler.handle(d)));if(i instanceof nu||r.observe==="events")return l;let c=l.pipe(Qt(d=>d instanceof Yx));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return c.pipe(vt(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new W(2806,!1);return d.body}));case"blob":return c.pipe(vt(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new W(2807,!1);return d.body}));case"text":return c.pipe(vt(d=>{if(d.body!==null&&typeof d.body!="string")throw new W(2808,!1);return d.body}));case"json":default:return c.pipe(vt(d=>d.body))}case"response":return c;default:throw new W(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 Tr().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,ru(r,a))}post(i,a,r={}){return this.request("POST",i,ru(r,a))}put(i,a,r={}){return this.request("PUT",i,ru(r,a))}};s(t,"ɵfac",function(i){return new(i||t)(me(am))}),s(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),hQ=new B("");function pQ(e,t){return t(e)}function mQ(e,t,n){return(i,a)=>$c(n,()=>t(i,r=>e(r,a)))}var sm=new B(""),fQ=new B(""),gQ=new B("",{providedIn:"root",factory:()=>!0}),Rg=(()=>{const t=class t extends am{constructor(a,r){super();s(this,"backend");s(this,"injector");s(this,"chain",null);s(this,"pendingTasks",k(_o));s(this,"contributeToStability",k(gQ));this.backend=a,this.injector=r}handle(a){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(sm),...this.injector.get(fQ,[])]));this.chain=r.reduceRight((o,l)=>mQ(o,l,this.injector),pQ)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(a,o=>this.backend.handle(o)).pipe(sb(()=>this.pendingTasks.remove(r)))}else return this.chain(a,r=>this.backend.handle(r))}};s(t,"ɵfac",function(a){return new(a||t)(me(Bx),me(Ca))}),s(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),vQ=/^\)\]\}',?\n/,yQ=RegExp(`^${$x}:`,"m");function bQ(e){return"responseURL"in e&&e.responseURL?e.responseURL:yQ.test(e.getAllResponseHeaders())?e.getResponseHeader($x):null}var Mg=(()=>{const t=class t{constructor(i){s(this,"xhrFactory");this.xhrFactory=i}handle(i){if(i.method==="JSONP")throw new W(-2800,!1);let a=this.xhrFactory;return(a.ɵloadImpl?In(a.ɵloadImpl()):mt(null)).pipe(Kn(()=>new Et(r=>{let o=a.build();if(o.open(i.method,i.urlWithParams),i.withCredentials&&(o.withCredentials=!0),i.headers.forEach((w,E)=>o.setRequestHeader(w,E.join(","))),i.headers.has(Og)||o.setRequestHeader(Og,lQ),!i.headers.has(Tg)){let w=i.detectContentTypeHeader();w!==null&&o.setRequestHeader(Tg,w)}if(i.responseType){let w=i.responseType.toLowerCase();o.responseType=w!=="json"?w:"text"}let l=i.serializeBody(),c=null,d=()=>{if(c!==null)return c;let w=o.statusText||"OK",E=new Ur(o.getAllResponseHeaders()),T=bQ(o)||i.url;return c=new cQ({headers:E,status:o.status,statusText:w,url:T}),c},u=()=>{let{headers:w,status:E,statusText:T,url:z}=d(),F=null;E!==uQ&&(F=typeof o.response>"u"?o.responseText:o.response),E===0&&(E=F?dQ:0);let qe=E>=200&&E<300;if(i.responseType==="json"&&typeof F=="string"){let dt=F;F=F.replace(vQ,"");try{F=F!==""?JSON.parse(F):null}catch(tt){F=dt,qe&&(qe=!1,F={error:tt,text:F})}}qe?(r.next(new Yx({body:F,headers:w,status:E,statusText:T,url:z||void 0})),r.complete()):r.error(new Ng({error:F,headers:w,status:E,statusText:T,url:z||void 0}))},m=w=>{let{url:E}=d(),T=new Ng({error:w,status:o.status||0,statusText:o.statusText||"Unknown Error",url:E||void 0});r.error(T)},v=!1,g=w=>{v||(r.next(d()),v=!0);let E={type:Or.DownloadProgress,loaded:w.loaded};w.lengthComputable&&(E.total=w.total),i.responseType==="text"&&o.responseText&&(E.partialText=o.responseText),r.next(E)},x=w=>{let E={type:Or.UploadProgress,loaded:w.loaded};w.lengthComputable&&(E.total=w.total),r.next(E)};return o.addEventListener("load",u),o.addEventListener("error",m),o.addEventListener("timeout",m),o.addEventListener("abort",m),i.reportProgress&&(o.addEventListener("progress",g),l!==null&&o.upload&&o.upload.addEventListener("progress",x)),o.send(l),r.next({type:Or.Sent}),()=>{o.removeEventListener("error",m),o.removeEventListener("abort",m),o.removeEventListener("load",u),o.removeEventListener("timeout",m),i.reportProgress&&(o.removeEventListener("progress",g),l!==null&&o.upload&&o.upload.removeEventListener("progress",x)),o.readyState!==o.DONE&&o.abort()}})))}};s(t,"ɵfac",function(i){return new(i||t)(me(Mx))}),s(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),Zx=new B(""),_Q="XSRF-TOKEN",xQ=new B("",{providedIn:"root",factory:()=>_Q}),wQ="X-XSRF-TOKEN",kQ=new B("",{providedIn:"root",factory:()=>wQ}),Xx=class{},SQ=(()=>{const t=class t{constructor(i,a){s(this,"doc");s(this,"cookieName");s(this,"lastCookieString","");s(this,"lastToken",null);s(this,"parseCount",0);this.doc=i,this.cookieName=a}getToken(){let i=this.doc.cookie||"";return i!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ox(i,this.cookieName),this.lastCookieString=i),this.lastToken}};s(t,"ɵfac",function(i){return new(i||t)(me(Ze),me(xQ))}),s(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})();function EQ(e,t){let n=e.url.toLowerCase();if(!k(Zx)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let i=k(Xx).getToken(),a=k(kQ);return i!=null&&!e.headers.has(a)&&(e=e.clone({headers:e.headers.set(a,i)})),t(e)}var Qx=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}(Qx||{});function CQ(e,t){return{ɵkind:e,ɵproviders:t}}function DQ(...e){let t=[rm,Mg,Rg,{provide:am,useExisting:Rg},{provide:Bx,useFactory:()=>k(hQ,{optional:!0})??k(Mg)},{provide:sm,useValue:EQ,multi:!0},{provide:Zx,useValue:!0},{provide:Xx,useClass:SQ}];for(let n of e)t.push(...n.ɵproviders);return up(t)}function IQ(e){return CQ(Qx.Interceptors,e.map(t=>({provide:sm,useValue:t,multi:!0})))}var Jx=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:function(i){let a=null;return i?a=new(i||t):a=me(AQ),a},providedIn:"root"}));let e=t;return e})(),AQ=(()=>{const t=class t extends Jx{constructor(a){super();s(this,"_doc");this._doc=a}sanitize(a,r){if(r==null)return null;switch(a){case Ti.NONE:return r;case Ti.HTML:return _r(r,"HTML")?hn(r):q_(this._doc,String(r)).toString();case Ti.STYLE:return _r(r,"Style")?hn(r):r;case Ti.SCRIPT:if(_r(r,"Script"))return hn(r);throw new W(5200,!1);case Ti.URL:return _r(r,"URL")?hn(r):j_(String(r));case Ti.RESOURCE_URL:if(_r(r,"ResourceURL"))return hn(r);throw new W(5201,!1);default:throw new W(5202,!1)}}bypassSecurityTrustHtml(a){return aq(a)}bypassSecurityTrustStyle(a){return nq(a)}bypassSecurityTrustScript(a){return rq(a)}bypassSecurityTrustUrl(a){return sq(a)}bypassSecurityTrustResourceUrl(a){return oq(a)}};s(t,"ɵfac",function(a){return new(a||t)(me(Ze))}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),To=class{},TQ=(()=>{const t=class t extends To{getTranslation(i){return mt({})}};s(t,"ɵfac",(()=>{let i;return function(a){return(i||(i=li(t)))(a||t)}})()),s(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),ew=class{},OQ=(()=>{const t=class t{handle(i){return i.key}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})();function dc(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,o;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(!dc(e[r],t[r]))return!1;return!0}}else{if(Array.isArray(t))return!1;o=Object.create(null);for(r in e){if(!dc(e[r],t[r]))return!1;o[r]=!0}for(r in t)if(!(r in o)&&typeof t[r]<"u")return!1;return!0}return!1}function yn(e){return typeof e<"u"&&e!==null}function Oo(e){return Ll(e)&&!om(e)&&e!==null}function Ll(e){return typeof e=="object"}function om(e){return Array.isArray(e)}function lm(e){return typeof e=="string"}function NQ(e){return typeof e=="function"}function Ch(e,t){let n=Object.assign({},e);return Ll(e)?(Ll(e)&&Ll(t)&&Object.keys(t).forEach(i=>{Oo(t[i])?i in e?n[i]=Ch(e[i],t[i]):Object.assign(n,{[i]:t[i]}):Object.assign(n,{[i]:t[i]})}),n):Ch({},t)}function Dh(e,t){let n=t.split(".");t="";do t+=n.shift(),yn(e)&&yn(e[t])&&(Oo(e[t])||om(e[t])||!n.length)?(e=e[t],t=""):n.length?t+=".":e=void 0;while(n.length);return e}function RQ(e,t,n){let i=t.split("."),a=e;for(let r=0;r<i.length;r++){let o=i[r];r===i.length-1?a[o]=n:((!a[o]||!Oo(a[o]))&&(a[o]={}),a=a[o])}}var cm=class{},MQ=(()=>{const t=class t extends cm{constructor(){super(...arguments);s(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(a,r){if(lm(a))return this.interpolateString(a,r);if(NQ(a))return this.interpolateFunction(a,r)}interpolateFunction(a,r){return a(r)}interpolateString(a,r){return r?a.replace(this.templateMatcher,(o,l)=>{let c=Dh(r,l);return yn(c)?c:o}):a}};s(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=li(t)))(r||t)}})()),s(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),No=class{},PQ=(()=>{const t=class t extends No{compile(i,a){return i}compileTranslations(i,a){return i}};s(t,"ɵfac",(()=>{let i;return function(a){return(i||(i=li(t)))(a||t)}})()),s(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),Ih=class{constructor(){s(this,"defaultLang");s(this,"currentLang",this.defaultLang);s(this,"translations",{});s(this,"langs",[]);s(this,"onTranslationChange",new se);s(this,"onLangChange",new se);s(this,"onDefaultLangChange",new se)}},tw=new B("ISOLATE_TRANSLATE_SERVICE"),iw=new B("USE_DEFAULT_LANG"),aw=new B("DEFAULT_LANGUAGE"),nw=new B("USE_EXTEND"),us=e=>Is(e)?e:mt(e),rn=(()=>{const t=class t{constructor(i,a,r,o,l,c=!0,d=!1,u=!1,m){s(this,"store");s(this,"currentLoader");s(this,"compiler");s(this,"parser");s(this,"missingTranslationHandler");s(this,"useDefaultLang");s(this,"extend");s(this,"loadingTranslations");s(this,"pending",!1);s(this,"_translationRequests",{});s(this,"lastUseLanguage",null);this.store=i,this.currentLoader=a,this.compiler=r,this.parser=o,this.missingTranslationHandler=l,this.useDefaultLang=c,this.extend=u,d&&(this.store=new Ih),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(fi(1)).subscribe(()=>{this.changeDefaultLang(i)})):this.changeDefaultLang(i)}getDefaultLang(){return this.defaultLang}use(i){if(this.lastUseLanguage=i,i===this.currentLang)return mt(this.translations[i]);this.currentLang||(this.currentLang=i);let a=this.retrieveTranslations(i);return Is(a)?(a.pipe(fi(1)).subscribe(()=>{this.changeLang(i)}),a):(this.changeLang(i),mt(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(Ul(1),fi(1));return this.loadingTranslations=a.pipe(vt(r=>this.compiler.compileTranslations(r,i)),Ul(1),fi(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[i]=this.extend&&this.translations[i]?Z(Z({},r),this.translations[i]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),a}setTranslation(i,a,r=!1){let o=this.compiler.compileTranslations(a,i);(r||this.extend)&&this.translations[i]?this.translations[i]=Ch(this.translations[i],o):this.translations[i]=o,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 o;if(i&&(o=this.runInterpolation(Dh(i,a),r)),o===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.runInterpolation(Dh(this.translations[this.defaultLang],a),r)),o===void 0){let l={key:a,translateService:this};typeof r<"u"&&(l.interpolateParams=r),o=this.missingTranslationHandler.handle(l)}return o!==void 0?o:a}runInterpolation(i,a){if(om(i))return i.map(r=>this.runInterpolation(r,a));if(Oo(i)){let r={};for(let o in i){let l=this.runInterpolation(i[o],a);l!==void 0&&(r[o]=l)}return r}else return this.parser.interpolate(i,a)}getParsedResult(i,a,r){if(a instanceof Array){let o={},l=!1;for(let d of a)o[d]=this.getParsedResultForKey(i,d,r),l=l||Is(o[d]);if(!l)return o;let c=a.map(d=>us(o[d]));return op(c).pipe(vt(d=>{let u={};return d.forEach((m,v)=>{u[a[v]]=m}),u}))}return this.getParsedResultForKey(i,a,r)}get(i,a){if(!yn(i)||!i.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(nb(r=>us(this.getParsedResult(r,i,a)))):us(this.getParsedResult(this.translations[this.currentLang],i,a))}getStreamOnTranslationChange(i,a){if(!yn(i)||!i.length)throw new Error('Parameter "key" is required and cannot be empty');return Ls(Vs(()=>this.get(i,a)),this.onTranslationChange.pipe(Kn(r=>{let o=this.getParsedResult(r.translations,i,a);return us(o)})))}stream(i,a){if(!yn(i)||!i.length)throw new Error('Parameter "key" required');return Ls(Vs(()=>this.get(i,a)),this.onLangChange.pipe(Kn(r=>{let o=this.getParsedResult(r.translations,i,a);return us(o)})))}instant(i,a){if(!yn(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 Is(r)?Array.isArray(i)?i.reduce((o,l)=>(o[l]=l,o),{}):i:r}set(i,a,r=this.currentLang){RQ(this.translations[r],i,lm(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}};s(t,"ɵfac",function(i){return new(i||t)(me(Ih),me(To),me(No),me(cm),me(ew),me(iw),me(tw),me(nw),me(aw))}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),sn=(()=>{const t=class t{constructor(i,a){s(this,"translate");s(this,"_ref");s(this,"value","");s(this,"lastKey",null);s(this,"lastParams",[]);s(this,"onTranslationChange");s(this,"onLangChange");s(this,"onDefaultLangChange");this.translate=i,this._ref=a}updateValue(i,a,r){let o=l=>{this.value=l!==void 0?l:i,this.lastKey=i,this._ref.markForCheck()};if(r){let l=this.translate.getParsedResult(r,i,a);Is(l)?l.subscribe(o):o(l)}this.translate.get(i,a).subscribe(o)}transform(i,...a){if(!i||!i.length)return i;if(dc(i,this.lastKey)&&dc(a,this.lastParams))return this.value;let r;if(yn(a[0])&&a.length)if(lm(a[0])&&a[0].length){let o=a[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{r=JSON.parse(o)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${a[0]}`)}}else Oo(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(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(i,r,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(i,r,o.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()}};s(t,"ɵfac",function(i){return new(i||t)(Ke(rn,16),Ke(Pt,16))}),s(t,"ɵpipe",Io({name:"translate",type:t,pure:!1})),s(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),FQ=(e={})=>up([e.loader||{provide:To,useClass:TQ},e.compiler||{provide:No,useClass:PQ},e.parser||{provide:cm,useClass:MQ},e.missingTranslationHandler||{provide:ew,useClass:OQ},Ih,{provide:tw,useValue:e.isolate},{provide:iw,useValue:e.useDefaultLang},{provide:nw,useValue:e.extend},{provide:aw,useValue:e.defaultLanguage},rn]);function rw(e){return e.buttons===0||e.detail===0}function sw(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 su;function LQ(){if(su==null){let e=typeof document<"u"?document.head:null;su=!!(e&&(e.createShadowRoot||e.attachShadow))}return su}function VQ(e){if(LQ()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function Nr(){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 ka(e){return e.composedPath?e.composedPath()[0]:e.target}function ai(e,t,n,i,a){let r=parseInt(fg.major),o=parseInt(fg.minor);return r>19||r===19&&o>0||r===0&&o===0?e.listen(t,n,i,a):(t.addEventListener(n,i,a),()=>{t.removeEventListener(n,i,a)})}var Ah;try{Ah=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Ah=!1}var Ft=(()=>{const t=class t{constructor(){s(this,"_platformId",k(Yc));s(this,"isBrowser",this._platformId?OX(this._platformId):typeof document=="object"&&!!document);s(this,"EDGE",this.isBrowser&&/(edge)/i.test(navigator.userAgent));s(this,"TRIDENT",this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent));s(this,"BLINK",this.isBrowser&&!!(window.chrome||Ah)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT);s(this,"WEBKIT",this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT);s(this,"IOS",this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window));s(this,"FIREFOX",this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent));s(this,"ANDROID",this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT);s(this,"SAFARI",this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT)}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),hs;function zQ(){if(hs==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>hs=!0}))}finally{hs=hs||!1}return hs}function dd(e){return zQ()?e:!!e.capture}function uc(e,t=0){return jQ(e)?Number(e):arguments.length===2?t:0}function jQ(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function kn(e){return e instanceof Pe?e.nativeElement:e}var BQ=new B("cdk-input-modality-detector-options"),HQ={ignoreKeys:[18,17,224,91,16]},ow=650,ou={passive:!0,capture:!0},$Q=(()=>{const t=class t{constructor(){s(this,"_platform",k(Ft));s(this,"_listenerCleanups");s(this,"modalityDetected");s(this,"modalityChanged");s(this,"_mostRecentTarget",null);s(this,"_modality",new Un(null));s(this,"_options");s(this,"_lastTouchMs",0);s(this,"_onKeydown",i=>{var a,r;(r=(a=this._options)==null?void 0:a.ignoreKeys)!=null&&r.some(o=>o===i.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=ka(i))});s(this,"_onMousedown",i=>{Date.now()-this._lastTouchMs<ow||(this._modality.next(rw(i)?"keyboard":"mouse"),this._mostRecentTarget=ka(i))});s(this,"_onTouchstart",i=>{if(sw(i)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=ka(i)});let i=k(Ie),a=k(Ze),r=k(BQ,{optional:!0});if(this._options=Z(Z({},HQ),r),this.modalityDetected=this._modality.pipe(lb(1)),this.modalityChanged=this.modalityDetected.pipe(G$()),this._platform.isBrowser){let o=k(Ki).createRenderer(null,null);this._listenerCleanups=i.runOutsideAngular(()=>[ai(o,a,"keydown",this._onKeydown,ou),ai(o,a,"mousedown",this._onMousedown,ou),ai(o,a,"touchstart",this._onTouchstart,ou)])}}get mostRecentModality(){return this._modality.value}ngOnDestroy(){var i;this._modality.complete(),(i=this._listenerCleanups)==null||i.forEach(a=>a())}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Vl=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(Vl||{}),UQ=new B("cdk-focus-monitor-default-options"),ol=dd({passive:!0,capture:!0}),Ro=(()=>{const t=class t{constructor(){s(this,"_ngZone",k(Ie));s(this,"_platform",k(Ft));s(this,"_inputModalityDetector",k($Q));s(this,"_origin",null);s(this,"_lastFocusOrigin");s(this,"_windowFocused",!1);s(this,"_windowFocusTimeoutId");s(this,"_originTimeoutId");s(this,"_originFromTouchInteraction",!1);s(this,"_elementInfo",new Map);s(this,"_monitoredElementCount",0);s(this,"_rootNodeFocusListenerCount",new Map);s(this,"_detectionMode");s(this,"_windowFocusListener",()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)});s(this,"_document",k(Ze,{optional:!0}));s(this,"_stopInputModalityDetector",new re);s(this,"_rootNodeFocusAndBlurListener",i=>{let a=ka(i);for(let r=a;r;r=r.parentElement)i.type==="focus"?this._onFocus(i,r):this._onBlur(i,r)});let i=k(UQ,{optional:!0});this._detectionMode=(i==null?void 0:i.detectionMode)||Vl.IMMEDIATE}monitor(i,a=!1){let r=kn(i);if(!this._platform.isBrowser||r.nodeType!==1)return mt();let o=VQ(r)||this._getDocument(),l=this._elementInfo.get(r);if(l)return a&&(l.checkChildren=!0),l.subject;let c={checkChildren:a,subject:new re,rootNode:o};return this._elementInfo.set(r,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(i){let a=kn(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 o=kn(i),l=this._getDocument().activeElement;o===l?this._getClosestElementsInfo(o).forEach(([c,d])=>this._originChanged(c,a,d)):(this._setOrigin(a),typeof o.focus=="function"&&o.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===Vl.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===Vl.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?ow:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(i,a){let r=this._elementInfo.get(a),o=ka(i);!r||!r.checkChildren&&a!==o||this._originChanged(a,this._getFocusOrigin(o),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,ol),a.addEventListener("blur",this._rootNodeFocusAndBlurListener,ol)}),this._rootNodeFocusListenerCount.set(a,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(St(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!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,ol),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ol),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,o)=>{(o===i||r.checkChildren&&o.contains(i))&&a.push([o,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 o=i.labels;if(o){for(let l=0;l<o.length;l++)if(o[l].contains(a))return!0}return!1}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),GQ=(()=>{const t=class t{constructor(){s(this,"_elementRef",k(Pe));s(this,"_focusMonitor",k(Ro));s(this,"_monitorSubscription");s(this,"_focusOrigin",null);s(this,"cdkFocusChange",new se)}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()}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",xe({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}));let e=t;return e})(),ll=new WeakMap,Di=(()=>{const t=class t{constructor(){s(this,"_appRef");s(this,"_injector",k(lt));s(this,"_environmentInjector",k(Ca))}load(i){let a=this._appRef=this._appRef||this._injector.get(En),r=ll.get(a);r||(r={loaders:new Set,refs:[]},ll.set(a,r),a.onDestroy(()=>{var o;(o=ll.get(a))==null||o.refs.forEach(l=>l.destroy()),ll.delete(a)})),r.loaders.has(i)||(r.loaders.add(i),r.refs.push(_x(i,{environmentInjector:this._environmentInjector})))}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),dr=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Ee({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 hc(e){return Array.isArray(e)?e:[e]}var Pg=new Set,Pn,qQ=(()=>{const t=class t{constructor(){s(this,"_platform",k(Ft));s(this,"_nonce",k(Np,{optional:!0}));s(this,"_matchMedia");this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):YQ}matchMedia(i){return(this._platform.WEBKIT||this._platform.BLINK)&&WQ(i,this._nonce),this._matchMedia(i)}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function WQ(e,t){if(!Pg.has(e))try{Pn||(Pn=document.createElement("style"),t&&Pn.setAttribute("nonce",t),Pn.setAttribute("type","text/css"),document.head.appendChild(Pn)),Pn.sheet&&(Pn.sheet.insertRule(`@media ${e} {body{ }}`,0),Pg.add(e))}catch(n){console.error(n)}}function YQ(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var lw=(()=>{const t=class t{constructor(){s(this,"_mediaMatcher",k(qQ));s(this,"_zone",k(Ie));s(this,"_queries",new Map);s(this,"_destroySubject",new re)}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(i){return Fg(hc(i)).some(a=>this._registerQuery(a).mql.matches)}observe(i){let a=Fg(hc(i)).map(o=>this._registerQuery(o).observable),r=V$(a);return r=Ls(r.pipe(fi(1)),r.pipe(lb(1),rb(0))),r.pipe(vt(o=>{let l={matches:!1,breakpoints:{}};return o.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 Et(o=>{let l=c=>this._zone.run(()=>o.next(c));return a.addListener(l),()=>{a.removeListener(l)}}).pipe(Ri(a),vt(({matches:o})=>({query:i,matches:o})),St(this._destroySubject)),mql:a};return this._queries.set(i,r),r}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Fg(e){return e.map(t=>t.split(",")).reduce((t,n)=>t.concat(n)).map(t=>t.trim())}var KQ=(()=>{const t=class t{create(i){return typeof MutationObserver>"u"?null:new MutationObserver(i)}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),cw=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵmod",xt({type:t})),s(t,"ɵinj",_t({providers:[KQ]}));let e=t;return e})(),dw=(()=>{const t=class t{constructor(){s(this,"_platform",k(Ft))}isDisabled(i){return i.hasAttribute("disabled")}isVisible(i){return XQ(i)&&getComputedStyle(i).visibility==="visible"}isTabbable(i){if(!this._platform.isBrowser)return!1;let a=ZQ(rJ(i));if(a&&(Lg(a)===-1||!this.isVisible(a)))return!1;let r=i.nodeName.toLowerCase(),o=Lg(i);return i.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!aJ(i)?!1:r==="audio"?i.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||i.hasAttribute("controls"):i.tabIndex>=0}isFocusable(i,a){return nJ(i)&&!this.isDisabled(i)&&((a==null?void 0:a.ignoreVisibility)||this.isVisible(i))}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function ZQ(e){try{return e.frameElement}catch{return null}}function XQ(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function QQ(e){let t=e.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function JQ(e){return tJ(e)&&e.type=="hidden"}function eJ(e){return iJ(e)&&e.hasAttribute("href")}function tJ(e){return e.nodeName.toLowerCase()=="input"}function iJ(e){return e.nodeName.toLowerCase()=="a"}function uw(e){if(!e.hasAttribute("tabindex")||e.tabIndex===void 0)return!1;let t=e.getAttribute("tabindex");return!!(t&&!isNaN(parseInt(t,10)))}function Lg(e){if(!uw(e))return null;let t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function aJ(e){let t=e.nodeName.toLowerCase(),n=t==="input"&&e.type;return n==="text"||n==="password"||t==="select"||t==="textarea"}function nJ(e){return JQ(e)?!1:QQ(e)||eJ(e)||e.hasAttribute("contenteditable")||uw(e)}function rJ(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var sJ=class{constructor(e,t,n,i,a=!1,r){s(this,"_element");s(this,"_checker");s(this,"_ngZone");s(this,"_document");s(this,"_injector");s(this,"_startAnchor");s(this,"_endAnchor");s(this,"_hasAttached",!1);s(this,"startAnchorListener",()=>this.focusLastTabbableElement());s(this,"endAnchorListener",()=>this.focusFirstTabbableElement());s(this,"_enabled",!0);this._element=e,this._checker=t,this._ngZone=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)}},hw=(()=>{const t=class t{constructor(){s(this,"_checker",k(dw));s(this,"_ngZone",k(Ie));s(this,"_document",k(Ze));s(this,"_injector",k(lt));k(Di).load(dr)}create(i,a=!1){return new sJ(i,this._checker,this._ngZone,this._document,a,this._injector)}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),oJ=(()=>{const t=class t{constructor(){s(this,"_elementRef",k(Pe));s(this,"_focusTrapFactory",k(hw));s(this,"focusTrap");s(this,"_previouslyFocusedElement",null);s(this,"autoCapture");k(Ft).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=Nr(),(i=this.focusTrap)==null||i.focusInitialElementWhenReady()}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",xe({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",Be],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",Be]},exportAs:["cdkTrapFocus"],features:[oi]}));let e=t;return e})(),lJ=new B("liveAnnouncerElement",{providedIn:"root",factory:cJ});function cJ(){return null}var dJ=new B("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),uJ=0,pw=(()=>{const t=class t{constructor(){s(this,"_ngZone",k(Ie));s(this,"_defaultOptions",k(dJ,{optional:!0}));s(this,"_liveElement");s(this,"_document",k(Ze));s(this,"_previousTimeout");s(this,"_currentPromise");s(this,"_currentResolve");let i=k(lJ,{optional:!0});this._liveElement=i||this._createLiveElement()}announce(i,...a){let r=this._defaultOptions,o,l;return a.length===1&&typeof a[0]=="number"?l=a[0]:[o,l]=a,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),l==null&&r&&(l=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(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 o=0;o<a.length;o++)a[o].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-${uJ++}`,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 o=a[r],l=o.getAttribute("aria-owns");l?l.indexOf(i)===-1&&o.setAttribute("aria-owns",l+" "+i):o.setAttribute("aria-owns",i)}}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Bn=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}(Bn||{}),Vg="cdk-high-contrast-black-on-white",zg="cdk-high-contrast-white-on-black",lu="cdk-high-contrast-active",mw=(()=>{const t=class t{constructor(){s(this,"_platform",k(Ft));s(this,"_hasCheckedHighContrastMode");s(this,"_document",k(Ze));s(this,"_breakpointSubscription");this._breakpointSubscription=k(lw).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Bn.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,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(i.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Bn.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Bn.BLACK_ON_WHITE}return Bn.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let i=this._document.body.classList;i.remove(lu,Vg,zg),this._hasCheckedHighContrastMode=!0;let a=this.getHighContrastMode();a===Bn.BLACK_ON_WHITE?i.add(lu,Vg):a===Bn.WHITE_ON_BLACK&&i.add(lu,zg)}}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),fw=(()=>{const t=class t{constructor(){k(mw)._applyBodyHighContrastModeCssClasses()}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵmod",xt({type:t})),s(t,"ɵinj",_t({imports:[cw]}));let e=t;return e})(),cu={},di=(()=>{const t=class t{constructor(){s(this,"_appId",k(Wc))}getId(i){return this._appId!=="ng"&&(i+=this._appId),cu.hasOwnProperty(i)||(cu[i]=0),`${i}${cu[i]++}`}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),hJ=200,pJ=class{constructor(e,t){s(this,"_letterKeyStream",new re);s(this,"_items",[]);s(this,"_selectedItemIndex",-1);s(this,"_pressedLetters",[]);s(this,"_skipPredicateFn");s(this,"_selectedItem",new re);s(this,"selectedItem",this._selectedItem);let n=typeof(t==null?void 0:t.debounceInterval)=="number"?t.debounceInterval:hJ;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(As(t=>this._pressedLetters.push(t)),rb(e),Qt(()=>this._pressedLetters.length>0),vt(()=>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,o=this._items[r];if(!((n=this._skipPredicateFn)!=null&&n.call(this,o))&&((i=o.getLabel)==null?void 0:i.call(o).toLocaleUpperCase().trim().indexOf(t))===0){this._selectedItem.next(o);break}}this._pressedLetters=[]})}};function vi(e,...t){return t.length?t.some(n=>e[n]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var gw=class{constructor(e,t){s(this,"_items");s(this,"_activeItemIndex",-1);s(this,"_activeItem",xa(null));s(this,"_wrap",!1);s(this,"_typeaheadSubscription",ot.EMPTY);s(this,"_itemChangesSubscription");s(this,"_vertical",!0);s(this,"_horizontal");s(this,"_allowedModifierKeys",[]);s(this,"_homeAndEnd",!1);s(this,"_pageUpAndDown",{enabled:!1,delta:10});s(this,"_effectRef");s(this,"_typeahead");s(this,"_skipPredicateFn",e=>e.disabled);s(this,"tabOut",new re);s(this,"change",new re);this._items=e,e instanceof ac?this._itemChangesSubscription=e.changes.subscribe(n=>this._itemsChanged(n.toArray())):Us(e)&&(this._effectRef=yx(()=>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 pJ(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,o=this._getItemsArray().length;this._setActiveItemByIndex(r<o?r:o-1,-1);break}else return;default:(n||vi(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 Us(this._items)?this._items():this._items instanceof ac?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))}}},mJ=class extends gw{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}},fJ=class extends gw{constructor(){super(...arguments);s(this,"_origin","program")}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}},vw=" ";function yw(e,t,n){let i=pc(e,t);n=n.trim(),!i.some(a=>a.trim()===n)&&(i.push(n),e.setAttribute(t,i.join(vw)))}function Th(e,t,n){let i=pc(e,t);n=n.trim();let a=i.filter(r=>r!==n);a.length?e.setAttribute(t,a.join(vw)):e.removeAttribute(t)}function pc(e,t){var n;return((n=e.getAttribute(t))==null?void 0:n.match(/\S+/g))??[]}var bw="cdk-describedby-message",cl="cdk-describedby-host",Oh=0,gJ=(()=>{const t=class t{constructor(){s(this,"_platform",k(Ft));s(this,"_document",k(Ze));s(this,"_messageRegistry",new Map);s(this,"_messagesContainer",null);s(this,"_id",`${Oh++}`);k(Di).load(dr),this._id=k(Wc)+"-"+Oh++}describe(i,a,r){if(!this._canBeDescribed(i,a))return;let o=du(a,r);typeof a!="string"?(jg(a,this._id),this._messageRegistry.set(o,{messageElement:a,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(a,r),this._isElementDescribedByMessage(i,o)||this._addMessageReference(i,o)}removeDescription(i,a,r){var l;if(!a||!this._isElementNode(i))return;let o=du(a,r);if(this._isElementDescribedByMessage(i,o)&&this._removeMessageReference(i,o),typeof a=="string"){let c=this._messageRegistry.get(o);c&&c.referenceCount===0&&this._deleteMessageElement(o)}((l=this._messagesContainer)==null?void 0:l.childNodes.length)===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var a;let i=this._document.querySelectorAll(`[${cl}="${this._id}"]`);for(let r=0;r<i.length;r++)this._removeCdkDescribedByReferenceIds(i[r]),i[r].removeAttribute(cl);(a=this._messagesContainer)==null||a.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(i,a){let r=this._document.createElement("div");jg(r,this._id),r.textContent=i,a&&r.setAttribute("role",a),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(du(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 o=0;o<a.length;o++)a[o].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=pc(i,"aria-describedby").filter(r=>r.indexOf(bw)!=0);i.setAttribute("aria-describedby",a.join(" "))}_addMessageReference(i,a){let r=this._messageRegistry.get(a);yw(i,"aria-describedby",r.messageElement.id),i.setAttribute(cl,this._id),r.referenceCount++}_removeMessageReference(i,a){let r=this._messageRegistry.get(a);r.referenceCount--,Th(i,"aria-describedby",r.messageElement.id),i.removeAttribute(cl)}_isElementDescribedByMessage(i,a){let r=pc(i,"aria-describedby"),o=this._messageRegistry.get(a),l=o&&o.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(),o=i.getAttribute("aria-label");return r?!o||o.trim()!==r:!1}_isElementNode(i){return i.nodeType===this._document.ELEMENT_NODE}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function du(e,t){return typeof e=="string"?`${t||""}/${e}`:e}function jg(e,t){e.id||(e.id=`${bw}-${t}-${Oh++}`)}var vJ=new B("cdk-dir-doc",{providedIn:"root",factory:yJ});function yJ(){return k(Ze)}var bJ=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function _J(e){let t=(e==null?void 0:e.toLowerCase())||"";return t==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?bJ.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var Fi=(()=>{const t=class t{constructor(){s(this,"value","ltr");s(this,"change",new se);let i=k(vJ,{optional:!0});if(i){let a=i.body?i.body.dir:null,r=i.documentElement?i.documentElement.dir:null;this.value=_J(a||r||"ltr")}}ngOnDestroy(){this.change.complete()}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Xs=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵmod",xt({type:t})),s(t,"ɵinj",_t({}));let e=t;return e})(),qt=(()=>{const t=class t{constructor(){k(mw)._applyBodyHighContrastModeCssClasses()}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵmod",xt({type:t})),s(t,"ɵinj",_t({imports:[Xs,Xs]}));let e=t;return e})(),_w=class{constructor(e,t,n,i,a){s(this,"_defaultMatcher");s(this,"ngControl");s(this,"_parentFormGroup");s(this,"_parentForm");s(this,"_stateChanges");s(this,"errorState",!1);s(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())}},Nh=new B("MAT_DATE_LOCALE",{providedIn:"root",factory:xJ});function xJ(){return k(sd)}var gr="Method not implemented",Vi=class{constructor(){s(this,"locale");s(this,"_localeChanges",new re);s(this,"localeChanges",this._localeChanges)}setTime(e,t,n,i){throw new Error(gr)}getHours(e){throw new Error(gr)}getMinutes(e){throw new Error(gr)}getSeconds(e){throw new Error(gr)}parseTime(e,t){throw new Error(gr)}addSeconds(e,t){throw new Error(gr)}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}},es=new B("mat-date-formats"),dm=(()=>{const t=class t{isErrorState(i,a){return!!(i&&i.invalid&&(i.touched||a&&a.submitted))}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Mo=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Ee({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}}
|
|
21
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),va=function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e}(va||{}),dl,Fn;function xw(){if(Fn==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Fn=!1,Fn;if("scrollBehavior"in document.documentElement.style)Fn=!0;else{let e=Element.prototype.scrollTo;e?Fn=!/\{\s*\[native code\]\s*\}/.test(e.toString()):Fn=!1}}return Fn}function ps(){if(typeof document!="object"||!document)return va.NORMAL;if(dl==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),dl=va.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,dl=e.scrollLeft===0?va.NEGATED:va.INVERTED),e.remove()}return dl}function Bg(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var vr,Hg=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function $g(){if(vr)return vr;if(typeof document!="object"||!document)return vr=new Set(Hg),vr;let e=document.createElement("input");return vr=new Set(Hg.filter(t=>(e.setAttribute("type",t),e.type===t))),vr}function Rr(e){return e!=null&&`${e}`!="false"}function zt(e){return e==null?"":typeof e=="string"?e:`${e}px`}function wJ(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 Bi=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}(Bi||{}),kJ=class{constructor(e,t,n,i=!1){s(this,"_renderer");s(this,"element");s(this,"config");s(this,"_animationForciblyDisabledThroughCss");s(this,"state",Bi.HIDDEN);this._renderer=e,this.element=t,this.config=n,this._animationForciblyDisabledThroughCss=i}fadeOut(){this._renderer.fadeOutRipple(this)}},Ug=dd({passive:!0,capture:!0}),SJ=class{constructor(){s(this,"_events",new Map);s(this,"_delegateEventHandler",e=>{var n;let t=ka(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,Ug)})}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,Ug)))}},mc={enterDuration:225,exitDuration:150},EJ=800,Gg=dd({passive:!0,capture:!0}),qg=["mousedown","touchstart"],Wg=["mouseup","mouseleave","touchend","touchcancel"],CJ=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Ee({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}
|
|
22
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),bn,ww=(bn=class{constructor(t,n,i,a,r){s(this,"_target");s(this,"_ngZone");s(this,"_platform");s(this,"_containerElement");s(this,"_triggerElement");s(this,"_isPointerDown",!1);s(this,"_activeRipples",new Map);s(this,"_mostRecentTransientRipple");s(this,"_lastTouchStartEvent");s(this,"_pointerUpEventsRegistered",!1);s(this,"_containerRect");this._target=t,this._ngZone=n,this._platform=a,a.isBrowser&&(this._containerElement=kn(i)),r&&r.get(Di).load(CJ)}fadeInRipple(t,n,i={}){let a=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=Z(Z({},mc),i.animation);i.centered&&(t=a.left+a.width/2,n=a.top+a.height/2);let o=i.radius||DJ(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-o}px`,u.style.top=`${c-o}px`,u.style.height=`${o*2}px`,u.style.width=`${o*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,w=new kJ(this,u,i,x);u.style.transform="scale3d(1, 1, 1)",w.state=Bi.FADING_IN,i.persistent||(this._mostRecentTransientRipple=w);let E=null;return!x&&(d||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let T=()=>{E&&(E.fallbackTimer=null),clearTimeout(F),this._finishRippleTransition(w)},z=()=>this._destroyRipple(w),F=setTimeout(z,d+100);u.addEventListener("transitionend",T),u.addEventListener("transitioncancel",z),E={onTransitionEnd:T,onTransitionCancel:z,fallbackTimer:F}}),this._activeRipples.set(w,E),(x||!d)&&this._finishRippleTransition(w),w}fadeOutRipple(t){if(t.state===Bi.FADING_OUT||t.state===Bi.HIDDEN)return;let n=t.element,i=Z(Z({},mc),t.config.animation);n.style.transitionDuration=`${i.exitDuration}ms`,n.style.opacity="0",t.state=Bi.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=kn(t);!this._platform.isBrowser||!n||n===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=n,qg.forEach(i=>{bn._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(()=>{Wg.forEach(n=>{this._triggerElement.addEventListener(n,this,Gg)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===Bi.FADING_IN?this._startFadeOutTransition(t):t.state===Bi.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let n=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=Bi.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=Bi.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=rw(t),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+EJ;!this._target.rippleDisabled&&!n&&!i&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!sw(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===Bi.VISIBLE||t.config.terminateOnPointerUp&&t.state===Bi.FADING_IN;!t.config.persistent&&n&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(qg.forEach(n=>bn._eventManager.removeHandler(n,t,this)),this._pointerUpEventsRegistered&&(Wg.forEach(n=>t.removeEventListener(n,this,Gg)),this._pointerUpEventsRegistered=!1))}},s(bn,"_eventManager",new SJ),bn);function DJ(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 um=new B("mat-ripple-global-options"),IJ=(()=>{const t=class t{constructor(){s(this,"_elementRef",k(Pe));s(this,"_animationMode",k(Li,{optional:!0}));s(this,"color");s(this,"unbounded");s(this,"centered");s(this,"radius",0);s(this,"animation");s(this,"_disabled",!1);s(this,"_trigger");s(this,"_rippleRenderer");s(this,"_globalOptions");s(this,"_isInitialized",!1);let i=k(Ie),a=k(Ft),r=k(um,{optional:!0}),o=k(lt);this._globalOptions=r||{},this._rippleRenderer=new ww(this,i,this._elementRef,a,o)}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:Z(Z(Z({},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,Z(Z({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,Z(Z({},this.rippleConfig),i))}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",xe({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,a){i&2&&Ge("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})(),AJ=(()=>{const t=class t{constructor(){s(this,"_animationMode",k(Li,{optional:!0}));s(this,"state","unchecked");s(this,"disabled",!1);s(this,"appearance","full")}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Ee({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,a){i&2&&Ge("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}
|
|
23
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),TJ=["text"],OJ=[[["mat-icon"]],"*"],NJ=["mat-icon","*"];function RJ(e,t){if(e&1&&le(0,"mat-pseudo-checkbox",1),e&2){let n=j();ae("disabled",n.disabled)("state",n.selected?"checked":"unchecked")}}function MJ(e,t){if(e&1&&le(0,"mat-pseudo-checkbox",3),e&2){let n=j();ae("disabled",n.disabled)}}function PJ(e,t){if(e&1&&(O(0,"span",4),q(1),N()),e&2){let n=j();D(),Me("(",n.group.label,")")}}var kw=new B("MAT_OPTION_PARENT_COMPONENT"),Sw=new B("MatOptgroup"),FJ=class{constructor(e,t=!1){s(this,"source");s(this,"isUserInput");this.source=e,this.isUserInput=t}},ud=(()=>{const t=class t{constructor(){s(this,"_element",k(Pe));s(this,"_changeDetectorRef",k(Pt));s(this,"_parent",k(kw,{optional:!0}));s(this,"group",k(Sw,{optional:!0}));s(this,"_signalDisableRipple",!1);s(this,"_selected",!1);s(this,"_active",!1);s(this,"_disabled",!1);s(this,"_mostRecentViewValue","");s(this,"value");s(this,"id",k(di).getId("mat-option-"));s(this,"onSelectionChange",new se);s(this,"_text");s(this,"_stateChanges",new re);let i=k(Di);i.load(Mo),i.load(dr),this._signalDisableRipple=!!this._parent&&Us(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)&&!vi(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 FJ(this,i))}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Ee({type:t,selectors:[["mat-option"]],viewQuery:function(i,a){if(i&1&&pt(TJ,7),i&2){let r;Te(r=Oe())&&(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&&(nn("id",a.id),be("aria-selected",a.selected)("aria-disabled",a.disabled.toString()),Ge("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",Be]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:NJ,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&&(Ci(OJ),ue(0,RJ,1,2,"mat-pseudo-checkbox",1),nt(1),O(2,"span",2,0),nt(4,1),N(),ue(5,MJ,1,1,"mat-pseudo-checkbox",3)(6,PJ,2,1,"span",4),le(7,"div",5)),i&2&&(de(a.multiple?0:-1),D(5),de(!a.multiple&&a.selected&&!a.hideSingleSelectionIndicator?5:-1),D(),de(a.group&&a.group._inert?6:-1),D(),ae("matRippleTrigger",a._getHostElement())("matRippleDisabled",a.disabled||a.disableRipple))},dependencies:[AJ,IJ],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:""}
|
|
24
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})();function LJ(e,t,n){if(n.length){let i=t.toArray(),a=n.toArray(),r=0;for(let o=0;o<e+1;o++)i[o].group&&i[o].group===a[r]&&r++;return r}return 0}function VJ(e,t,n,i){return e<n?e:e+t>n+i?Math.max(0,e-i+t):n}var hm=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵmod",xt({type:t})),s(t,"ɵinj",_t({imports:[qt,qt]}));let e=t;return e})(),zJ=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵmod",xt({type:t})),s(t,"ɵinj",_t({imports:[qt]}));let e=t;return e})(),Rh=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵmod",xt({type:t})),s(t,"ɵinj",_t({imports:[hm,qt,zJ]}));let e=t;return e})(),jJ={capture:!0},BJ=["focus","mousedown","mouseenter","touchstart"],uu="mat-ripple-loader-uninitialized",hu="mat-ripple-loader-class-name",Yg="mat-ripple-loader-centered",ul="mat-ripple-loader-disabled",Ew=(()=>{const t=class t{constructor(){s(this,"_document",k(Ze));s(this,"_animationMode",k(Li,{optional:!0}));s(this,"_globalRippleOptions",k(um,{optional:!0}));s(this,"_platform",k(Ft));s(this,"_ngZone",k(Ie));s(this,"_injector",k(lt));s(this,"_eventCleanups");s(this,"_hosts",new Map);s(this,"_onInteraction",i=>{var r;let a=ka(i);if(a instanceof HTMLElement){let o=a.closest(`[${uu}="${((r=this._globalRippleOptions)==null?void 0:r.namespace)??""}"]`);o&&this._createRipple(o)}});let i=k(Ki).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>BJ.map(a=>ai(i,this._document,a,this._onInteraction,jJ)))}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(uu,((r=this._globalRippleOptions)==null?void 0:r.namespace)??""),(a.className||!i.hasAttribute(hu))&&i.setAttribute(hu,a.className||""),a.centered&&i.setAttribute(Yg,""),a.disabled&&i.setAttribute(ul,"")}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(ul,""):i.removeAttribute(ul)}_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(hu)),i.append(a);let r=this._animationMode==="NoopAnimations",o=this._globalRippleOptions,l=r?0:((g=o==null?void 0:o.animation)==null?void 0:g.enterDuration)??mc.enterDuration,c=r?0:((x=o==null?void 0:o.animation)==null?void 0:x.exitDuration)??mc.exitDuration,d={rippleDisabled:r||(o==null?void 0:o.disabled)||i.hasAttribute(ul),rippleConfig:{centered:i.hasAttribute(Yg),terminateOnPointerUp:o==null?void 0:o.terminateOnPointerUp,animation:{enterDuration:l,exitDuration:c}}},u=new ww(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(uu)}destroyRipple(i){let a=this._hosts.get(i);a&&(a.renderer._removeTriggerEvents(),this._hosts.delete(i))}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),HJ=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,$J=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function pu(e,t){let n=Array(e);for(let i=0;i<e;i++)n[i]=t(i);return n}var UJ=(()=>{const t=class t extends Vi{constructor(){super();s(this,"useUtcForDisplay",!1);s(this,"_matDateLocale",k(Nh,{optional:!0}));let a=k(Nh,{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 pu(12,o=>this._format(r,new Date(2017,o,1)))}getDateNames(){let a=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return pu(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 pu(7,o=>this._format(r,new Date(2017,0,o+1)))}getYearName(a){let r=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(r,a)}getFirstDayOfWeek(){var a,r;if(typeof Intl<"u"&&Intl.Locale){let o=new Intl.Locale(this.locale),l=((r=((a=o.getWeekInfo)==null?void 0:a.call(o))||o.weekInfo)==null?void 0:r.firstDay)??0;return l===7?0:l}return 0}getNumDaysInMonth(a){return this.getDate(this._createDateWithOverflow(this.getYear(a),this.getMonth(a)+1,0))}clone(a){return new Date(a.getTime())}createDate(a,r,o){let l=this._createDateWithOverflow(a,r,o);return l.getMonth()!=r,l}today(){return new Date}parse(a,r){return typeof a=="number"?new Date(a):a?new Date(Date.parse(a)):null}format(a,r){if(!this.isValid(a))throw Error("NativeDateAdapter: Cannot format invalid date.");let o=new Intl.DateTimeFormat(this.locale,Qe(Z({},r),{timeZone:"utc"}));return this._format(o,a)}addCalendarYears(a,r){return this.addCalendarMonths(a,r*12)}addCalendarMonths(a,r){let o=this._createDateWithOverflow(this.getYear(a),this.getMonth(a)+r,this.getDate(a));return this.getMonth(o)!=((this.getMonth(a)+r)%12+12)%12&&(o=this._createDateWithOverflow(this.getYear(o),this.getMonth(o),0)),o}addCalendarDays(a,r){return this._createDateWithOverflow(this.getYear(a),this.getMonth(a),this.getDate(a)+r)}toIso8601(a){return[a.getUTCFullYear(),this._2digit(a.getUTCMonth()+1),this._2digit(a.getUTCDate())].join("-")}deserialize(a){if(typeof a=="string"){if(!a)return null;if(HJ.test(a)){let r=new Date(a);if(this.isValid(r))return r}}return super.deserialize(a)}isDateInstance(a){return a instanceof Date}isValid(a){return!isNaN(a.getTime())}invalid(){return new Date(NaN)}setTime(a,r,o,l){let c=this.clone(a);return c.setHours(r,o,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 o=a.trim();if(o.length===0)return null;let l=this._parseTimeString(o);if(l===null){let c=o.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,o){let l=new Date;return l.setFullYear(a,r,o),l.setHours(0,0,0,0),l}_2digit(a){return("00"+a).slice(-2)}_format(a,r){let o=new Date;return o.setUTCFullYear(r.getFullYear(),r.getMonth(),r.getDate()),o.setUTCHours(r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()),a.format(o)}_parseTimeString(a){let r=a.toUpperCase().match($J);if(r){let o=parseInt(r[1]),l=parseInt(r[2]),c=r[3]==null?void 0:parseInt(r[3]),d=r[4];if(o===12?o=d==="AM"?0:o:d==="PM"&&(o+=12),mu(o,0,23)&&mu(l,0,59)&&(c==null||mu(c,0,59)))return this.setTime(this.today(),o,l,c||0)}return null}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})();function mu(e,t,n){return!isNaN(e)&&e>=t&&e<=n}var pm=class{constructor(){s(this,"_attachedHost")}attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},Cn=class extends pm{constructor(t,n,i,a,r){super();s(this,"component");s(this,"viewContainerRef");s(this,"injector");s(this,"componentFactoryResolver");s(this,"projectableNodes");this.component=t,this.viewContainerRef=n,this.injector=i,this.projectableNodes=r}},hd=class extends pm{constructor(t,n,i,a){super();s(this,"templateRef");s(this,"viewContainerRef");s(this,"context");s(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()}},GJ=class extends pm{constructor(t){super();s(this,"element");this.element=t instanceof Pe?t.nativeElement:t}},pd=class{constructor(){s(this,"_attachedPortal");s(this,"_disposeFn");s(this,"_isDisposed",!1);s(this,"attachDomPortal",null)}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof Cn)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof hd)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof GJ)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)}},qJ=class extends pd{constructor(t,n,i,a,r){super();s(this,"outletElement");s(this,"_appRef");s(this,"_defaultInjector");s(this,"_document");s(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(Ws,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||lt.NULL,r=a.get(Ca,i.injector);n=_x(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]}},rr=(()=>{const t=class t extends pd{constructor(){super();s(this,"_moduleRef",k(Ws,{optional:!0}));s(this,"_document",k(Ze));s(this,"_viewContainerRef",k(An));s(this,"_isInitialized",!1);s(this,"_attachedRef");s(this,"attached",new se);s(this,"attachDomPortal",a=>{let r=a.element;r.parentNode;let o=this._document.createComment("dom-portal");a.setAttachedHost(this),r.parentNode.insertBefore(o,r),this._getRootNode().appendChild(r),this._attachedPortal=a,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(r,o)})})}get portal(){return this._attachedPortal}set portal(a){this.hasAttached()&&!a&&!this._isInitialized||(this.hasAttached()&&super.detach(),a&&super.attach(a),this._attachedPortal=a||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(a){a.setAttachedHost(this);let r=a.viewContainerRef!=null?a.viewContainerRef:this._viewContainerRef,o=r.createComponent(a.component,{index:r.length,injector:a.injector||r.injector,projectableNodes:a.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return r!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=a,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(a){a.setAttachedHost(this);let r=this._viewContainerRef.createEmbeddedView(a.templateRef,a.context,{injector:a.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=a,this._attachedRef=r,this.attached.emit(r),r}_getRootNode(){let a=this._viewContainerRef.element.nativeElement;return a.nodeType===a.ELEMENT_NODE?a:a.parentNode}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵdir",xe({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Ot]}));let e=t;return e})(),Qs=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵmod",xt({type:t})),s(t,"ɵinj",_t({}));let e=t;return e})(),WJ=20,mm=(()=>{const t=class t{constructor(){s(this,"_ngZone",k(Ie));s(this,"_platform",k(Ft));s(this,"_renderer",k(Ki).createRenderer(null,null));s(this,"_cleanupGlobalListener");s(this,"_scrolled",new re);s(this,"_scrolledCount",0);s(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=WJ){return this._platform.isBrowser?new Et(a=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=i>0?this._scrolled.pipe(ab(i)).subscribe(a):this._scrolled.subscribe(a);return this._scrolledCount++,()=>{var o;r.unsubscribe(),this._scrolledCount--,this._scrolledCount||((o=this._cleanupGlobalListener)==null||o.call(this),this._cleanupGlobalListener=void 0)}}):mt()}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(Qt(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(i){let a=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,i)&&a.push(o)}),a}_scrollableContainsElement(i,a){let r=kn(a),o=i.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),YJ=(()=>{const t=class t{constructor(){s(this,"elementRef",k(Pe));s(this,"scrollDispatcher",k(mm));s(this,"ngZone",k(Ie));s(this,"dir",k(Fi,{optional:!0}));s(this,"_scrollElement",this.elementRef.nativeElement);s(this,"_destroyed",new re);s(this,"_renderer",k(Zi));s(this,"_cleanupScroll");s(this,"_elementScrolled",new re)}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&&ps()!=va.NORMAL?(i.left!=null&&(i.right=a.scrollWidth-a.clientWidth-i.left),ps()==va.INVERTED?i.left=i.right:ps()==va.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;xw()?a.scrollTo(i):(i.top!=null&&(a.scrollTop=i.top),i.left!=null&&(a.scrollLeft=i.left))}measureScrollOffset(i){let a="left",r="right",o=this.elementRef.nativeElement;if(i=="top")return o.scrollTop;if(i=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let l=this.dir&&this.dir.value=="rtl";return i=="start"?i=l?r:a:i=="end"&&(i=l?a:r),l&&ps()==va.INVERTED?i==a?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:l&&ps()==va.NEGATED?i==a?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:i==a?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",xe({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}));let e=t;return e})(),KJ=20,fm=(()=>{const t=class t{constructor(){s(this,"_platform",k(Ft));s(this,"_listeners");s(this,"_viewportSize");s(this,"_change",new re);s(this,"_document",k(Ze,{optional:!0}));let i=k(Ie),a=k(Ki).createRenderer(null,null);i.runOutsideAngular(()=>{if(this._platform.isBrowser){let r=o=>this._change.next(o);this._listeners=[a.listen("window","resize",r),a.listen("window","orientationchange",r)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){var 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,o=r.getBoundingClientRect(),l=-o.top||i.body.scrollTop||a.scrollY||r.scrollTop||0,c=-o.left||i.body.scrollLeft||a.scrollX||r.scrollLeft||0;return{top:l,left:c}}change(i=KJ){return i>0?this._change.pipe(ab(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}}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),fc=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵmod",xt({type:t})),s(t,"ɵinj",_t({}));let e=t;return e})(),Kg=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵmod",xt({type:t})),s(t,"ɵinj",_t({imports:[Xs,fc,Xs,fc]}));let e=t;return e})(),Zg=xw(),ZJ=class{constructor(e,t){s(this,"_viewportRuler");s(this,"_previousHTMLStyles",{top:"",left:""});s(this,"_previousScrollPosition");s(this,"_isEnabled",!1);s(this,"_document");this._viewportRuler=e,this._document=t}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=zt(-this._previousScrollPosition.left),e.style.top=zt(-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"),Zg&&(n.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Zg&&(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}},XJ=class{constructor(e,t,n,i){s(this,"_scrollDispatcher");s(this,"_ngZone");s(this,"_viewportRuler");s(this,"_config");s(this,"_scrollSubscription",null);s(this,"_overlayRef");s(this,"_initialScrollPosition");s(this,"_detach",()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())});this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=n,this._config=i}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(Qt(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}},Cw=class{enable(){}disable(){}attach(){}};function Mh(e,t){return t.some(n=>{let i=e.bottom<n.top,a=e.top>n.bottom,r=e.right<n.left,o=e.left>n.right;return i||a||r||o})}function Xg(e,t){return t.some(n=>{let i=e.top<n.top,a=e.bottom>n.bottom,r=e.left<n.left,o=e.right>n.right;return i||a||r||o})}var QJ=class{constructor(e,t,n,i){s(this,"_scrollDispatcher");s(this,"_viewportRuler");s(this,"_ngZone");s(this,"_config");s(this,"_scrollSubscription",null);s(this,"_overlayRef");this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=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();Mh(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}},JJ=(()=>{const t=class t{constructor(){s(this,"_scrollDispatcher",k(mm));s(this,"_viewportRuler",k(fm));s(this,"_ngZone",k(Ie));s(this,"_document",k(Ze));s(this,"noop",()=>new Cw);s(this,"close",i=>new XJ(this._scrollDispatcher,this._ngZone,this._viewportRuler,i));s(this,"block",()=>new ZJ(this._viewportRuler,this._document));s(this,"reposition",i=>new QJ(this._scrollDispatcher,this._viewportRuler,this._ngZone,i))}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Po=class{constructor(e){s(this,"positionStrategy");s(this,"scrollStrategy",new Cw);s(this,"panelClass","");s(this,"hasBackdrop",!1);s(this,"backdropClass","cdk-overlay-dark-backdrop");s(this,"width");s(this,"height");s(this,"minWidth");s(this,"minHeight");s(this,"maxWidth");s(this,"maxHeight");s(this,"direction");s(this,"disposeOnNavigation",!1);if(e){let t=Object.keys(e);for(let n of t)e[n]!==void 0&&(this[n]=e[n])}}},eee=class{constructor(e,t){s(this,"connectionPair");s(this,"scrollableViewProperties");this.connectionPair=e,this.scrollableViewProperties=t}},Dw=(()=>{const t=class t{constructor(){s(this,"_attachedOverlays",[]);s(this,"_document",k(Ze));s(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()}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),tee=(()=>{const t=class t extends Dw{constructor(){super(...arguments);s(this,"_ngZone",k(Ie));s(this,"_renderer",k(Ki).createRenderer(null,null));s(this,"_cleanupKeydown");s(this,"_keydownListener",a=>{let r=this._attachedOverlays;for(let o=r.length-1;o>-1;o--)if(r[o]._keydownEvents.observers.length>0){this._ngZone.run(()=>r[o]._keydownEvents.next(a));break}})}add(a){super.add(a),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){var a;this._isAttached&&((a=this._cleanupKeydown)==null||a.call(this),this._isAttached=!1)}};s(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=li(t)))(r||t)}})()),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),iee=(()=>{const t=class t extends Dw{constructor(){super(...arguments);s(this,"_platform",k(Ft));s(this,"_ngZone",k(Ie));s(this,"_renderer",k(Ki).createRenderer(null,null));s(this,"_cursorOriginalValue");s(this,"_cursorStyleIsSet",!1);s(this,"_pointerDownEventTarget");s(this,"_cleanups");s(this,"_pointerDownListener",a=>{this._pointerDownEventTarget=ka(a)});s(this,"_clickListener",a=>{let r=ka(a),o=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(Qg(d.overlayElement,r)||Qg(d.overlayElement,o))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,o={capture:!0};this._cleanups=this._ngZone.runOutsideAngular(()=>[ai(this._renderer,r,"pointerdown",this._pointerDownListener,o),ai(this._renderer,r,"click",this._clickListener,o),ai(this._renderer,r,"auxclick",this._clickListener,o),ai(this._renderer,r,"contextmenu",this._clickListener,o)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){var a;this._isAttached&&((a=this._cleanups)==null||a.forEach(r=>r()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}};s(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=li(t)))(r||t)}})()),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Qg(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 Iw=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Ee({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}
|
|
25
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),gm=(()=>{const t=class t{constructor(){s(this,"_platform",k(Ft));s(this,"_containerElement");s(this,"_document",k(Ze));s(this,"_styleLoader",k(Di))}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||Bg()){let r=this._document.querySelectorAll(`.${i}[platform="server"], .${i}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}let a=this._document.createElement("div");a.classList.add(i),Bg()?a.setAttribute("platform","test"):this._platform.isBrowser||a.setAttribute("platform","server"),this._document.body.appendChild(a),this._containerElement=a}_loadStyles(){this._styleLoader.load(Iw)}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),aee=class{constructor(e,t,n,i){s(this,"_renderer");s(this,"_ngZone");s(this,"element");s(this,"_cleanupClick");s(this,"_cleanupTransitionEnd");s(this,"_fallbackTimeout");s(this,"dispose",()=>{var e,t;clearTimeout(this._fallbackTimeout),(e=this._cleanupClick)==null||e.call(this),(t=this._cleanupTransitionEnd)==null||t.call(this),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()});this._renderer=t,this._ngZone=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")})}},vm=class{constructor(e,t,n,i,a,r,o,l,c,d=!1,u,m){s(this,"_portalOutlet");s(this,"_host");s(this,"_pane");s(this,"_config");s(this,"_ngZone");s(this,"_keyboardDispatcher");s(this,"_document");s(this,"_location");s(this,"_outsideClickDispatcher");s(this,"_animationsDisabled");s(this,"_injector");s(this,"_renderer");s(this,"_backdropClick",new re);s(this,"_attachments",new re);s(this,"_detachments",new re);s(this,"_positionStrategy");s(this,"_scrollStrategy");s(this,"_locationChanges",ot.EMPTY);s(this,"_backdropRef",null);s(this,"_previousHostParent");s(this,"_keydownEvents",new re);s(this,"_outsidePointerEvents",new re);s(this,"_renders",new re);s(this,"_afterRenderRef");s(this,"_afterNextRenderRef");this._portalOutlet=e,this._host=t,this._pane=n,this._config=i,this._ngZone=a,this._keyboardDispatcher=r,this._document=o,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=aa(()=>Pp(()=>{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=Z(Z({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Qe(Z({},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=zt(this._config.width),e.height=zt(this._config.height),e.minWidth=zt(this._config.minWidth),e.minHeight=zt(this._config.minHeight),e.maxWidth=zt(this._config.maxWidth),e.maxHeight=zt(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 aee(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=hc(t||[]).filter(a=>!!a);i.length&&(n?e.classList.add(...i):e.classList.remove(...i))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let e=this._renders.pipe(St($i(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)}},Jg="cdk-overlay-connected-position-bounding-box",nee=/([A-Za-z%]+)$/,Aw=class{constructor(e,t,n,i,a){s(this,"_viewportRuler");s(this,"_document");s(this,"_platform");s(this,"_overlayContainer");s(this,"_overlayRef");s(this,"_isInitialRender");s(this,"_lastBoundingBoxSize",{width:0,height:0});s(this,"_isPushed",!1);s(this,"_canPush",!0);s(this,"_growAfterOpen",!1);s(this,"_hasFlexibleDimensions",!0);s(this,"_positionLocked",!1);s(this,"_originRect");s(this,"_overlayRect");s(this,"_viewportRect");s(this,"_containerRect");s(this,"_viewportMargin",0);s(this,"_scrollables",[]);s(this,"_preferredPositions",[]);s(this,"_origin");s(this,"_pane");s(this,"_isDisposed");s(this,"_boundingBox");s(this,"_lastPosition");s(this,"_lastScrollVisibility");s(this,"_positionChanges",new re);s(this,"_resizeSubscription",ot.EMPTY);s(this,"_offsetX",0);s(this,"_offsetY",0);s(this,"_transformOriginSelector");s(this,"_appliedPanelClasses",[]);s(this,"_previousPushAmount");s(this,"positionChanges",this._positionChanges);this._viewportRuler=t,this._document=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(Jg),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 o of this._preferredPositions){let l=this._getOriginPoint(e,i,o),c=this._getOverlayPoint(l,t,o),d=this._getOverlayFit(c,t,n,o);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(o,l);return}if(this._canFitWithFlexibleDimensions(d,c,n)){a.push({position:o,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,o)});continue}(!r||r.overlayFit.visibleArea<d.visibleArea)&&(r={overlayFit:d,overlayPoint:c,originPoint:l,position:o,overlayRect:t})}if(a.length){let o=null,l=-1;for(let c of a){let d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);d>l&&(l=d,o=c)}this._isPushed=!1,this._applyPosition(o.position,o.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(r.position,r.originPoint);return}this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ln(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Jg),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,o=this._isRtl()?e.left:e.right;i=n.originX=="start"?r:o}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=tv(t),{x:r,y:o}=e,l=this._getOffset(i,"x"),c=this._getOffset(i,"y");l&&(r+=l),c&&(o+=c);let d=0-r,u=r+a.width-n.width,m=0-o,v=o+a.height-n.height,g=this._subtractOverflows(a.width,d,u),x=this._subtractOverflows(a.height,m,v),w=g*x;return{visibleArea:w,isCompletelyWithinViewport:a.width*a.height===w,fitsInViewportVertically:x===a.height,fitsInViewportHorizontally:g==a.width}}_canFitWithFlexibleDimensions(e,t,n){if(this._hasFlexibleDimensions){let i=n.bottom-t.y,a=n.right-t.x,r=ev(this._overlayRef.getConfig().minHeight),o=ev(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||r!=null&&r<=i,c=e.fitsInViewportHorizontally||o!=null&&o<=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=tv(t),a=this._viewportRect,r=Math.max(e.x+i.width-a.width,0),o=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||-o: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||!ree(this._lastScrollVisibility,n)){let i=new eee(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,o;if(t.overlayY==="top")r=e.y,a=n.height-r+this._viewportMargin;else if(t.overlayY==="bottom")o=n.height-e.y+this._viewportMargin*2,a=n.height-o+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:o,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=zt(n.height),i.top=zt(n.top),i.bottom=zt(n.bottom),i.width=zt(n.width),i.left=zt(n.left),i.right=zt(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=zt(a)),r&&(i.maxWidth=zt(r))}this._lastBoundingBoxSize=n,Ln(this._boundingBox.style,i)}_resetBoundingBoxStyles(){Ln(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ln(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();Ln(n,this._getExactOverlayY(t,e,d)),Ln(n,this._getExactOverlayX(t,e,d))}else n.position="static";let o="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(o+=`translateX(${l}px) `),c&&(o+=`translateY(${c}px)`),n.transform=o.trim(),r.maxHeight&&(i?n.maxHeight=zt(r.maxHeight):a&&(n.maxHeight="")),r.maxWidth&&(i?n.maxWidth=zt(r.maxWidth):a&&(n.maxWidth="")),Ln(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=zt(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 o=this._document.documentElement.clientWidth;i.right=`${o-(a.x+this._overlayRect.width)}px`}else i.left=zt(a.x);return i}_getScrollVisibility(){let e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Xg(e,n),isOriginOutsideView:Mh(e,n),isOverlayClipped:Xg(t,n),isOverlayOutsideView:Mh(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&&hc(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 Pe)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 Ln(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function ev(e){if(typeof e!="number"&&e!=null){let[t,n]=e.split(nee);return!n||n==="px"?parseFloat(t):null}return e||null}function tv(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 ree(e,t){return e===t?!0:e.isOriginClipped===t.isOriginClipped&&e.isOriginOutsideView===t.isOriginOutsideView&&e.isOverlayClipped===t.isOverlayClipped&&e.isOverlayOutsideView===t.isOverlayOutsideView}var iv="cdk-global-overlay-wrapper",see=class{constructor(){s(this,"_overlayRef");s(this,"_cssPosition","static");s(this,"_topOffset","");s(this,"_bottomOffset","");s(this,"_alignItems","");s(this,"_xPosition","");s(this,"_xOffset","");s(this,"_width","");s(this,"_height","");s(this,"_isDisposed",!1)}attach(e){let t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(iv),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:o}=n,l=(i==="100%"||i==="100vw")&&(!r||r==="100%"||r==="100vw"),c=(a==="100%"||a==="100vh")&&(!o||o==="100%"||o==="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(iv),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},oee=(()=>{const t=class t{constructor(){s(this,"_viewportRuler",k(fm));s(this,"_document",k(Ze));s(this,"_platform",k(Ft));s(this,"_overlayContainer",k(gm))}global(){return new see}flexibleConnectedTo(i){return new Aw(i,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),ui=(()=>{const t=class t{constructor(){s(this,"scrollStrategies",k(JJ));s(this,"_overlayContainer",k(gm));s(this,"_positionBuilder",k(oee));s(this,"_keyboardDispatcher",k(tee));s(this,"_injector",k(lt));s(this,"_ngZone",k(Ie));s(this,"_document",k(Ze));s(this,"_directionality",k(Fi));s(this,"_location",k(Sx));s(this,"_outsideClickDispatcher",k(iee));s(this,"_animationsModuleType",k(Li,{optional:!0}));s(this,"_idGenerator",k(di));s(this,"_renderer",k(Ki).createRenderer(null,null));s(this,"_appRef");s(this,"_styleLoader",k(Di))}create(i){this._styleLoader.load(Iw);let a=this._createHostElement(),r=this._createPaneElement(a),o=this._createPortalOutlet(r),l=new Po(i);return l.direction=l.direction||this._directionality.value,new vm(o,a,r,l,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(Ca),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(En)),new qJ(i,null,this._appRef,this._injector,this._document)}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),lee=[{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"}],Tw=new B("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let e=k(ui);return()=>e.scrollStrategies.reposition()}}),gc=(()=>{const t=class t{constructor(){s(this,"elementRef",k(Pe))}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",xe({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}));let e=t;return e})(),av=(()=>{const t=class t{constructor(){s(this,"_overlay",k(ui));s(this,"_dir",k(Fi,{optional:!0}));s(this,"_overlayRef");s(this,"_templatePortal");s(this,"_backdropSubscription",ot.EMPTY);s(this,"_attachSubscription",ot.EMPTY);s(this,"_detachSubscription",ot.EMPTY);s(this,"_positionSubscription",ot.EMPTY);s(this,"_offsetX");s(this,"_offsetY");s(this,"_position");s(this,"_scrollStrategyFactory",k(Tw));s(this,"_disposeOnNavigation",!1);s(this,"_ngZone",k(Ie));s(this,"origin");s(this,"positions");s(this,"positionStrategy");s(this,"width");s(this,"height");s(this,"minWidth");s(this,"minHeight");s(this,"backdropClass");s(this,"panelClass");s(this,"viewportMargin",0);s(this,"scrollStrategy");s(this,"open",!1);s(this,"disableClose",!1);s(this,"transformOriginSelector");s(this,"hasBackdrop",!1);s(this,"lockPosition",!1);s(this,"flexibleDimensions",!1);s(this,"growAfterOpen",!1);s(this,"push",!1);s(this,"backdropClick",new se);s(this,"positionChange",new se);s(this,"attach",new se);s(this,"detach",new se);s(this,"overlayKeydown",new se);s(this,"overlayOutsideClick",new se);let i=k(ar),a=k(An);this._templatePortal=new hd(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=lee);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&&!vi(a)&&(a.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(a=>{let r=this._getOriginElement(),o=ka(a);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(a)})}_buildConfig(){let i=this._position=this.positionStrategy||this._createPositionStrategy(),a=new Po({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 gc?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof gc?this.origin.elementRef.nativeElement:this.origin instanceof Pe?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(X$(()=>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}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",xe({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",Be],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",Be],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",Be],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",Be],push:[2,"cdkConnectedOverlayPush","push",Be],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",Be]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[oi]}));let e=t;return e})();function cee(e){return()=>e.scrollStrategies.reposition()}var dee={provide:Tw,deps:[ui],useFactory:cee},md=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵmod",xt({type:t})),s(t,"ɵinj",_t({providers:[ui,dee],imports:[Xs,Qs,Kg,Kg]}));let e=t;return e})();function uee(e,t){}var Js=class{constructor(){s(this,"viewContainerRef");s(this,"injector");s(this,"id");s(this,"role","dialog");s(this,"panelClass","");s(this,"hasBackdrop",!0);s(this,"backdropClass","");s(this,"disableClose",!1);s(this,"width","");s(this,"height","");s(this,"minWidth");s(this,"minHeight");s(this,"maxWidth");s(this,"maxHeight");s(this,"positionStrategy");s(this,"data",null);s(this,"direction");s(this,"ariaDescribedBy",null);s(this,"ariaLabelledBy",null);s(this,"ariaLabel",null);s(this,"ariaModal",!1);s(this,"autoFocus","first-tabbable");s(this,"restoreFocus",!0);s(this,"scrollStrategy");s(this,"closeOnNavigation",!0);s(this,"closeOnDestroy",!0);s(this,"closeOnOverlayDetachments",!0);s(this,"componentFactoryResolver");s(this,"providers");s(this,"container");s(this,"templateContext")}},Ow=(()=>{const t=class t extends pd{constructor(){super();s(this,"_elementRef",k(Pe));s(this,"_focusTrapFactory",k(hw));s(this,"_config");s(this,"_interactivityChecker",k(dw));s(this,"_ngZone",k(Ie));s(this,"_overlayRef",k(vm));s(this,"_focusMonitor",k(Ro));s(this,"_renderer",k(Zi));s(this,"_changeDetectorRef",k(Pt));s(this,"_injector",k(lt));s(this,"_platform",k(Ft));s(this,"_document",k(Ze,{optional:!0}));s(this,"_portalOutlet");s(this,"_focusTrapped",new re);s(this,"_focusTrap",null);s(this,"_elementFocusedBeforeDialogWasOpened",null);s(this,"_closeInteractionType",null);s(this,"_ariaLabelledByQueue",[]);s(this,"_isDestroyed",!1);s(this,"attachDomPortal",a=>{this._portalOutlet.hasAttached();let r=this._portalOutlet.attachDomPortal(a);return this._contentAttached(),r});this._config=k(Js,{optional:!0})||new Js,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(a){this._ariaLabelledByQueue.push(a),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(a){let r=this._ariaLabelledByQueue.indexOf(a);r>-1&&(this._ariaLabelledByQueue.splice(r,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(a){this._portalOutlet.hasAttached();let r=this._portalOutlet.attachComponentPortal(a);return this._contentAttached(),r}attachTemplatePortal(a){this._portalOutlet.hasAttached();let r=this._portalOutlet.attachTemplatePortal(a);return this._contentAttached(),r}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(a,r){this._interactivityChecker.isFocusable(a)||(a.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{l(),c(),a.removeAttribute("tabindex")},l=this._renderer.listen(a,"blur",o),c=this._renderer.listen(a,"mousedown",o)})),a.focus(r)}_focusByCssSelector(a,r){let o=this._elementRef.nativeElement.querySelector(a);o&&this._forceFocus(o,r)}_trapFocus(a){this._isDestroyed||ir(()=>{var o;let r=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||r.focus(a);break;case!0:case"first-tabbable":(o=this._focusTrap)!=null&&o.focusInitialElement(a)||this._focusDialogContainer(a);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',a);break;default:this._focusByCssSelector(this._config.autoFocus,a);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let a=this._config.restoreFocus,r=null;if(typeof a=="string"?r=this._document.querySelector(a):typeof a=="boolean"?r=a?this._elementFocusedBeforeDialogWasOpened:null:a&&(r=a),this._config.restoreFocus&&r&&typeof r.focus=="function"){let o=Nr(),l=this._elementRef.nativeElement;(!o||o===this._document.body||o===l||l.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(r,this._closeInteractionType),this._closeInteractionType=null):r.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(a){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus(a)}_containsFocus(){let a=this._elementRef.nativeElement,r=Nr();return a===r||a.contains(r)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Nr()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵcmp",Ee({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(a,r){if(a&1&&pt(rr,7),a&2){let o;Te(o=Oe())&&(r._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(a,r){a&2&&be("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:[Ot],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(a,r){a&1&&ue(0,uee,0,0,"ng-template",0)},dependencies:[rr],styles:[`.cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}
|
|
26
|
+
`],encapsulation:2}));let e=t;return e})(),fu=class{constructor(e,t){s(this,"overlayRef");s(this,"config");s(this,"componentInstance");s(this,"componentRef");s(this,"containerInstance");s(this,"disableClose");s(this,"closed",new re);s(this,"backdropClick");s(this,"keydownEvents");s(this,"outsidePointerEvents");s(this,"id");s(this,"_detachSubscription");this.overlayRef=e,this.config=t,this.disableClose=t.disableClose,this.backdropClick=e.backdropClick(),this.keydownEvents=e.keydownEvents(),this.outsidePointerEvents=e.outsidePointerEvents(),this.id=t.id,this.keydownEvents.subscribe(n=>{n.keyCode===27&&!this.disableClose&&!vi(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}},hee=new B("DialogScrollStrategy",{providedIn:"root",factory:()=>{let e=k(ui);return()=>e.scrollStrategies.block()}}),pee=new B("DialogData"),mee=new B("DefaultDialogConfig"),Nw=(()=>{const t=class t{constructor(){s(this,"_overlay",k(ui));s(this,"_injector",k(lt));s(this,"_defaultOptions",k(mee,{optional:!0}));s(this,"_parentDialog",k(t,{optional:!0,skipSelf:!0}));s(this,"_overlayContainer",k(gm));s(this,"_idGenerator",k(di));s(this,"_openDialogsAtThisLevel",[]);s(this,"_afterAllClosedAtThisLevel",new re);s(this,"_afterOpenedAtThisLevel",new re);s(this,"_ariaHiddenElements",new Map);s(this,"_scrollStrategy",k(hee));s(this,"afterAllClosed",Vs(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ri(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 Js;a=Z(Z({},r),a),a.id=a.id||this._idGenerator.getId("cdk-dialog-"),a.id&&this.getDialogById(a.id);let o=this._getOverlayConfig(a),l=this._overlay.create(o),c=new fu(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(fi(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(){gu(this.openDialogs,i=>i.close())}getDialogById(i){return this.openDialogs.find(a=>a.id===i)}ngOnDestroy(){gu(this._openDialogsAtThisLevel,i=>{i.config.closeOnDestroy===!1&&this._removeOpenDialog(i,!1)}),gu(this._openDialogsAtThisLevel,i=>i.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(i){let a=new Po({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 o=r.injector||((u=r.viewContainerRef)==null?void 0:u.injector),l=[{provide:Js,useValue:r},{provide:fu,useValue:a},{provide:vm,useValue:i}],c;r.container?typeof r.container=="function"?c=r.container:(c=r.container.type,l.push(...r.container.providers(r))):c=Ow;let d=new Cn(c,r.viewContainerRef,lt.create({parent:o||this._injector,providers:l}));return i.attach(d).instance}_attachDialogContent(i,a,r,o){if(i instanceof ar){let l=this._createInjector(o,a,r,void 0),c={$implicit:o.data,dialogRef:a};o.templateContext&&(c=Z(Z({},c),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),r.attachTemplatePortal(new hd(i,null,c,l))}else{let l=this._createInjector(o,a,r,this._injector),c=r.attachComponentPortal(new Cn(i,o.viewContainerRef,l));a.componentRef=c,a.componentInstance=c.instance}}_createInjector(i,a,r,o){var d;let l=i.injector||((d=i.viewContainerRef)==null?void 0:d.injector),c=[{provide:pee,useValue:i.data},{provide:fu,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(Fi,null,{optional:!0}))&&c.push({provide:Fi,useValue:{value:i.direction,change:mt()}}),lt.create({parent:l||o,providers:c})}_removeOpenDialog(i,a){let r=this.openDialogs.indexOf(i);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,l)=>{o?l.setAttribute("aria-hidden",o):l.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),a&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(i){if(i.parentElement){let a=i.parentElement.children;for(let r=a.length-1;r>-1;r--){let o=a[r];o!==i&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let i=this._parentDialog;return i?i._getAfterAllClosed():this._afterAllClosedAtThisLevel}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function gu(e,t){let n=e.length;for(;n--;)t(e[n])}var fee=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵmod",xt({type:t})),s(t,"ɵinj",_t({providers:[Nw],imports:[md,Qs,fw,Qs]}));let e=t;return e})();function gee(e,t){}var nv=class{constructor(){s(this,"viewContainerRef");s(this,"injector");s(this,"id");s(this,"role","dialog");s(this,"panelClass","");s(this,"hasBackdrop",!0);s(this,"backdropClass","");s(this,"disableClose",!1);s(this,"width","");s(this,"height","");s(this,"minWidth");s(this,"minHeight");s(this,"maxWidth");s(this,"maxHeight");s(this,"position");s(this,"data",null);s(this,"direction");s(this,"ariaDescribedBy",null);s(this,"ariaLabelledBy",null);s(this,"ariaLabel",null);s(this,"ariaModal",!1);s(this,"autoFocus","first-tabbable");s(this,"restoreFocus",!0);s(this,"delayFocusTrap",!0);s(this,"scrollStrategy");s(this,"closeOnNavigation",!0);s(this,"componentFactoryResolver");s(this,"enterAnimationDuration");s(this,"exitAnimationDuration")}},vu="mdc-dialog--open",rv="mdc-dialog--opening",sv="mdc-dialog--closing",vee=150,yee=75,bee=(()=>{const t=class t extends Ow{constructor(){super(...arguments);s(this,"_animationMode",k(Li,{optional:!0}));s(this,"_animationStateChanged",new se);s(this,"_animationsEnabled",this._animationMode!=="NoopAnimations");s(this,"_actionSectionCount",0);s(this,"_hostElement",this._elementRef.nativeElement);s(this,"_enterAnimationDuration",this._animationsEnabled?lv(this._config.enterAnimationDuration)??vee:0);s(this,"_exitAnimationDuration",this._animationsEnabled?lv(this._config.exitAnimationDuration)??yee:0);s(this,"_animationTimer",null);s(this,"_finishDialogOpen",()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)});s(this,"_finishDialogClose",()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})})}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(ov,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(rv,vu)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(vu),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(vu),this._animationsEnabled?(this._hostElement.style.setProperty(ov,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(sv)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(a){this._actionSectionCount+=a,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(rv,sv)}_waitForAnimationToComplete(a,r){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(r,a)}_requestAnimationFrame(a){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(a):a()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(a){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:a})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(a){let r=super.attachComponentPortal(a);return r.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),r}};s(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=li(t)))(r||t)}})()),s(t,"ɵcmp",Ee({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(a,r){a&2&&(nn("id",r._config.id),be("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),Ge("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},features:[Ot],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&&(O(0,"div",0)(1,"div",1),ue(2,gee,0,0,"ng-template",2),N()())},dependencies:[rr],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}
|
|
27
|
+
`],encapsulation:2}));let e=t;return e})(),ov="--mat-dialog-transition-duration";function lv(e){return e==null?null:typeof e=="number"?e:e.endsWith("ms")?uc(e.substring(0,e.length-2)):e.endsWith("s")?uc(e.substring(0,e.length-1))*1e3:e==="0"?0:null}var zl=function(e){return e[e.OPEN=0]="OPEN",e[e.CLOSING=1]="CLOSING",e[e.CLOSED=2]="CLOSED",e}(zl||{}),ym=class{constructor(e,t,n){s(this,"_ref");s(this,"_containerInstance");s(this,"componentInstance");s(this,"componentRef");s(this,"disableClose");s(this,"id");s(this,"_afterOpened",new re);s(this,"_beforeClosed",new re);s(this,"_result");s(this,"_closeFallbackTimeout");s(this,"_state",zl.OPEN);s(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(Qt(i=>i.state==="opened"),fi(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe(Qt(i=>i.state==="closed"),fi(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),$i(this.backdropClick(),this.keydownEvents().pipe(Qt(i=>i.keyCode===27&&!this.disableClose&&!vi(i)))).subscribe(i=>{this.disableClose||(i.preventDefault(),Rw(this,i.type==="keydown"?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(Qt(t=>t.state==="closing"),fi(1)).subscribe(t=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=zl.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=zl.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function Rw(e,t,n){return e._closeInteractionType=t,e.close(n)}var Mw=new B("MatMdcDialogData"),Pw=new B("mat-mdc-dialog-default-options"),_ee=new B("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let e=k(ui);return()=>e.scrollStrategies.block()}}),ts=(()=>{const t=class t{constructor(){s(this,"_overlay",k(ui));s(this,"_defaultOptions",k(Pw,{optional:!0}));s(this,"_scrollStrategy",k(_ee));s(this,"_parentDialog",k(t,{optional:!0,skipSelf:!0}));s(this,"_idGenerator",k(di));s(this,"_dialog",k(Nw));s(this,"_openDialogsAtThisLevel",[]);s(this,"_afterAllClosedAtThisLevel",new re);s(this,"_afterOpenedAtThisLevel",new re);s(this,"dialogConfigClass",nv);s(this,"_dialogRefConstructor");s(this,"_dialogContainerType");s(this,"_dialogDataToken");s(this,"afterAllClosed",Vs(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ri(void 0))));this._dialogRefConstructor=ym,this._dialogContainerType=bee,this._dialogDataToken=Mw}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=Z(Z({},this._defaultOptions||new nv),a),a.id=a.id||this._idGenerator.getId("mat-mdc-dialog-"),a.scrollStrategy=a.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(i,Qe(Z({},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:Js,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=o.componentRef,r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let l=this.openDialogs.indexOf(r);l>-1&&(this.openDialogs.splice(l,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(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()}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),bm=(()=>{const t=class t{constructor(){s(this,"dialogRef",k(ym,{optional:!0}));s(this,"_elementRef",k(Pe));s(this,"_dialog",k(ts));s(this,"ariaLabel");s(this,"type","button");s(this,"dialogResult");s(this,"_matDialogClose")}ngOnInit(){this.dialogRef||(this.dialogRef=Lw(this._elementRef,this._dialog.openDialogs))}ngOnChanges(i){let a=i._matDialogClose||i._matDialogCloseResult;a&&(this.dialogResult=a.currentValue)}_onButtonClick(i){Rw(this.dialogRef,i.screenX===0&&i.screenY===0?"keyboard":"mouse",this.dialogResult)}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",xe({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&&be("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:[oi]}));let e=t;return e})(),Fw=(()=>{const t=class t{constructor(){s(this,"_dialogRef",k(ym,{optional:!0}));s(this,"_elementRef",k(Pe));s(this,"_dialog",k(ts))}ngOnInit(){this._dialogRef||(this._dialogRef=Lw(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()})}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",xe({type:t}));let e=t;return e})(),_m=(()=>{const t=class t extends Fw{constructor(){super(...arguments);s(this,"id",k(di).getId("mat-mdc-dialog-title-"))}_onAdd(){var a,r;(r=(a=this._dialogRef._containerInstance)==null?void 0:a._addAriaLabelledBy)==null||r.call(a,this.id)}_onRemove(){var a,r,o;(o=(r=(a=this._dialogRef)==null?void 0:a._containerInstance)==null?void 0:r._removeAriaLabelledBy)==null||o.call(r,this.id)}};s(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=li(t)))(r||t)}})()),s(t,"ɵdir",xe({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(a,r){a&2&&nn("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[Ot]}));let e=t;return e})(),xm=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",xe({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[XY([YJ])]}));let e=t;return e})(),wm=(()=>{const t=class t extends Fw{constructor(){super(...arguments);s(this,"align")}_onAdd(){var a,r;(r=(a=this._dialogRef._containerInstance)==null?void 0:a._updateActionSectionCount)==null||r.call(a,1)}_onRemove(){var a,r;(r=(a=this._dialogRef._containerInstance)==null?void 0:a._updateActionSectionCount)==null||r.call(a,-1)}};s(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=li(t)))(r||t)}})()),s(t,"ɵdir",xe({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&&Ge("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:[Ot]}));let e=t;return e})();function Lw(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 xee=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵmod",xt({type:t})),s(t,"ɵinj",_t({providers:[ts],imports:[fee,md,Qs,qt,qt]}));let e=t;return e})(),wee=class{constructor(e){s(this,"_box");s(this,"_destroyed",new re);s(this,"_resizeSubject",new re);s(this,"_resizeObserver");s(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 Et(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(Qt(t=>t.some(n=>n.target===e)),Ul({bufferSize:1,refCount:!0}),St(this._destroyed))),this._elementObservables.get(e)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},kee=(()=>{const t=class t{constructor(){s(this,"_cleanupErrorListener");s(this,"_observers",new Map);s(this,"_ngZone",k(Ie))}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 wee(r)),this._observers.get(r).observe(i)}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),See=["notch"],Eee=["*"],Cee=["textField"],Dee=["iconPrefixContainer"],Iee=["textPrefixContainer"],Aee=["iconSuffixContainer"],Tee=["textSuffixContainer"],Oee=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Nee=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function Ree(e,t){e&1&&le(0,"span",20)}function Mee(e,t){if(e&1&&(O(0,"label",19),nt(1,1),ue(2,Ree,1,0,"span",20),N()),e&2){let n=j(2);ae("floating",n._shouldLabelFloat())("monitorResize",n._hasOutline())("id",n._labelId),be("for",n._control.disableAutomaticLabeling?null:n._control.id),D(2),de(!n.hideRequiredMarker&&n._control.required?2:-1)}}function Pee(e,t){if(e&1&&ue(0,Mee,3,5,"label",19),e&2){let n=j();de(n._hasFloatingLabel()?0:-1)}}function Fee(e,t){e&1&&le(0,"div",7)}function Lee(e,t){}function Vee(e,t){if(e&1&&ue(0,Lee,0,0,"ng-template",13),e&2){j(2);let n=vn(1);ae("ngTemplateOutlet",n)}}function zee(e,t){if(e&1&&(O(0,"div",9),ue(1,Vee,1,1,null,13),N()),e&2){let n=j();ae("matFormFieldNotchedOutlineOpen",n._shouldLabelFloat()),D(),de(n._forceDisplayInfixLabel()?-1:1)}}function jee(e,t){e&1&&(O(0,"div",10,2),nt(2,2),N())}function Bee(e,t){e&1&&(O(0,"div",11,3),nt(2,3),N())}function Hee(e,t){}function $ee(e,t){if(e&1&&ue(0,Hee,0,0,"ng-template",13),e&2){j();let n=vn(1);ae("ngTemplateOutlet",n)}}function Uee(e,t){e&1&&(O(0,"div",14,4),nt(2,4),N())}function Gee(e,t){e&1&&(O(0,"div",15,5),nt(2,5),N())}function qee(e,t){e&1&&le(0,"div",16)}function Wee(e,t){e&1&&nt(0,6)}function Yee(e,t){if(e&1&&(O(0,"mat-hint",21),q(1),N()),e&2){let n=j(2);ae("id",n._hintLabelId),D(),Le(n.hintLabel)}}function Kee(e,t){if(e&1&&(ue(0,Yee,2,2,"mat-hint",21),nt(1,7),le(2,"div",22),nt(3,8)),e&2){let n=j();de(n.hintLabel?0:-1)}}var cv=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",xe({type:t,selectors:[["mat-label"]]}));let e=t;return e})(),Vw=new B("MatError"),zw=(()=>{const t=class t{constructor(){s(this,"id",k(di).getId("mat-mdc-error-"))}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",xe({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&&nn("id",a.id)},inputs:{id:"id"},features:[ci([{provide:Vw,useExisting:t}])]}));let e=t;return e})(),Ph=(()=>{const t=class t{constructor(){s(this,"align","start");s(this,"id",k(di).getId("mat-mdc-hint-"))}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",xe({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&&(nn("id",a.id),be("align",null),Ge("mat-mdc-form-field-hint-end",a.align==="end"))},inputs:{align:"align",id:"id"}}));let e=t;return e})(),Zee=new B("MatPrefix"),jw=new B("MatSuffix"),Xee=(()=>{const t=class t{constructor(){s(this,"_isText",!1)}set _isTextSelector(i){this._isText=!0}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",xe({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[ci([{provide:jw,useExisting:t}])]}));let e=t;return e})(),Bw=new B("FloatingLabelParent"),dv=(()=>{const t=class t{constructor(){s(this,"_elementRef",k(Pe));s(this,"_floating",!1);s(this,"_monitorResize",!1);s(this,"_resizeObserver",k(kee));s(this,"_ngZone",k(Ie));s(this,"_parent",k(Bw));s(this,"_resizeSubscription",new ot)}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 Qee(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())})}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",xe({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,a){i&2&&Ge("mdc-floating-label--float-above",a.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}}));let e=t;return e})();function Qee(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 uv="mdc-line-ripple--active",hl="mdc-line-ripple--deactivating",hv=(()=>{const t=class t{constructor(){s(this,"_elementRef",k(Pe));s(this,"_cleanupTransitionEnd");s(this,"_handleTransitionEnd",i=>{let a=this._elementRef.nativeElement.classList,r=a.contains(hl);i.propertyName==="opacity"&&r&&a.remove(uv,hl)});let i=k(Ie),a=k(Zi);i.runOutsideAngular(()=>{this._cleanupTransitionEnd=a.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let i=this._elementRef.nativeElement.classList;i.remove(hl),i.add(uv)}deactivate(){this._elementRef.nativeElement.classList.add(hl)}ngOnDestroy(){this._cleanupTransitionEnd()}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",xe({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}));let e=t;return e})(),pv=(()=>{const t=class t{constructor(){s(this,"_elementRef",k(Pe));s(this,"_ngZone",k(Ie));s(this,"open",!1);s(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)`}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Ee({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,a){if(i&1&&pt(See,5),i&2){let r;Te(r=Oe())&&(a._notch=r.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,a){i&2&&Ge("mdc-notched-outline--notched",a.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},ngContentSelectors:Eee,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&&(Ci(),le(0,"div",1),O(1,"div",2,0),nt(3),N(),le(4,"div",3))},encapsulation:2,changeDetection:0}));let e=t;return e})(),km=(()=>{const t=class t{constructor(){s(this,"value");s(this,"stateChanges");s(this,"id");s(this,"placeholder");s(this,"ngControl");s(this,"focused");s(this,"empty");s(this,"shouldLabelFloat");s(this,"required");s(this,"disabled");s(this,"errorState");s(this,"controlType");s(this,"autofilled");s(this,"userAriaDescribedBy");s(this,"disableAutomaticLabeling")}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",xe({type:t}));let e=t;return e})(),fd=new B("MatFormField"),Jee=new B("MAT_FORM_FIELD_DEFAULT_OPTIONS"),mv="fill",ete="auto",fv="fixed",tte="translateY(-50%)",gd=(()=>{const t=class t{constructor(){s(this,"_elementRef",k(Pe));s(this,"_changeDetectorRef",k(Pt));s(this,"_dir",k(Fi));s(this,"_platform",k(Ft));s(this,"_idGenerator",k(di));s(this,"_ngZone",k(Ie));s(this,"_injector",k(lt));s(this,"_defaults",k(Jee,{optional:!0}));s(this,"_textField");s(this,"_iconPrefixContainer");s(this,"_textPrefixContainer");s(this,"_iconSuffixContainer");s(this,"_textSuffixContainer");s(this,"_floatingLabel");s(this,"_notchedOutline");s(this,"_lineRipple");s(this,"_formFieldControl");s(this,"_prefixChildren");s(this,"_suffixChildren");s(this,"_errorChildren");s(this,"_hintChildren");s(this,"_labelChild",PY(cv));s(this,"_hideRequiredMarker",!1);s(this,"color","primary");s(this,"_floatLabel");s(this,"_appearance",mv);s(this,"_subscriptSizing",null);s(this,"_hintLabel","");s(this,"_hasIconPrefix",!1);s(this,"_hasTextPrefix",!1);s(this,"_hasIconSuffix",!1);s(this,"_hasTextSuffix",!1);s(this,"_labelId",this._idGenerator.getId("mat-mdc-form-field-label-"));s(this,"_hintLabelId",this._idGenerator.getId("mat-mdc-hint-"));s(this,"_destroyed",new re);s(this,"_isFocused",null);s(this,"_explicitFormFieldControl");s(this,"_needsOutlineLabelOffsetUpdate",!1);s(this,"_previousControl",null);s(this,"_previousControlValidatorFn",null);s(this,"_stateChanges");s(this,"_valueChanges");s(this,"_describedByChanges");s(this,"_animationsDisabled");s(this,"getLabelId",wa(()=>this._hasFloatingLabel()?this._labelId:null));s(this,"_hasFloatingLabel",wa(()=>!!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=k(Li,{optional:!0})==="NoopAnimations"}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(i){this._hideRequiredMarker=Rr(i)}get floatLabel(){var i;return this._floatLabel||((i=this._defaults)==null?void 0:i.floatLabel)||ete}set floatLabel(i){i!==this._floatLabel&&(this._floatLabel=i,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(i){var o;let a=this._appearance,r=i||((o=this._defaults)==null?void 0:o.appearance)||mv;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)||fv}set subscriptSizing(i){var a;this._subscriptSizing=i||((a=this._defaults)==null?void 0:a.subscriptSizing)||fv}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 o,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),(o=this._stateChanges)==null||o.unsubscribe(),this._stateChanges=a.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),(l=this._describedByChanges)==null||l.unsubscribe(),this._describedByChanges=a.stateChanges.pipe(Ri([void 0,void 0]),vt(()=>[a.errorState,a.userAriaDescribedBy]),Z$(),Qt(([[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(St(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(),$i(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),Pp(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(St(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(o=>o.align==="start"):null,r=this._hintChildren?this._hintChildren.find(o=>o.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,T,z,F;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=(T=this._textPrefixContainer)==null?void 0:T.nativeElement,o=(z=this._iconSuffixContainer)==null?void 0:z.nativeElement,l=(F=this._textSuffixContainer)==null?void 0:F.nativeElement,c=(a==null?void 0:a.getBoundingClientRect().width)??0,d=(r==null?void 0:r.getBoundingClientRect().width)??0,u=(o==null?void 0:o.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(
|
|
28
|
+
--mat-mdc-form-field-label-transform,
|
|
29
|
+
${tte} translateX(${x})
|
|
30
|
+
)`;let w=c+d+u+m;this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${w}px)`)}_isAttachedToDom(){let i=this._elementRef.nativeElement;if(i.getRootNode){let a=i.getRootNode();return a&&a!==i}return document.documentElement.contains(i)}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Ee({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,a,r){if(i&1&&(ZK(r,a._labelChild,cv,5),ni(r,km,5),ni(r,Zee,5),ni(r,jw,5),ni(r,Vw,5),ni(r,Ph,5)),i&2){XK();let o;Te(o=Oe())&&(a._formFieldControl=o.first),Te(o=Oe())&&(a._prefixChildren=o),Te(o=Oe())&&(a._suffixChildren=o),Te(o=Oe())&&(a._errorChildren=o),Te(o=Oe())&&(a._hintChildren=o)}},viewQuery:function(i,a){if(i&1&&(pt(Cee,5),pt(Dee,5),pt(Iee,5),pt(Aee,5),pt(Tee,5),pt(dv,5),pt(pv,5),pt(hv,5)),i&2){let r;Te(r=Oe())&&(a._textField=r.first),Te(r=Oe())&&(a._iconPrefixContainer=r.first),Te(r=Oe())&&(a._textPrefixContainer=r.first),Te(r=Oe())&&(a._iconSuffixContainer=r.first),Te(r=Oe())&&(a._textSuffixContainer=r.first),Te(r=Oe())&&(a._floatingLabel=r.first),Te(r=Oe())&&(a._notchedOutline=r.first),Te(r=Oe())&&(a._lineRipple=r.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:40,hostBindings:function(i,a){i&2&&Ge("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:[ci([{provide:fd,useExisting:t},{provide:Bw,useExisting:t}])],ngContentSelectors:Nee,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();Ci(Oee),ue(0,Pee,1,1,"ng-template",null,0,sZ),O(2,"div",6,1),ce("click",function(o){return ve(r),ye(a._control.onContainerClick(o))}),ue(4,Fee,1,0,"div",7),O(5,"div",8),ue(6,zee,2,2,"div",9)(7,jee,3,0,"div",10)(8,Bee,3,0,"div",11),O(9,"div",12),ue(10,$ee,1,1,null,13),nt(11),N(),ue(12,Uee,3,0,"div",14)(13,Gee,3,0,"div",15),N(),ue(14,qee,1,0,"div",16),N(),O(15,"div",17),Jp(16),O(17,"div",18),ue(18,Wee,1,0)(19,Kee,4,1),N()()}if(i&2){let r;D(2),Ge("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),de(!a._hasOutline()&&!a._control.disabled?4:-1),D(2),de(a._hasOutline()?6:-1),D(),de(a._hasIconPrefix?7:-1),D(),de(a._hasTextPrefix?8:-1),D(2),de(!a._hasOutline()||a._forceDisplayInfixLabel()?10:-1),D(2),de(a._hasTextSuffix?12:-1),D(),de(a._hasIconSuffix?13:-1),D(),de(a._hasOutline()?-1:14),D(),Ge("mat-mdc-form-field-subscript-dynamic-size",a.subscriptSizing==="dynamic");let o=a._getSubscriptMessageType();D(2),Ge("mat-mdc-form-field-error-wrapper",o==="error")("mat-mdc-form-field-hint-wrapper",o==="hint"),D(),de((r=o)==="error"?18:r==="hint"?19:-1)}},dependencies:[dv,pv,xX,hv,Ph],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)}
|
|
31
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),ite=class{constructor(e=!1,t,n=!0,i){s(this,"_multiple");s(this,"_emitChanges");s(this,"compareWith");s(this,"_selection",new Set);s(this,"_deselectedToEmit",[]);s(this,"_selectedToEmit",[]);s(this,"_selected");s(this,"changed",new re);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}},Hw=(()=>{const t=class t{constructor(i,a){s(this,"_renderer");s(this,"_elementRef");s(this,"onChange",i=>{});s(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)}};s(t,"ɵfac",function(i){return new(i||t)(Ke(Zi),Ke(Pe))}),s(t,"ɵdir",xe({type:t}));let e=t;return e})(),ate=(()=>{const t=class t extends Hw{};s(t,"ɵfac",(()=>{let i;return function(a){return(i||(i=li(t)))(a||t)}})()),s(t,"ɵdir",xe({type:t,features:[Ot]}));let e=t;return e})(),Sm=new B(""),nte={provide:Sm,useExisting:Ja(()=>vd),multi:!0};function rte(){let e=Yn()?Yn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var ste=new B(""),vd=(()=>{const t=class t extends Hw{constructor(a,r,o){super(a,r);s(this,"_compositionMode");s(this,"_composing",!1);this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!rte())}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)}};s(t,"ɵfac",function(a){return new(a||t)(Ke(Zi),Ke(Pe),Ke(ste,8))}),s(t,"ɵdir",xe({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(o){return r._handleInput(o.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(o){return r._compositionEnd(o.target.value)})},standalone:!1,features:[ci([nte]),Ot]}));let e=t;return e})();function Em(e){return e==null||Cm(e)===0}function Cm(e){return e==null?null:Array.isArray(e)||typeof e=="string"?e.length:e instanceof Set?e.size:null}var Fo=new B(""),Dm=new B(""),ote=/^(?=.{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])?)*$/,Im=class{static min(e){return lte(e)}static max(e){return cte(e)}static required(e){return dte(e)}static requiredTrue(e){return ute(e)}static email(e){return hte(e)}static minLength(e){return pte(e)}static maxLength(e){return $w(e)}static pattern(e){return mte(e)}static nullValidator(e){return vc()}static compose(e){return Kw(e)}static composeAsync(e){return Zw(e)}};function lte(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 cte(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 dte(e){return Em(e.value)?{required:!0}:null}function ute(e){return e.value===!0?null:{required:!0}}function hte(e){return Em(e.value)||ote.test(e.value)?null:{email:!0}}function pte(e){return t=>{var i;let n=((i=t.value)==null?void 0:i.length)??Cm(t.value);return n===null||n===0?null:n<e?{minlength:{requiredLength:e,actualLength:n}}:null}}function $w(e){return t=>{var i;let n=((i=t.value)==null?void 0:i.length)??Cm(t.value);return n!==null&&n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}}function mte(e){if(!e)return vc;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(Em(i.value))return null;let a=i.value;return t.test(a)?null:{pattern:{requiredPattern:n,actualValue:a}}}}function vc(e){return null}function Uw(e){return e!=null}function Gw(e){return id(e)?In(e):e}function qw(e){let t={};return e.forEach(n=>{t=n!=null?Z(Z({},t),n):t}),Object.keys(t).length===0?null:t}function Ww(e,t){return t.map(n=>n(e))}function fte(e){return!e.validate}function Yw(e){return e.map(t=>fte(t)?t:n=>t.validate(n))}function Kw(e){if(!e)return null;let t=e.filter(Uw);return t.length==0?null:function(n){return qw(Ww(n,t))}}function Am(e){return e!=null?Kw(Yw(e)):null}function Zw(e){if(!e)return null;let t=e.filter(Uw);return t.length==0?null:function(n){let i=Ww(n,t).map(Gw);return op(i).pipe(vt(qw))}}function Tm(e){return e!=null?Zw(Yw(e)):null}function gv(e,t){return e===null?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Xw(e){return e._rawValidators}function Qw(e){return e._rawAsyncValidators}function Fh(e){return e?Array.isArray(e)?e:[e]:[]}function yc(e,t){return Array.isArray(e)?e.includes(t):e===t}function vv(e,t){let n=Fh(t);return Fh(e).forEach(i=>{yc(n,i)||n.push(i)}),n}function yv(e,t){return Fh(t).filter(n=>!yc(e,n))}var Jw=class{constructor(){s(this,"_composedValidatorFn");s(this,"_composedAsyncValidatorFn");s(this,"_rawValidators",[]);s(this,"_rawAsyncValidators",[]);s(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=Am(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Tm(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}},is=class extends Jw{constructor(){super(...arguments);s(this,"name")}get formDirective(){return null}get path(){return null}},Lo=class extends Jw{constructor(){super(...arguments);s(this,"_parent",null);s(this,"name",null);s(this,"valueAccessor",null)}},e1=class{constructor(e){s(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)}},gte={"[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"};Qe(Z({},gte),{"[class.ng-submitted]":"isSubmitted"});var t1=(()=>{const t=class t extends e1{constructor(i){super(i)}};s(t,"ɵfac",function(i){return new(i||t)(Ke(Lo,2))}),s(t,"ɵdir",xe({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,a){i&2&&Ge("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:[Ot]}));let e=t;return e})(),vte=(()=>{const t=class t extends e1{constructor(i){super(i)}};s(t,"ɵfac",function(i){return new(i||t)(Ke(is,10))}),s(t,"ɵdir",xe({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,a){i&2&&Ge("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:[Ot]}));let e=t;return e})(),ms="VALID",pl="INVALID",yr="PENDING",fs="DISABLED",as=class{},bv=class extends as{constructor(t,n){super();s(this,"value");s(this,"source");this.value=t,this.source=n}},yu=class extends as{constructor(t,n){super();s(this,"pristine");s(this,"source");this.pristine=t,this.source=n}},bu=class extends as{constructor(t,n){super();s(this,"touched");s(this,"source");this.touched=t,this.source=n}},ml=class extends as{constructor(t,n){super();s(this,"status");s(this,"source");this.status=t,this.source=n}},i1=class extends as{constructor(t){super();s(this,"source");this.source=t}},a1=class extends as{constructor(t){super();s(this,"source");this.source=t}};function n1(e){return(yd(e)?e.validators:e)||null}function yte(e){return Array.isArray(e)?Am(e):e||null}function r1(e,t){return(yd(t)?t.asyncValidators:e)||null}function bte(e){return Array.isArray(e)?Tm(e):e||null}function yd(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function _te(e,t,n){let i=e.controls;if(!Object.keys(i).length)throw new W(1e3,"");if(!i[n])throw new W(1001,"")}function xte(e,t,n){e._forEachChild((i,a)=>{if(n[a]===void 0)throw new W(1002,"")})}var s1=class{constructor(e,t){s(this,"_pendingDirty",!1);s(this,"_hasOwnPendingAsyncValidator",null);s(this,"_pendingTouched",!1);s(this,"_onCollectionChange",()=>{});s(this,"_updateOn");s(this,"_parent",null);s(this,"_asyncValidationSubscription");s(this,"_composedValidatorFn");s(this,"_composedAsyncValidatorFn");s(this,"_rawValidators");s(this,"_rawAsyncValidators");s(this,"value");s(this,"_status",wa(()=>this.statusReactive()));s(this,"statusReactive",xa(void 0));s(this,"errors");s(this,"_pristine",wa(()=>this.pristineReactive()));s(this,"pristineReactive",xa(!0));s(this,"_touched",wa(()=>this.touchedReactive()));s(this,"touchedReactive",xa(!1));s(this,"_events",new re);s(this,"events",this._events.asObservable());s(this,"valueChanges");s(this,"statusChanges");s(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 aa(this.statusReactive)}set status(e){aa(()=>this.statusReactive.set(e))}get valid(){return this.status===ms}get invalid(){return this.status===pl}get pending(){return this.status==yr}get disabled(){return this.status===fs}get enabled(){return this.status!==fs}get pristine(){return aa(this.pristineReactive)}set pristine(e){aa(()=>this.pristineReactive.set(e))}get dirty(){return!this.pristine}get touched(){return aa(this.touchedReactive)}set touched(e){aa(()=>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(vv(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(vv(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(yv(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(yv(e,this._rawAsyncValidators))}hasValidator(e){return yc(this._rawValidators,e)}hasAsyncValidator(e){return yc(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(Qe(Z({},e),{sourceControl:n})),t&&e.emitEvent!==!1&&this._events.next(new bu(!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 bu(!1,n))}markAsDirty(e={}){let t=this.pristine===!0;this.pristine=!1;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(Qe(Z({},e),{sourceControl:n})),t&&e.emitEvent!==!1&&this._events.next(new yu(!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 yu(!0,n))}markAsPending(e={}){this.status=yr;let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new ml(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(Qe(Z({},e),{sourceControl:t}))}disable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=fs,this.errors=null,this._forEachChild(i=>{i.disable(Qe(Z({},e),{onlySelf:!0}))}),this._updateValue();let n=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new bv(this.value,n)),this._events.next(new ml(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Qe(Z({},e),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=ms,this._forEachChild(n=>{n.enable(Qe(Z({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Qe(Z({},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===ms||this.status===yr)&&this._runAsyncValidator(n,e.emitEvent)}let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new bv(this.value,t)),this._events.next(new ml(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(Qe(Z({},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()?fs:ms}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,t){if(this.asyncValidator){this.status=yr,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1};let n=Gw(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 ml(this.status,t)),this._parent&&this._parent._updateControlsErrors(e,t,n)}_initObservables(){this.valueChanges=new se,this.statusChanges=new se}_calculateStatus(){return this._allControlsDisabled()?fs:this.errors?pl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(yr)?yr:this._anyControlsHaveStatus(pl)?pl:ms}_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 yu(this.pristine,t))}_updateTouched(e={},t){this.touched=this._anyControlsTouched(),this._events.next(new bu(this.touched,t)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,t)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){yd(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=yte(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=bte(this._rawAsyncValidators)}},_v=class extends s1{constructor(t,n,i){super(n1(n),r1(i,n));s(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={}){xte(this,!0,t),Object.keys(t).forEach(i=>{_te(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}},bd=new B("",{providedIn:"root",factory:()=>Om}),Om="always";function wte(e,t){return[...t.path,e]}function bc(e,t,n=Om){var i,a;Nm(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||n==="always")&&((a=(i=t.valueAccessor).setDisabledState)==null||a.call(i,e.disabled)),Ste(e,t),Cte(e,t),Ete(e,t),kte(e,t)}function xv(e,t,n=!0){let i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),xc(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function _c(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function kte(e,t){if(t.valueAccessor.setDisabledState){let n=i=>{t.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}function Nm(e,t){let n=Xw(e);t.validator!==null?e.setValidators(gv(n,t.validator)):typeof n=="function"&&e.setValidators([n]);let i=Qw(e);t.asyncValidator!==null?e.setAsyncValidators(gv(i,t.asyncValidator)):typeof i=="function"&&e.setAsyncValidators([i]);let a=()=>e.updateValueAndValidity();_c(t._rawValidators,a),_c(t._rawAsyncValidators,a)}function xc(e,t){let n=!1;if(e!==null){if(t.validator!==null){let a=Xw(e);if(Array.isArray(a)&&a.length>0){let r=a.filter(o=>o!==t.validator);r.length!==a.length&&(n=!0,e.setValidators(r))}}if(t.asyncValidator!==null){let a=Qw(e);if(Array.isArray(a)&&a.length>0){let r=a.filter(o=>o!==t.asyncValidator);r.length!==a.length&&(n=!0,e.setAsyncValidators(r))}}}let i=()=>{};return _c(t._rawValidators,i),_c(t._rawAsyncValidators,i),n}function Ste(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&o1(e,t)})}function Ete(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&o1(e,t),e.updateOn!=="submit"&&e.markAsTouched()})}function o1(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Cte(e,t){let n=(i,a)=>{t.valueAccessor.writeValue(i),a&&t.viewToModelUpdate(i)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}function l1(e,t){Nm(e,t)}function Dte(e,t){return xc(e,t)}function Ite(e,t){if(!e.hasOwnProperty("model"))return!1;let n=e.model;return n.isFirstChange()?!0:!Object.is(t,n.currentValue)}function Ate(e){return Object.getPrototypeOf(e.constructor)===ate}function c1(e,t){e._syncPendingControls(),t.forEach(n=>{let i=n.control;i.updateOn==="submit"&&i._pendingChange&&(n.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function Tte(e,t){if(!t)return null;let n,i,a;return t.forEach(r=>{r.constructor===vd?n=r:Ate(r)?i=r:a=r}),a||i||n||null}function Ote(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var Nte={provide:is,useExisting:Ja(()=>_d)},gs=Promise.resolve(),_d=(()=>{const t=class t extends is{constructor(a,r,o){super();s(this,"callSetDisabledState");s(this,"_submitted",wa(()=>this.submittedReactive()));s(this,"submittedReactive",xa(!1));s(this,"_directives",new Set);s(this,"form");s(this,"ngSubmit",new se);s(this,"options");this.callSetDisabledState=o,this.form=new _v({},Am(a),Tm(r))}get submitted(){return aa(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){gs.then(()=>{let r=this._findContainer(a.path);a.control=r.registerControl(a.name,a.control),bc(a.control,a,this.callSetDisabledState),a.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(a)})}getControl(a){return this.form.get(a.path)}removeControl(a){gs.then(()=>{let r=this._findContainer(a.path);r&&r.removeControl(a.name),this._directives.delete(a)})}addFormGroup(a){gs.then(()=>{let r=this._findContainer(a.path),o=new _v({});l1(o,a),r.registerControl(a.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(a){gs.then(()=>{let r=this._findContainer(a.path);r&&r.removeControl(a.name)})}getFormGroup(a){return this.form.get(a.path)}updateModel(a,r){gs.then(()=>{this.form.get(a.path).setValue(r)})}setValue(a){this.control.setValue(a)}onSubmit(a){var r;return this.submittedReactive.set(!0),c1(this.form,this._directives),this.ngSubmit.emit(a),this.form._events.next(new i1(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 a1(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}};s(t,"ɵfac",function(a){return new(a||t)(Ke(Fo,10),Ke(Dm,10),Ke(bd,8))}),s(t,"ɵdir",xe({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(a,r){a&1&&ce("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ci([Nte]),Ot]}));let e=t;return e})();function wv(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function kv(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var d1=class extends s1{constructor(t=null,n,i){super(n1(n),r1(i,n));s(this,"defaultValue",null);s(this,"_onChange",[]);s(this,"_pendingValue");s(this,"_pendingChange",!1);this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),yd(n)&&(n.nonNullable||n.initialValueIsDefault)&&(kv(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){wv(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){wv(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){kv(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}},Rte=e=>e instanceof d1,Mte={provide:Lo,useExisting:Ja(()=>Rm)},Sv=Promise.resolve(),Rm=(()=>{const t=class t extends Lo{constructor(a,r,o,l,c,d){super();s(this,"_changeDetectorRef");s(this,"callSetDisabledState");s(this,"control",new d1);s(this,"_registered",!1);s(this,"viewModel");s(this,"name","");s(this,"isDisabled");s(this,"model");s(this,"options");s(this,"update",new se);this._changeDetectorRef=c,this.callSetDisabledState=d,this._parent=a,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=Tte(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),Ite(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(){bc(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){Sv.then(()=>{var r;this.control.setValue(a,{emitViewToModelChange:!1}),(r=this._changeDetectorRef)==null||r.markForCheck()})}_updateDisabled(a){let r=a.isDisabled.currentValue,o=r!==0&&Be(r);Sv.then(()=>{var l;o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),(l=this._changeDetectorRef)==null||l.markForCheck()})}_getPath(a){return this._parent?wte(a,this._parent):[a]}};s(t,"ngAcceptInputType_isDisabled"),s(t,"ɵfac",function(a){return new(a||t)(Ke(is,9),Ke(Fo,10),Ke(Dm,10),Ke(Sm,10),Ke(Pt,8),Ke(bd,8))}),s(t,"ɵdir",xe({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:[ci([Mte]),Ot,oi]}));let e=t;return e})(),Pte=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",xe({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1}));let e=t;return e})(),Fte={provide:is,useExisting:Ja(()=>Mm)},Mm=(()=>{const t=class t extends is{constructor(a,r,o){super();s(this,"callSetDisabledState");s(this,"_submitted",wa(()=>this._submittedReactive()));s(this,"_submittedReactive",xa(!1));s(this,"_oldForm");s(this,"_onCollectionChange",()=>this._updateDomValue());s(this,"directives",[]);s(this,"form",null);s(this,"ngSubmit",new se);this.callSetDisabledState=o,this._setValidators(a),this._setAsyncValidators(r)}get submitted(){return aa(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&&(xc(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 bc(r,a,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(a),r}getControl(a){return this.form.get(a.path)}removeControl(a){xv(a.control||null,a,!1),Ote(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),c1(this.form,this.directives),this.ngSubmit.emit(a),this.form._events.next(new i1(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 a1(this.form))}_updateDomValue(){this.directives.forEach(a=>{let r=a.control,o=this.form.get(a.path);r!==o&&(xv(r||null,a),Rte(o)&&(bc(o,a,this.callSetDisabledState),a.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(a){let r=this.form.get(a.path);l1(r,a),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(a){if(this.form){let r=this.form.get(a.path);r&&Dte(r,a)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Nm(this.form,this),this._oldForm&&xc(this._oldForm,this)}};s(t,"ɵfac",function(a){return new(a||t)(Ke(Fo,10),Ke(Dm,10),Ke(bd,8))}),s(t,"ɵdir",xe({type:t,selectors:[["","formGroup",""]],hostBindings:function(a,r){a&1&&ce("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ci([Fte]),Ot,oi]}));let e=t;return e})();function Lte(e){return typeof e=="number"?e:parseInt(e,10)}var Vte=(()=>{const t=class t{constructor(){s(this,"_validator",vc);s(this,"_onChange");s(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):vc,this._onChange&&this._onChange()}}validate(i){return this._validator(i)}registerOnValidatorChange(i){this._onChange=i}enabled(i){return i!=null}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",xe({type:t,features:[oi]}));let e=t;return e})(),zte={provide:Fo,useExisting:Ja(()=>u1),multi:!0},u1=(()=>{const t=class t extends Vte{constructor(){super(...arguments);s(this,"maxlength");s(this,"inputName","maxlength");s(this,"normalizeInput",a=>Lte(a));s(this,"createValidator",a=>$w(a))}};s(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=li(t)))(r||t)}})()),s(t,"ɵdir",xe({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(a,r){a&2&&be("maxlength",r._enabled?r.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[ci([zte]),Ot]}));let e=t;return e})(),jte=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵmod",xt({type:t})),s(t,"ɵinj",_t({}));let e=t;return e})(),h1=(()=>{const t=class t{static withConfig(i){return{ngModule:t,providers:[{provide:bd,useValue:i.callSetDisabledState??Om}]}}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵmod",xt({type:t})),s(t,"ɵinj",_t({imports:[jte]}));let e=t;return e})(),eo=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵmod",xt({type:t})),s(t,"ɵinj",_t({imports:[qt,cw,qt]}));let e=t;return e})(),Bte=["trigger"],Hte=["panel"],$te=[[["mat-select-trigger"]],"*"],Ute=["mat-select-trigger","*"];function Gte(e,t){if(e&1&&(O(0,"span",4),q(1),N()),e&2){let n=j();D(),Le(n.placeholder)}}function qte(e,t){e&1&&nt(0)}function Wte(e,t){if(e&1&&(O(0,"span",11),q(1),N()),e&2){let n=j(2);D(),Le(n.triggerValue)}}function Yte(e,t){if(e&1&&(O(0,"span",5),ue(1,qte,1,0)(2,Wte,2,1,"span",11),N()),e&2){let n=j();D(),de(n.customTrigger?1:2)}}function Kte(e,t){if(e&1){let n=Je();O(0,"div",12,1),ce("keydown",function(i){ve(n);let a=j();return ye(a._handleKeydown(i))}),nt(2,1),N()}if(e&2){let n=j();NK("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",n._getPanelTheme(),""),Ge("mat-select-panel-animations-enabled",!n._animationsDisabled),ae("ngClass",n.panelClass),be("id",n.id+"-panel")("aria-multiselectable",n.multiple)("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby())}}var p1=new B("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let e=k(ui);return()=>e.scrollStrategies.reposition()}});function Zte(e){return()=>e.scrollStrategies.reposition()}var Xte=new B("MAT_SELECT_CONFIG"),Qte={provide:p1,deps:[ui],useFactory:Zte},Jte=new B("MatSelectTrigger"),eie=class{constructor(e,t){s(this,"source");s(this,"value");this.source=e,this.value=t}},Pm=(()=>{var t,n,i,a;const r=class r{constructor(){s(this,"_viewportRuler",k(fm));s(this,"_changeDetectorRef",k(Pt));s(this,"_elementRef",k(Pe));s(this,"_dir",k(Fi,{optional:!0}));s(this,"_idGenerator",k(di));s(this,"_renderer",k(Zi));s(this,"_parentFormField",k(fd,{optional:!0}));s(this,"ngControl",k(Lo,{self:!0,optional:!0}));s(this,"_liveAnnouncer",k(pw));s(this,"_defaultOptions",k(Xte,{optional:!0}));s(this,"_animationsDisabled",k(Li,{optional:!0})==="NoopAnimations");s(this,"_initialized",new re);s(this,"_cleanupDetach");s(this,"options");s(this,"optionGroups");s(this,"customTrigger");s(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"}]);s(this,"_scrollStrategyFactory",k(p1));s(this,"_panelOpen",!1);s(this,"_compareWith",(l,c)=>l===c);s(this,"_uid",this._idGenerator.getId("mat-select-"));s(this,"_triggerAriaLabelledBy",null);s(this,"_previousControl");s(this,"_destroy",new re);s(this,"_errorStateTracker");s(this,"stateChanges",new re);s(this,"disableAutomaticLabeling",!0);s(this,"userAriaDescribedBy");s(this,"_selectionModel");s(this,"_keyManager");s(this,"_preferredOverlayOrigin");s(this,"_overlayWidth");s(this,"_onChange",()=>{});s(this,"_onTouched",()=>{});s(this,"_valueId",this._idGenerator.getId("mat-select-value-"));s(this,"_scrollStrategy");s(this,"_overlayPanelClass",((t=this._defaultOptions)==null?void 0:t.overlayPanelClass)||"");s(this,"_focused",!1);s(this,"controlType","mat-select");s(this,"trigger");s(this,"panel");s(this,"_overlayDir");s(this,"panelClass");s(this,"disabled",!1);s(this,"disableRipple",!1);s(this,"tabIndex",0);s(this,"_hideSingleSelectionIndicator",((n=this._defaultOptions)==null?void 0:n.hideSingleSelectionIndicator)??!1);s(this,"_placeholder");s(this,"_required");s(this,"_multiple",!1);s(this,"disableOptionCentering",((i=this._defaultOptions)==null?void 0:i.disableOptionCentering)??!1);s(this,"_value");s(this,"ariaLabel","");s(this,"ariaLabelledby");s(this,"typeaheadDebounceInterval");s(this,"sortComparator");s(this,"_id");s(this,"panelWidth",this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto");s(this,"canSelectNullableOptions",((a=this._defaultOptions)==null?void 0:a.canSelectNullableOptions)??!1);s(this,"optionSelectionChanges",Vs(()=>{let l=this.options;return l?l.changes.pipe(Ri(l),Kn(()=>$i(...l.map(c=>c.onSelectionChange)))):this._initialized.pipe(Kn(()=>this.optionSelectionChanges))}));s(this,"openedChange",new se);s(this,"_openedStream",this.openedChange.pipe(Qt(l=>l),vt(()=>{})));s(this,"_closedStream",this.openedChange.pipe(Qt(l=>!l),vt(()=>{})));s(this,"selectionChange",new se);s(this,"valueChange",new se);s(this,"_trackedModal",null);s(this,"_skipPredicate",l=>this.panelOpen?!1:l.disabled);var m;let l=k(dm),c=k(_d,{optional:!0}),d=k(Mm,{optional:!0}),u=k(new Ap("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 _w(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=LJ(l,this.options,this.optionGroups),m=c._getHostElement();l===0&&u===1?d.scrollTop=0:d.scrollTop=VJ(m.offsetTop,m.offsetHeight,d.scrollTop,d.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(l){return new eie(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(Im.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 ite(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(St(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(St(this._destroy)).subscribe(l=>{l.added.forEach(c=>c.select()),l.removed.forEach(c=>c.deselect())}),this.options.changes.pipe(Ri(null),St(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(fi(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&&Th(this._trackedModal,"aria-owns",c),yw(l,"aria-owns",c),this._trackedModal=l}_clearFromModal(){if(!this._trackedModal)return;let l=`${this.id}-panel`;Th(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&&!vi(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&&!vi(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&&!vi(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 gc?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 mJ(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=$i(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(St(l)).subscribe(c=>{this._onSelect(c.source,c.isUserInput),c.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),$i(...this.options.map(c=>c._stateChanges)).pipe(St(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}};s(r,"ɵfac",function(l){return new(l||r)}),s(r,"ɵcmp",Ee({type:r,selectors:[["mat-select"]],contentQueries:function(l,c,d){if(l&1&&(ni(d,Jte,5),ni(d,ud,5),ni(d,Sw,5)),l&2){let u;Te(u=Oe())&&(c.customTrigger=u.first),Te(u=Oe())&&(c.options=u),Te(u=Oe())&&(c.optionGroups=u)}},viewQuery:function(l,c){if(l&1&&(pt(Bte,5),pt(Hte,5),pt(av,5)),l&2){let d;Te(d=Oe())&&(c.trigger=d.first),Te(d=Oe())&&(c.panel=d.first),Te(d=Oe())&&(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&&(be("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()),Ge("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",Be],disableRipple:[2,"disableRipple","disableRipple",Be],tabIndex:[2,"tabIndex","tabIndex",l=>l==null?0:Wa(l)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Be],placeholder:"placeholder",required:[2,"required","required",Be],multiple:[2,"multiple","multiple",Be],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",Be],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",Wa],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",Be]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[ci([{provide:km,useExisting:r},{provide:kw,useExisting:r}]),oi],ngContentSelectors:Ute,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();Ci($te),O(0,"div",2,0),ce("click",function(){return ve(d),ye(c.open())}),O(3,"div",3),ue(4,Gte,2,1,"span",4)(5,Yte,3,1,"span",5),N(),O(6,"div",6)(7,"div",7),Za(),O(8,"svg",8),le(9,"path",9),N()()()(),ue(10,Kte,3,10,"ng-template",10),ce("detach",function(){return ve(d),ye(c.close())})("backdropClick",function(){return ve(d),ye(c.close())})("overlayKeydown",function(u){return ve(d),ye(c._handleOverlayKeydown(u))})}if(l&2){let d=vn(1);D(3),be("id",c._valueId),D(),de(c.empty?4:5),D(6),ae("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",c._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",c._scrollStrategy)("cdkConnectedOverlayOrigin",c._preferredOverlayOrigin||d)("cdkConnectedOverlayPositions",c._positions)("cdkConnectedOverlayWidth",c._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)}},dependencies:[gc,av,Ao],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))}
|
|
32
|
+
`],encapsulation:2,changeDetection:0}));let e=r;return e})(),m1=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵmod",xt({type:t})),s(t,"ɵinj",_t({providers:[Qte],imports:[md,Rh,qt,fc,eo,Rh,qt]}));let e=t;return e})(),tie=["tooltip"],iie=20,aie=new B("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let e=k(ui);return()=>e.scrollStrategies.reposition({scrollThrottle:iie})}});function nie(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var rie=new B("mat-tooltip-default-options",{providedIn:"root",factory:nie}),Ev="tooltip-panel",Cv=dd({passive:!0}),sie=8,oie=8,lie=24,cie=200,die=(()=>{const t=class t{constructor(){s(this,"_elementRef",k(Pe));s(this,"_ngZone",k(Ie));s(this,"_platform",k(Ft));s(this,"_ariaDescriber",k(gJ));s(this,"_focusMonitor",k(Ro));s(this,"_dir",k(Fi));s(this,"_injector",k(lt));s(this,"_viewContainerRef",k(An));s(this,"_defaultOptions",k(rie,{optional:!0}));s(this,"_overlayRef");s(this,"_tooltipInstance");s(this,"_portal");s(this,"_position","below");s(this,"_positionAtOrigin",!1);s(this,"_disabled",!1);s(this,"_tooltipClass");s(this,"_viewInitialized",!1);s(this,"_pointerExitEventsInitialized",!1);s(this,"_tooltipComponent",uie);s(this,"_viewportMargin",8);s(this,"_currentPosition");s(this,"_cssClassPrefix","mat-mdc");s(this,"_ariaDescriptionPending");s(this,"_dirSubscribed",!1);s(this,"_showDelay");s(this,"_hideDelay");s(this,"touchGestures","auto");s(this,"_message","");s(this,"_passiveListeners",[]);s(this,"_touchstartTimeout",null);s(this,"_destroyed",new re);s(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=sie}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=Rr(i),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(i){let a=Rr(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=uc(i)}get hideDelay(){return this._hideDelay}set hideDelay(i){this._hideDelay=uc(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(St(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,Cv)}),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 Cn(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(St(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.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 Pe)return this._overlayRef;this._detach()}let a=this._injector.get(mm).getAncestorScrollContainers(this._elementRef),r=this._injector.get(ui),o=r.position().flexibleConnectedTo(this.positionAtOrigin?i||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(a);return o.positionChanges.pipe(St(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:o,panelClass:`${this._cssClassPrefix}-${Ev}`,scrollStrategy:this._injector.get(aie)()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(St(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(St(this._destroyed)).subscribe(()=>{var c;return(c=this._tooltipInstance)==null?void 0:c._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(St(this._destroyed)).subscribe(c=>{this._isTooltipVisible()&&c.keyCode===27&&!vi(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(St(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(),o=this._getOverlayPosition();a.withPositions([this._addOffset(Z(Z({},r.main),o.main)),this._addOffset(Z(Z({},r.fallback),o.fallback))])}_addOffset(i){let a=oie,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:o,y:l}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,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:o,y:l}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,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:o}=i,l;if(a==="center"?this._dir&&this._dir.value==="rtl"?l=r==="end"?"left":"right":l=r==="start"?"left":"right":l=a==="bottom"&&o==="top"?"above":"below",l!==this._currentPosition){let c=this._overlayRef;if(c){let d=`${this._cssClassPrefix}-${Ev}-`;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 o=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r)},((c=this._defaultOptions)==null?void 0:c.touchLongPressShowDelay)??o)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let i=[];if(this._platformSupportsMouseEvents())i.push(["mouseleave",a=>{var o;let r=a.relatedTarget;(!r||!((o=this._overlayRef)!=null&&o.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,Cv)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(i){if(this._isTooltipVisible()){let a=this._injector.get(Ze).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}))}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",xe({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,a){i&2&&Ge("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})(),uie=(()=>{const t=class t{constructor(){s(this,"_changeDetectorRef",k(Pt));s(this,"_elementRef",k(Pe));s(this,"_isMultiline",!1);s(this,"message");s(this,"tooltipClass");s(this,"_showTimeoutId");s(this,"_hideTimeoutId");s(this,"_triggerElement");s(this,"_mouseLeaveHideDelay");s(this,"_animationsDisabled");s(this,"_tooltip");s(this,"_closeOnInteraction",!1);s(this,"_isVisible",!1);s(this,"_onHide",new re);s(this,"_showAnimation","mat-mdc-tooltip-show");s(this,"_hideAnimation","mat-mdc-tooltip-hide");let i=k(Li,{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>lie&&i.width>=cie}_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,o=this._hideAnimation;if(a.classList.remove(i?o:r),a.classList.add(i?r:o),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))}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Ee({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(i,a){if(i&1&&pt(tie,7),i&2){let r;Te(r=Oe())&&(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();O(0,"div",1,0),ce("animationend",function(o){return ve(r),ye(a._handleAnimationEnd(o))}),O(2,"div",2),q(3),N()()}i&2&&(Ge("mdc-tooltip--multiline",a._isMultiline),ae("ngClass",a.tooltipClass),D(3),Le(a.message))},dependencies:[Ao],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}
|
|
33
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),hie=["*"],pie=new B("MAT_BUTTON_CONFIG"),mie=[{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"]}],f1=(()=>{const t=class t{constructor(){s(this,"_elementRef",k(Pe));s(this,"_ngZone",k(Ie));s(this,"_animationMode",k(Li,{optional:!0}));s(this,"_focusMonitor",k(Ro));s(this,"_rippleLoader",k(Ew));s(this,"_isFab",!1);s(this,"color");s(this,"_disableRipple",!1);s(this,"_disabled",!1);s(this,"ariaDisabled");s(this,"disabledInteractive");var o;k(Di).load(Mo);let i=k(pie,{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,(o=this._rippleLoader)==null||o.configureRipple(a,{className:"mat-mdc-button-ripple"});for(let{attribute:l,mdcClasses:c}of mie)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)}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",xe({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",Be],disabled:[2,"disabled","disabled",Be],ariaDisabled:[2,"aria-disabled","ariaDisabled",Be],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Be]}}));let e=t;return e})(),ns=(()=>{const t=class t extends f1{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Ee({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,a){i&2&&(be("disabled",a._getDisabledAttribute())("aria-disabled",a._getAriaDisabled()),Hr(a.color?"mat-"+a.color:""),Ge("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:[Ot],ngContentSelectors:hie,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&&(Ci(),le(0,"span",0),nt(1),le(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}
|
|
34
|
+
`,`@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}}
|
|
35
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),fie=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],gie=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],Tn=(()=>{const t=class t extends f1{};s(t,"ɵfac",(()=>{let i;return function(a){return(i||(i=li(t)))(a||t)}})()),s(t,"ɵcmp",Ee({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&&(be("disabled",a._getDisabledAttribute())("aria-disabled",a._getAriaDisabled()),Hr(a.color?"mat-"+a.color:""),Ge("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:[Ot],ngContentSelectors:gie,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&&(Ci(fie),le(0,"span",0),nt(1),O(2,"span",1),nt(3,1),N(),nt(4,2),le(5,"span",2)(6,"span",3)),i&2&&Ge("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)}
|
|
36
|
+
`,`@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}}
|
|
37
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),xd=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵmod",xt({type:t})),s(t,"ɵinj",_t({imports:[qt,hm,qt]}));let e=t;return e})();function vie(e,t){if(e&1&&(O(0,"mat-option",17),q(1),N()),e&2){let n=t.$implicit;ae("value",n),D(),Me(" ",n," ")}}function yie(e,t){if(e&1){let n=Je();O(0,"mat-form-field",14)(1,"mat-select",16,0),ce("selectionChange",function(i){ve(n);let a=j(2);return ye(a._changePageSize(i.value))}),Si(3,vie,2,2,"mat-option",17,la),N(),O(5,"div",18),ce("click",function(){ve(n);let i=vn(2);return ye(i.open())}),N()()}if(e&2){let n=j(2);ae("appearance",n._formFieldAppearance)("color",n.color),D(),ae("value",n.pageSize)("disabled",n.disabled)("aria-labelledby",n._pageSizeLabelId)("panelClass",n.selectConfig.panelClass||"")("disableOptionCentering",n.selectConfig.disableOptionCentering),D(2),Ei(n._displayedPageSizeOptions)}}function bie(e,t){if(e&1&&(O(0,"div",15),q(1),N()),e&2){let n=j(2);D(),Le(n.pageSize)}}function _ie(e,t){if(e&1&&(O(0,"div",3)(1,"div",13),q(2),N(),ue(3,yie,6,7,"mat-form-field",14)(4,bie,2,1,"div",15),N()),e&2){let n=j();D(),be("id",n._pageSizeLabelId),D(),Me(" ",n._intl.itemsPerPageLabel," "),D(),de(n._displayedPageSizeOptions.length>1?3:-1),D(),de(n._displayedPageSizeOptions.length<=1?4:-1)}}function xie(e,t){if(e&1){let n=Je();O(0,"button",19),ce("click",function(){ve(n);let i=j();return ye(i._buttonClicked(0,i._previousButtonsDisabled()))}),Za(),O(1,"svg",8),le(2,"path",20),N()()}if(e&2){let n=j();ae("matTooltip",n._intl.firstPageLabel)("matTooltipDisabled",n._previousButtonsDisabled())("disabled",n._previousButtonsDisabled())("tabindex",n._previousButtonsDisabled()?-1:null),be("aria-label",n._intl.firstPageLabel)}}function wie(e,t){if(e&1){let n=Je();O(0,"button",21),ce("click",function(){ve(n);let i=j();return ye(i._buttonClicked(i.getNumberOfPages()-1,i._nextButtonsDisabled()))}),Za(),O(1,"svg",8),le(2,"path",22),N()()}if(e&2){let n=j();ae("matTooltip",n._intl.lastPageLabel)("matTooltipDisabled",n._nextButtonsDisabled())("disabled",n._nextButtonsDisabled())("tabindex",n._nextButtonsDisabled()?-1:null),be("aria-label",n._intl.lastPageLabel)}}var Fm=(()=>{const t=class t{constructor(){s(this,"changes",new re);s(this,"itemsPerPageLabel","Items per page:");s(this,"nextPageLabel","Next page");s(this,"previousPageLabel","Previous page");s(this,"firstPageLabel","First page");s(this,"lastPageLabel","Last page");s(this,"getRangeLabel",(i,a,r)=>{if(r==0||a==0)return`0 of ${r}`;r=Math.max(r,0);let o=i*a,l=o<r?Math.min(o+a,r):o+a;return`${o+1} – ${l} of ${r}`})}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),kie=50,Sie=new B("MAT_PAGINATOR_DEFAULT_OPTIONS"),Eie=(()=>{const t=class t{constructor(){s(this,"_intl",k(Fm));s(this,"_changeDetectorRef",k(Pt));s(this,"_formFieldAppearance");s(this,"_pageSizeLabelId",k(di).getId("mat-paginator-page-size-label-"));s(this,"_intlChanges");s(this,"_isInitialized",!1);s(this,"_initializedStream",new Lc(1));s(this,"color");s(this,"_pageIndex",0);s(this,"_length",0);s(this,"_pageSize");s(this,"_pageSizeOptions",[]);s(this,"hidePageSize",!1);s(this,"showFirstLastButtons",!1);s(this,"selectConfig",{});s(this,"disabled",!1);s(this,"page",new se);s(this,"_displayedPageSizeOptions");s(this,"initialized",this._initializedStream);let i=this._intl,a=k(Sie,{optional:!0});if(this._intlChanges=i.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),a){let{pageSize:r,pageSizeOptions:o,hidePageSize:l,showFirstLastButtons:c}=a;r!=null&&(this._pageSize=r),o!=null&&(this._pageSizeOptions=o),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=>Wa(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]:kie),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)}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Ee({type:t,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",Wa],length:[2,"length","length",Wa],pageSize:[2,"pageSize","pageSize",Wa],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",Be],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",Be],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",Be]},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&&(O(0,"div",1)(1,"div",2),ue(2,_ie,5,4,"div",3),O(3,"div",4)(4,"div",5),q(5),N(),ue(6,xie,3,5,"button",6),O(7,"button",7),ce("click",function(){return a._buttonClicked(a.pageIndex-1,a._previousButtonsDisabled())}),Za(),O(8,"svg",8),le(9,"path",9),N()(),Ju(),O(10,"button",10),ce("click",function(){return a._buttonClicked(a.pageIndex+1,a._nextButtonsDisabled())}),Za(),O(11,"svg",8),le(12,"path",11),N()(),ue(13,wie,3,5,"button",12),N()()()),i&2&&(D(2),de(a.hidePageSize?-1:2),D(3),Me(" ",a._intl.getRangeLabel(a.pageIndex,a.pageSize,a.length)," "),D(),de(a.showFirstLastButtons?6:-1),D(),ae("matTooltip",a._intl.previousPageLabel)("matTooltipDisabled",a._previousButtonsDisabled())("disabled",a._previousButtonsDisabled())("tabindex",a._previousButtonsDisabled()?-1:null),be("aria-label",a._intl.previousPageLabel),D(3),ae("matTooltip",a._intl.nextPageLabel)("matTooltipDisabled",a._nextButtonsDisabled())("disabled",a._nextButtonsDisabled())("tabindex",a._nextButtonsDisabled()?-1:null),be("aria-label",a._intl.nextPageLabel),D(3),de(a.showFirstLastButtons?13:-1))},dependencies:[gd,Pm,ud,ns,die],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}
|
|
38
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),Ue=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}(Ue||{}),Ya="*";function Cie(e,t=null){return{type:Ue.Sequence,steps:e,options:t}}function Dv(e){return{type:Ue.Style,styles:e,offset:null}}var to=class{constructor(e=0,t=0){s(this,"_onDoneFns",[]);s(this,"_onStartFns",[]);s(this,"_onDestroyFns",[]);s(this,"_originalOnDoneFns",[]);s(this,"_originalOnStartFns",[]);s(this,"_started",!1);s(this,"_destroyed",!1);s(this,"_finished",!1);s(this,"_position",0);s(this,"parentPlayer",null);s(this,"totalTime");this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(n=>n()),t.length=0}},g1=class{constructor(e){s(this,"_onDoneFns",[]);s(this,"_onStartFns",[]);s(this,"_finished",!1);s(this,"_started",!1);s(this,"_destroyed",!1);s(this,"_onDestroyFns",[]);s(this,"parentPlayer",null);s(this,"totalTime",0);s(this,"players");this.players=e;let t=0,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,o)=>Math.max(r,o.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let t=e*this.totalTime;this.players.forEach(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}},Lm="!";function Iv(e){return new W(3e3,!1)}function Die(){return new W(3100,!1)}function Iie(){return new W(3101,!1)}function Aie(e){return new W(3001,!1)}function Tie(e){return new W(3003,!1)}function Oie(e){return new W(3004,!1)}function Nie(e,t){return new W(3005,!1)}function Rie(){return new W(3006,!1)}function Mie(){return new W(3007,!1)}function Pie(e,t){return new W(3008,!1)}function Fie(e){return new W(3002,!1)}function Lie(e,t,n,i,a){return new W(3010,!1)}function Vie(){return new W(3011,!1)}function zie(){return new W(3012,!1)}function jie(){return new W(3200,!1)}function Bie(){return new W(3202,!1)}function Hie(){return new W(3013,!1)}function $ie(e){return new W(3014,!1)}function Uie(e){return new W(3015,!1)}function Gie(e){return new W(3016,!1)}function qie(e,t){return new W(3404,!1)}function Wie(e){return new W(3502,!1)}function Yie(e){return new W(3503,!1)}function Kie(){return new W(3300,!1)}function Zie(e){return new W(3504,!1)}function Xie(e){return new W(3301,!1)}function Qie(e,t){return new W(3302,!1)}function Jie(e){return new W(3303,!1)}function eae(e,t){return new W(3400,!1)}function tae(e){return new W(3401,!1)}function iae(e){return new W(3402,!1)}function aae(e,t){return new W(3505,!1)}function pn(e){switch(e.length){case 0:return new to;case 1:return e[0];default:return new g1(e)}}function v1(e,t,n=new Map,i=new Map){let a=[],r=[],o=-1,l=null;if(t.forEach(c=>{let d=c.get("offset"),u=d==o,m=u&&l||new Map;c.forEach((v,g)=>{let x=g,w=v;if(g!=="offset")switch(x=e.normalizePropertyName(x,a),w){case Lm:w=n.get(g);break;case Ya:w=i.get(g);break;default:w=e.normalizeStyleValue(g,x,w,a);break}m.set(x,w)}),u||r.push(m),l=m,o=d}),a.length)throw Wie();return r}function Vm(e,t,n,i){switch(t){case"start":e.onStart(()=>i(n&&_u(n,"start",e)));break;case"done":e.onDone(()=>i(n&&_u(n,"done",e)));break;case"destroy":e.onDestroy(()=>i(n&&_u(n,"destroy",e)));break}}function _u(e,t,n){let i=n.totalTime,a=!!n.disabled,r=zm(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,i??e.totalTime,a),o=e._data;return o!=null&&(r._data=o),r}function zm(e,t,n,i,a="",r=0,o){return{element:e,triggerName:t,fromState:n,toState:i,phaseName:a,totalTime:r,disabled:!!o}}function Oi(e,t,n){let i=e.get(t);return i||e.set(t,i=n),i}function Av(e){let t=e.indexOf(":"),n=e.substring(1,t),i=e.slice(t+1);return[n,i]}var nae=typeof document>"u"?null:document.documentElement;function jm(e){let t=e.parentNode||e.host||null;return t===nae?null:t}function rae(e){return e.substring(1,6)=="ebkit"}var Vn=null,Tv=!1;function sae(e){Vn||(Vn=oae()||{},Tv=Vn.style?"WebkitAppearance"in Vn.style:!1);let t=!0;return Vn.style&&!rae(e)&&(t=e in Vn.style,!t&&Tv&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Vn.style)),t}function oae(){return typeof document<"u"?document.body:null}function y1(e,t){for(;t;){if(t===e)return!0;t=jm(t)}return!1}function b1(e,t,n){if(n)return Array.from(e.querySelectorAll(t));let i=e.querySelector(t);return i?[i]:[]}var lae=1e3,_1="{{",cae="}}",x1="ng-enter",Lh="ng-leave",fl="ng-trigger",wc=".ng-trigger",Ov="ng-animating",Vh=".ng-animating";function Ua(e){if(typeof e=="number")return e;let t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:zh(parseFloat(t[1]),t[2])}function zh(e,t){switch(t){case"s":return e*lae;default:return e}}function kc(e,t,n){return e.hasOwnProperty("duration")?e:dae(e,t,n)}function dae(e,t,n){let i=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,a,r=0,o="";if(typeof e=="string"){let l=e.match(i);if(l===null)return t.push(Iv()),{duration:0,delay:0,easing:""};a=zh(parseFloat(l[1]),l[2]);let c=l[3];c!=null&&(r=zh(parseFloat(c),l[4]));let d=l[5];d&&(o=d)}else a=e;if(!n){let l=!1,c=t.length;a<0&&(t.push(Die()),l=!0),r<0&&(t.push(Iie()),l=!0),l&&t.splice(c,0,Iv())}return{duration:a,delay:r,easing:o}}function uae(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}function ya(e,t,n){t.forEach((i,a)=>{let r=Bm(a);n&&!n.has(a)&&n.set(a,e.style[r]),e.style[r]=i})}function qn(e,t){t.forEach((n,i)=>{let a=Bm(i);e.style[a]=""})}function vs(e){return Array.isArray(e)?e.length==1?e[0]:Cie(e):e}function hae(e,t,n){let i=t.params||{},a=w1(e);a.length&&a.forEach(r=>{i.hasOwnProperty(r)||n.push(Aie())})}var jh=new RegExp(`${_1}\\s*(.+?)\\s*${cae}`,"g");function w1(e){let t=[];if(typeof e=="string"){let n;for(;n=jh.exec(e);)t.push(n[1]);jh.lastIndex=0}return t}function io(e,t,n){let i=`${e}`,a=i.replace(jh,(r,o)=>{let l=t[o];return l==null&&(n.push(Tie()),l=""),l.toString()});return a==i?e:a}var pae=/-+([a-z0-9])/g;function Bm(e){return e.replace(pae,(...t)=>t[1].toUpperCase())}function mae(e,t){return e===0||t===0}function fae(e,t,n){if(n.size&&t.length){let i=t[0],a=[];if(n.forEach((r,o)=>{i.has(o)||a.push(o),i.set(o,r)}),a.length)for(let r=1;r<t.length;r++){let o=t[r];a.forEach(l=>o.set(l,Hm(e,l)))}}return t}function Ai(e,t,n){switch(t.type){case Ue.Trigger:return e.visitTrigger(t,n);case Ue.State:return e.visitState(t,n);case Ue.Transition:return e.visitTransition(t,n);case Ue.Sequence:return e.visitSequence(t,n);case Ue.Group:return e.visitGroup(t,n);case Ue.Animate:return e.visitAnimate(t,n);case Ue.Keyframes:return e.visitKeyframes(t,n);case Ue.Style:return e.visitStyle(t,n);case Ue.Reference:return e.visitReference(t,n);case Ue.AnimateChild:return e.visitAnimateChild(t,n);case Ue.AnimateRef:return e.visitAnimateRef(t,n);case Ue.Query:return e.visitQuery(t,n);case Ue.Stagger:return e.visitStagger(t,n);default:throw Oie(t.type)}}function Hm(e,t){return window.getComputedStyle(e)[t]}var gae=(()=>{const t=class t{validateStyleProperty(i){return sae(i)}containsElement(i,a){return y1(i,a)}getParentElement(i){return jm(i)}query(i,a,r){return b1(i,a,r)}computeStyle(i,a,r){return r||""}animate(i,a,r,o,l,c=[],d){return new to(r,o)}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),Lu,k1=(Lu=class{},s(Lu,"NOOP",new gae),Lu),$m=class{},vae=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"]),yae=class extends $m{normalizePropertyName(e,t){return Bm(e)}normalizeStyleValue(e,t,n,i){let a="",r=n.toString().trim();if(vae.has(t)&&n!==0&&n!=="0")if(typeof n=="number")a="px";else{let o=n.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&i.push(Nie())}return r+a}},Sc="*";function bae(e,t){let n=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(i=>_ae(i,n,t)):n.push(e),n}function _ae(e,t,n){if(e[0]==":"){let c=xae(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(Uie()),t;let a=i[1],r=i[2],o=i[3];t.push(Nv(a,o));let l=a==Sc&&o==Sc;r[0]=="<"&&!l&&t.push(Nv(o,a))}function xae(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(Gie()),"* => *"}}var gl=new Set(["true","1"]),vl=new Set(["false","0"]);function Nv(e,t){let n=gl.has(e)||vl.has(e),i=gl.has(t)||vl.has(t);return(a,r)=>{let o=e==Sc||e==a,l=t==Sc||t==r;return!o&&n&&typeof a=="boolean"&&(o=a?gl.has(e):vl.has(e)),!l&&i&&typeof r=="boolean"&&(l=r?gl.has(t):vl.has(t)),o&&l}}var S1=":self",wae=new RegExp(`s*${S1}s*,?`,"g");function E1(e,t,n,i){return new kae(e).build(t,n,i)}var Rv="",kae=class{constructor(e){s(this,"_driver");this._driver=e}build(e,t,n){let i=new Cae(t);return this._resetContextStyleTimingState(i),Ai(this,vs(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=Rv,e.collectedStyles=new Map,e.collectedStyles.set(Rv,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(Rie()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==Ue.State){let l=o,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,a.push(this.visitState(l,t))}),l.name=c}else if(o.type==Ue.Transition){let l=this.visitTransition(o,t);n+=l.queryCount,i+=l.depCount,r.push(l)}else t.errors.push(Mie())}),{type:Ue.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(o=>{o instanceof Map&&o.forEach(l=>{w1(l).forEach(c=>{r.hasOwnProperty(c)||a.add(c)})})}),a.size&&t.errors.push(Pie(e.name,[...a.values()]))}return{type:Ue.State,name:e.name,style:n,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let n=Ai(this,vs(e.animation),t),i=bae(e.expr,t.errors);return{type:Ue.Transition,matchers:i,animation:n,queryCount:t.queryCount,depCount:t.depCount,options:zn(e.options)}}visitSequence(e,t){return{type:Ue.Sequence,steps:e.steps.map(n=>Ai(this,n,t)),options:zn(e.options)}}visitGroup(e,t){let n=t.currentTime,i=0,a=e.steps.map(r=>{t.currentTime=n;let o=Ai(this,r,t);return i=Math.max(i,t.currentTime),o});return t.currentTime=i,{type:Ue.Group,steps:a,options:zn(e.options)}}visitAnimate(e,t){let n=Iae(e.timings,t.errors);t.currentAnimateTimings=n;let i,a=e.styles?e.styles:Dv({});if(a.type==Ue.Keyframes)i=this.visitKeyframes(a,t);else{let r=e.styles,o=!1;if(!r){o=!0;let c={};n.easing&&(c.easing=n.easing),r=Dv(c)}t.currentTime+=n.duration+n.delay;let l=this.visitStyle(r,t);l.isEmptyStep=o,i=l}return t.currentAnimateTimings=null,{type:Ue.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 o of i)typeof o=="string"?o===Ya?n.push(o):t.errors.push(Fie()):n.push(new Map(Object.entries(o)));let a=!1,r=null;return n.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(r=o.get("easing"),o.delete("easing")),!a)){for(let l of o.values())if(l.toString().indexOf(_1)>=0){a=!0;break}}}),{type:Ue.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((o,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(Lie(l,d.startTime,d.endTime)),u=!1),a=d.startTime),u&&c.set(l,{startTime:a,endTime:i}),t.options&&hae(o,t.options,t.errors)})})}visitKeyframes(e,t){let n={type:Ue.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(Vie()),n;let i=1,a=0,r=[],o=!1,l=!1,c=0,d=e.steps.map(E=>{let T=this._makeStyleAst(E,t),z=T.offset!=null?T.offset:Dae(T.styles),F=0;return z!=null&&(a++,F=T.offset=z),l=l||F<0||F>1,o=o||F<c,c=F,r.push(F),T});l&&t.errors.push(zie()),o&&t.errors.push(jie());let u=e.steps.length,m=0;a>0&&a<u?t.errors.push(Bie()):a==0&&(m=i/(u-1));let v=u-1,g=t.currentTime,x=t.currentAnimateTimings,w=x.duration;return d.forEach((E,T)=>{let z=m>0?T==v?1:m*T:r[T],F=z*w;t.currentTime=g+x.delay+F,x.duration=F,this._validateStyleAst(E,t),E.offset=z,n.styles.push(E)}),n}visitReference(e,t){return{type:Ue.Reference,animation:Ai(this,vs(e.animation),t),options:zn(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:Ue.AnimateChild,options:zn(e.options)}}visitAnimateRef(e,t){return{type:Ue.AnimateRef,animation:this.visitReference(e.animation,t),options:zn(e.options)}}visitQuery(e,t){let n=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;let[a,r]=Sae(e.selector);t.currentQuerySelector=n.length?n+" "+a:a,Oi(t.collectedStyles,t.currentQuerySelector,new Map);let o=Ai(this,vs(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:Ue.Query,selector:a,limit:i.limit||0,optional:!!i.optional,includeSelf:r,animation:o,originalSelector:e.selector,options:zn(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(Hie());let n=e.timings==="full"?{duration:0,delay:0,easing:"full"}:kc(e.timings,t.errors,!0);return{type:Ue.Stagger,animation:Ai(this,vs(e.animation),t),timings:n,options:null}}};function Sae(e){let t=!!e.split(/\s*,\s*/).find(n=>n==S1);return t&&(e=e.replace(wae,"")),e=e.replace(/@\*/g,wc).replace(/@\w+/g,n=>wc+"-"+n.slice(1)).replace(/:animating/g,Vh),[e,t]}function Eae(e){return e?Z({},e):null}var Cae=class{constructor(e){s(this,"errors");s(this,"queryCount",0);s(this,"depCount",0);s(this,"currentTransition",null);s(this,"currentQuery",null);s(this,"currentQuerySelector",null);s(this,"currentAnimateTimings",null);s(this,"currentTime",0);s(this,"collectedStyles",new Map);s(this,"options",null);s(this,"unsupportedCSSPropertiesFound",new Set);this.errors=e}};function Dae(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 Iae(e,t){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let a=kc(e,t).duration;return xu(a,0,"")}let n=e;if(n.split(/\s+/).some(a=>a.charAt(0)=="{"&&a.charAt(1)=="{")){let a=xu(0,0,"");return a.dynamic=!0,a.strValue=n,a}let i=kc(n,t);return xu(i.duration,i.delay,i.easing)}function zn(e){return e?(e=Z({},e),e.params&&(e.params=Eae(e.params))):e={},e}function xu(e,t,n){return{duration:e,delay:t,easing:n}}function Um(e,t,n,i,a,r,o=null,l=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:i,duration:a,delay:r,totalTime:a+r,easing:o,subTimeline:l}}var Gm=class{constructor(){s(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()}},Aae=1,Tae=":enter",Oae=new RegExp(Tae,"g"),Nae=":leave",Rae=new RegExp(Nae,"g");function C1(e,t,n,i,a,r=new Map,o=new Map,l,c,d=[]){return new Mae().buildKeyframes(e,t,n,i,a,r,o,l,c,d)}var Mae=class{buildKeyframes(e,t,n,i,a,r,o,l,c,d=[]){c=c||new Gm;let u=new Pae(e,t,c,i,a,d,[]);u.options=l;let m=l.delay?Ua(l.delay):0;u.currentTimeline.delayNextStep(m),u.currentTimeline.setStyles([r],null,u.errors,l),Ai(this,n,u);let v=u.timelines.filter(g=>g.containsAnimation());if(v.length&&o.size){let g;for(let x=v.length-1;x>=0;x--){let w=v[x];if(w.element===t){g=w;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([o],null,u.errors,l)}return v.length?v.map(g=>g.buildKeyframes()):[Um(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:Ua(io(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?Ua(n.duration):null,r=n.delay!=null?Ua(n.delay):null;return a!==0&&e.forEach(o=>{let l=t.appendInstructionToTimeline(o,a,r);i=Math.max(i,l.duration+l.delay)}),i}visitReference(e,t){t.updateOptions(e.options,!0),Ai(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==Ue.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Ec);let r=Ua(a.delay);i.delayNextStep(r)}e.steps.length&&(e.steps.forEach(r=>Ai(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?Ua(e.options.delay):0;e.steps.forEach(r=>{let o=t.createSubContext(e.options);a&&o.delayNextStep(a),Ai(this,r,o),i=Math.max(i,o.currentTimeline.currentTime),n.push(o.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?io(n,t.params,t.errors):n;return kc(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==Ue.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(o=>{let l=o.offset||0;r.forwardTime(l*a),r.setStyles(o.styles,o.easing,t.errors,t.options),r.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(r),t.transformIntoNewTimeline(i+a),t.previousNode=e}visitQuery(e,t){let n=t.currentTimeline.currentTime,i=e.options||{},a=i.delay?Ua(i.delay):0;a&&(t.previousNode.type===Ue.Style||n==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Ec);let r=n,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((c,d)=>{t.currentQueryIndex=d;let u=t.createSubContext(e.options,c);a&&u.delayNextStep(a),c===t.element&&(l=u.currentTimeline),Ai(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),o=r*(t.currentQueryTotal-1),l=r*t.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":l=o-l;break;case"full":l=n.currentStaggerTime;break}let c=t.currentTimeline;l&&c.delayNextStep(l);let d=c.currentTime;Ai(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=i.currentTime-d+(i.startTime-n.currentTimeline.startTime)}},Ec={},Pae=class D1{constructor(t,n,i,a,r,o,l,c){s(this,"_driver");s(this,"element");s(this,"subInstructions");s(this,"_enterClassName");s(this,"_leaveClassName");s(this,"errors");s(this,"timelines");s(this,"parentContext",null);s(this,"currentTimeline");s(this,"currentAnimateTimings",null);s(this,"previousNode",Ec);s(this,"subContextCount",0);s(this,"options",{});s(this,"currentQueryIndex",0);s(this,"currentQueryTotal",0);s(this,"currentStaggerTime",0);this._driver=t,this.element=n,this.subInstructions=i,this._enterClassName=a,this._leaveClassName=r,this.errors=o,this.timelines=l,this.currentTimeline=c||new I1(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=Ua(i.duration)),i.delay!=null&&(a.delay=Ua(i.delay));let r=i.params;if(r){let o=a.params;o||(o=this.options.params={}),Object.keys(r).forEach(l=>{(!n||!o.hasOwnProperty(l))&&(o[l]=io(r[l],o,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 D1(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=Ec,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 Fae(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,o){let l=[];if(a&&l.push(this.element),t.length>0){t=t.replace(Oae,"."+this._enterClassName),t=t.replace(Rae,"."+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&&o.push($ie()),l}},I1=class A1{constructor(t,n,i,a){s(this,"_driver");s(this,"element");s(this,"startTime");s(this,"_elementTimelineStylesLookup");s(this,"duration",0);s(this,"easing",null);s(this,"_previousKeyframe",new Map);s(this,"_currentKeyframe",new Map);s(this,"_keyframes",new Map);s(this,"_styleSummary",new Map);s(this,"_localTimelineStyles",new Map);s(this,"_globalTimelineStyles");s(this,"_pendingStyles",new Map);s(this,"_backFill",new Map);s(this,"_currentEmptyStepKeyframe",null);this._driver=t,this.element=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 A1(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+=Aae,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||Ya),this._currentKeyframe.set(n,Ya);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,n,i,a){n&&this._previousKeyframe.set("easing",n);let r=a&&a.params||{},o=Lae(t,this._globalTimelineStyles);for(let[l,c]of o){let d=io(c,r,i);this._pendingStyles.set(l,d),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??Ya),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===Lm?t.add(m):u===Ya&&n.add(m)}),i||d.set("offset",c/this.duration),a.push(d)});let r=[...t.values()],o=[...n.values()];if(i){let l=a[0],c=new Map(l);l.set("offset",0),c.set("offset",1),a=[l,c]}return Um(this.element,a,r,o,this.duration,this.startTime,this.easing,!1)}},Fae=class extends I1{constructor(t,n,i,a,r,o,l=!1){super(t,n,o.delay);s(this,"keyframes");s(this,"preStyleProps");s(this,"postStyleProps");s(this,"_stretchStartingKeyframe");s(this,"timings");this.keyframes=i,this.preStyleProps=a,this.postStyleProps=r,this._stretchStartingKeyframe=l,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:n,duration:i,easing:a}=this.timings;if(this._stretchStartingKeyframe&&n){let r=[],o=i+n,l=n/o,c=new Map(t[0]);c.set("offset",0),r.push(c);let d=new Map(t[0]);d.set("offset",Mv(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",Mv(x/o)),r.push(v)}i=o,n=0,a="",t=r}return Um(this.element,t,this.preStyleProps,this.postStyleProps,i,n,a,!0)}};function Mv(e,t=3){let n=Math.pow(10,t-1);return Math.round(e*n)/n}function Lae(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,Ya)}else for(let[r,o]of a)n.set(r,o)}),n}function Pv(e,t,n,i,a,r,o,l,c,d,u,m,v){return{type:0,element:e,triggerName:t,isRemovalTransition:a,fromState:n,fromStyles:r,toState:i,toStyles:o,timelines:l,queriedElements:c,preStyleProps:d,postStyleProps:u,totalTime:m,errors:v}}var wu={},T1=class{constructor(e,t,n){s(this,"_triggerName");s(this,"ast");s(this,"_stateStyles");this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,i){return Vae(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,o,l,c,d){var ei;let u=[],m=this.ast.options&&this.ast.options.params||wu,v=o&&o.params||wu,g=this.buildStyles(n,v,u),x=l&&l.params||wu,w=this.buildStyles(i,x,u),E=new Set,T=new Map,z=new Map,F=i==="void",qe={params:O1(x,m),delay:(ei=this.ast.options)==null?void 0:ei.delay},dt=d?[]:C1(e,t,this.ast.animation,a,r,g,w,qe,c,u),tt=0;return dt.forEach(Kt=>{tt=Math.max(Kt.duration+Kt.delay,tt)}),u.length?Pv(t,this._triggerName,n,i,F,g,w,[],[],T,z,tt,u):(dt.forEach(Kt=>{let At=Kt.element,Zt=Oi(T,At,new Set);Kt.preStyleProps.forEach(X=>Zt.add(X));let ne=Oi(z,At,new Set);Kt.postStyleProps.forEach(X=>ne.add(X)),At!==t&&E.add(At)}),Pv(t,this._triggerName,n,i,F,g,w,dt,[...E.values()],T,z,tt))}};function Vae(e,t,n,i,a){return e.some(r=>r(t,n,i,a))}function O1(e,t){let n=Z({},t);return Object.entries(e).forEach(([i,a])=>{a!=null&&(n[i]=a)}),n}var zae=class{constructor(e,t,n){s(this,"styles");s(this,"defaultParams");s(this,"normalizer");this.styles=e,this.defaultParams=t,this.normalizer=n}buildStyles(e,t){let n=new Map,i=O1(e,this.defaultParams);return this.styles.styles.forEach(a=>{typeof a!="string"&&a.forEach((r,o)=>{r&&(r=io(r,i,t));let l=this.normalizer.normalizePropertyName(o,t);r=this.normalizer.normalizeStyleValue(o,l,r,t),n.set(o,r)})}),n}};function jae(e,t,n){return new Bae(e,t,n)}var Bae=class{constructor(e,t,n){s(this,"name");s(this,"ast");s(this,"_normalizer");s(this,"transitionFactories",[]);s(this,"fallbackTransition");s(this,"states",new Map);this.name=e,this.ast=t,this._normalizer=n,t.states.forEach(i=>{let a=i.options&&i.options.params||{};this.states.set(i.name,new zae(i.style,a,n))}),Fv(this.states,"true","1"),Fv(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new T1(e,i,this.states))}),this.fallbackTransition=Hae(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 Hae(e,t,n){let i=[(o,l)=>!0],a={type:Ue.Sequence,steps:[],options:null},r={type:Ue.Transition,animation:a,matchers:i,options:null,queryCount:0,depCount:0};return new T1(e,r,t)}function Fv(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 $ae=new Gm,Uae=class{constructor(e,t,n){s(this,"bodyNode");s(this,"_driver");s(this,"_normalizer");s(this,"_animations",new Map);s(this,"_playersById",new Map);s(this,"players",[]);this.bodyNode=e,this._driver=t,this._normalizer=n}register(e,t){let n=[],i=[],a=E1(this._driver,t,n,i);if(n.length)throw Yie();this._animations.set(e,a)}_buildPlayer(e,t,n){let i=e.element,a=v1(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,o=new Map;if(a?(r=C1(this._driver,t,a,x1,Lh,new Map,new Map,n,$ae,i),r.forEach(d=>{let u=Oi(o,d.element,new Map);d.postStyleProps.forEach(m=>u.set(m,null))})):(i.push(Kie()),r=[]),i.length)throw Zie();o.forEach((d,u)=>{d.forEach((m,v)=>{d.set(v,this._driver.computeStyle(u,v,Ya))})});let l=r.map(d=>{let u=o.get(d.element);return this._buildPlayer(d,new Map,u)}),c=pn(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 Xie();return t}listen(e,t,n,i){let a=zm(t,"","","");return Vm(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}}},Lv="ng-animate-queued",Gae=".ng-animate-queued",ku="ng-animate-disabled",qae=".ng-animate-disabled",Wae="ng-star-inserted",Yae=".ng-star-inserted",Kae=[],N1={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Zae={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ta="__ng_removed",Bh=class{constructor(e,t=""){s(this,"namespaceId");s(this,"value");s(this,"options");this.namespaceId=t;let n=e&&e.hasOwnProperty("value"),i=n?e.value:e;if(this.value=ene(i),n){let a=e,{value:r}=a,o=a8(a,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){let t=e.params;if(t){let n=this.options.params;Object.keys(t).forEach(i=>{n[i]==null&&(n[i]=t[i])})}}},Rs="void",Su=new Bh(Rs),Xae=class{constructor(e,t,n){s(this,"id");s(this,"hostElement");s(this,"_engine");s(this,"players",[]);s(this,"_triggers",new Map);s(this,"_queue",[]);s(this,"_elementListeners",new Map);s(this,"_hostClassName");this.id=e,this.hostElement=t,this._engine=n,this._hostClassName="ng-tns-"+e,Hi(t,this._hostClassName)}listen(e,t,n,i){if(!this._triggers.has(t))throw Qie();if(n==null||n.length==0)throw Jie();if(!tne(n))throw eae();let a=Oi(this._elementListeners,e,[]),r={name:t,phase:n,callback:i};a.push(r);let o=Oi(this._engine.statesByElement,e,new Map);return o.has(t)||(Hi(e,fl),Hi(e,fl+"-"+t),o.set(t,Su)),()=>{this._engine.afterFlush(()=>{let l=a.indexOf(r);l>=0&&a.splice(l,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw tae();return t}trigger(e,t,n,i=!0){let a=this._getTrigger(t),r=new Hh(this.id,t,e),o=this._engine.statesByElement.get(e);o||(Hi(e,fl),Hi(e,fl+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),c=new Bh(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),o.set(t,c),l||(l=Su),c.value!==Rs&&l.value===c.value){if(!nne(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(()=>{qn(e,g),ya(e,x)})}return}let d=Oi(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||(Hi(e,Lv),r.onStart(()=>{xr(e,Lv)})),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,wc,!0);n.forEach(i=>{if(i[ta])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 o=[];if(a.forEach((l,c)=>{if(r.set(c,l.value),this._triggers.has(c)){let d=this.trigger(e,c,Rs,i);d&&o.push(d)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,r),n&&pn(o).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 o=this._triggers.get(r).fallbackTransition,l=n.get(r)||Su,c=new Bh(Rs),d=new Hh(this.id,r,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:o,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[ta];(!a||a===N1)&&(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){Hi(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(o=>{if(o.name==n.triggerName){let l=zm(a,n.triggerName,n.fromState.value,n.toState.value);l._data=e,Vm(n.player,o.phase,l,o.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)}},Qae=class{constructor(e,t,n){s(this,"bodyNode");s(this,"driver");s(this,"_normalizer");s(this,"players",[]);s(this,"newHostElements",new Map);s(this,"playersByElement",new Map);s(this,"playersByQueriedElement",new Map);s(this,"statesByElement",new Map);s(this,"disabledNodes",new Set);s(this,"totalAnimations",0);s(this,"totalQueuedPlayers",0);s(this,"_namespaceLookup",{});s(this,"_namespaceList",[]);s(this,"_flushFns",[]);s(this,"_whenQuietFns",[]);s(this,"namespacesByHostElement",new Map);s(this,"collectedEnterElements",[]);s(this,"collectedLeaveElements",[]);s(this,"onRemovalComplete",(e,t)=>{});this.bodyNode=e,this.driver=t,this._normalizer=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 Xae(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 o=i.get(r);if(o){let l=n.indexOf(o);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(yl(t)){let a=this._fetchNamespace(e);if(a)return a.trigger(t,n,i),!0}return!1}insertNode(e,t,n,i){if(!yl(t))return;let a=t[ta];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),Hi(e,ku)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),xr(e,ku))}removeNode(e,t,n){if(yl(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[ta]={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:a}}listen(e,t,n,i,a){return yl(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,wc,!0);t.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Vh,!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 pn(this.players).onDone(()=>e());e()})}processLeaveNode(e){var n;let t=e[ta];if(t&&t.setForRemoval){if(e[ta]=N1,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(ku)&&this.markElementAsDisabled(e,!1),this.driver.query(e,qae,!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];Hi(i,Wae)}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?pn(t).onDone(()=>{n.forEach(i=>i())}):n.forEach(i=>i())}}reportError(e){throw iae()}_flushAnimations(e,t){let n=new Gm,i=[],a=new Map,r=[],o=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(V=>{d.add(V);let $=this.driver.query(V,Gae,!0);for(let te=0;te<$.length;te++)d.add($[te])});let u=this.bodyNode,m=Array.from(this.statesByElement.keys()),v=jv(m,this.collectedEnterElements),g=new Map,x=0;v.forEach((V,$)=>{let te=x1+x++;g.set($,te),V.forEach(je=>Hi(je,te))});let w=[],E=new Set,T=new Set;for(let V=0;V<this.collectedLeaveElements.length;V++){let $=this.collectedLeaveElements[V],te=$[ta];te&&te.setForRemoval&&(w.push($),E.add($),te.hasAnimation?this.driver.query($,Yae,!0).forEach(je=>E.add(je)):T.add($))}let z=new Map,F=jv(m,Array.from(E));F.forEach((V,$)=>{let te=Lh+x++;z.set($,te),V.forEach(je=>Hi(je,te))}),e.push(()=>{v.forEach((V,$)=>{let te=g.get($);V.forEach(je=>xr(je,te))}),F.forEach((V,$)=>{let te=z.get($);V.forEach(je=>xr(je,te))}),w.forEach(V=>{this.processLeaveNode(V)})});let qe=[],dt=[];for(let V=this._namespaceList.length-1;V>=0;V--)this._namespaceList[V].drainQueuedTransitions(t).forEach($=>{let te=$.player,je=$.element;if(qe.push(te),this.collectedEnterElements.length){let ft=je[ta];if(ft&&ft.setForMove){if(ft.previousTriggersValues&&ft.previousTriggersValues.has($.triggerName)){let ii=ft.previousTriggersValues.get($.triggerName),$t=this.statesByElement.get($.element);if($t&&$t.has($.triggerName)){let ua=$t.get($.triggerName);ua.value=ii,$t.set($.triggerName,ua)}}te.destroy();return}}let ut=!u||!this.driver.containsElement(u,je),ti=z.get(je),We=g.get(je),et=this._buildInstruction($,n,We,ti,ut);if(et.errors&&et.errors.length){dt.push(et);return}if(ut){te.onStart(()=>qn(je,et.fromStyles)),te.onDestroy(()=>ya(je,et.toStyles)),i.push(te);return}if($.isFallbackTransition){te.onStart(()=>qn(je,et.fromStyles)),te.onDestroy(()=>ya(je,et.toStyles)),i.push(te);return}let Dt=[];et.timelines.forEach(ft=>{ft.stretchStartingKeyframe=!0,this.disabledNodes.has(ft.element)||Dt.push(ft)}),et.timelines=Dt,n.append(je,et.timelines);let Xi={instruction:et,player:te,element:je};r.push(Xi),et.queriedElements.forEach(ft=>Oi(o,ft,[]).push(te)),et.preStyleProps.forEach((ft,ii)=>{if(ft.size){let $t=l.get(ii);$t||l.set(ii,$t=new Set),ft.forEach((ua,on)=>$t.add(on))}}),et.postStyleProps.forEach((ft,ii)=>{let $t=c.get(ii);$t||c.set(ii,$t=new Set),ft.forEach((ua,on)=>$t.add(on))})});if(dt.length){let V=[];dt.forEach($=>{V.push(aae($.triggerName,$.errors))}),qe.forEach($=>$.destroy()),this.reportError(V)}let tt=new Map,ei=new Map;r.forEach(V=>{let $=V.element;n.has($)&&(ei.set($,$),this._beforeAnimationBuild(V.player.namespaceId,V.instruction,tt))}),i.forEach(V=>{let $=V.element;this._getPreviousPlayers($,!1,V.namespaceId,V.triggerName,null).forEach(te=>{Oi(tt,$,[]).push(te),te.destroy()})});let Kt=w.filter(V=>Bv(V,l,c)),At=new Map;zv(At,this.driver,T,c,Ya).forEach(V=>{Bv(V,l,c)&&Kt.push(V)});let Zt=new Map;v.forEach((V,$)=>{zv(Zt,this.driver,new Set(V),l,Lm)}),Kt.forEach(V=>{let $=At.get(V),te=Zt.get(V);At.set(V,new Map([...($==null?void 0:$.entries())??[],...(te==null?void 0:te.entries())??[]]))});let ne=[],X=[],Re={};r.forEach(V=>{let{element:$,player:te,instruction:je}=V;if(n.has($)){if(d.has($)){te.onDestroy(()=>ya($,je.toStyles)),te.disabled=!0,te.overrideTotalTime(je.totalTime),i.push(te);return}let ut=Re;if(ei.size>1){let We=$,et=[];for(;We=We.parentNode;){let Dt=ei.get(We);if(Dt){ut=Dt;break}et.push(We)}et.forEach(Dt=>ei.set(Dt,ut))}let ti=this._buildAnimation(te.namespaceId,je,tt,a,Zt,At);if(te.setRealPlayer(ti),ut===Re)ne.push(te);else{let We=this.playersByElement.get(ut);We&&We.length&&(te.parentPlayer=pn(We)),i.push(te)}}else qn($,je.fromStyles),te.onDestroy(()=>ya($,je.toStyles)),X.push(te),d.has($)&&i.push(te)}),X.forEach(V=>{let $=a.get(V.element);if($&&$.length){let te=pn($);V.setRealPlayer(te)}}),i.forEach(V=>{V.parentPlayer?V.syncPlayerEvents(V.parentPlayer):V.destroy()});for(let V=0;V<w.length;V++){let $=w[V],te=$[ta];if(xr($,Lh),te&&te.hasAnimation)continue;let je=[];if(o.size){let ti=o.get($);ti&&ti.length&&je.push(...ti);let We=this.driver.query($,Vh,!0);for(let et=0;et<We.length;et++){let Dt=o.get(We[et]);Dt&&Dt.length&&je.push(...Dt)}}let ut=je.filter(ti=>!ti.destroyed);ut.length?ine(this,$,ut):this.processLeaveNode($)}return w.length=0,ne.forEach(V=>{this.players.push(V),V.onDone(()=>{V.destroy();let $=this.players.indexOf(V);this.players.splice($,1)}),V.play()}),ne}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,i,a){let r=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(r=o)}else{let o=this.playersByElement.get(e);if(o){let l=!a||a==Rs;o.forEach(c=>{c.queued||!l&&c.triggerName!=i||r.push(c)})}}return(n||i)&&(r=r.filter(o=>!(n&&n!=o.namespaceId||i&&i!=o.triggerName))),r}_beforeAnimationBuild(e,t,n){let i=t.triggerName,a=t.element,r=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:i;for(let l of t.timelines){let c=l.element,d=c!==a,u=Oi(n,c,[]);this._getPreviousPlayers(c,d,r,o,t.toState).forEach(m=>{let v=m.getRealPlayer();v.beforeDestroy&&v.beforeDestroy(),m.destroy(),u.push(m)})}qn(a,t.fromStyles)}_buildAnimation(e,t,n,i,a,r){let o=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 w=x[ta];if(w&&w.removedBeforeQueried)return new to(g.duration,g.delay);let E=x!==l,T=ane((n.get(x)||Kae).map(tt=>tt.getRealPlayer())).filter(tt=>{let ei=tt;return ei.element?ei.element===x:!1}),z=a.get(x),F=r.get(x),qe=v1(this._normalizer,g.keyframes,z,F),dt=this._buildPlayer(g,qe,T);if(g.subTimeline&&i&&u.add(x),E){let tt=new Hh(e,o,x);tt.setRealPlayer(dt),c.push(tt)}return dt});c.forEach(g=>{Oi(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>Jae(this.playersByQueriedElement,g.element,g))}),d.forEach(g=>Hi(g,Ov));let v=pn(m);return v.onDestroy(()=>{d.forEach(g=>xr(g,Ov)),ya(l,t.toStyles)}),u.forEach(g=>{Oi(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 to(e.duration,e.delay)}},Hh=class{constructor(e,t,n){s(this,"namespaceId");s(this,"triggerName");s(this,"element");s(this,"_player",new to);s(this,"_containsRealPlayer",!1);s(this,"_queuedCallbacks",new Map);s(this,"destroyed",!1);s(this,"parentPlayer",null);s(this,"markedForDestroy",!1);s(this,"disabled",!1);s(this,"queued",!0);s(this,"totalTime",0);this.namespaceId=e,this.triggerName=t,this.element=n}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,n)=>{t.forEach(i=>Vm(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){Oi(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 Jae(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 ene(e){return e??null}function yl(e){return e&&e.nodeType===1}function tne(e){return e=="start"||e=="done"}function Vv(e,t){let n=e.style.display;return e.style.display=t??"none",n}function zv(e,t,n,i,a){let r=[];n.forEach(c=>r.push(Vv(c)));let o=[];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[ta]=Zae,o.push(d))}),e.set(d,u)});let l=0;return n.forEach(c=>Vv(c,r[l++])),o}function jv(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 o(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=o(d),r.set(l,c),c}return t.forEach(l=>{let c=o(l);c!==i&&n.get(c).push(l)}),n}function Hi(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 ine(e,t,n){pn(n).onDone(()=>e.processLeaveNode(t))}function ane(e){let t=[];return R1(e,t),t}function R1(e,t){for(let n=0;n<e.length;n++){let i=e[n];i instanceof g1?R1(i.players,t):t.push(i)}}function nne(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 Bv(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 $h=class{constructor(e,t,n){s(this,"_driver");s(this,"_normalizer");s(this,"_transitionEngine");s(this,"_timelineEngine");s(this,"_triggerCache",{});s(this,"onRemovalComplete",(e,t)=>{});this._driver=t,this._normalizer=n,this._transitionEngine=new Qae(e.body,t,n),this._timelineEngine=new Uae(e.body,t,n),this._transitionEngine.onRemovalComplete=(i,a)=>this.onRemovalComplete(i,a)}registerTrigger(e,t,n,i,a){let r=e+"-"+i,o=this._triggerCache[r];if(!o){let l=[],c=[],d=E1(this._driver,a,l,c);if(l.length)throw qie();o=jae(i,d,this._normalizer),this._triggerCache[r]=o}this._transitionEngine.registerTrigger(t,i,o)}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]=Av(n),o=i;this._timelineEngine.command(a,t,r,o)}else this._transitionEngine.trigger(e,t,n,i)}listen(e,t,n,i,a){if(n.charAt(0)=="@"){let[r,o]=Av(n);return this._timelineEngine.listen(r,t,o,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 rne(e,t){let n=null,i=null;return Array.isArray(t)&&t.length?(n=Eu(t[0]),t.length>1&&(i=Eu(t[t.length-1]))):t instanceof Map&&(n=Eu(t)),n||i?new sne(e,n,i):null}var sne=(()=>{const t=class t{constructor(i,a,r){s(this,"_element");s(this,"_startStyles");s(this,"_endStyles");s(this,"_state",0);s(this,"_initialStyles");this._element=i,this._startStyles=a,this._endStyles=r;let o=t.initialStylesByElement.get(i);o||t.initialStylesByElement.set(i,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&ya(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ya(this._element,this._initialStyles),this._endStyles&&(ya(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(qn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(qn(this._element,this._endStyles),this._endStyles=null),ya(this._element,this._initialStyles),this._state=3)}};s(t,"initialStylesByElement",new WeakMap);let e=t;return e})();function Eu(e){let t=null;return e.forEach((n,i)=>{one(i)&&(t=t||new Map,t.set(i,n))}),t}function one(e){return e==="display"||e==="position"}var Hv=class{constructor(e,t,n,i){s(this,"element");s(this,"keyframes");s(this,"options");s(this,"_specialStyles");s(this,"_onDoneFns",[]);s(this,"_onStartFns",[]);s(this,"_onDestroyFns",[]);s(this,"_duration");s(this,"_delay");s(this,"_initialized",!1);s(this,"_finished",!1);s(this,"_started",!1);s(this,"_destroyed",!1);s(this,"_finalKeyframe");s(this,"_originalOnDoneFns",[]);s(this,"_originalOnStartFns",[]);s(this,"domPlayer");s(this,"time",0);s(this,"parentPlayer",null);s(this,"currentSnapshot",new Map);this.element=e,this.keyframes=t,this.options=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:Hm(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(n=>n()),t.length=0}},lne=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return y1(e,t)}getParentElement(e){return jm(e)}query(e,t,n){return b1(e,t,n)}computeStyle(e,t,n){return Hm(e,t)}animate(e,t,n,i,a,r=[]){let o=i==0?"both":"forwards",l={duration:n,delay:i,fill:o};a&&(l.easing=a);let c=new Map,d=r.filter(v=>v instanceof Hv);mae(n,i)&&d.forEach(v=>{v.currentSnapshot.forEach((g,x)=>c.set(x,g))});let u=uae(t).map(v=>new Map(v));u=fae(e,u,c);let m=rne(e,u);return new Hv(e,u,l,m)}},jl="@",M1="@.disabled",P1=class{constructor(e,t,n,i){s(this,"namespaceId");s(this,"delegate");s(this,"engine");s(this,"_onDestroy");s(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)==jl&&t==M1?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)}},cne=class extends P1{constructor(t,n,i,a,r){super(n,i,a,r);s(this,"factory");this.factory=t,this.namespaceId=n}setProperty(t,n,i){n.charAt(0)==jl?n.charAt(1)=="."&&n==M1?(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)==jl){let r=dne(t),o=n.slice(1),l="";return o.charAt(0)!=jl&&([o,l]=une(o)),this.engine.listen(this.namespaceId,r,o,l,c=>{let d=c._data||-1;this.factory.scheduleListenerCallback(d,i,c)})}return this.delegate.listen(t,n,i,a)}};function dne(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function une(e){let t=e.indexOf("."),n=e.substring(0,t),i=e.slice(t+1);return[n,i]}var hne=class{constructor(e,t,n){s(this,"delegate");s(this,"engine");s(this,"_zone");s(this,"_currentId",0);s(this,"_microtaskId",1);s(this,"_animationCallbacksBuffer",[]);s(this,"_rendererCache",new Map);s(this,"_cdRecurDepth",0);this.delegate=e,this.engine=t,this._zone=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 P1(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 o=c=>{Array.isArray(c)?c.forEach(o):this.engine.registerTrigger(a,r,e,c.name,c)};return t.data.animation.forEach(o),new cne(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,o]=a;r(o)}),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)}},pne=(()=>{const t=class t extends $h{constructor(i,a,r){super(i,a,r)}ngOnDestroy(){this.flush()}};s(t,"ɵfac",function(i){return new(i||t)(me(Ze),me(k1),me($m))}),s(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})();function mne(){return new yae}function fne(e,t,n){return new hne(e,t,n)}var gne=[{provide:$m,useFactory:mne},{provide:$h,useClass:pne},{provide:Ki,useFactory:fne,deps:[Sh,$h,Ie]}],vne=[{provide:k1,useFactory:()=>new lne},{provide:Li,useFactory:()=>"BrowserAnimations"},...gne];function yne(){return lr("NgEagerAnimations"),[...vne]}var bne=(()=>{const t=class t extends Fm{constructor(i){super(),this.translate=i,this.getRangeLabel=(a,r,o)=>{if(o===0||r===0)return`0 / ${o}`;o=Math.max(o,0);let l=a*r,c=l<o?Math.min(l+r,o):l+r;return`${l+1} - ${c} / ${o}`},this.getAndInitTranslations=()=>{this.nextPageLabel=this.translate.instant("commons.matPaginator.nextPage"),this.previousPageLabel=this.translate.instant("commons.matPaginator.prevPage"),this.firstPageLabel=this.translate.instant("commons.matPaginator.firstPage"),this.lastPageLabel=this.translate.instant("commons.matPaginator.lastPage"),this.itemsPerPageLabel=this.translate.instant("commons.matPaginator.itemsPerPage"),this.getRangeLabel=this.getRangeLabel.bind(this),this.changes.next()},this.translate.onLangChange.subscribe(()=>{this.getAndInitTranslations()}),this.getAndInitTranslations()}};t.ɵfac=function(i){return new(i||t)(me(rn))},t.ɵprov=G({token:t,factory:t.ɵfac});let e=t;return e})(),A=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}(A||{}),qm=new B("ngx-mask config"),F1=new B("new ngx-mask config"),L1=new B("initial ngx-mask config"),_ne={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 se,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")}}};A.HOURS_MINUTES_SECONDS,A.HOURS_MINUTES,A.MINUTES_SECONDS;A.PERCENT,A.HOURS_HOUR,A.SECONDS,A.MINUTES,A.SEPARATOR,A.DAYS_MONTHS_YEARS,A.DAYS_MONTHS,A.DAYS,A.MONTHS;var xne=(()=>{const t=class t{constructor(){s(this,"_config",k(qm));s(this,"dropSpecialCharacters",this._config.dropSpecialCharacters);s(this,"hiddenInput",this._config.hiddenInput);s(this,"showTemplate");s(this,"clearIfNotMatch",this._config.clearIfNotMatch);s(this,"specialCharacters",this._config.specialCharacters);s(this,"patterns",this._config.patterns);s(this,"prefix",this._config.prefix);s(this,"suffix",this._config.suffix);s(this,"thousandSeparator",this._config.thousandSeparator);s(this,"decimalMarker",this._config.decimalMarker);s(this,"customPattern");s(this,"showMaskTyped",this._config.showMaskTyped);s(this,"placeHolderCharacter",this._config.placeHolderCharacter);s(this,"validation",this._config.validation);s(this,"separatorLimit",this._config.separatorLimit);s(this,"allowNegativeNumbers",this._config.allowNegativeNumbers);s(this,"leadZeroDateTime",this._config.leadZeroDateTime);s(this,"leadZero",this._config.leadZero);s(this,"apm",this._config.apm);s(this,"inputTransformFn",this._config.inputTransformFn);s(this,"outputTransformFn",this._config.outputTransformFn);s(this,"keepCharacterPositions",this._config.keepCharacterPositions);s(this,"_shift",new Set);s(this,"plusOnePosition",!1);s(this,"maskExpression","");s(this,"actualValue","");s(this,"showKeepCharacterExp","");s(this,"shownMaskExpression","");s(this,"deletedSpecialCharacter",!1);s(this,"ipError");s(this,"cpfCnpjError");s(this,"_formatWithSeparators",(i,a,r,o)=>{var g;let l=[],c="";if(Array.isArray(r)){let x=new RegExp(r.map(w=>"[\\^$.|?*+()".indexOf(w)>=0?`\\${w}`:w).join("|"));l=i.split(x),c=((g=i.match(x))==null?void 0:g[0])??A.EMPTY_STRING}else l=i.split(r),c=r;let d=l.length>1?`${c}${l[1]}`:A.EMPTY_STRING,u=l[0]??A.EMPTY_STRING,m=this.separatorLimit.replace(/\s/g,A.EMPTY_STRING);m&&+m&&(u[0]===A.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 o>"u"?u+d:o===0?u:u+d.substring(0,o+1)});s(this,"percentage",i=>{let a=i.replace(",","."),r=Number(this.allowNegativeNumbers&&i.includes(A.MINUS)?a.slice(1,i.length):a);return!isNaN(r)&&r>=0&&r<=100});s(this,"getPrecision",i=>{let a=i.split(A.DOT);return a.length>1?Number(a[a.length-1]):1/0});s(this,"checkAndRemoveSuffix",i=>{var a,r,o,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!==((o=this.suffix)==null?void 0:o.length)-1&&(c-1<0||!i.includes(this.suffix.substring(c-1,(l=this.suffix)==null?void 0:l.length))))return i.replace(d,A.EMPTY_STRING)}return i});s(this,"checkInputPrecision",(i,a,r)=>{var c;let o=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=o.match(d),m=(u&&((c=u[0])==null?void 0:c.length))??0;if(m-1>a){let v=m-1-a;o=o.substring(0,o.length-v)}a===0&&this._compareOrIncludes(o[o.length-1],l,this.thousandSeparator)&&(o=o.substring(0,o.length-1))}return o})}applyMaskWithPattern(i,a){let[r,o]=a;return this.customPattern=o,this.applyMask(i,r)}applyMask(i,a,r=0,o=!1,l=!1,c=()=>{}){var Kt,At,Zt;if(!a||typeof i!="string")return A.EMPTY_STRING;let d=0,u="",m=!1,v=!1,g=1,x=!1,w=i,E=r;w.slice(0,this.prefix.length)===this.prefix&&(w=w.slice(this.prefix.length,w.length)),this.suffix&&w.length>0&&(w=this.checkAndRemoveSuffix(w)),w==="("&&this.prefix&&(w="");let T=w.toString().split(A.EMPTY_STRING);if(this.allowNegativeNumbers&&w.slice(d,d+1)===A.MINUS&&(u+=w.slice(d,d+1)),a===A.IP){let ne=w.split(A.DOT);this.ipError=this._validIP(ne),a="099.099.099.099"}let z=[];for(let ne=0;ne<w.length;ne++)(Kt=w[ne])!=null&&Kt.match("\\d")&&z.push(w[ne]??A.EMPTY_STRING);if(a===A.CPF_CNPJ&&(this.cpfCnpjError=z.length!==11&&z.length!==14,z.length>11?a="00.000.000/0000-00":a="000.000.000-00"),a.startsWith(A.PERCENT)){if(w.match("[a-z]|[A-Z]")||w.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!l){w=this._stripToDecimal(w);let Re=this.getPrecision(a);w=this.checkInputPrecision(w,Re,this.decimalMarker)}let ne=typeof this.decimalMarker=="string"?this.decimalMarker:A.DOT;if(w.indexOf(ne)>0&&!this.percentage(w.substring(0,w.indexOf(ne)))){let Re=w.substring(0,w.indexOf(ne)-1);this.allowNegativeNumbers&&w.slice(d,d+1)===A.MINUS&&!l&&(Re=w.substring(0,w.indexOf(ne))),w=`${Re}${w.substring(w.indexOf(ne),w.length)}`}let X="";this.allowNegativeNumbers&&w.slice(d,d+1)===A.MINUS?X=`${A.MINUS}${w.slice(d+1,d+w.length)}`:X=w,this.percentage(X)?u=this._splitPercentZero(w):u=this._splitPercentZero(w.substring(0,w.length-1))}else if(a.startsWith(A.SEPARATOR)){(w.match("[wа-яА-Я]")||w.match("[ЁёА-я]")||w.match("[a-z]|[A-Z]")||w.match(/[-@#!$%\\^&*()_£¬'+|~=`{}\]:";<>.?/]/)||w.match("[^A-Za-z0-9,]"))&&(w=this._stripToDecimal(w));let ne=this.getPrecision(a),X=Array.isArray(this.decimalMarker)?this.thousandSeparator===A.DOT?A.COMMA:A.DOT:this.decimalMarker;if(ne===0?w=this.allowNegativeNumbers?w.length>2&&w[0]===A.MINUS&&w[1]===A.NUMBER_ZERO&&w[2]!==this.thousandSeparator&&w[2]!==A.COMMA&&w[2]!==A.DOT?"-"+w.slice(2,w.length):w[0]===A.NUMBER_ZERO&&w.length>1&&w[1]!==this.thousandSeparator&&w[1]!==A.COMMA&&w[1]!==A.DOT?w.slice(1,w.length):w:w.length>1&&w[0]===A.NUMBER_ZERO&&w[1]!==this.thousandSeparator&&w[1]!==A.COMMA&&w[1]!==A.DOT?w.slice(1,w.length):w:(w[0]===X&&w.length>1&&(w=A.NUMBER_ZERO+w.slice(0,w.length+1),this.plusOnePosition=!0),w[0]===A.NUMBER_ZERO&&w[1]!==X&&w[1]!==this.thousandSeparator&&(w=w.length>1?w.slice(0,1)+X+w.slice(1,w.length+1):w,this.plusOnePosition=!0),this.allowNegativeNumbers&&w[0]===A.MINUS&&(w[1]===X||w[1]===A.NUMBER_ZERO)&&(w=w[1]===X&&w.length>2?w.slice(0,1)+A.NUMBER_ZERO+w.slice(1,w.length):w[1]===A.NUMBER_ZERO&&w.length>2&&w[2]!==X?w.slice(0,2)+X+w.slice(2,w.length):w,this.plusOnePosition=!0)),l){let We=w.slice(this._findFirstNonZeroDigitIndex(w),w.length),et=w[E]===A.NUMBER_ZERO||w[E]===X,Dt=w[0]===A.NUMBER_ZERO,Xi=w[0]===A.MINUS,ft=w[0]===this.thousandSeparator,ii=w[1]===X,$t=w[1]===A.NUMBER_ZERO,ua=w[2]===X;Dt&&ii&&et&&E<2&&(w=We),Xi&&$t&&ua&&et&&E<3&&(w=A.MINUS+We),We!==A.MINUS&&(E===0&&(Dt||ft)||this.allowNegativeNumbers&&E===1&&Xi&&!$t)&&(w=Xi?A.MINUS+We:We)}let Re=this._charToRegExpExpression(this.thousandSeparator),V='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(Re,"");if(Array.isArray(this.decimalMarker))for(let We of this.decimalMarker)V=V.replace(this._charToRegExpExpression(We),A.EMPTY_STRING);else V=V.replace(this._charToRegExpExpression(this.decimalMarker),"");let $=new RegExp("["+V+"]");w.match($)&&(w=w.substring(0,w.length-1)),w=this.checkInputPrecision(w,ne,this.decimalMarker);let te=w.replace(new RegExp(Re,"g"),"");u=this._formatWithSeparators(te,this.thousandSeparator,this.decimalMarker,ne);let je=u.indexOf(A.COMMA)-w.indexOf(A.COMMA),ut=u.length-w.length,ti=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(ut>0&&u[E]!==this.thousandSeparator||ti){v=!0;let We=0;do this._shift.add(E+We),We++;while(We<ut)}else u[E-1]===this.thousandSeparator||ut===-4||ut===-3||u[E]===this.thousandSeparator?(this._shift.clear(),this._shift.add(E-1)):je!==0&&E>0&&!(u.indexOf(A.COMMA)>=E&&E>3)||!(u.indexOf(A.DOT)>=E&&E>3)&&ut<=0?(this._shift.clear(),v=!0,g=ut,E+=ut,this._shift.add(E)):this._shift.clear()}else for(let ne=0,X=T[0];ne<T.length&&d!==a.length;ne++,X=T[ne]??A.EMPTY_STRING){let Re=A.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(X,a[d]??A.EMPTY_STRING)&&a[d+1]===A.SYMBOL_QUESTION)u+=X,d+=2;else if(a[d+1]===A.SYMBOL_STAR&&m&&this._checkSymbolMask(X,a[d+2]??A.EMPTY_STRING))u+=X,d+=3,m=!1;else if(this._checkSymbolMask(X,a[d]??A.EMPTY_STRING)&&a[d+1]===A.SYMBOL_STAR&&!Re)u+=X,m=!0;else if(a[d+1]===A.SYMBOL_QUESTION&&this._checkSymbolMask(X,a[d+2]??A.EMPTY_STRING))u+=X,d+=3;else if(this._checkSymbolMask(X,a[d]??A.EMPTY_STRING)){if(a[d]===A.HOURS&&(this.apm?Number(X)>9:Number(X)>2)){E=this.leadZeroDateTime?E:E+1,d+=1,this._shiftStep(a,d,T.length),ne--,this.leadZeroDateTime&&(u+="0");continue}if(a[d]===A.HOUR&&(this.apm?u.length===1&&Number(u)>1||u==="1"&&Number(X)>2||w.slice(d-1,d).length===1&&Number(w.slice(d-1,d))>2||w.slice(d-1,d)==="1"&&Number(X)>2:u==="2"&&Number(X)>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(X)>3&&d>10)){E=E+1,d+=1,ne--;continue}if((a[d]===A.MINUTE||a[d]===A.SECOND)&&Number(X)>5){E=this.leadZeroDateTime?E:E+1,d+=1,this._shiftStep(a,d,T.length),ne--,this.leadZeroDateTime&&(u+="0");continue}let V=31,$=w[d],te=w[d+1],je=w[d+2],ut=w[d-1],ti=w[d-2],We=w.slice(d-3,d-1),et=w.slice(d-1,d+1),Dt=w.slice(d,d+2),Xi=w.slice(d-2,d);if(a[d]===A.DAY){let ft=a.slice(0,2)===A.MONTHS,ii=a.slice(0,2)===A.MONTHS&&this.specialCharacters.includes(ti);if(Number(X)>3&&this.leadZeroDateTime||!ft&&(Number(Dt)>V||Number(et)>V||this.specialCharacters.includes(te))||(ii?Number(et)>V||!this.specialCharacters.includes($)&&this.specialCharacters.includes(je)||this.specialCharacters.includes($):Number(Dt)>V||this.specialCharacters.includes(te)&&!l)){E=this.leadZeroDateTime?E:E+1,d+=1,this._shiftStep(a,d,T.length),ne--,this.leadZeroDateTime&&(u+="0");continue}}if(a[d]===A.MONTH){let ft=d===0&&(Number(X)>2||Number(Dt)>12||this.specialCharacters.includes(te)&&!l),ii=a.slice(d+2,d+3),$t=We.includes(ii)&&a.includes("d0")&&(this.specialCharacters.includes(ti)&&Number(et)>12&&!this.specialCharacters.includes($)||this.specialCharacters.includes($)),ua=Number(We)<=V&&!this.specialCharacters.includes(We)&&this.specialCharacters.includes(ut)&&(Number(Dt)>12||this.specialCharacters.includes(te)),on=Number(Dt)>12&&d===5||this.specialCharacters.includes(te)&&d===5,zo=Number(We)>V&&!this.specialCharacters.includes(We)&&!this.specialCharacters.includes(Xi)&&Number(Xi)>12&&a.includes("d0"),jo=Number(We)<=V&&!this.specialCharacters.includes(We)&&!this.specialCharacters.includes(ut)&&Number(et)>12;if(Number(X)>1&&this.leadZeroDateTime||ft||$t||jo||zo||ua||on&&!this.leadZeroDateTime){E=this.leadZeroDateTime?E:E+1,d+=1,this._shiftStep(a,d,T.length),ne--,this.leadZeroDateTime&&(u+="0");continue}}u+=X,d++}else this.specialCharacters.includes(X)&&a[d]===X?(u+=X,d++):this.specialCharacters.indexOf(a[d]??A.EMPTY_STRING)!==-1?(u+=a[d],d++,this._shiftStep(a,d,T.length),ne--):a[d]===A.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(a,d,T.length):this.patterns[a[d]??A.EMPTY_STRING]&&((At=this.patterns[a[d]??A.EMPTY_STRING])!=null&&At.optional)?(T[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]??A.EMPTY_STRING])!=null&&Zt.optional)&&(u+=T[d]),a.includes(A.NUMBER_NINE+A.SYMBOL_STAR)&&a.includes(A.NUMBER_ZERO+A.SYMBOL_STAR)&&d++,d++,ne--):this.maskExpression[d+1]===A.SYMBOL_STAR&&this._findSpecialChar(this.maskExpression[d+2]??A.EMPTY_STRING)&&this._findSpecialChar(X)===this.maskExpression[d+2]&&m||this.maskExpression[d+1]===A.SYMBOL_QUESTION&&this._findSpecialChar(this.maskExpression[d+2]??A.EMPTY_STRING)&&this._findSpecialChar(X)===this.maskExpression[d+2]&&m?(d+=3,u+=X):this.showMaskTyped&&this.specialCharacters.indexOf(X)<0&&X!==this.placeHolderCharacter&&this.placeHolderCharacter.length===1&&(x=!0)}u.length+1===a.length&&this.specialCharacters.indexOf(a[a.length-1]??A.EMPTY_STRING)!==-1&&(u+=a[a.length-1]);let F=E+1;for(;this._shift.has(F);)g++,F++;let qe=o&&!a.startsWith(A.SEPARATOR)?d:this._shift.has(E)?g:0;x&&qe--,c(qe,v),g<0&&this._shift.clear();let dt=!1;l&&(dt=T.every(ne=>this.specialCharacters.includes(ne)));let tt=`${this.prefix}${dt?A.EMPTY_STRING:u}${this.showMaskTyped?"":this.suffix}`;u.length===0&&(tt=this.dropSpecialCharacters?`${u}`:`${this.prefix}${u}`);let ei=w.length===1&&this.specialCharacters.includes(a[0])&&w!==a[0];if(!this._checkSymbolMask(w,a[1])&&ei)return"";if(u.includes(A.MINUS)&&this.prefix&&this.allowNegativeNumbers){if(l&&u===A.MINUS)return"";tt=`${A.MINUS}${this.prefix}${u.split(A.MINUS).join(A.EMPTY_STRING)}${this.suffix}`}return tt}_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,o;return this.patterns=this.customPattern?this.customPattern:this.patterns,(((r=this.patterns[a])==null?void 0:r.pattern)&&((o=this.patterns[a])==null?void 0:o.pattern.test(i)))??!1}_stripToDecimal(i){return i.split(A.EMPTY_STRING).filter((a,r)=>{let o=typeof this.decimalMarker=="string"?a===this.decimalMarker:this.decimalMarker.includes(a);return a.match("^-?\\d")||a===this.thousandSeparator||o||a===A.MINUS&&r===0&&this.allowNegativeNumbers}).join(A.EMPTY_STRING)}_charToRegExpExpression(i){return i&&(i===" "?"\\s":"[\\^$.|?*+()".indexOf(i)>=0?`\\${i}`:i)}_shiftStep(i,a,r){let o=/[*?]/g.test(i.slice(0,a))?r:a;this._shift.add(o+this.prefix.length||0)}_compareOrIncludes(i,a,r){return Array.isArray(a)?a.filter(o=>o!==r).includes(i):i===a}_validIP(i){return!(i.length===4&&!i.some((a,r)=>i.length!==r+1?a===A.EMPTY_STRING||Number(a)>255:a===A.EMPTY_STRING||Number(a.substring(0,3))>255))}_splitPercentZero(i){if(i===A.MINUS&&this.allowNegativeNumbers)return i;let a=typeof this.decimalMarker=="string"?i.indexOf(this.decimalMarker):i.indexOf(A.DOT),r=this.allowNegativeNumbers&&i.includes(A.MINUS)?"-":"";if(a===-1){let o=parseInt(r?i.slice(1,i.length):i,10);return isNaN(o)?A.EMPTY_STRING:`${r}${o}`}else{let o=parseInt(i.replace("-","").substring(0,a),10),l=i.substring(a+1),c=isNaN(o)?"":o.toString(),d=typeof this.decimalMarker=="string"?this.decimalMarker:A.DOT;return c===A.EMPTY_STRING?A.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}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),wne=(()=>{const t=class t extends xne{constructor(){super(...arguments);s(this,"isNumberValue",!1);s(this,"maskIsShown","");s(this,"selStart",null);s(this,"selEnd",null);s(this,"writingValue",!1);s(this,"maskChanged",!1);s(this,"_maskExpressionArray",[]);s(this,"triggerOnMaskChange",!1);s(this,"_previousValue","");s(this,"_currentValue","");s(this,"_emitValue",!1);s(this,"_start");s(this,"_end");s(this,"onChange",a=>{});s(this,"_elementRef",k(Pe,{optional:!0}));s(this,"document",k(Ze));s(this,"_config",k(qm));s(this,"_renderer",k(Zi,{optional:!0}))}applyMask(a,r,o=0,l=!1,c=!1,d=()=>{}){if(!r)return a!==this.actualValue?this.actualValue:a;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():A.EMPTY_STRING,this.maskExpression===A.IP&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(a||A.HASH)),this.maskExpression===A.CPF_CNPJ&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(a||A.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]??A.EMPTY_STRING:A.EMPTY_STRING,m="",v=o;if(this.hiddenInput!==null&&!this.writingValue){let E=a&&a.length===1?a.split(A.EMPTY_STRING):this.actualValue.split(A.EMPTY_STRING);typeof this.selStart=="object"&&typeof this.selEnd=="object"?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):a!==A.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(A.EMPTY_STRING)):a}if(l&&(this.hiddenInput||!this.hiddenInput)&&(m=a),c&&this.specialCharacters.indexOf(this.maskExpression[v]??A.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)!==A.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===A.DOT&&this.decimalMarker===A.DOT&&(this.decimalMarker=A.COMMA),this.maskExpression.startsWith(A.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,w=`${this.prefix}${this.maskIsShown}${this.suffix}`;if(this.maskExpression.includes(A.HOURS)){let E=this._numberSkipedSymbols(g);return`${g}${w.slice(x+E)}`}else if(this.maskExpression===A.IP||this.maskExpression===A.CPF_CNPJ)return`${g}${w}`;return`${g}${w.slice(x)}`}_numberSkipedSymbols(a){let r=/(^|\D)(\d\D)/g,o=r.exec(a),l=0;for(;o!=null;)l+=1,o=r.exec(a);return l}applyValueChanges(a,r,o,l=()=>{}){var d;let c=(d=this._elementRef)==null?void 0:d.nativeElement;c&&(c.value=this.applyMask(c.value,this.maskExpression,a,r,o,l),c!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(a,r){return a.split(A.EMPTY_STRING).map((o,l)=>{var c,d;return this.patterns&&this.patterns[r[l]??A.EMPTY_STRING]&&((c=this.patterns[r[l]??A.EMPTY_STRING])!=null&&c.symbol)?(d=this.patterns[r[l]??A.EMPTY_STRING])==null?void 0:d.symbol:o}).join(A.EMPTY_STRING)}getActualValue(a){let r=a.split(A.EMPTY_STRING).filter((o,l)=>{let c=this.maskExpression[l]??A.EMPTY_STRING;return this._checkSymbolMask(o,c)||this.specialCharacters.includes(c)&&o===c});return r.join(A.EMPTY_STRING)===a?r.join(A.EMPTY_STRING):a}shiftTypedSymbols(a){let r="";return(a&&a.split(A.EMPTY_STRING).map((o,l)=>{if(this.specialCharacters.includes(a[l+1]??A.EMPTY_STRING)&&a[l+1]!==this.maskExpression[l+1])return r=o,a[l+1];if(r.length){let c=r;return r=A.EMPTY_STRING,c}return o})||[]).join(A.EMPTY_STRING)}numberToString(a){return!a&&a!==0||this.maskExpression.startsWith(A.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith(A.SEPARATOR)&&this.separatorLimit.length>14&&String(a).length>14?String(a):Number(a).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace(`/${A.MINUS}/`,A.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===A.IP)return this._checkForIp(a);if(this.maskExpression===A.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,A.EMPTY_STRING).length&&(this.formElementProperty=["value",A.EMPTY_STRING],this.applyMask("",this.maskExpression))}set formElementProperty([a,r]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>{var o,l;return(l=this._renderer)==null?void 0:l.setProperty((o=this._elementRef)==null?void 0:o.nativeElement,a,r)})}checkDropSpecialCharAmount(a){return a.split(A.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===A.HASH)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;let r=[];for(let o=0;o<a.length;o++){let l=a[o]??A.EMPTY_STRING;l&&l.match("\\d")&&r.push(l)}return r.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>3&&r.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>6&&r.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(a){let r=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,o=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if(a===A.HASH)return r;let l=[];for(let c=0;c<a.length;c++){let d=a[c]??A.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?o.slice(16,o.length):o.slice(15,o.length):l.length>12&&l.length<=14?o.slice(l.length+4,o.length):""}_getActiveElement(a=this.document){var o;let r=(o=a==null?void 0:a.activeElement)==null?void 0:o.shadowRoot;return r!=null&&r.activeElement?this._getActiveElement(r):a.activeElement}formControlResult(a){if(this.writingValue&&!a){this.onChange("");return}if(this.writingValue||!this.triggerOnMaskChange&&this.maskChanged){this.triggerOnMaskChange&&this.maskChanged&&this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(a)))))),this.maskChanged=!1;return}Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(a)),this.dropSpecialCharacters))))):this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===a?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(a)))))):this.onChange(this.outputTransformFn(this._toNumber(a)))}_toNumber(a){if(!this.isNumberValue||a===A.EMPTY_STRING||this.maskExpression.startsWith(A.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters))return a;if(String(a).length>14&&this.maskExpression.startsWith(A.SEPARATOR))return String(a);let r=Number(a);if(this.maskExpression.startsWith(A.SEPARATOR)&&Number.isNaN(r)){let o=String(a).replace(",",".");return Number(o)}return Number.isNaN(r)?a:r}_removeMask(a,r){return this.maskExpression.startsWith(A.PERCENT)&&a.includes(A.DOT)?a:a&&a.replace(this._regExpForRemove(r),A.EMPTY_STRING)}_removePrefix(a){return this.prefix?a&&a.replace(this.prefix,A.EMPTY_STRING):a}_removeSuffix(a){return this.suffix?a&&a.replace(this.suffix,A.EMPTY_STRING):a}_retrieveSeparatorValue(a){let r=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(o=>this.dropSpecialCharacters.includes(o)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&a.includes(A.WHITE_SPACE)&&this.maskExpression.includes(A.SYMBOL_STAR)&&(r=r.filter(o=>o!==A.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),A.DOT)}_checkSymbols(a){let r=a;if(r===A.EMPTY_STRING)return r;this.maskExpression.startsWith(A.PERCENT)&&this.decimalMarker===A.COMMA&&(r=r.replace(A.COMMA,A.DOT));let o=this._retrieveSeparatorPrecision(this.maskExpression),l=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(r));return this.isNumberValue&&o?r===this.decimalMarker?null:l.length>14?String(l):this._checkPrecision(this.maskExpression,l):l}_checkPatternForSpace(){var a,r,o;for(let l in this.patterns)if(this.patterns[l]&&((a=this.patterns[l])!=null&&a.hasOwnProperty("pattern"))){let c=(r=this.patterns[l])==null?void 0:r.pattern.toString(),d=(o=this.patterns[l])==null?void 0:o.pattern;if(c!=null&&c.includes(A.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 o=this.getPrecision(a),l=r;return a.indexOf("2")>0||this.leadZero&&Number(o)>0?(this.decimalMarker===A.COMMA&&this.leadZero&&(l=l.replace(",",".")),this.leadZero?Number(l).toFixed(Number(o)):Number(l).toFixed(2)):this.numberToString(l)}_repeatPatternSymbols(a){return a.match(/{[0-9]+}/)&&a.split(A.EMPTY_STRING).reduce((r,o,l)=>{if(this._start=o===A.CURLY_BRACKETS_LEFT?l:this._start,o!==A.CURLY_BRACKETS_RIGHT)return this._findSpecialChar(o)?r+o: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(A.LETTER_S)){let u=a.slice(0,this._start-1);return u.includes(A.CURLY_BRACKETS_LEFT)?r+d:u+r+d}else return r+d},"")||a}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}};s(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=li(t)))(r||t)}})()),s(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})();function kne(){let e=k(L1),t=k(F1);return t instanceof Function?Z(Z({},e),t()):Z(Z({},e),t)}function Sne(e){return[{provide:F1,useValue:e},{provide:L1,useValue:_ne},{provide:qm,useFactory:kne},wne]}function Ene(e){return up(Sne(e))}var Ss=class extends Error{};Ss.prototype.name="InvalidTokenError";function Cne(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 Dne(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 Cne(t)}catch{return atob(t)}}function Ine(e,t){if(typeof e!="string")throw new Ss("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 Ss(`Invalid token specified: missing part #${n+1}`);let a;try{a=Dne(i)}catch(r){throw new Ss(`Invalid token specified: invalid base64 for part #${n+1} (${r.message})`)}try{return JSON.parse(a)}catch(r){throw new Ss(`Invalid token specified: invalid json for part #${n+1} (${r.message})`)}}function Ane(e){var t,n,i,a;return((n=(t=e.userProfile)==null?void 0:t.children)==null?void 0:n.length)>0?e.userProfile.children[0].ssin:((a=(i=e.userProfile)==null?void 0:i.mandators)==null?void 0:a.length)>0?e.userProfile.mandators[0].ssin:e.userProfile.ssin}var Tne=(()=>{const t=class t{registerAccessToken(i){this.getLocalAccessToken=i}getAccessToken(){return In(this.getLocalAccessToken("nihii-vidis"))}getSsin(){return mi(this,null,function*(){let i=yield this.decodedToken();return Ane(i)})}getPatientInfo(){return mi(this,null,function*(){return(yield this.decodedToken()).userProfile})}isMandator(){return mi(this,null,function*(){var i,a;return((a=(i=(yield this.decodedToken()).userProfile)==null?void 0:i.mandators)==null?void 0:a.length)>0})}decodedToken(){return mi(this,null,function*(){return Ine(yield this.getLocalAccessToken("nihii-vidis"))})}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=G({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),One=(()=>{const t=class t{getAccessToken(){return mt("demo token")}getSsin(){return mi(this,null,function*(){return Promise.resolve("00000000097")})}getPatientInfo(){return Promise.resolve({firstName:"John",lastName:"Doe",ssin:"00000000097"})}isMandator(){return mi(this,null,function*(){return Promise.resolve(!1)})}registerAccessToken(i){}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=G({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Nne={HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)"};function Rne(e,t){if(e&1){let n=Je();O(0,"div",1)(1,"button",2),ce("click",function(){ve(n);let i=j();return ye(i.action())}),q(2),N()()}if(e&2){let n=j();D(2),Me(" ",n.data.action," ")}}var Mne=["label"];function Pne(e,t){}var Fne=Math.pow(2,31)-1,Uh=class{constructor(e,t){s(this,"_overlayRef");s(this,"instance");s(this,"containerInstance");s(this,"_afterDismissed",new re);s(this,"_afterOpened",new re);s(this,"_onAction",new re);s(this,"_durationTimeoutId");s(this,"_dismissedByAction",!1);this._overlayRef=t,this.containerInstance=e,e._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(e){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(e,Fne))}_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}},V1=new B("MatSnackBarData"),Cc=class{constructor(){s(this,"politeness","assertive");s(this,"announcementMessage","");s(this,"viewContainerRef");s(this,"duration",0);s(this,"panelClass");s(this,"direction");s(this,"data",null);s(this,"horizontalPosition","center");s(this,"verticalPosition","bottom")}},Lne=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",xe({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}));let e=t;return e})(),Vne=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",xe({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}));let e=t;return e})(),zne=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",xe({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}));let e=t;return e})(),jne=(()=>{const t=class t{constructor(){s(this,"snackBarRef",k(Uh));s(this,"data",k(V1))}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Ee({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&&(O(0,"div",0),q(1),N(),ue(2,Rne,3,1,"div",1)),i&2&&(D(),Me(" ",a.data.message,`
|
|
39
|
+
`),D(),de(a.hasAction?2:-1))},dependencies:[Tn,Lne,Vne,zne],styles:[`.mat-mdc-simple-snack-bar{display:flex}
|
|
40
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),Cu="_mat-snack-bar-enter",Du="_mat-snack-bar-exit",Bne=(()=>{const t=class t extends pd{constructor(){super();s(this,"_ngZone",k(Ie));s(this,"_elementRef",k(Pe));s(this,"_changeDetectorRef",k(Pt));s(this,"_platform",k(Ft));s(this,"_rendersRef");s(this,"_animationsDisabled",k(Li,{optional:!0})==="NoopAnimations");s(this,"snackBarConfig",k(Cc));s(this,"_document",k(Ze));s(this,"_trackedModals",new Set);s(this,"_enterFallback");s(this,"_exitFallback");s(this,"_renders",new re);s(this,"_announceDelay",150);s(this,"_announceTimeoutId");s(this,"_destroyed",!1);s(this,"_portalOutlet");s(this,"_onAnnounce",new re);s(this,"_onExit",new re);s(this,"_onEnter",new re);s(this,"_animationState","void");s(this,"_live");s(this,"_label");s(this,"_role");s(this,"_liveElementId",k(di).getId("mat-snack-bar-container-live-"));s(this,"attachDomPortal",a=>{this._assertNotAttached();let r=this._portalOutlet.attachDomPortal(a);return this._afterPortalAttached(),r});let a=this.snackBarConfig;a.politeness==="assertive"&&!a.announcementMessage?this._live="assertive":a.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert")),this._rendersRef=Pp(()=>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===Du?this._completeExit():a===Cu&&(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(fi(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(Cu)))}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(Cu)},200)))}exit(){return this._destroyed?mt(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(fi(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(Du)))}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(Du),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 o=this._label.nativeElement,l="mdc-snackbar__label";o.classList.toggle(l,!o.querySelector(`.${l}`))}_exposeToModals(){let a=this._liveElementId,r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<r.length;o++){let l=r[o],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 o=r.replace(this._liveElementId,"").trim();o.length>0?a.setAttribute("aria-owns",o):a.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let a=this._elementRef.nativeElement,r=a.querySelector("[aria-hidden]"),o=a.querySelector("[aria-live]");if(r&&o){let l=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&r.contains(document.activeElement)&&(l=document.activeElement),r.removeAttribute("aria-hidden"),o.appendChild(r),l==null||l.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵcmp",Ee({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(a,r){if(a&1&&(pt(rr,7),pt(Mne,7)),a&2){let o;Te(o=Oe())&&(r._portalOutlet=o.first),Te(o=Oe())&&(r._label=o.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(a,r){a&1&&ce("animationend",function(o){return r.onAnimationEnd(o.animationName)})("animationcancel",function(o){return r.onAnimationEnd(o.animationName)}),a&2&&Ge("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:[Ot],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&&(O(0,"div",1)(1,"div",2,0)(3,"div",3),ue(4,Pne,0,0,"ng-template",4),N(),le(5,"div"),N()()),a&2&&(D(5),be("aria-live",r._live)("role",r._role)("id",r._liveElementId))},dependencies:[rr],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}
|
|
41
|
+
`],encapsulation:2}));let e=t;return e})();function Hne(){return new Cc}var $ne=new B("mat-snack-bar-default-options",{providedIn:"root",factory:Hne}),Une=(()=>{const t=class t{constructor(){s(this,"_overlay",k(ui));s(this,"_live",k(pw));s(this,"_injector",k(lt));s(this,"_breakpointObserver",k(lw));s(this,"_parentSnackBar",k(t,{optional:!0,skipSelf:!0}));s(this,"_defaultConfig",k($ne));s(this,"_snackBarRefAtThisLevel",null);s(this,"simpleSnackBarComponent",jne);s(this,"snackBarContainerComponent",Bne);s(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 o=Z(Z({},this._defaultConfig),r);return o.data={message:i,action:a},o.announcementMessage===i&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(i,a){let r=a&&a.viewContainerRef&&a.viewContainerRef.injector,o=lt.create({parent:r||this._injector,providers:[{provide:Cc,useValue:a}]}),l=new Cn(this.snackBarContainerComponent,a.viewContainerRef,o),c=i.attach(l);return c.instance.snackBarConfig=a,c.instance}_attach(i,a){let r=Z(Z(Z({},new Cc),this._defaultConfig),a),o=this._createOverlay(r),l=this._attachSnackBarContainer(o,r),c=new Uh(l,o);if(i instanceof ar){let d=new hd(i,null,{$implicit:r.data,snackBarRef:c});c.instance=l.attachTemplatePortal(d)}else{let d=this._createInjector(r,c),u=new Cn(i,void 0,d),m=l.attachComponentPortal(u);c.instance=m.instance}return this._breakpointObserver.observe(Nne.HandsetPortrait).pipe(St(o.detachments())).subscribe(d=>{o.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 Po;a.direction=i.direction;let r=this._overlay.position().global(),o=i.direction==="rtl",l=i.horizontalPosition==="left"||i.horizontalPosition==="start"&&!o||i.horizontalPosition==="end"&&o,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 lt.create({parent:r||this._injector,providers:[{provide:Uh,useValue:a},{provide:V1,useValue:i.data}]})}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Gne=(()=>{const t=class t{constructor(){this.snackbar=k(Une),this.translate=k(rn)}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=G({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),qne="2.0",Gh=qne,mn=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(mn||{}),Wne={variables:{demo:{env:mn.DEMO},dev:{apiUrl:"http://vidis-fake-api.test.paas.vasdc.be",keycloakAuthServerUrl:"http://vasiam.test.paas.vasdc.be/auth",keycloakRealm:"MOOSE_NIHII",keycloakClientId:"vidis-vidis",env:mn.DEV},int:{apiUrl:"https://vidis-api.int.pub.vascloud.be/REST/vidis",keycloakAuthServerUrl:"https://api-acpt.ehealth.fgov.be/auth/",keycloakRealm:"healthcare",keycloakClientId:"vidis-vidis-dev",env:mn.INT},acc:{apiUrl:"https://vidis-api.acc.vasha.be/REST/vidis",keycloakAuthServerUrl:"https://api-acpt.ehealth.fgov.be/auth/",keycloakRealm:"healthcare",keycloakClientId:"vidis-vidis-dev",env:mn.ACC},prod:{apiUrl:"https://vidis-api.vasha.be/REST/vidis",env:mn.PROD}}},wd=(()=>{const t=class t{setEnvironment(i){this.configVariables=Wne.variables[mn[i.toUpperCase()]]||{}}getEnvironmentVariable(i){return this.configVariables[i]}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=G({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Wm=(()=>{const t=class t{constructor(){this.config=k(wd),this.injector=k(lt),this._instance=null}getInstance(){if(!this._instance){let i=this.config.getEnvironmentVariable("env")==="demo";this._instance=i?this.injector.get(One):this.injector.get(Tne)}return this._instance}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=G({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Es=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}(Es||{}),h=function(e){return e.NL="nl",e.FR="fr",e.DE="de",e.EN="en",e}(h||{}),kd=function(e){return e.ascending="asc",e.descending="desc",e}(kd||{});h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,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 bl={getAuthorizationHeader:e=>`Bearer ${e}`,getUserType:e=>e.isProfessional?"professional":"patient",clientType:{webApp:"webapp",mobileApp:"mobapp"}},Yne=(()=>{const t=class t{constructor(){s(this,"version");s(this,"language");s(this,"configName");s(this,"services");s(this,"_ngInitDone",!1);s(this,"correctlySetup",!1);s(this,"extraRequiredFields",[])}validateVersion(){let i=Gh.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 (${Gh})!`),!1):!0}validateInputs(){let i=this,a=["language","configName","services","version",...this.extraRequiredFields],{missingFields:r,presentFields:o}=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: ${o.join(", ")}`),!1):(console.log("[BaseWebComponent] All required inputs are present"),this.validateVersion()?this.services.cache==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){}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Ee({type:t,selectors:[["ng-component"]],inputs:{version:"version",language:"language",configName:"configName",services:"services"},features:[oi],decls:0,vars:0,template:function(i,a){},encapsulation:2}));let e=t;return e})(),Kne=()=>{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)},Zne=(e,t)=>{let n=k(Wm),i=k(wd).getEnvironmentVariable("apiUrl");if(e.url.includes("assets/")||e.url.startsWith("http"))return t(e);let a=e.headers||new Ur;return n.getInstance().getAccessToken().pipe(Fs(r=>t(e.clone({url:`${i}${e.url}`,headers:a.set("Authorization",bl.getAuthorizationHeader(r)).set("user-type",bl.getUserType({isProfessional:!1})).set("client-type",Kne()?bl.clientType.mobileApp:bl.clientType.webApp)}))))};function Xne(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var Qne=["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",Xne];function Jne(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var ere=["en",[["a","p"],["AM","PM"],void 0],[["AM","PM"],void 0,void 0],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],void 0,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",void 0,"{1} 'at' {0}",void 0],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",Jne];function tre(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 ire=["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",tre];function are(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var nre=["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",are];cd(Qne,"de");cd(nre,"nl");cd(ire,"fr");cd(ere,"en");var rre=class{handleError(e){throw new Error(e)}},sre=class extends UJ{getFirstDayOfWeek(){return 1}},ore={parse:{dateInput:{month:"short",year:"numeric",day:"numeric"}},display:{dateInput:"input",monthYearLabel:{year:"numeric",month:"long"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},lre=[yne(),DQ(IQ([Zne])),Ene(),{provide:oa,useClass:rre},{provide:Vi,useClass:sre,deps:[Nh]},{provide:es,useValue:ore},{provide:Fm,useClass:bne},{provide:Pw,useValue:{panelClass:"mh-dialog-container"}}],cre=Zh(r8(),1),dre=new B("MESSAGE_FORMAT_CONFIG"),ure={biDiSupport:!1,formatters:{},strictNumberSign:!1,currency:"USD",strictPluralKeys:!0,throwOnError:!1,fallbackPrefix:void 0},hre=(()=>{const t=class t extends No{constructor(i){super(),this.mfCache=new Map;let{formatters:a,biDiSupport:r,strictNumberSign:o,currency:l,strictPluralKeys:c,throwOnError:d,fallbackPrefix:u}=Z(Z({},ure),i);this.messageFormatOptions={customFormatters:a,biDiSupport:r,strict:o,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(o){if(this.throwOnError)throw o;console.error(o),console.error(`[ngx-translate-messageformat-compiler] Could not compile message for lang '${a}': '${i}'`),r=mre(i,a)}return this.throwOnError||(r=pre(r,i)),r}compileTranslations(i,a){return typeof i=="string"?this.compile(i,a):Object.keys(i).reduce((r,o)=>{let l=i[o];return r[o]=this.compileTranslations(l,a),r},{})}getMessageFormatInstance(i){return this.mfCache.has(i)||this.mfCache.set(i,new cre.default(i,this.messageFormatOptions)),this.mfCache.get(i)}};t.ɵfac=function(i){return new(i||t)(me(dre,8))},t.ɵprov=G({token:t,factory:t.ɵfac});let e=t;return e})();function pre(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 mre(e,t){return()=>(console.warn(`[ngx-translate-messageformat-compiler] Falling back to original invalid message: '${e}' ('${t}')`),String(e))}function Vo(e){e||(fo(),e=k(Pi));let t=new Et(n=>e.onDestroy(n.next.bind(n)));return n=>n.pipe(St(t))}function fre(e,t){var c;let n=!(t!=null&&t.manualCleanup);n&&!(t!=null&&t.injector)&&fo();let i=n?((c=t==null?void 0:t.injector)==null?void 0:c.get(Pi))??k(Pi):null,a=gre(t==null?void 0:t.equal),r;t!=null&&t.requireSync?r=xa({kind:0},{equal:a}):r=xa({kind:1,value:t==null?void 0:t.initialValue},{equal:a});let o,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:()=>{o==null||o()}});if(t!=null&&t.requireSync&&r().kind===0)throw new W(601,!1);return o=i==null?void 0:i.onDestroy(l.unsubscribe.bind(l)),wa(()=>{let d=r();switch(d.kind){case 1:return d.value;case 2:throw d.error;case 0:throw new W(601,!1)}},{equal:t==null?void 0:t.equal})}function gre(e=Object.is){return(t,n)=>t.kind===1&&n.kind===1&&e(t.value,n.value)}var _l;function vre(){if(_l===void 0&&(_l=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(_l=e.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return _l}function ys(e){var t;return((t=vre())==null?void 0:t.createHTML(e))||e}function $v(e){return Error(`Unable to find icon with the name "${e}"`)}function yre(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function Uv(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function Gv(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var jn=class{constructor(e,t,n){s(this,"url");s(this,"svgText");s(this,"options");s(this,"svgElement");this.url=e,this.svgText=t,this.options=n}},bre=(()=>{const t=class t{constructor(i,a,r,o){s(this,"_httpClient");s(this,"_sanitizer");s(this,"_errorHandler");s(this,"_document");s(this,"_svgIconConfigs",new Map);s(this,"_iconSetConfigs",new Map);s(this,"_cachedIconsByUrl",new Map);s(this,"_inProgressUrlFetches",new Map);s(this,"_fontCssClassesByAlias",new Map);s(this,"_resolvers",[]);s(this,"_defaultFontSetClass",["material-icons","mat-ligature-font"]);this._httpClient=i,this._sanitizer=a,this._errorHandler=o,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,o){return this._addSvgIconConfig(i,a,new jn(r,null,o))}addSvgIconResolver(i){return this._resolvers.push(i),this}addSvgIconLiteralInNamespace(i,a,r,o){let l=this._sanitizer.sanitize(Ti.HTML,r);if(!l)throw Gv(r);let c=ys(l);return this._addSvgIconConfig(i,a,new jn("",c,o))}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 jn(a,null,r))}addSvgIconSetLiteralInNamespace(i,a,r){let o=this._sanitizer.sanitize(Ti.HTML,a);if(!o)throw Gv(a);let l=ys(o);return this._addSvgIconSetConfig(i,new jn("",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(Ti.RESOURCE_URL,i);if(!a)throw Uv(i);let r=this._cachedIconsByUrl.get(a);return r?mt(xl(r)):this._loadSvgIconFromConfig(new jn(i,null)).pipe(As(o=>this._cachedIconsByUrl.set(a,o)),vt(o=>xl(o)))}getNamedSvgIcon(i,a=""){let r=qv(a,i),o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(a,i),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);let l=this._iconSetConfigs.get(a);return l?this._getSvgFromIconSetConfigs(i,l):Xy($v(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(i){return i.svgText?mt(xl(this._svgElementFromConfig(i))):this._loadSvgIconFromConfig(i).pipe(vt(a=>xl(a)))}_getSvgFromIconSetConfigs(i,a){let r=this._extractIconWithNameFromAnySet(i,a);if(r)return mt(r);let o=a.filter(l=>!l.svgText).map(l=>this._loadSvgIconSetFromConfig(l).pipe(Vc(c=>{let d=`Loading icon set URL: ${this._sanitizer.sanitize(Ti.RESOURCE_URL,l.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(d)),mt(null)})));return op(o).pipe(vt(()=>{let l=this._extractIconWithNameFromAnySet(i,a);if(!l)throw $v(i);return l}))}_extractIconWithNameFromAnySet(i,a){for(let r=a.length-1;r>=0;r--){let o=a[r];if(o.svgText&&o.svgText.toString().indexOf(i)>-1){let l=this._svgElementFromConfig(o),c=this._extractSvgIconFromSet(l,i,o.options);if(c)return c}}return null}_loadSvgIconFromConfig(i){return this._fetchIcon(i).pipe(As(a=>i.svgText=a),vt(()=>this._svgElementFromConfig(i)))}_loadSvgIconSetFromConfig(i){return i.svgText?mt(null):this._fetchIcon(i).pipe(As(a=>i.svgText=a))}_extractSvgIconFromSet(i,a,r){let o=i.querySelector(`[id="${a}"]`);if(!o)return null;let l=o.cloneNode(!0);if(l.removeAttribute("id"),l.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(l,r);if(l.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(l),r);let c=this._svgElementFromString(ys("<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(ys("<svg></svg>")),r=i.attributes;for(let o=0;o<r.length;o++){let{name:l,value:c}=r[o];l!=="id"&&a.setAttribute(l,c)}for(let o=0;o<i.childNodes.length;o++)i.childNodes[o].nodeType===this._document.ELEMENT_NODE&&a.appendChild(i.childNodes[o].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,o=(r==null?void 0:r.withCredentials)??!1;if(!this._httpClient)throw yre();if(a==null)throw Error(`Cannot fetch icon from URL "${a}".`);let l=this._sanitizer.sanitize(Ti.RESOURCE_URL,a);if(!l)throw Uv(a);let c=this._inProgressUrlFetches.get(l);if(c)return c;let d=this._httpClient.get(l,{responseType:"text",withCredentials:o}).pipe(vt(u=>ys(u)),sb(()=>this._inProgressUrlFetches.delete(l)),ob());return this._inProgressUrlFetches.set(l,d),d}_addSvgIconConfig(i,a,r){return this._svgIconConfigs.set(qv(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 o=this._resolvers[r](a,i);if(o)return _re(o)?new jn(o.url,null,o.options):new jn(o,null)}}};s(t,"ɵfac",function(i){return new(i||t)(me(rm,8),me(Jx),me(Ze,8),me(oa))}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function xl(e){return e.cloneNode(!0)}function qv(e,t){return e+":"+t}function _re(e){return!!(e.url&&e.options)}var xre=["*"],wre=new B("MAT_ICON_DEFAULT_OPTIONS"),kre=new B("mat-icon-location",{providedIn:"root",factory:Sre});function Sre(){let e=k(Ze),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var z1=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Ere=z1.map(e=>`[${e}]`).join(", "),Cre=/^url\(['"]?#(.*?)['"]?\)$/,On=(()=>{const t=class t{constructor(){s(this,"_elementRef",k(Pe));s(this,"_iconRegistry",k(bre));s(this,"_location",k(kre));s(this,"_errorHandler",k(oa));s(this,"_defaultColor");s(this,"_color");s(this,"inline",!1);s(this,"_svgIcon");s(this,"_fontSet");s(this,"_fontIcon");s(this,"_previousFontSetClass",[]);s(this,"_previousFontIconClass");s(this,"_svgName");s(this,"_svgNamespace");s(this,"_previousPath");s(this,"_elementsWithExternalReferences");s(this,"_currentIconFetch",ot.EMPTY);let i=k(new Ap("aria-hidden"),{optional:!0}),a=k(wre,{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,o)=>{r.forEach(l=>{o.setAttribute(l.name,`url('${i}#${l.value}')`)})})}_cacheChildrenWithExternalReferences(i){let a=i.querySelectorAll(Ere),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<a.length;o++)z1.forEach(l=>{let c=a[o],d=c.getAttribute(l),u=d?d.match(Cre):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(fi(1)).subscribe(o=>this._setSvgElement(o),o=>{let l=`Error retrieving icon ${a}:${r}! ${o.message}`;this._errorHandler.handleError(new Error(l))})}}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Ee({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,a){i&2&&(be("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),Hr(a.color?"mat-"+a.color:""),Ge("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",Be],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:xre,decls:1,vars:0,template:function(i,a){i&1&&(Ci(),nt(0))},styles:[`mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}
|
|
42
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),Dre=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵmod",xt({type:t})),s(t,"ɵinj",_t({imports:[qt,qt]}));let e=t;return e})();Zh(j8());var Ire=(()=>{const t=class t{constructor(){this.message=ga.required()}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ee({type:t,selectors:[["vidis-error-display"]],inputs:{message:[1,"message"]},decls:3,vars:3,consts:[["fontIcon","info"]],template:function(i,a){i&1&&(le(0,"mat-icon",0),q(1),Y(2,"translate")),i&2&&(D(),Me(" ",ee(2,1,"commons.errors."+a.message())," "))},dependencies:[On,sn],styles:["[_nghost-%COMP%]{display:flex;align-items:center;background:#c41c0d0d;color:#c41c0d;font-weight:700;padding:16px}mat-icon[_ngcontent-%COMP%]{margin-right:8px}mat-icon[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}"]});let e=t;return e})(),Are=(()=>{const t=class t extends Yne{constructor(){super(...arguments),this.version=Gh,this.authServiceSelector=k(Wm),this.translateService=k(rn),this.webComponentConfig=k(wd),this.injector=k(lt)}onInitialized(){this.webComponentConfig.setEnvironment(this.configName),this.translateService.use(this.language),this.authServiceSelector.getInstance().registerAccessToken(this.services.getAccessToken),this.injectService(),this.fetchData(!1),this.services.registerRefreshCallback(i=>mi(this,null,function*(){this.fetchData(!0),i()}))}onPropsChanged(i){i.language&&this.translateService.use(this.language)}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=li(t)))(a||t)}})(),t.ɵcmp=Ee({type:t,selectors:[["ng-component"]],features:[Ot],decls:0,vars:0,template:function(i,a){},encapsulation:2});let e=t;return e})();function Tre(e,t){if(e&1&&(O(0,"mat-option",4),q(1),Y(2,"translate"),N()),e&2){let n=t.$implicit;ae("value",n),D(),Le(ee(2,2,"commons.sortDropdown."+n))}}function Ore(e,t){if(e&1){let n=Je();O(0,"button",6),Y(1,"translate"),ce("click",function(){ve(n);let i=j();return ye(i.emitNewData({sort:i.sortData().sort,order:i.sortDirection.descending}))}),le(2,"mat-icon",7),N()}if(e&2){let n=j();ae("disabled",n.disabled()),be("aria-label",ee(1,2,"commons.sortDropdown.sorting-ascendant"))}}function Nre(e,t){if(e&1){let n=Je();O(0,"button",6),Y(1,"translate"),ce("click",function(){ve(n);let i=j();return ye(i.emitNewData({sort:i.sortData().sort,order:i.sortDirection.ascending}))}),le(2,"mat-icon",8),N()}if(e&2){let n=j();ae("disabled",n.disabled()),be("aria-label",ee(1,2,"commons.sortDropdown.sorting-sorting-descendent"))}}var Rre=(()=>{const t=class t{constructor(){this.sortData=LY.required(),this.sortItems=ga.required(),this.disabled=ga(!1),this.sortDirection=kd}emitNewData(i){this.sortData.set(i)}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ee({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"],["fontIcon","sort",1,"descending"]],template:function(i,a){i&1&&(O(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})}),Si(4,Tre,3,4,"mat-option",4,la),N()()(),ue(6,Ore,3,4,"button",5)(7,Nre,3,4,"button",5),N()),i&2&&(D(3),ae("value",a.sortData().sort)("disabled",a.disabled()),D(),Ei(a.sortItems()),D(2),de(a.sortData().order===a.sortDirection.ascending?6:7))},dependencies:[On,xd,ns,eo,gd,m1,Pm,ud,sn],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%] .descending[_ngcontent-%COMP%]{transform:rotateX(180deg)}"]});let e=t;return e})(),Mre=["*"],Pre=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],Fre=["[mat-card-avatar], [matCardAvatar]",`mat-card-title, mat-card-subtitle,
|
|
43
|
+
[mat-card-title], [mat-card-subtitle],
|
|
44
|
+
[matCardTitle], [matCardSubtitle]`,"*"],Lre=new B("MAT_CARD_CONFIG"),j1=(()=>{const t=class t{constructor(){s(this,"appearance");let i=k(Lre,{optional:!0});this.appearance=(i==null?void 0:i.appearance)||"raised"}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Ee({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(i,a){i&2&&Ge("mat-mdc-card-outlined",a.appearance==="outlined")("mdc-card--outlined",a.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:Mre,decls:1,vars:0,template:function(i,a){i&1&&(Ci(),nt(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}
|
|
45
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),B1=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",xe({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}));let e=t;return e})(),Vre=(()=>{const t=class t{constructor(){s(this,"align","start")}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",xe({type:t,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(i,a){i&2&&Ge("mat-mdc-card-actions-align-end",a.align==="end")},inputs:{align:"align"},exportAs:["matCardActions"]}));let e=t;return e})(),zre=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Ee({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:Fre,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(i,a){i&1&&(Ci(Pre),nt(0),O(1,"div",0),nt(2,1),N(),nt(3,2))},encapsulation:2,changeDetection:0}));let e=t;return e})(),jre=(()=>{const t=class t{constructor(){this.translate=k(rn),this.error=ga.required()}get messageKey(){var o;let i=(o=this.error().error)==null?void 0:o.code,a="commons.errors.status-message-content";if(!i)return a;let r=`commons.errors.${i}`;return this.translate.instant(r)!==r?r:a}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ee({type:t,selectors:[["vidis-status-message"]],inputs:{error:[1,"error"]},decls:9,vars:6,consts:[["fontIcon","info",1,"material-icons"]],template:function(i,a){i&1&&(O(0,"mat-card")(1,"mat-card-header"),le(2,"mat-icon",0),q(3),Y(4,"translate"),N(),O(5,"mat-card-content")(6,"span"),q(7),Y(8,"translate"),N()()()),i&2&&(D(3),Me(" ",ee(4,2,"commons.errors.status-message-title")," "),D(4),Le(ee(8,4,a.messageKey)))},dependencies:[j1,B1,zre,On,sn],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})(),Sn=function(e){return e.INITIAL="INITIAL",e.LOADING="LOADING",e.SUCCESS="SUCCESS",e.UPDATING="UPDATING",e.ERROR="ERROR",e}(Sn||{});function Bre(e){let t=new Lc(1);return e.subscribe({next:n=>{t.next(n),t.complete()},error:n=>t.error(n)}),t.asObservable()}function Hre(e){return e.pipe(vt(t=>({status:Sn.SUCCESS,data:t})),Vc(t=>mt({status:Sn.ERROR,error:t})),Ri({status:Sn.LOADING}))}var $re=()=>e=>Hre(e),Ure=["*"],Gre=(e,t,n,i,a)=>({"custom-content":e,circle:t,progress:n,"progress-dark":i,pulse:a});function qre(e,t){e&1&&nt(0)}function Wre(e,t){if(e&1&&(O(0,"div",0),ue(1,qre,1,0),N()),e&2){let n=j(),i=mg(0),a=mg(1);ae("ngClass",nZ(5,Gre,i==="custom-content",i==="circle",a==="progress",a==="progress-dark",a==="pulse"))("ngStyle",n.styles()),be("aria-label",n.ariaLabel())("aria-valuetext",n.loadingText()),D(),de(i==="custom-content"?1:-1)}}var H1=new B("ngx-skeleton-loader.config"),Yre=(()=>{var t;const n=class n{constructor(){pf(this,t);var a,r,o,l,c,d;mf(this,t,k(H1,{optional:!0})),this.count=ga(((a=Ha(this,t))==null?void 0:a.count)||1,{transform:Wa}),this.loadingText=ga(((r=Ha(this,t))==null?void 0:r.loadingText)||"Loading..."),this.appearance=ga(((o=Ha(this,t))==null?void 0:o.appearance)||"line"),this.animation=ga(((l=Ha(this,t))==null?void 0:l.animation)||"progress"),this.ariaLabel=ga(((c=Ha(this,t))==null?void 0:c.ariaLabel)||"loading"),this.theme=ga(((d=Ha(this,t))==null?void 0:d.theme)||null),this.items=wa(()=>{let u=this.count()||1;return this.appearance()==="custom-content"&&xZ(),[...Array(u)].map((m,v)=>v)}),this.styles=wa(()=>{var m,v,g;let u=this.theme();return(v=(m=Ha(this,t))==null?void 0:m.theme)!=null&&v.extendsFromRoot?Z(Z({},(g=Ha(this,t))==null?void 0:g.theme),u):u})}};t=new WeakMap,n.ɵfac=function(a){return new(a||n)},n.ɵcmp=Ee({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:Ure,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&&(Ci(),Jp(0)(1),Si(2,Wre,2,11,"div",0,la)),a&2&&(pg(r.appearance()),D(),pg(r.animation()),D(),Ei(r.items()))},dependencies:[Ao,_X],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})(),Kre=(()=>{const t=class t{static forRoot(i){return{ngModule:t,providers:[{provide:H1,useValue:i}]}}};t.ɵfac=function(i){return new(i||t)},t.ɵmod=xt({type:t}),t.ɵinj=_t({imports:[AX]});let e=t;return e})(),Zre=Zh(B8()),$1={"application/prs.cww":["cww"],"application/prs.xsf+xml":["xsf"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["*xfdf"],"application/vnd.age":["age"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.autodesk.fbx":["fbx"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dcmp+xml":["dcmp"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["*fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.slides":["ggs"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.drawing":["gdraw"],"application/vnd.google-apps.form":["gform"],"application/vnd.google-apps.jam":["gjam"],"application/vnd.google-apps.map":["gmap"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.script":["gscript"],"application/vnd.google-apps.site":["gsite"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.gov.sk.xmldatacontainer+xml":["xdcf"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["*mpp","mpt"],"application/vnd.ms-visio.viewer":["vdx"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.nato.bindingdataobject+xml":["bdo"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.procrate.brushset":["brushset"],"application/vnd.procreate.brush":["brush"],"application/vnd.procreate.dream":["drm"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.pwg-xhtml-print+xml":["xhtm"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml","uo"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw","vsdx","vtx"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blender":["blend"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-compressed":["*rar"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-ipynb+json":["ipynb"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["*prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["*sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zip-compressed":["*zip"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["*aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif","btf"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-adobe-dng":["dng"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.bary":["bary"],"model/vnd.cld":["cld"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["*mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.pytha.pyox":["pyo","pyox"],"model/vnd.sap.vds":["vds"],"model/vnd.usda":["usda"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.familysearch.gedcom":["ged"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]};Object.freeze($1);var Xre=$1,U1={"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(U1);var Qre=U1,ji=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)},wr,Cs,Hn,Jre=class{constructor(...e){wr.set(this,new Map),Cs.set(this,new Map),Hn.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(o=>o.toLowerCase()),ji(this,Hn,"f").has(n)||ji(this,Hn,"f").set(n,new Set);let a=ji(this,Hn,"f").get(n),r=!0;for(let o of i){let l=o.startsWith("*");if(o=l?o.slice(1):o,a==null||a.add(o),r&&ji(this,Cs,"f").set(n,o),r=!1,l)continue;let c=ji(this,wr,"f").get(o);if(c&&c!=n&&!t)throw new Error(`"${n} -> ${o}" conflicts with "${c} -> ${o}". Pass \`force=true\` to override this definition.`);ji(this,wr,"f").set(o,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:ji(this,wr,"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&&ji(this,Cs,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:ji(this,Hn,"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 ji(this,Hn,"f").values())Object.freeze(e);return this}_getTestState(){return{types:ji(this,wr,"f"),extensions:ji(this,Cs,"f")}}};wr=new WeakMap,Cs=new WeakMap,Hn=new WeakMap;var ese=Jre,G1=new ese(Qre,Xre)._freeze(),Ym=function(e){return e.author="author",e.date="date",e.role="role",e}(Ym||{}),q1=6048e5,tse=864e5,Wv=Symbol.for("constructDateFrom");function Dn(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Wv in e?e[Wv](t):e instanceof Date?new e.constructor(t):new Date(t)}function da(e,t){return Dn(t||e,e)}var ise={};function Sd(){return ise}function ao(e,t){var l,c,d,u;let n=Sd(),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=da(e,t==null?void 0:t.in),r=a.getDay(),o=(r<i?7:0)+r-i;return a.setDate(a.getDate()-o),a.setHours(0,0,0,0),a}function Dc(e,t){return ao(e,Qe(Z({},t),{weekStartsOn:1}))}function W1(e,t){let n=da(e,t==null?void 0:t.in),i=n.getFullYear(),a=Dn(n,0);a.setFullYear(i+1,0,4),a.setHours(0,0,0,0);let r=Dc(a),o=Dn(n,0);o.setFullYear(i,0,4),o.setHours(0,0,0,0);let l=Dc(o);return n.getTime()>=r.getTime()?i+1:n.getTime()>=l.getTime()?i:i-1}function Yv(e){let t=da(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 ase(e,...t){let n=Dn.bind(null,t.find(i=>typeof i=="object"));return t.map(n)}function Kv(e,t){let n=da(e,t==null?void 0:t.in);return n.setHours(0,0,0,0),n}function nse(e,t,n){let[i,a]=ase(n==null?void 0:n.in,e,t),r=Kv(i),o=Kv(a),l=+r-Yv(r),c=+o-Yv(o);return Math.round((l-c)/tse)}function rse(e,t){let n=W1(e,t),i=Dn(e,0);return i.setFullYear(n,0,4),i.setHours(0,0,0,0),Dc(i)}function sse(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function ose(e){return!(!sse(e)&&typeof e!="number"||isNaN(+da(e)))}function lse(e,t){let n=da(e,t==null?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}var cse={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"}},dse=(e,t,n)=>{let i,a=cse[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 Iu(e){return(t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var use={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},hse={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},pse={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},mse={date:Iu({formats:use,defaultWidth:"full"}),time:Iu({formats:hse,defaultWidth:"full"}),dateTime:Iu({formats:pse,defaultWidth:"full"})},fse={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},gse=(e,t,n,i)=>fse[e];function bs(e){return(t,n)=>{let i=n!=null&&n.context?String(n.context):"standalone",a;if(i==="formatting"&&e.formattingValues){let o=e.defaultFormattingWidth||e.defaultWidth,l=n!=null&&n.width?String(n.width):o;a=e.formattingValues[l]||e.formattingValues[o]}else{let o=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;a=e.values[l]||e.values[o]}let r=e.argumentCallback?e.argumentCallback(t):t;return a[r]}}var vse={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},yse={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},bse={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"]},_se={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"]},xse={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"}},wse={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"}},kse=(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"},Sse={ordinalNumber:kse,era:bs({values:vse,defaultWidth:"wide"}),quarter:bs({values:yse,defaultWidth:"wide",argumentCallback:e=>e-1}),month:bs({values:bse,defaultWidth:"wide"}),day:bs({values:_se,defaultWidth:"wide"}),dayPeriod:bs({values:xse,defaultWidth:"wide",formattingValues:wse,defaultFormattingWidth:"wide"})};function _s(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 o=r[0],l=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?Cse(l,m=>m.test(o)):Ese(l,m=>m.test(o)),d;d=e.valueCallback?e.valueCallback(c):c,d=n.valueCallback?n.valueCallback(d):d;let u=t.slice(o.length);return{value:d,rest:u}}}function Ese(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function Cse(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function Dse(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 o=e.valueCallback?e.valueCallback(r[0]):r[0];o=n.valueCallback?n.valueCallback(o):o;let l=t.slice(a.length);return{value:o,rest:l}}}var Ise=/^(\d+)(th|st|nd|rd)?/i,Ase=/\d+/i,Tse={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},Ose={any:[/^b/i,/^(a|c)/i]},Nse={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Rse={any:[/1/i,/2/i,/3/i,/4/i]},Mse={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},Pse={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]},Fse={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},Lse={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]},Vse={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},zse={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}},jse={ordinalNumber:Dse({matchPattern:Ise,parsePattern:Ase,valueCallback:e=>parseInt(e,10)}),era:_s({matchPatterns:Tse,defaultMatchWidth:"wide",parsePatterns:Ose,defaultParseWidth:"any"}),quarter:_s({matchPatterns:Nse,defaultMatchWidth:"wide",parsePatterns:Rse,defaultParseWidth:"any",valueCallback:e=>e+1}),month:_s({matchPatterns:Mse,defaultMatchWidth:"wide",parsePatterns:Pse,defaultParseWidth:"any"}),day:_s({matchPatterns:Fse,defaultMatchWidth:"wide",parsePatterns:Lse,defaultParseWidth:"any"}),dayPeriod:_s({matchPatterns:Vse,defaultMatchWidth:"any",parsePatterns:zse,defaultParseWidth:"any"})},Bse={code:"en-US",formatDistance:dse,formatLong:mse,formatRelative:gse,localize:Sse,match:jse,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Hse(e,t){let n=da(e,t==null?void 0:t.in);return nse(n,lse(n))+1}function $se(e,t){let n=da(e,t==null?void 0:t.in),i=+Dc(n)-+rse(n);return Math.round(i/q1)+1}function Y1(e,t){var u,m,v,g;let n=da(e,t==null?void 0:t.in),i=n.getFullYear(),a=Sd(),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,o=Dn((t==null?void 0:t.in)||e,0);o.setFullYear(i+1,0,r),o.setHours(0,0,0,0);let l=ao(o,t),c=Dn((t==null?void 0:t.in)||e,0);c.setFullYear(i,0,r),c.setHours(0,0,0,0);let d=ao(c,t);return+n>=+l?i+1:+n>=+d?i:i-1}function Use(e,t){var o,l,c,d;let n=Sd(),i=(t==null?void 0:t.firstWeekContainsDate)??((l=(o=t==null?void 0:t.locale)==null?void 0:o.options)==null?void 0:l.firstWeekContainsDate)??n.firstWeekContainsDate??((d=(c=n.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??1,a=Y1(e,t),r=Dn((t==null?void 0:t.in)||e,0);return r.setFullYear(a,0,i),r.setHours(0,0,0,0),ao(r,t)}function Gse(e,t){let n=da(e,t==null?void 0:t.in),i=+ao(n,t)-+Use(n,t);return Math.round(i/q1)+1}function st(e,t){let n=e<0?"-":"",i=Math.abs(e).toString().padStart(t,"0");return n+i}var dn={y(e,t){let n=e.getFullYear(),i=n>0?n:1-n;return st(t==="yy"?i%100:i,t.length)},M(e,t){let n=e.getMonth();return t==="M"?String(n+1):st(n+1,2)},d(e,t){return st(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 st(e.getHours()%12||12,t.length)},H(e,t){return st(e.getHours(),t.length)},m(e,t){return st(e.getMinutes(),t.length)},s(e,t){return st(e.getSeconds(),t.length)},S(e,t){let n=t.length,i=e.getMilliseconds(),a=Math.trunc(i*Math.pow(10,n-3));return st(a,t.length)}},br={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Zv={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 dn.y(e,t)},Y:function(e,t,n,i){let a=Y1(e,i),r=a>0?a:1-a;if(t==="YY"){let o=r%100;return st(o,2)}return t==="Yo"?n.ordinalNumber(r,{unit:"year"}):st(r,t.length)},R:function(e,t){let n=W1(e);return st(n,t.length)},u:function(e,t){let n=e.getFullYear();return st(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 st(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 st(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 dn.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 st(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=Gse(e,i);return t==="wo"?n.ordinalNumber(a,{unit:"week"}):st(a,t.length)},I:function(e,t,n){let i=$se(e);return t==="Io"?n.ordinalNumber(i,{unit:"week"}):st(i,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):dn.d(e,t)},D:function(e,t,n){let i=Hse(e);return t==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):st(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 st(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 st(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 st(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=br.noon:i===0?a=br.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=br.evening:i>=12?a=br.afternoon:i>=4?a=br.morning:a=br.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 dn.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):dn.H(e,t)},K:function(e,t,n){let i=e.getHours()%12;return t==="Ko"?n.ordinalNumber(i,{unit:"hour"}):st(i,t.length)},k:function(e,t,n){let i=e.getHours();return i===0&&(i=24),t==="ko"?n.ordinalNumber(i,{unit:"hour"}):st(i,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):dn.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):dn.s(e,t)},S:function(e,t){return dn.S(e,t)},X:function(e,t,n){let i=e.getTimezoneOffset();if(i===0)return"Z";switch(t){case"X":return Qv(i);case"XXXX":case"XX":return $n(i);case"XXXXX":case"XXX":default:return $n(i,":")}},x:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"x":return Qv(i);case"xxxx":case"xx":return $n(i);case"xxxxx":case"xxx":default:return $n(i,":")}},O:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Xv(i,":");case"OOOO":default:return"GMT"+$n(i,":")}},z:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Xv(i,":");case"zzzz":default:return"GMT"+$n(i,":")}},t:function(e,t,n){let i=Math.trunc(+e/1e3);return st(i,t.length)},T:function(e,t,n){return st(+e,t.length)}};function Xv(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+st(r,2)}function Qv(e,t){return e%60===0?(e>0?"-":"+")+st(Math.abs(e)/60,2):$n(e,t)}function $n(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=st(Math.trunc(i/60),2),r=st(i%60,2);return n+a+t+r}var Jv=(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"})}},K1=(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"})}},qse=(e,t)=>{let n=e.match(/(P+)(p+)?/)||[],i=n[1],a=n[2];if(!a)return Jv(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}}",Jv(i,t)).replace("{{time}}",K1(a,t))},Wse={p:K1,P:qse},Yse=/^D+$/,Kse=/^Y+$/,Zse=["D","DD","YY","YYYY"];function Xse(e){return Yse.test(e)}function Qse(e){return Kse.test(e)}function Jse(e,t,n){let i=eoe(e,t,n);if(console.warn(i),Zse.includes(e))throw new RangeError(i)}function eoe(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`}var toe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ioe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,aoe=/^'([^]*?)'?$/,noe=/''/g,roe=/[a-zA-Z]/;function ey(e,t,n){var u,m,v,g;let i=Sd(),a=i.locale??Bse,r=i.firstWeekContainsDate??((m=(u=i.locale)==null?void 0:u.options)==null?void 0:m.firstWeekContainsDate)??1,o=i.weekStartsOn??((g=(v=i.locale)==null?void 0:v.options)==null?void 0:g.weekStartsOn)??0,l=da(e,n==null?void 0:n.in);if(!ose(l))throw new RangeError("Invalid time value");let c=t.match(ioe).map(x=>{let w=x[0];if(w==="p"||w==="P"){let E=Wse[w];return E(x,a.formatLong)}return x}).join("").match(toe).map(x=>{if(x==="''")return{isToken:!1,value:"'"};let w=x[0];if(w==="'")return{isToken:!1,value:soe(x)};if(Zv[w])return{isToken:!0,value:x};if(w.match(roe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+w+"`");return{isToken:!1,value:x}});a.localize.preprocessor&&(c=a.localize.preprocessor(l,c));let d={firstWeekContainsDate:r,weekStartsOn:o,locale:a};return c.map(x=>{if(!x.isToken)return x.value;let w=x.value;(Qse(w)||Xse(w))&&Jse(w,t,String(e));let E=Zv[w[0]];return E(l,w,a.localize,d)}).join("")}function soe(e){let t=e.match(aoe);return t?t[1].replace(noe,"'"):e}var Z1=(()=>{const t=class t{constructor(){this.http=k(rm)}search(i,a,r){let o={};return i.dateRange.from&&(o.fromDate=ey(i.dateRange.from,"yyyy-MM-dd")),i.dateRange.until&&(o.toDate=ey(i.dateRange.until,"yyyy-MM-dd")),i.role&&(o.roles=[i.role]),i.tags&&(o.tags=i.tags),i.author&&(o.authors=[i.author]),r.sort&&(o.sort=Ym[r.sort]),r.order===kd.ascending&&(o.sortDirection="ascending"),a.page&&(o.page=a.page),a.pageSize&&(o.pageSize=a.pageSize),this.http.get("/v1/mydiarynotes",{params:Z({},o)})}fetchSpecificDiaryNote(i,a,r,o){return this.http.get(`/v1/diarynotes/${i}`,{params:{patientSsin:o,source:r??"vitalink",version:a}}).pipe(Vc(l=>(console.error("Error fetching diary note with attachement:",l),Xy(()=>l))))}postDiaryNote(i,a,r,o){return this.http.post("/v1/diarynotes",this.buildFormData(i,a,r,o))}deleteDiaryNote(i,a,r,o){return this.http.delete(`/v1/diarynotes/${i}`,{params:{version:a,source:r??"vitalink",patientSsin:o},observe:"response"}).pipe(vt(l=>({diaryNote:l.body,statusCode:l.status})))}buildFormData(i,a,r,o){let l=new FormData,c={language:o,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=function(i){return new(i||t)},t.ɵprov=G({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Au={items:[{language:"fr",id:"7530f63b-7e82-4884-8ddd-fa137e0a9b42",creation:"2021-02-10T15:38:16.176194+02:00",version:1,source:"vitalink",status:"completed",author:{firstName:"Mickey",lastName:"Mouse",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-31T15:38:16.176194+02:00",version:1,source:"vitalink",status:"deleted",author:{firstName:"Mickey",lastName:"Mouse",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:"Goof",lastName:"Goofy",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:["Mickey Mouse","Goof Goofy"],roles:["pharmacist","physician"],tags:["medication"]},errors:[],page:0,totalItems:3,totalPages:1},X1=(()=>{const t=class t{search(i,a,r){return mt(Au)}fetchSpecificDiaryNote(i,a,r,o){let l={note:Au.items.find(c=>c.id===i),attachments:[{type:"text/plain",contentType:"application/octet-stream",fileSize:1478,data:"123 test"}]};return mt(l)}postDiaryNote(i,a,r,o){return mt()}deleteDiaryNote(i,a,r,o){let l={note:Au.items.find(c=>c.id===i),attachments:[{type:"text/plain",contentType:"application/octet-stream",fileSize:1478,data:"123 test"}]};return mt({diaryNote:l,statusCode:200})}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=G({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Q1=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵprov=G({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),ooe=(e,t)=>e.getEnvironmentVariable("env")===mn.DEMO?t.get(X1):t.get(Z1),loe={provide:Q1,useFactory:ooe,deps:[wd,lt]},no=(()=>{const t=class t{constructor(){this.diarynoteApiService=k(Q1),this.snackbarService=k(Gne),this.translate=k(rn),this.authServiceSelector=k(Wm),this.diarynotesStateSubject$=new Un({status:Sn.INITIAL}),this.filterStateSubject$=new Un({dateRange:{from:null,until:null}}),this.paginationStateSubject$=new Un({page:0,pageSize:10,totalPages:void 0}),this.sortStateSubject$=new Un({sort:Ym.date,order:kd.descending}),this.patientSubject$=new Un(void 0),this.diarynotesState$=this.diarynotesStateSubject$.asObservable(),this.filterState$=this.filterStateSubject$.asObservable(),this.paginationState$=this.paginationStateSubject$.asObservable(),this.sortState$=this.sortStateSubject$.asObservable()}fetchDiarynotes(i,a=!1){return mi(this,null,function*(){let r=yield this.authServiceSelector.getInstance().getPatientInfo();this.patientSubject$.next(r);let o=(!i.cache.get(Es.DIARY_NOTES)||a?this.diarynoteApiService.search(this.filterStateSubject$.getValue(),this.paginationStateSubject$.getValue(),this.sortStateSubject$.getValue()):mt(i.cache.get(Es.DIARY_NOTES))).pipe($re(),As(l=>{i.cache.set(Es.DIARY_NOTES,l.data),this.diarynotesStateSubject$.next(l)}));return Bre(o)})}static isDiaryNoteCompleted(i){return(i==null?void 0:i.toLowerCase())==="completed"}updatePagination(i,a){return mi(this,null,function*(){let r=this.paginationStateSubject$.getValue(),o=Qe(Z({},r),{page:(a==null?void 0:a.page)!==void 0?a.page:r.page,pageSize:(a==null?void 0:a.pageSize)||r.pageSize});this.paginationStateSubject$.next(o),yield this.fetchDiarynotes(i,!0)})}updateSorting(i,a){return mi(this,null,function*(){let r=this.sortStateSubject$.getValue(),o={sort:(a==null?void 0:a.sort)!==void 0?a.sort:r.sort,order:(a==null?void 0:a.order)||r.order};this.sortStateSubject$.next(o),yield this.fetchDiarynotes(i,!0)})}updateFilter(i,a){return mi(this,null,function*(){this.filterStateSubject$.next(a);let r=this.paginationStateSubject$.getValue();this.paginationStateSubject$.next(Qe(Z({},r),{page:void 0})),yield this.fetchDiarynotes(i,!0)})}clearFilter(i){return mi(this,null,function*(){this.filterStateSubject$.next({dateRange:{from:null,until:null},author:"",role:"",tags:[]}),yield this.fetchDiarynotes(i,!0)})}clearFilterByKey(i,a){return mi(this,null,function*(){let r=this.filterStateSubject$.getValue(),o;a==="range"?o=Qe(Z({},r),{dateRange:{from:null,until:null}}):o=Qe(Z({},r),{[a]:void 0}),this.filterStateSubject$.next(o),yield this.fetchDiarynotes(i,!0)})}downloadSpecificDiaryNoteAttachment(i,a,r,o,l){this.diarynoteApiService.fetchSpecificDiaryNote(i,a,r,o).subscribe({next:c=>{var u,m;let d=c.attachments[l];if(d)if(d.url)window.open(d.url,"_blank");else{let v=d.contentType||"text/plain",g=this.getAttachmentFileName(l,v),x=this.b64toBlob(d.data,v);(0,Zre.saveAs)(x,g)}else{let v;switch((m=(u=c.note)==null?void 0:u.error)==null?void 0:m.code){case"VIDIS_1000":case"VIDIS_1005":v="diaryNotesPage.add-note-error."+c.note.error.code;break;default:v="commons.errors.general";break}this.snackbarService.showError(v)}},error:()=>{this.snackbarService.showError("commons.errors.general")}})}b64toBlob(i,a="",r=512){let o=atob(i),l=[];for(let c=0;c<o.length;c+=r){let d=o.slice(c,c+r),u=new Array(d.length);for(let v=0;v<d.length;v++)u[v]=d.charCodeAt(v);let m=new Uint8Array(u);l.push(m)}return new Blob(l,{type:a})}getAttachmentFileName(i,a){let r=a?G1.getExtension(a):"unknown";return this.translate.instant("commons.file")+"_"+(i+1)+"."+r}postDiarynote(i,a,r){this.diarynoteApiService.postDiaryNote(a,r,this.patientSubject$.getValue(),this.translate.currentLang).subscribe({next:o=>mi(this,null,function*(){yield this.fetchDiarynotes(i,!0)}),error:o=>{console.error("Error posting diary note:",o),this.handleDiaryNoteError(o)}})}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,o,l){this.diarynoteApiService.deleteDiaryNote(a,r,o,l).subscribe({next:c=>{var m,v;let d=this.diarynotesStateSubject$.getValue(),u;if(c.statusCode===204){let g=((m=d.data)==null?void 0:m.items.filter(x=>x.id!==a))||[];this.diarynotesStateSubject$.next(Qe(Z({},d),{data:Qe(Z({},d.data),{items:g}),status:Sn.SUCCESS}))}else{let g=((v=d.data)==null?void 0:v.items.map(x=>x.id===c.diaryNote.note.id?c.diaryNote.note:x))||[];this.diarynotesStateSubject$.next(Qe(Z({},d),{data:Qe(Z({},d.data),{items:g}),status:Sn.SUCCESS}))}i.cache.set(Es.DIARY_NOTES,u)},error:c=>{var d;this.snackbarService.showError(((d=c.error)==null?void 0:d.code)==="VIDIS_0500"?"commons.errors.general":"commons.errors.VIDIS_0400")}})}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=G({token:t,factory:t.ɵfac});let e=t;return e})(),coe=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],doe=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function uoe(e,t){e&1&&(O(0,"span",3),nt(1,1),N())}function hoe(e,t){e&1&&(O(0,"span",6),nt(1,2),N())}var poe=["*"],moe=new B("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),ty=new B("MatChipAvatar"),iy=new B("MatChipTrailingIcon"),qh=new B("MatChipRemove"),J1=new B("MatChip"),Wh=(()=>{const t=class t{constructor(){s(this,"_elementRef",k(Pe));s(this,"_parentChip",k(J1));s(this,"isInteractive",!0);s(this,"_isPrimary",!0);s(this,"_disabled",!1);s(this,"tabIndex",-1);s(this,"_allowFocusWhenDisabled",!1);k(Di).load(Mo),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())}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",xe({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&&(be("tabindex",a._getTabindex())("disabled",a._getDisabledAttribute())("aria-disabled",a.disabled),Ge("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",Be],tabIndex:[2,"tabIndex","tabIndex",i=>i==null?-1:Wa(i)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}}));let e=t;return e})(),ek=(()=>{const t=class t extends Wh{constructor(){super(...arguments);s(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())}};s(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=li(t)))(r||t)}})()),s(t,"ɵdir",xe({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&&be("aria-hidden",null)},features:[ci([{provide:qh,useExisting:t}]),Ot]}));let e=t;return e})(),Ed=(()=>{const t=class t{constructor(){s(this,"_changeDetectorRef",k(Pt));s(this,"_elementRef",k(Pe));s(this,"_ngZone",k(Ie));s(this,"_focusMonitor",k(Ro));s(this,"_globalRippleOptions",k(um,{optional:!0}));s(this,"_document",k(Ze));s(this,"_onFocus",new re);s(this,"_onBlur",new re);s(this,"_isBasicChip");s(this,"role",null);s(this,"_hasFocusInternal",!1);s(this,"_pendingFocus");s(this,"_actionChanges");s(this,"_animationsDisabled");s(this,"_allLeadingIcons");s(this,"_allTrailingIcons");s(this,"_allRemoveIcons");s(this,"id",k(di).getId("mat-mdc-chip-"));s(this,"ariaLabel",null);s(this,"ariaDescription",null);s(this,"_ariaDescriptionId",`${this.id}-aria-description`);s(this,"_chipListDisabled",!1);s(this,"_textElement");s(this,"_value");s(this,"color");s(this,"removable",!0);s(this,"highlighted",!1);s(this,"disableRipple",!1);s(this,"_disabled",!1);s(this,"removed",new se);s(this,"destroyed",new se);s(this,"basicChipAttrName","mat-basic-chip");s(this,"leadingIcon");s(this,"trailingIcon");s(this,"removeIcon");s(this,"primaryAction");s(this,"_rippleLoader",k(Ew));s(this,"_injector",k(lt));var r;let i=k(Di);i.load(Mo),i.load(dr);let a=k(Li,{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=$i(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})))))})}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Ee({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(i,a,r){if(i&1&&(ni(r,ty,5),ni(r,iy,5),ni(r,qh,5),ni(r,ty,5),ni(r,iy,5),ni(r,qh,5)),i&2){let o;Te(o=Oe())&&(a.leadingIcon=o.first),Te(o=Oe())&&(a.trailingIcon=o.first),Te(o=Oe())&&(a.removeIcon=o.first),Te(o=Oe())&&(a._allLeadingIcons=o),Te(o=Oe())&&(a._allTrailingIcons=o),Te(o=Oe())&&(a._allRemoveIcons=o)}},viewQuery:function(i,a){if(i&1&&pt(Wh,5),i&2){let r;Te(r=Oe())&&(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&&(nn("id",a.id),be("role",a.role)("aria-label",a.ariaLabel),Hr("mat-"+(a.color||"primary")),Ge("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",Be],highlighted:[2,"highlighted","highlighted",Be],disableRipple:[2,"disableRipple","disableRipple",Be],disabled:[2,"disabled","disabled",Be]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[ci([{provide:J1,useExisting:t}])],ngContentSelectors:doe,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&&(Ci(coe),le(0,"span",0),O(1,"span",1)(2,"span",2),ue(3,uoe,2,0,"span",3),O(4,"span",4),nt(5),le(6,"span",5),N()()(),ue(7,hoe,2,0,"span",6)),i&2&&(D(2),ae("isInteractive",!1),D(),de(a.leadingIcon?3:-1),D(4),de(a._hasTrailingIcon()?7:-1))},dependencies:[Wh],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}
|
|
46
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),foe=(()=>{const t=class t{constructor(){s(this,"_elementRef",k(Pe));s(this,"_changeDetectorRef",k(Pt));s(this,"_dir",k(Fi,{optional:!0}));s(this,"_lastDestroyedFocusedChipIndex",null);s(this,"_keyManager");s(this,"_destroyed",new re);s(this,"_defaultRole","presentation");s(this,"_disabled",!1);s(this,"tabIndex",0);s(this,"_explicitRole",null);s(this,"_chips");s(this,"_chipActions",new ac)}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(Ri(null),Kn(()=>$i(...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(Ri(this._chips)).subscribe(a=>{let r=[];a.forEach(o=>o._getActions().forEach(l=>r.push(l))),this._chipActions.reset(r),this._chipActions.notifyOnChanges()}),this._keyManager=new fJ(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(a=>this._skipPredicate(a)),this.chipFocusChanges.pipe(St(this._destroyed)).subscribe(({chip:a})=>{let r=a._getSourceAction(document.activeElement);r&&this._keyManager.updateActiveItem(r)}),(i=this._dir)==null||i.change.pipe(St(this._destroyed)).subscribe(a=>this._keyManager.withHorizontalOrientation(a))}_skipPredicate(i){return!i.isInteractive||i.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Ri(null),St(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(St(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}}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Ee({type:t,selectors:[["mat-chip-set"]],contentQueries:function(i,a,r){if(i&1&&ni(r,Ed,5),i&2){let o;Te(o=Oe())&&(a._chips=o)}},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&&be("role",a.role)},inputs:{disabled:[2,"disabled","disabled",Be],role:"role",tabIndex:[2,"tabIndex","tabIndex",i=>i==null?0:Wa(i)]},ngContentSelectors:poe,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(i,a){i&1&&(Ci(),O(0,"div",0),nt(1),N())},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}
|
|
47
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),goe=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵmod",xt({type:t})),s(t,"ɵinj",_t({providers:[dm,{provide:moe,useValue:{separatorKeyCodes:[13]}}],imports:[qt,hm,qt]}));let e=t;return e})(),voe=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Ee({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})(),yoe={passive:!0},boe=(()=>{const t=class t{constructor(){s(this,"_platform",k(Ft));s(this,"_ngZone",k(Ie));s(this,"_renderer",k(Ki).createRenderer(null,null));s(this,"_styleLoader",k(Di));s(this,"_monitoredElements",new Map)}monitor(i){if(!this._platform.isBrowser)return rp;this._styleLoader.load(voe);let a=kn(i),r=this._monitoredElements.get(a);if(r)return r.subject;let o=new re,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(()=>o.next({target:u.target,isAutofilled:!0}))):u.animationName==="cdk-text-field-autofill-end"&&a.classList.contains(l)&&(a.classList.remove(l),this._ngZone.run(()=>o.next({target:u.target,isAutofilled:!1})))},d=this._ngZone.runOutsideAngular(()=>(a.classList.add("cdk-text-field-autofill-monitored"),ai(this._renderer,a,"animationstart",c,yoe)));return this._monitoredElements.set(a,{subject:o,unlisten:d}),o}stopMonitoring(i){let a=kn(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))}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),_oe=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵmod",xt({type:t})),s(t,"ɵinj",_t({}));let e=t;return e})(),tk=new B("MAT_INPUT_VALUE_ACCESSOR"),xoe=["button","checkbox","file","hidden","image","radio","range","reset","submit"],woe=new B("MAT_INPUT_CONFIG"),ik=(()=>{const t=class t{constructor(){s(this,"_elementRef",k(Pe));s(this,"_platform",k(Ft));s(this,"ngControl",k(Lo,{optional:!0,self:!0}));s(this,"_autofillMonitor",k(boe));s(this,"_ngZone",k(Ie));s(this,"_formField",k(fd,{optional:!0}));s(this,"_renderer",k(Zi));s(this,"_uid",k(di).getId("mat-input-"));s(this,"_previousNativeValue");s(this,"_inputValueAccessor");s(this,"_signalBasedValueAccessor");s(this,"_previousPlaceholder");s(this,"_errorStateTracker");s(this,"_config",k(woe,{optional:!0}));s(this,"_cleanupIosKeyup");s(this,"_cleanupWebkitWheel");s(this,"_formFieldDescribedBy");s(this,"_isServer");s(this,"_isNativeSelect");s(this,"_isTextarea");s(this,"_isInFormField");s(this,"focused",!1);s(this,"stateChanges",new re);s(this,"controlType","mat-input");s(this,"autofilled",!1);s(this,"_disabled",!1);s(this,"_id");s(this,"placeholder");s(this,"name");s(this,"_required");s(this,"_type","text");s(this,"userAriaDescribedBy");s(this,"_readonly",!1);s(this,"disabledInteractive");s(this,"_neverEmptyInputTypes",["date","datetime","datetime-local","month","time","week"].filter(i=>$g().has(i)));s(this,"_iOSKeyupListener",i=>{let a=i.target;!a.value&&a.selectionStart===0&&a.selectionEnd===0&&(a.setSelectionRange(1,1),a.setSelectionRange(0,0))});s(this,"_webkitBlinkWheelListener",()=>{});var d;let i=k(_d,{optional:!0}),a=k(Mm,{optional:!0}),r=k(dm),o=k(tk,{optional:!0,self:!0}),l=this._elementRef.nativeElement,c=l.nodeName.toLowerCase();o?Us(o.value)?this._signalBasedValueAccessor=o:this._inputValueAccessor=o: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 _w(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&&yx(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}get disabled(){return this._disabled}set disabled(i){this._disabled=Rr(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(Im.required))??!1}set required(i){this._required=Rr(i)}get type(){return this._type}set type(i){let a=this._type;this._type=i||"text",this._validateType(),!this._isTextarea&&$g().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=Rr(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(){xoe.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"),o;if(r){let l=this._formFieldDescribedBy||i;o=i.concat(r.split(" ").filter(c=>c&&!l.includes(c)))}else o=i;this._formFieldDescribedBy=i,o.length?a.setAttribute("aria-describedby",o.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}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",xe({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&&(nn("id",a.id)("disabled",a.disabled&&!a.disabledInteractive)("required",a.required),be("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),Ge("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",Be]},exportAs:["matInput"],features:[ci([{provide:km,useExisting:t}]),oi]}));let e=t;return e})(),koe=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵmod",xt({type:t})),s(t,"ɵinj",_t({imports:[qt,eo,eo,_oe,qt]}));let e=t;return e})(),Soe=(e,t)=>({text:e,file:t});function Eoe(e,t){if(e&1){let n=Je();O(0,"mat-chip",11),ce("removed",function(){ve(n);let i=j();return ye(i.selectedFile=void 0)}),q(1),le(2,"mat-icon",12),N()}if(e&2){let n=j();ae("removable",!0),D(),Me(" ",(n.selectedFile==null?null:n.selectedFile.name)||"No file selected"," ")}}function Coe(e,t){if(e&1){let n=Je();O(0,"mat-chip",6)(1,"label",13),q(2),Y(3,"translate"),N(),O(4,"input",14),ce("change",function(i){ve(n);let a=j();return ye(a.fileChanged(i))}),N()()}e&2&&(D(2),Me(" ",ee(3,1,"diaryNotesPage.add-note-dialog.file-upload-button")," "))}function Doe(e,t){e&1&&(O(0,"mat-error",8),q(1),Y(2,"translate"),N()),e&2&&(D(),Le(ee(2,1,"diaryNotesPage.add-note-dialog.file-size-error")))}var Ioe=(()=>{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=Ee({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","cancel"],["for","file-upload"],["tabindex","0","id","file-upload","type","file","accept",".jpeg, .pdf, .png, .tiff, .jpg",3,"change"]],template:function(i,a){i&1&&(O(0,"h2",0),q(1),Y(2,"translate"),N(),O(3,"mat-dialog-content")(4,"div",1)(5,"label",2),q(6),Y(7,"translate"),N(),O(8,"mat-form-field",3)(9,"textarea",4),Oa("ngModelChange",function(r){return Qa(a.inputtedData,r)||(a.inputtedData=r),r}),N(),O(10,"mat-hint"),q(11),Y(12,"translate"),N()()(),O(13,"div")(14,"h3"),q(15),Y(16,"translate"),N(),ue(17,Eoe,3,2,"mat-chip",5)(18,Coe,5,3,"mat-chip",6),O(19,"div")(20,"mat-hint",7),q(21),Y(22,"translate"),N(),ue(23,Doe,3,3,"mat-error",8),N(),le(24,"div"),N()(),O(25,"mat-dialog-actions")(26,"button",9),q(27),Y(28,"translate"),N(),O(29,"button",10),q(30),Y(31,"translate"),N()()),i&2&&(D(),Le(ee(2,14,"diaryNotesPage.add-note-dialog.title")),D(5),Le(ee(7,16,"diaryNotesPage.add-note-dialog.field-description")),D(3),Ta("ngModel",a.inputtedData),D(2),Zs(" ",a.inputtedData.length,"/319 ",ee(12,18,"diaryNotesPage.add-note-dialog.character-counter")," "),D(4),Le(ee(16,20,"diaryNotesPage.add-note-dialog.file-upload-title")),D(2),de(a.selectedFile?17:18),D(4),Le(ee(22,22,"diaryNotesPage.add-note-dialog.file-info")),D(2),de(a.showSizeError?23:-1),D(4),Me(" ",ee(28,24,"diaryNotesPage.add-note-dialog.cancel")," "),D(2),ae("disabled",!a.showSizeError)("disabled",a.inputtedData.length===0)("mat-dialog-close",aZ(28,Soe,a.inputtedData,a.selectedFile)),D(),Me(" ",ee(31,26,"diaryNotesPage.add-note-dialog.confirm")," "))},dependencies:[xm,gd,sn,Ph,wm,zw,h1,vd,t1,u1,Rm,_m,ik,xd,Tn,On,Ed,ek,bm],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})(),Aoe=(()=>{const t=class t{constructor(){this.translate=k(rn),this.cdRef=k(Pt),this.destroyRef=k(Pi),this.result="",this.translate.onLangChange.pipe(Vo(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?G1.getExtension(i):"unknown";return this.translate.instant("commons.file")+"_"+(a+1)+"."+r}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=Io({name:"attachementFilename",type:t,pure:!0});let e=t;return e})(),Km=(()=>{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,o)=>{o===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=Io({name:"firstLetterUppercase",type:t,pure:!0});let e=t;return e})();function Toe(e,t){return this._trackRow(t)}var ak=(e,t)=>t.id;function Ooe(e,t){if(e&1&&(O(0,"tr",0)(1,"td",3),q(2),N()()),e&2){let n=j();D(),ad("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),be("colspan",n.numCols),D(),Me(" ",n.label," ")}}function Noe(e,t){if(e&1&&(O(0,"td",3),q(1),N()),e&2){let n=j(2);ad("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),be("colspan",n._firstRowOffset),D(),Me(" ",n._firstRowOffset>=n.labelMinRequiredCells?n.label:""," ")}}function Roe(e,t){if(e&1){let n=Je();O(0,"td",6)(1,"button",7),ce("click",function(i){let a=ve(n).$implicit,r=j(2);return ye(r._cellClicked(a,i))})("focus",function(i){let a=ve(n).$implicit,r=j(2);return ye(r._emitActiveDateChange(a,i))}),O(2,"span",8),q(3),N(),le(4,"span",9),N()()}if(e&2){let n=t.$implicit,i=t.$index,a=j().$index,r=j();ad("width",r._cellWidth)("padding-top",r._cellPadding)("padding-bottom",r._cellPadding),be("data-mat-row",a)("data-mat-col",i),D(),Ge("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)),ae("ngClass",n.cssClasses)("tabindex",r._isActiveCell(a,i)?0:-1),be("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(),Ge("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(),Me(" ",n.displayValue," ")}}function Moe(e,t){if(e&1&&(O(0,"tr",1),ue(1,Noe,2,6,"td",4),Si(2,Roe,5,48,"td",5,ak),N()),e&2){let n=t.$implicit,i=t.$index,a=j();D(),de(i===0&&a._firstRowOffset?1:-1),D(),Ei(n)}}function Poe(e,t){if(e&1&&(O(0,"th",2)(1,"span",6),q(2),N(),O(3,"span",3),q(4),N()()),e&2){let n=t.$implicit;D(2),Le(n.long),D(2),Le(n.narrow)}}var Foe=["*"];function Loe(e,t){}function Voe(e,t){if(e&1){let n=Je();O(0,"mat-month-view",4),Oa("activeDateChange",function(i){ve(n);let a=j();return Qa(a.activeDate,i)||(a.activeDate=i),ye(i)}),ce("_userSelection",function(i){ve(n);let a=j();return ye(a._dateSelected(i))})("dragStarted",function(i){ve(n);let a=j();return ye(a._dragStarted(i))})("dragEnded",function(i){ve(n);let a=j();return ye(a._dragEnded(i))}),N()}if(e&2){let n=j();Ta("activeDate",n.activeDate),ae("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 zoe(e,t){if(e&1){let n=Je();O(0,"mat-year-view",5),Oa("activeDateChange",function(i){ve(n);let a=j();return Qa(a.activeDate,i)||(a.activeDate=i),ye(i)}),ce("monthSelected",function(i){ve(n);let a=j();return ye(a._monthSelectedInYearView(i))})("selectedChange",function(i){ve(n);let a=j();return ye(a._goToDateInView(i,"month"))}),N()}if(e&2){let n=j();Ta("activeDate",n.activeDate),ae("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)}}function joe(e,t){if(e&1){let n=Je();O(0,"mat-multi-year-view",6),Oa("activeDateChange",function(i){ve(n);let a=j();return Qa(a.activeDate,i)||(a.activeDate=i),ye(i)}),ce("yearSelected",function(i){ve(n);let a=j();return ye(a._yearSelectedInMultiYearView(i))})("selectedChange",function(i){ve(n);let a=j();return ye(a._goToDateInView(i,"year"))}),N()}if(e&2){let n=j();Ta("activeDate",n.activeDate),ae("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)}}function Boe(e,t){}var Hoe=["button"],$oe=[[["","matDatepickerToggleIcon",""]]],Uoe=["[matDatepickerToggleIcon]"];function Goe(e,t){e&1&&(Za(),O(0,"svg",2),le(1,"path",3),N())}var rs=(()=>{const t=class t{constructor(){s(this,"changes",new re);s(this,"calendarLabel","Calendar");s(this,"openCalendarLabel","Open calendar");s(this,"closeCalendarLabel","Close calendar");s(this,"prevMonthLabel","Previous month");s(this,"nextMonthLabel","Next month");s(this,"prevYearLabel","Previous year");s(this,"nextYearLabel","Next year");s(this,"prevMultiYearLabel","Previous 24 years");s(this,"nextMultiYearLabel","Next 24 years");s(this,"switchToMonthViewLabel","Choose date");s(this,"switchToMultiYearViewLabel","Choose month and year");s(this,"startDateLabel","Start date");s(this,"endDateLabel","End date");s(this,"comparisonDateLabel","Comparison range")}formatYearRange(i,a){return`${i} – ${a}`}formatYearRangeLabel(i,a){return`${i} to ${a}`}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵprov",G({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),qoe=0,Zm=class{constructor(e,t,n,i,a={},r=e,o){s(this,"value");s(this,"displayValue");s(this,"ariaLabel");s(this,"enabled");s(this,"cssClasses");s(this,"compareValue");s(this,"rawValue");s(this,"id",qoe++);this.value=e,this.displayValue=t,this.ariaLabel=n,this.enabled=i,this.cssClasses=a,this.compareValue=r,this.rawValue=o}},Woe={passive:!1,capture:!0},wl={passive:!0,capture:!0},ay={passive:!0},Gr=(()=>{const t=class t{constructor(){s(this,"_elementRef",k(Pe));s(this,"_ngZone",k(Ie));s(this,"_platform",k(Ft));s(this,"_intl",k(rs));s(this,"_eventCleanups");s(this,"_skipNextFocus");s(this,"_focusActiveCellAfterViewChecked",!1);s(this,"label");s(this,"rows");s(this,"todayValue");s(this,"startValue");s(this,"endValue");s(this,"labelMinRequiredCells");s(this,"numCols",7);s(this,"activeCell",0);s(this,"isRange",!1);s(this,"cellAspectRatio",1);s(this,"comparisonStart");s(this,"comparisonEnd");s(this,"previewStart",null);s(this,"previewEnd",null);s(this,"startDateAccessibleName");s(this,"endDateAccessibleName");s(this,"selectedValueChange",new se);s(this,"previewChange",new se);s(this,"activeDateChange",new se);s(this,"dragStarted",new se);s(this,"dragEnded",new se);s(this,"_firstRowOffset");s(this,"_cellPadding");s(this,"_cellWidth");s(this,"_startDateLabelId");s(this,"_endDateLabelId");s(this,"_comparisonStartDateLabelId");s(this,"_comparisonEndDateLabelId");s(this,"_didDragSinceMouseDown",!1);s(this,"_injector",k(lt));s(this,"comparisonDateAccessibleName",this._intl.comparisonDateLabel);s(this,"_trackRow",i=>i);s(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}))}});s(this,"_touchmoveHandler",i=>{if(!this.isRange)return;let a=ny(i),r=a?this._getCellFromElement(a):null;a!==i.target&&(this._didDragSinceMouseDown=!0),Ou(i.target)&&i.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:r!=null&&r.enabled?r:null,event:i}))});s(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})))});s(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})})});s(this,"_mouseupHandler",i=>{if(!this.isRange)return;let a=Ou(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})})});s(this,"_touchendHandler",i=>{let a=ny(i);a&&this._mouseupHandler({target:a})});let i=k(Zi),a=k(di);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-"),k(Di).load(Mo),this._ngZone.runOutsideAngular(()=>{let r=this._elementRef.nativeElement,o=[ai(i,r,"touchmove",this._touchmoveHandler,Woe),ai(i,r,"mouseenter",this._enterHandler,wl),ai(i,r,"focus",this._enterHandler,wl),ai(i,r,"mouseleave",this._leaveHandler,wl),ai(i,r,"blur",this._leaveHandler,wl),ai(i,r,"mousedown",this._mousedownHandler,ay),ai(i,r,"touchstart",this._mousedownHandler,ay)];this._platform.isBrowser&&o.push(i.listen("window","mouseup",this._mouseupHandler),i.listen("window","touchend",this._touchendHandler)),this._eventCleanups=o})}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:o}=this;(i.rows||a)&&(this._firstRowOffset=r&&r.length&&r[0].length?o-r[0].length:0),(i.cellAspectRatio||a||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/o}%`),(a||!this._cellWidth)&&(this._cellWidth=`${100/o}%`)}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 Nu(i,this.startValue,this.endValue)}_isRangeEnd(i){return Ru(i,this.startValue,this.endValue)}_isInRange(i){return Mu(i,this.startValue,this.endValue,this.isRange)}_isComparisonStart(i){return Nu(i,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(i,a,r){if(!this._isComparisonStart(i)||this._isRangeStart(i)||!this._isInRange(i))return!1;let o=this.rows[a][r-1];if(!o){let l=this.rows[a-1];o=l&&l[l.length-1]}return o&&!this._isRangeEnd(o.compareValue)}_isComparisonBridgeEnd(i,a,r){if(!this._isComparisonEnd(i)||this._isRangeEnd(i)||!this._isInRange(i))return!1;let o=this.rows[a][r+1];if(!o){let l=this.rows[a+1];o=l&&l[0]}return o&&!this._isRangeStart(o.compareValue)}_isComparisonEnd(i){return Ru(i,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(i){return Mu(i,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(i){return this.comparisonStart===this.comparisonEnd&&i===this.comparisonStart}_isPreviewStart(i){return Nu(i,this.previewStart,this.previewEnd)}_isPreviewEnd(i){return Ru(i,this.previewStart,this.previewEnd)}_isInPreview(i){return Mu(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=Ou(i);if(a){let r=a.getAttribute("data-mat-row"),o=a.getAttribute("data-mat-col");if(r&&o)return this.rows[parseInt(r)][parseInt(o)]}return null}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Ee({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:[oi],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&&(ue(0,Ooe,3,6,"tr",0),Si(1,Moe,4,1,"tr",1,Toe,!0),O(3,"span",2),q(4),N(),O(5,"span",2),q(6),N(),O(7,"span",2),q(8),N(),O(9,"span",2),q(10),N()),i&2&&(de(a._firstRowOffset<a.labelMinRequiredCells?0:-1),D(),Ei(a.rows),D(2),ae("id",a._startDateLabelId),D(),Me(" ",a.startDateAccessibleName,`
|
|
49
|
+
`),D(),ae("id",a._endDateLabelId),D(),Me(" ",a.endDateAccessibleName,`
|
|
50
|
+
`),D(),ae("id",a._comparisonStartDateLabelId),D(),Zs(" ",a.comparisonDateAccessibleName," ",a.startDateAccessibleName,`
|
|
51
|
+
`),D(),ae("id",a._comparisonEndDateLabelId),D(),Zs(" ",a.comparisonDateAccessibleName," ",a.endDateAccessibleName,`
|
|
52
|
+
`))},dependencies:[Ao],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}}
|
|
53
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})();function Tu(e){return(e==null?void 0:e.nodeName)==="TD"}function Ou(e){var n;let t;return Tu(e)?t=e:Tu(e.parentNode)?t=e.parentNode:Tu((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 Nu(e,t,n){return n!==null&&t!==n&&e<n&&e===t}function Ru(e,t,n){return t!==null&&t!==n&&e>=t&&e===n}function Mu(e,t,n,i){return i&&t!==null&&n!==null&&t!==n&&e>=t&&e<=n}function ny(e){let t=e.changedTouches[0];return document.elementFromPoint(t.clientX,t.clientY)}var Sa=class{constructor(e,t){s(this,"start");s(this,"end");s(this,"_disableStructuralEquivalency");this.start=e,this.end=t}},ro=(()=>{const t=class t{constructor(i,a){s(this,"selection");s(this,"_adapter");s(this,"_selectionChanged",new re);s(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)}};s(t,"ɵfac",function(i){YW()}),s(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})(),Yoe=(()=>{const t=class t extends ro{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}};s(t,"ɵfac",function(i){return new(i||t)(me(Vi))}),s(t,"ɵprov",G({token:t,factory:t.ɵfac}));let e=t;return e})();function Koe(e,t){return e||new Yoe(t)}var nk={provide:ro,deps:[[new kb,new Sb,ro],Vi],useFactory:Koe},rk=new B("MAT_DATE_RANGE_SELECTION_STRATEGY"),Pu=7,Zoe=0,ry=(()=>{const t=class t{constructor(){s(this,"_changeDetectorRef",k(Pt));s(this,"_dateFormats",k(es,{optional:!0}));s(this,"_dateAdapter",k(Vi,{optional:!0}));s(this,"_dir",k(Fi,{optional:!0}));s(this,"_rangeStrategy",k(rk,{optional:!0}));s(this,"_rerenderSubscription",ot.EMPTY);s(this,"_selectionKeyPressed");s(this,"_activeDate");s(this,"_selected");s(this,"_minDate");s(this,"_maxDate");s(this,"dateFilter");s(this,"dateClass");s(this,"comparisonStart");s(this,"comparisonEnd");s(this,"startDateAccessibleName");s(this,"endDateAccessibleName");s(this,"activeDrag",null);s(this,"selectedChange",new se);s(this,"_userSelection",new se);s(this,"dragStarted",new se);s(this,"dragEnded",new se);s(this,"activeDateChange",new se);s(this,"_matCalendarBody");s(this,"_monthLabel");s(this,"_weeks");s(this,"_firstWeekOffset");s(this,"_rangeStart");s(this,"_rangeEnd");s(this,"_comparisonRangeStart");s(this,"_comparisonRangeEnd");s(this,"_previewStart");s(this,"_previewEnd");s(this,"_isRange");s(this,"_todayDate");s(this,"_weekdays");k(Di).load(dr),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 Sa?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(Ri(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),o,l;this._selected instanceof Sa?(o=this._getDateInCurrentMonth(this._selected.start),l=this._getDateInCurrentMonth(this._selected.end)):o=l=this._getDateInCurrentMonth(this._selected),(o!==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&&!vi(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=(Pu+this._dateAdapter.getDayOfWeek(i)-this._dateAdapter.getFirstDayOfWeek())%Pu,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(i){this._matCalendarBody._focusActiveCell(i)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:i,value:a}){var r,o;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=(o=(r=this._rangeStrategy).createDrag)==null?void 0:o.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 o=(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:o??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((o,l)=>({long:o,narrow:a[l],id:Zoe++}));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,o=this._firstWeekOffset;r<i;r++,o++){o==Pu&&(this._weeks.push([]),o=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 Zm(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),o=this._dateAdapter.getDate(i);return new Date(a,r,o).getTime()}return null}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setRanges(i){i instanceof Sa?(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}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Ee({type:t,selectors:[["mat-month-view"]],viewQuery:function(i,a){if(i&1&&pt(Gr,5),i&2){let r;Te(r=Oe())&&(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:[oi],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&&(O(0,"table",0)(1,"thead",1)(2,"tr"),Si(3,Poe,5,2,"th",2,ak),N(),O(5,"tr",3),le(6,"th",4),N()(),O(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)}),N()()),i&2&&(D(3),Ei(a._weekdays),D(4),ae("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:[Gr],encapsulation:2,changeDetection:0}));let e=t;return e})(),_a=24,sy=4,oy=(()=>{const t=class t{constructor(){s(this,"_changeDetectorRef",k(Pt));s(this,"_dateAdapter",k(Vi,{optional:!0}));s(this,"_dir",k(Fi,{optional:!0}));s(this,"_rerenderSubscription",ot.EMPTY);s(this,"_selectionKeyPressed");s(this,"_activeDate");s(this,"_selected");s(this,"_minDate");s(this,"_maxDate");s(this,"dateFilter");s(this,"dateClass");s(this,"selectedChange",new se);s(this,"yearSelected",new se);s(this,"activeDateChange",new se);s(this,"_matCalendarBody");s(this,"_years");s(this,"_todayYear");s(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),sk(this._dateAdapter,a,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(i){i instanceof Sa?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(Ri(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());let i=this._dateAdapter.getYear(this._activeDate)-Ds(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let a=0,r=[];a<_a;a++)r.push(i+a),r.length==sy&&(this._years.push(r.map(o=>this._createCellForYear(o))),r=[]);this._changeDetectorRef.markForCheck()}_yearSelected(i){let a=i.value,r=this._dateAdapter.createDate(a,0,1),o=this._getDateFromYear(a);this.yearSelected.emit(r),this.selectedChange.emit(o)}_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,sy);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Ds(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,_a-Ds(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?_a*10:_a);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 Ds(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),o=this.dateClass?this.dateClass(a,"multi-year"):void 0;return new Zm(i,r,r,this._shouldEnableYear(i),o)}_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 Sa){let a=i.start||i.end;a&&(this._selectedYear=this._dateAdapter.getYear(a))}else i&&(this._selectedYear=this._dateAdapter.getYear(i))}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Ee({type:t,selectors:[["mat-multi-year-view"]],viewQuery:function(i,a){if(i&1&&pt(Gr,5),i&2){let r;Te(r=Oe())&&(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&&(O(0,"table",0)(1,"thead",1)(2,"tr"),le(3,"th",2),N()(),O(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)}),N()()),i&2&&(D(4),ae("rows",a._years)("todayValue",a._todayYear)("startValue",a._selectedYear)("endValue",a._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",a._getActiveCell()))},dependencies:[Gr],encapsulation:2,changeDetection:0}));let e=t;return e})();function sk(e,t,n,i,a){let r=e.getYear(t),o=e.getYear(n),l=ok(e,i,a);return Math.floor((r-l)/_a)===Math.floor((o-l)/_a)}function Ds(e,t,n,i){let a=e.getYear(t);return Xoe(a-ok(e,n,i),_a)}function ok(e,t,n){let i=0;return n?i=e.getYear(n)-_a+1:t&&(i=e.getYear(t)),i}function Xoe(e,t){return(e%t+t)%t}var ly=(()=>{const t=class t{constructor(){s(this,"_changeDetectorRef",k(Pt));s(this,"_dateFormats",k(es,{optional:!0}));s(this,"_dateAdapter",k(Vi,{optional:!0}));s(this,"_dir",k(Fi,{optional:!0}));s(this,"_rerenderSubscription",ot.EMPTY);s(this,"_selectionKeyPressed");s(this,"_activeDate");s(this,"_selected");s(this,"_minDate");s(this,"_maxDate");s(this,"dateFilter");s(this,"dateClass");s(this,"selectedChange",new se);s(this,"monthSelected",new se);s(this,"activeDateChange",new se);s(this,"_matCalendarBody");s(this,"_months");s(this,"_yearLabel");s(this,"_todayMonth");s(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 Sa?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(Ri(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 o=this._getDateFromMonth(a);this.selectedChange.emit(o)}_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),o=this._dateAdapter.format(r,this._dateFormats.display.monthYearA11yLabel),l=this.dateClass?this.dateClass(r,"year"):void 0;return new Zm(i,a.toLocaleUpperCase(),o,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 o=r;this._dateAdapter.getMonth(o)==i;o=this._dateAdapter.addCalendarDays(o,1))if(this.dateFilter(o))return!0;return!1}_isYearAndMonthAfterMaxDate(i,a){if(this.maxDate){let r=this._dateAdapter.getYear(this.maxDate),o=this._dateAdapter.getMonth(this.maxDate);return i>r||i===r&&a>o}return!1}_isYearAndMonthBeforeMinDate(i,a){if(this.minDate){let r=this._dateAdapter.getYear(this.minDate),o=this._dateAdapter.getMonth(this.minDate);return i<r||i===r&&a<o}return!1}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setSelectedMonth(i){i instanceof Sa?this._selectedMonth=this._getMonthInCurrentYear(i.start)||this._getMonthInCurrentYear(i.end):this._selectedMonth=this._getMonthInCurrentYear(i)}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Ee({type:t,selectors:[["mat-year-view"]],viewQuery:function(i,a){if(i&1&&pt(Gr,5),i&2){let r;Te(r=Oe())&&(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&&(O(0,"table",0)(1,"thead",1)(2,"tr"),le(3,"th",2),N()(),O(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)}),N()()),i&2&&(D(4),ae("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:[Gr],encapsulation:2,changeDetection:0}));let e=t;return e})(),lk=(()=>{const t=class t{constructor(){s(this,"_intl",k(rs));s(this,"calendar",k(Yh));s(this,"_dateAdapter",k(Vi,{optional:!0}));s(this,"_dateFormats",k(es,{optional:!0}));s(this,"_periodButtonLabelId",k(di).getId("mat-calendar-period-label-"));k(Di).load(dr);let i=k(Pt);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:_a)}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):sk(this._dateAdapter,i,a,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){let i=this._dateAdapter.getYear(this.calendar.activeDate)-Ds(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),a=i+_a-1,r=this._dateAdapter.getYearName(this._dateAdapter.createDate(i,0,1)),o=this._dateAdapter.getYearName(this._dateAdapter.createDate(a,0,1));return[r,o]}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Ee({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:Foe,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&&(Ci(),O(0,"div",0)(1,"div",1)(2,"span",2),q(3),N(),O(4,"button",3),ce("click",function(){return a.currentPeriodClicked()}),O(5,"span",4),q(6),N(),Za(),O(7,"svg",5),le(8,"polygon",6),N()(),Ju(),le(9,"div",7),nt(10),O(11,"button",8),ce("click",function(){return a.previousClicked()}),Za(),O(12,"svg",9),le(13,"path",10),N()(),Ju(),O(14,"button",11),ce("click",function(){return a.nextClicked()}),Za(),O(15,"svg",9),le(16,"path",12),N()()()()),i&2&&(D(2),ae("id",a._periodButtonLabelId),D(),Le(a.periodButtonDescription),D(),be("aria-label",a.periodButtonLabel)("aria-describedby",a._periodButtonLabelId),D(2),Le(a.periodButtonText),D(),Ge("mat-calendar-invert",a.calendar.currentView!=="month"),D(4),ae("disabled",!a.previousEnabled()),be("aria-label",a.prevButtonLabel),D(3),ae("disabled",!a.nextEnabled()),be("aria-label",a.nextButtonLabel))},dependencies:[Tn,ns],encapsulation:2,changeDetection:0}));let e=t;return e})(),Yh=(()=>{const t=class t{constructor(){s(this,"_dateAdapter",k(Vi,{optional:!0}));s(this,"_dateFormats",k(es,{optional:!0}));s(this,"_changeDetectorRef",k(Pt));s(this,"_elementRef",k(Pe));s(this,"headerComponent");s(this,"_calendarHeaderPortal");s(this,"_intlChanges");s(this,"_moveFocusOnNextTick",!1);s(this,"_startAt");s(this,"startView","month");s(this,"_selected");s(this,"_minDate");s(this,"_maxDate");s(this,"dateFilter");s(this,"dateClass");s(this,"comparisonStart");s(this,"comparisonEnd");s(this,"startDateAccessibleName");s(this,"endDateAccessibleName");s(this,"selectedChange",new se);s(this,"yearSelected",new se);s(this,"monthSelected",new se);s(this,"viewChanged",new se(!0));s(this,"_userSelection",new se);s(this,"_userDragDrop",new se);s(this,"monthView");s(this,"yearView");s(this,"multiYearView");s(this,"_clampedActiveDate");s(this,"_currentView");s(this,"_activeDrag",null);s(this,"stateChanges",new re);this._intlChanges=k(rs).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 Sa?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 Cn(this.headerComponent||lk),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,o=a||r||i.dateFilter;if(o&&!o.firstChange){let l=this._getCurrentViewComponent();l&&(this._elementRef.nativeElement.contains(Nr())&&(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 Sa||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}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Ee({type:t,selectors:[["mat-calendar"]],viewQuery:function(i,a){if(i&1&&(pt(ry,5),pt(ly,5),pt(oy,5)),i&2){let r;Te(r=Oe())&&(a.monthView=r.first),Te(r=Oe())&&(a.yearView=r.first),Te(r=Oe())&&(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:[ci([nk]),oi],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&&(ue(0,Loe,0,0,"ng-template",0),O(1,"div",1),ue(2,Voe,1,11,"mat-month-view",2)(3,zoe,1,6,"mat-year-view",3)(4,joe,1,6,"mat-multi-year-view",3),N()),i&2){let r;ae("cdkPortalOutlet",a._calendarHeaderPortal),D(2),de((r=a.currentView)==="month"?2:r==="year"?3:r==="multi-year"?4:-1)}},dependencies:[rr,GQ,ry,ly,oy],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:""}
|
|
54
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),ck=new B("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{let e=k(ui);return()=>e.scrollStrategies.reposition()}});function Qoe(e){return()=>e.scrollStrategies.reposition()}var Joe={provide:ck,deps:[ui],useFactory:Qoe},dk=(()=>{const t=class t{constructor(){s(this,"_elementRef",k(Pe));s(this,"_animationsDisabled",k(Li,{optional:!0})==="NoopAnimations");s(this,"_changeDetectorRef",k(Pt));s(this,"_globalModel",k(ro));s(this,"_dateAdapter",k(Vi));s(this,"_ngZone",k(Ie));s(this,"_rangeSelectionStrategy",k(rk,{optional:!0}));s(this,"_stateChanges");s(this,"_model");s(this,"_eventCleanups");s(this,"_animationFallback");s(this,"_calendar");s(this,"color");s(this,"datepicker");s(this,"comparisonStart");s(this,"comparisonEnd");s(this,"startDateAccessibleName");s(this,"endDateAccessibleName");s(this,"_isAbove");s(this,"_animationDone",new re);s(this,"_isAnimating",!1);s(this,"_closeButtonText");s(this,"_closeButtonFocused");s(this,"_actionsPortal",null);s(this,"_dialogLabelId");s(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(k(Di).load(dr),this._closeButtonText=k(rs).closeCalendarLabel,!this._animationsDisabled){let i=this._elementRef.nativeElement,a=k(Zi);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,o=a instanceof Sa;if(o&&this._rangeSelectionStrategy){let l=this._rangeSelectionStrategy.selectionFinished(r,a,i.event);this._model.updateSelection(l,this)}else r&&(o||!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()}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Ee({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(i,a){if(i&1&&pt(Yh,5),i&2){let r;Te(r=Oe())&&(a._calendar=r.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:6,hostBindings:function(i,a){i&2&&(Hr(a.color?"mat-"+a.color:""),Ge("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&&(O(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)}),N(),ue(2,Boe,0,0,"ng-template",2),O(3,"button",3),ce("focus",function(){return a._closeButtonFocused=!0})("blur",function(){return a._closeButtonFocused=!1})("click",function(){return a.datepicker.close()}),q(4),N()()),i&2){let r;Ge("mat-datepicker-content-container-with-custom-header",a.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",a._actionsPortal),be("aria-modal",!0)("aria-labelledby",(r=a._dialogLabelId)!==null&&r!==void 0?r:void 0),D(),Hr(a.datepicker.panelClass),ae("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(),ae("cdkPortalOutlet",a._actionsPortal),D(),Ge("cdk-visually-hidden",!a._closeButtonFocused),ae("color",a.color||"primary"),D(),Le(a._closeButtonText)}},dependencies:[oJ,Yh,rr,Tn],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}}
|
|
55
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),cy=(()=>{const t=class t{constructor(){s(this,"_overlay",k(ui));s(this,"_viewContainerRef",k(An));s(this,"_dateAdapter",k(Vi,{optional:!0}));s(this,"_dir",k(Fi,{optional:!0}));s(this,"_model",k(ro));s(this,"_scrollStrategy",k(ck));s(this,"_inputStateChanges",ot.EMPTY);s(this,"_document",k(Ze));s(this,"calendarHeaderComponent");s(this,"_startAt");s(this,"startView","month");s(this,"_color");s(this,"touchUi",!1);s(this,"_disabled");s(this,"xPosition","start");s(this,"yPosition","below");s(this,"restoreFocus",!0);s(this,"yearSelected",new se);s(this,"monthSelected",new se);s(this,"viewChanged",new se(!0));s(this,"dateClass");s(this,"openedStream",new se);s(this,"closedStream",new se);s(this,"_panelClass");s(this,"_opened",!1);s(this,"id",k(di).getId("mat-datepicker-"));s(this,"_overlayRef");s(this,"_componentRef");s(this,"_focusedElementBeforeOpen",null);s(this,"_backdropHarnessClass",`${this.id}-backdrop`);s(this,"_actionsPortal");s(this,"datepickerInput");s(this,"stateChanges",new re);s(this,"_injector",k(lt));s(this,"_changeDetectorRef",k(Pt));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=wJ(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 Aw&&(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=Nr(),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:o,location:l}=this._componentRef;o._animationDone.pipe(fi(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()}),o._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 Cn(dk,this._viewContainerRef),r=this._overlayRef=this._overlay.create(new Po({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(o=>{o&&o.preventDefault(),this.close()}),r.keydownEvents().subscribe(o=>{let l=o.keyCode;(l===38||l===40||l===37||l===39||l===33||l===34)&&o.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",o=this.yPosition==="above"?"bottom":"top",l=o==="top"?"bottom":"top";return i.withPositions([{originX:a,originY:l,overlayX:a,overlayY:o},{originX:a,originY:o,overlayX:a,overlayY:l},{originX:r,originY:l,overlayX:r,overlayY:o},{originX:r,originY:o,overlayX:r,overlayY:l}])}_getCloseStream(i){let a=["ctrlKey","shiftKey","metaKey"];return $i(i.backdropClick(),i.detachments(),i.keydownEvents().pipe(Qt(r=>r.keyCode===27&&!vi(r)||this.datepickerInput&&vi(r,"altKey")&&r.keyCode===38&&a.every(o=>!vi(r,o)))))}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",xe({type:t,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[2,"touchUi","touchUi",Be],disabled:[2,"disabled","disabled",Be],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[2,"restoreFocus","restoreFocus",Be],dateClass:"dateClass",panelClass:"panelClass",opened:[2,"opened","opened",Be]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[oi]}));let e=t;return e})(),ele=(()=>{const t=class t extends cy{};s(t,"ɵfac",(()=>{let i;return function(a){return(i||(i=li(t)))(a||t)}})()),s(t,"ɵcmp",Ee({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[ci([nk,{provide:cy,useExisting:t}]),Ot],decls:0,vars:0,template:function(i,a){},encapsulation:2,changeDetection:0}));let e=t;return e})(),kl=class{constructor(e,t){s(this,"target");s(this,"targetElement");s(this,"value");this.target=e,this.targetElement=t,this.value=this.target.value}},tle=(()=>{const t=class t{constructor(){s(this,"_elementRef",k(Pe));s(this,"_dateAdapter",k(Vi,{optional:!0}));s(this,"_dateFormats",k(es,{optional:!0}));s(this,"_isInitialized");s(this,"_model");s(this,"_disabled");s(this,"dateChange",new se);s(this,"dateInput",new se);s(this,"stateChanges",new re);s(this,"_onTouched",()=>{});s(this,"_validatorOnChange",()=>{});s(this,"_cvaOnChange",()=>{});s(this,"_valueChangesSubscription",ot.EMPTY);s(this,"_localeSubscription",ot.EMPTY);s(this,"_pendingValue");s(this,"_parseValidator",()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}});s(this,"_filterValidator",i=>{let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i.value));return!a||this._matchesFilter(a)?null:{matDatepickerFilter:!0}});s(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}}});s(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}}});s(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 kl(this,this._elementRef.nativeElement)),this.dateChange.emit(new kl(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(i){ile(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"];vi(i,"altKey")&&i.keyCode===40&&a.every(r=>!vi(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 o=!this._dateAdapter.sameDate(r,this.value);!r||o?this._cvaOnChange(r):(i&&!this.value&&this._cvaOnChange(r),a!==this._lastValueValid&&this._validatorOnChange()),o&&(this._assignValue(r),this.dateInput.emit(new kl(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new kl(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)}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",xe({type:t,inputs:{value:"value",disabled:[2,"disabled","disabled",Be]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[oi]}));let e=t;return e})();function ile(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 ale={provide:Sm,useExisting:Ja(()=>Xm),multi:!0},nle={provide:Fo,useExisting:Ja(()=>Xm),multi:!0},Xm=(()=>{const t=class t extends tle{constructor(){super();s(this,"_formField",k(fd,{optional:!0}));s(this,"_closedSubscription",ot.EMPTY);s(this,"_openedSubscription",ot.EMPTY);s(this,"_datepicker");s(this,"_ariaOwns",xa(null));s(this,"_min");s(this,"_max");s(this,"_dateFilter");s(this,"_validator");this._validator=Im.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}};s(t,"ɵfac",function(a){return new(a||t)}),s(t,"ɵdir",xe({type:t,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(a,r){a&1&&ce("input",function(o){return r._onInput(o.target.value)})("change",function(){return r._onChange()})("blur",function(){return r._onBlur()})("keydown",function(o){return r._onKeydown(o)}),a&2&&(nn("disabled",r.disabled),be("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:[ci([ale,nle,{provide:tk,useExisting:t}]),Ot]}));let e=t;return e})(),rle=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵdir",xe({type:t,selectors:[["","matDatepickerToggleIcon",""]]}));let e=t;return e})(),uk=(()=>{const t=class t{constructor(){s(this,"_intl",k(rs));s(this,"_changeDetectorRef",k(Pt));s(this,"_stateChanges",ot.EMPTY);s(this,"datepicker");s(this,"tabIndex");s(this,"ariaLabel");s(this,"_disabled");s(this,"disableRipple");s(this,"_customIcon");s(this,"_button");let i=k(new Ap("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:mt(),a=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:mt(),r=this.datepicker?$i(this.datepicker.openedStream,this.datepicker.closedStream):mt();this._stateChanges.unsubscribe(),this._stateChanges=$i(this._intl.changes,i,a,r).subscribe(()=>this._changeDetectorRef.markForCheck())}};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵcmp",Ee({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(i,a,r){if(i&1&&ni(r,rle,5),i&2){let o;Te(o=Oe())&&(a._customIcon=o.first)}},viewQuery:function(i,a){if(i&1&&pt(Hoe,5),i&2){let r;Te(r=Oe())&&(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&&(be("tabindex",null)("data-mat-calendar",a.datepicker?a.datepicker.id:null),Ge("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",Be],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[oi],ngContentSelectors:Uoe,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&&(Ci($oe),O(0,"button",1,0),ue(2,Goe,2,0,":svg:svg",2),nt(3),N()),i&2&&(ae("disabled",a.disabled)("disableRipple",a.disableRipple),be("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),de(a._customIcon?-1:2))},dependencies:[ns],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}}
|
|
56
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),sle=(()=>{const t=class t{};s(t,"ɵfac",function(i){return new(i||t)}),s(t,"ɵmod",xt({type:t})),s(t,"ɵinj",_t({providers:[rs,Joe],imports:[xd,md,fw,Qs,qt,dk,uk,lk,fc]}));let e=t;return e})();function ole(e,t){e&1&&(O(0,"mat-error"),q(1),Y(2,"translate"),N()),e&2&&(D(),Le(ee(2,1,"commons.errors.invalid_date_format")))}function lle(e,t){e&1&&(O(0,"mat-error"),q(1),Y(2,"translate"),N()),e&2&&(D(),Le(ee(2,1,"diaryNotesPage.filters.errFrom")))}function cle(e,t){e&1&&(O(0,"mat-error"),q(1),Y(2,"translate"),N()),e&2&&(D(),Le(ee(2,1,"commons.errors.invalid_date_format")))}function dle(e,t){e&1&&(O(0,"mat-error"),q(1),Y(2,"translate"),N()),e&2&&(D(),Le(ee(2,1,"diaryNotesPage.filters.errUntil")))}function ule(e,t){e&1&&le(0,"mat-option",18)}function hle(e,t){if(e&1&&(O(0,"mat-option",19),q(1),N()),e&2){let n=t.$implicit;nd("value",n),be("translate","no"),D(),Le(n)}}function ple(e,t){if(e&1){let n=Je();O(0,"button",21),Y(1,"translate"),Y(2,"translate"),ce("click",function(i){ve(n);let a=j(2);return a.filter.author="",ye(i.stopPropagation())}),le(3,"mat-icon",22),N()}e&2&&(ae("title",ee(1,2,"diaryNotesPage.filters.deleteSelection")),be("aria-label",ee(2,4,"diaryNotesPage.filters.deleteSelection")))}function mle(e,t){if(e&1){let n=Je();O(0,"div",6)(1,"label",16),q(2),Y(3,"translate"),N(),O(4,"mat-form-field",8)(5,"mat-select",17),Oa("ngModelChange",function(i){ve(n);let a=j();return Qa(a.filter.author,i)||(a.filter.author=i),ye(i)}),ue(6,ule,1,0,"mat-option",18),Si(7,hle,2,3,"mat-option",19,la),N(),ue(9,ple,4,6,"button",20),N()()}if(e&2){let n=j();D(2),Le(ee(3,4,"diaryNotesPage.filters.author")),D(3),Ta("ngModel",n.filter.author),D(),de(n.filter.author?6:-1),D(),Ei(t),D(2),de(n.filter.author?9:-1)}}function fle(e,t){e&1&&le(0,"mat-option",18)}function gle(e,t){if(e&1&&(O(0,"mat-option",19),q(1),Y(2,"translate"),Y(3,"firstLetterUppercase"),N()),e&2){let n=t.$implicit;nd("value",n),be("translate","no"),D(),Me("",ee(3,5,ee(2,3,"commons.roles."+n.toLowerCase()))," ")}}function vle(e,t){if(e&1){let n=Je();O(0,"button",26),Y(1,"translate"),Y(2,"translate"),ce("click",function(i){ve(n);let a=j(2);return a.filter.role=void 0,ye(i.stopPropagation())}),le(3,"mat-icon",22),N()}e&2&&(ae("title",ee(1,2,"diaryNotesPage.filters.deleteSelection")),be("aria-label",ee(2,4,"diaryNotesPage.filters.deleteSelection")))}function yle(e,t){if(e&1){let n=Je();O(0,"div",6)(1,"label",23),q(2),Y(3,"translate"),N(),O(4,"mat-form-field",8)(5,"mat-select",24),Oa("ngModelChange",function(i){ve(n);let a=j();return Qa(a.filter.role,i)||(a.filter.role=i),ye(i)}),ue(6,fle,1,0,"mat-option",18),Si(7,gle,4,7,"mat-option",19,la),N(),ue(9,vle,4,6,"button",25),N()()}if(e&2){let n=j();D(2),Le(ee(3,4,"diaryNotesPage.filters.role")),D(3),Ta("ngModel",n.filter.role),D(),de(n.filter.role?6:-1),D(),Ei(t),D(2),de(n.filter.role?9:-1)}}function ble(e,t){if(e&1&&(O(0,"mat-option",19),q(1),Y(2,"translate"),Y(3,"firstLetterUppercase"),N()),e&2){let n=t.$implicit;nd("value",n),D(),Me(" ",ee(3,4,ee(2,2,"commons.tags."+n.toLowerCase()))," ")}}function _le(e,t){if(e&1){let n=Je();O(0,"button",26),Y(1,"translate"),Y(2,"translate"),ce("click",function(i){ve(n);let a=j(2);return a.filter.tags=[],ye(i.stopPropagation())}),le(3,"mat-icon",22),N()}e&2&&(ae("title",ee(1,2,"diaryNotesPage.filters.deleteSelection")),be("aria-label",ee(2,4,"diaryNotesPage.filters.deleteSelection")))}function xle(e,t){if(e&1){let n=Je();O(0,"div",6)(1,"label",27),q(2),Y(3,"translate"),N(),O(4,"mat-form-field",8)(5,"mat-select",28),Oa("ngModelChange",function(i){ve(n);let a=j();return Qa(a.filter.tags,i)||(a.filter.tags=i),ye(i)}),Si(6,ble,4,6,"mat-option",19,la),N(),ue(8,_le,4,6,"button",25),N()()}if(e&2){let n=j();D(2),Le(ee(3,3,"diaryNotesPage.filters.tags")),D(3),Ta("ngModel",n.filter.tags),D(),Ei(t),D(2),de((n.filter==null||n.filter.tags==null?null:n.filter.tags.length)>0?8:-1)}}var wle=(()=>{const t=class t{constructor(){this.translateService=k(rn),this.dateAdapter=k(Vi),this.destroyRef=k(Pi),this.data=k(Mw),this.today=new Date,this.filter={dateRange:{from:null,until:null}},this.setActiveFilters=i=>{this.filter=Qe(Z({},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(K$()).subscribe(this.setActiveFilters),this.translateService.onLangChange.pipe(Vo(this.destroyRef)).subscribe(({lang:i})=>{this.dateAdapter.setLocale(i)})}onSelectFromDate(i){this.filter.dateRange.from=i.value}onSelectUntilDate(i){this.filter.dateRange.until=i.value}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ee({type:t,selectors:[["ng-component"]],decls:40,vars:33,consts:[["dateRangeFrom","ngModel"],["fromPicker",""],["dateRangeUntil","ngModel"],["untilPicker",""],["mat-dialog-title",""],[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,"startAt"],["for","untilDate"],["id","untilDate","matInput","","name","untilPicker","placeholder","dd/mm/yyyy",3,"ngModelChange","dateChange","ngModel","matDatepicker","min","max"],["mat-button","","mat-dialog-close",""],["mat-flat-button","","type","button",3,"disabled","mat-dialog-close"],["for","author"],["id","author","name","author",3,"ngModelChange","ngModel"],["value",""],[3,"value"],["matSuffix","","mat-icon-button","","matSuffix","","mat-icon-button","",3,"title"],["matSuffix","","mat-icon-button","","matSuffix","","mat-icon-button","",3,"click","title"],["aria-hidden","true","fontIcon","close"],["for","role"],["id","role","name","role",3,"ngModelChange","ngModel"],["matSuffix","","mat-icon-button","",3,"title"],["matSuffix","","mat-icon-button","",3,"click","title"],["for","tags"],["id","tags","name","tags","multiple","",3,"ngModelChange","ngModel"]],template:function(i,a){if(i&1){let r=Je();O(0,"h2",4),q(1),Y(2,"translate"),N(),O(3,"mat-dialog-content")(4,"form")(5,"div",5)(6,"div",6)(7,"label",7),q(8),Y(9,"translate"),N(),O(10,"mat-form-field",8)(11,"input",9,0),Oa("ngModelChange",function(o){return ve(r),Qa(a.filter.dateRange.from,o)||(a.filter.dateRange.from=o),ye(o)}),ce("dateChange",function(o){return ve(r),ye(a.onSelectFromDate(o))}),N(),le(13,"mat-datepicker-toggle",10)(14,"mat-datepicker",11,1),ue(16,ole,3,3,"mat-error")(17,lle,3,3,"mat-error"),N()(),O(18,"div",6)(19,"label",12),q(20),Y(21,"translate"),N(),O(22,"mat-form-field",8)(23,"input",13,2),Oa("ngModelChange",function(o){return ve(r),Qa(a.filter.dateRange.until,o)||(a.filter.dateRange.until=o),ye(o)}),ce("dateChange",function(o){return ve(r),ye(a.onSelectUntilDate(o))}),N(),le(25,"mat-datepicker-toggle",10)(26,"mat-datepicker",11,3),ue(28,cle,3,3,"mat-error")(29,dle,3,3,"mat-error"),N()()(),ue(30,mle,10,6,"div",6)(31,yle,10,6,"div",6)(32,xle,9,5,"div",6),N()(),O(33,"mat-dialog-actions")(34,"button",14),q(35),Y(36,"translate"),N(),O(37,"button",15),q(38),Y(39,"translate"),N()()}if(i&2){let r,o,l,c=vn(12),d=vn(15),u=vn(24),m=vn(27);D(),Le(ee(2,23,"diaryNotesPage.filters.filter")),D(7),Le(ee(9,25,"diaryNotesPage.filters.from")),D(3),Ta("ngModel",a.filter.dateRange.from),ae("matDatepicker",d)("max",a.filter.dateRange.until?a.filter.dateRange.until:a.today),D(2),ae("for",d),D(),ae("startAt",a.today),D(2),de(c.hasError("matDatepickerParse")?16:c.hasError("matDatepickerMax")?17:-1),D(4),Le(ee(21,27,"diaryNotesPage.filters.until")),D(3),Ta("ngModel",a.filter.dateRange.until),ae("matDatepicker",m)("min",a.filter.dateRange.from)("max",a.today),D(2),ae("for",m),D(),ae("startAt",a.today),D(2),de(u.hasError("matDatepickerParse")?28:u.hasError("matDatepickerMin")?29:-1),D(2),de((r=a.authors)?30:-1,r),D(),de((o=a.roles)?31:-1,o),D(),de((l=a.tags)?32:-1,l),D(3),Me(" ",ee(36,29,"diaryNotesPage.cancel")," "),D(2),ae("disabled",c.invalid||u.invalid)("mat-dialog-close",a.filter),D(),Me(" ",ee(39,31,"diaryNotesPage.confirm")," ")}},dependencies:[xm,gd,uk,ele,Pm,ud,wm,bm,h1,Pte,vd,t1,vte,Rm,_d,ns,Xm,ik,_m,xee,eo,zw,Xee,koe,sle,m1,Rh,xd,Tn,sn,Km,On,Dre],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})();function kle(e,t){if(e&1){let n=Je();O(0,"mat-chip",4),ce("removed",function(){ve(n);let i=j(2);return ye(i.onClearFilter("author"))}),q(1),Y(2,"translate"),O(3,"span"),q(4),Y(5,"firstLetterUppercase"),N(),le(6,"mat-icon",5),N()}if(e&2){let n=j(),i=j();ae("removable",!0)("disabled",i.disabled),D(),Me(" ",ee(2,5,"diaryNotesPage.filters.author"),": "),D(2),be("translate","no"),D(),Le(ee(5,7,n.author))}}function Sle(e,t){if(e&1){let n=Je();O(0,"mat-chip",4),ce("removed",function(){ve(n);let i=j(2);return ye(i.onClearFilter("role"))}),q(1),Y(2,"translate"),O(3,"span"),q(4),Y(5,"translate"),Y(6,"firstLetterUppercase"),N(),le(7,"mat-icon",5),N()}if(e&2){let n=j(),i=j();ae("removable",!0)("disabled",i.disabled),D(),Me(" ",ee(2,5,"diaryNotesPage.filters.role"),": "),D(2),be("translate","no"),D(),Me("",ee(6,9,ee(5,7,"commons.roles."+n.role.toLowerCase()))," ")}}function Ele(e,t){e&1&&q(0," , ")}function Cle(e,t){if(e&1&&(q(0),Y(1,"translate"),Y(2,"firstLetterUppercase"),ue(3,Ele,1,0)),e&2){let n=t.$implicit,i=t.$index,a=t.$count;Me(" ",ee(2,4,ee(1,2,"commons.tags."+n.toLowerCase()))," "),D(3),de(i!==a-1?3:-1)}}function Dle(e,t){if(e&1){let n=Je();O(0,"mat-chip",4),ce("removed",function(){ve(n);let i=j(2);return ye(i.onClearFilter("tags"))}),q(1),Y(2,"translate"),O(3,"span"),Si(4,Cle,4,6,null,null,la),N(),le(6,"mat-icon",5),N()}if(e&2){let n=j(),i=j();ae("removable",!0)("disabled",i.disabled),D(),Me(" ",ee(2,4,"diaryNotesPage.filters.tags"),":"),D(2),be("translate","no"),D(),Ei(n==null?null:n.tags)}}function Ile(e,t){if(e&1){let n=Je();O(0,"mat-chip",4),ce("removed",function(){ve(n);let i=j(2);return ye(i.onClearFilter("range"))}),q(1),Y(2,"translate"),Y(3,"date"),Y(4,"translate"),Y(5,"date"),le(6,"mat-icon",5),N()}if(e&2){let n=j(),i=j();ae("removable",!0)("disabled",i.disabled),D(),cx(" ",ee(2,6,"diaryNotesPage.filters.from")," : ",$r(3,8,n==null?null:n.dateRange.from,"dd/MM/yyyy")," ",ee(4,11,"diaryNotesPage.filters.until")," : ",$r(5,13,n==null?null:n.dateRange.until,"dd/MM/yyyy")," ")}}function Ale(e,t){if(e&1&&(O(0,"mat-chip-set")(1,"div"),ue(2,kle,7,9,"mat-chip",3)(3,Sle,8,11,"mat-chip",3)(4,Dle,7,6,"mat-chip",3)(5,Ile,7,16,"mat-chip",3),N()()),e&2){let n=t;D(2),de(n!=null&&n.author&&n.author!==""?2:-1),D(),de(n!=null&&n.role&&n.role!==""?3:-1),D(),de(n!=null&&n.tags&&n.tags.length>0?4:-1),D(),de(n.dateRange.from&&n!=null&&n.dateRange.until?5:-1)}}var Tle=(()=>{const t=class t{constructor(){this.diarynoteService=k(no),this.destroyRef=k(Pi),this.dialog=k(ts),this.activeFilters$=this.diarynoteService.filterState$.pipe(Ul({refCount:!0,bufferSize:1}))}onShowFilterDialog(){this.dialog.open(wle,{data:{filterOptions:this.filterOptions,activeFilters$:this.activeFilters$}}).beforeClosed().pipe(Qt(i=>i),Vo(this.destroyRef)).subscribe(i=>{this.diarynoteService.updateFilter(this.services,i)})}onClearFilter(i){this.diarynoteService.clearFilterByKey(this.services,i)}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ee({type:t,selectors:[["vidis-diarynotes-filter-block"]],inputs:{filterOptions:"filterOptions",services:"services",disabled:"disabled"},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","cancel"]],template:function(i,a){if(i&1&&(O(0,"div",0)(1,"button",1),ce("click",function(){return a.onShowFilterDialog()}),le(2,"mat-icon",2),q(3),Y(4,"translate"),N(),ue(5,Ale,6,4,"mat-chip-set"),Y(6,"async"),N()),i&2){let r;D(),ae("disabled",a.disabled),D(2),Me(" ",ee(4,3,"diaryNotesPage.filters.filter")," "),D(2),de((r=ee(6,5,a.activeFilters$))?5:-1,r)}},dependencies:[sn,Km,Tx,Ax,Tn,On,goe,Ed,ek,foe],styles:[".filter-container[_ngcontent-%COMP%]{margin-bottom:1rem;display:flex;align-items:center}"]});let e=t;return e})(),Ole=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ee({type:t,selectors:[["ng-component"]],decls:14,vars:14,consts:[["mat-dialog-title",""],["mat-button","","type","button",3,"mat-dialog-close"],["mat-flat-button","","type","button",3,"mat-dialog-close"]],template:function(i,a){i&1&&(O(0,"h2",0),q(1),Y(2,"translate"),N(),O(3,"mat-dialog-content")(4,"p"),q(5),Y(6,"translate"),N()(),O(7,"mat-dialog-actions")(8,"button",1),q(9),Y(10,"translate"),N(),O(11,"button",2),q(12),Y(13,"translate"),N()()),i&2&&(D(),Le(ee(2,6,"diaryNotesPage.delete-dialog.title")),D(4),Le(ee(6,8,"diaryNotesPage.delete-dialog.message")),D(3),ae("mat-dialog-close",!1),D(),Me(" ",ee(10,10,"diaryNotesPage.delete-dialog.cancel")," "),D(2),ae("mat-dialog-close",!0),D(),Me(" ",ee(13,12,"diaryNotesPage.delete-dialog.confirm")," "))},dependencies:[xm,wm,sn,Tn,bm,_m],encapsulation:2});let e=t;return e})(),hk=e=>({"strike-through":e}),Nle=e=>({count:e});function Rle(e,t){if(e&1&&(O(0,"span",1),q(1),Y(2,"translate"),N()),e&2){let n=j().$implicit;D(),Zs("",ee(2,2,"diaryNotesPage.table.error")," ( ",n.id," )")}}function Mle(e,t){if(e&1&&(O(0,"mat-chip",7),q(1),Y(2,"translate"),N()),e&2){let n=t.$implicit;ae("disableRipple",!0),D(),Me(" ",ee(2,2,"commons.tags."+n)," ")}}function Ple(e,t){if(e&1&&(le(0,"dt",6),O(1,"dd")(2,"mat-chip-set"),Si(3,Mle,3,4,"mat-chip",7,la),N()()),e&2){let n=j(2).$implicit;D(3),Ei(n.tags)}}function Fle(e,t){if(e&1){let n=Je();O(0,"mat-chip",10),ce("click",function(){let i=ve(n).$index,a=j(3).$implicit,r=j();return ye(r.onDownloadFile(a,i))}),le(1,"mat-icon",11),q(2),Y(3,"attachementFilename"),N()}if(e&2){let n=t.$implicit,i=t.$index;D(2),Me(" ",$r(3,1,n.contentType,i)," ")}}function Lle(e,t){if(e&1&&(O(0,"dt"),q(1),Y(2,"translate"),N(),O(3,"dd",8),Si(4,Fle,4,4,"mat-chip",9,la),N()),e&2){let n=j(2).$implicit,i=j();D(),Le($r(2,2,"diaryNotesPage.table.attachment",lc(5,Nle,n.attachments.length))),D(2),ae("ngClass",lc(7,hk,!i.diaryNoteCompleted(n.status))),D(),Ei(n.attachments)}}function Vle(e,t){if(e&1){let n=Je();O(0,"dl"),ue(1,Ple,5,0),O(2,"dt"),q(3),Y(4,"translate"),N(),O(5,"dd"),q(6),Y(7,"date"),N(),O(8,"dt"),q(9),Y(10,"translate"),N(),O(11,"dd"),q(12),Y(13,"firstLetterUppercase"),Y(14,"firstLetterUppercase"),Y(15,"translate"),Y(16,"firstLetterUppercase"),N(),O(17,"dt"),q(18),Y(19,"translate"),N(),le(20,"dd",2),Y(21,"firstLetterUppercase"),ue(22,Lle,6,9),N(),O(23,"mat-card-actions",3)(24,"button",4),ce("click",function(){ve(n);let i=j().$implicit,a=j();return ye(a.onDeleteNote(i))}),le(25,"mat-icon",5),N()()}if(e&2){let n=j().$implicit,i=j();D(),de((n.tags==null?null:n.tags.length)>0?1:-1),D(2),Le(ee(4,12,"diaryNotesPage.table.date")),D(3),Le($r(7,14,n.creation,"dd/MM/yyyy")),D(3),Le(ee(10,17,"diaryNotesPage.table.author")),D(2),be("translate","no"),D(),lx(" ",ee(13,19,n.author.firstName)," ",ee(14,21,n.author.lastName)," (",ee(16,25,ee(15,23,"commons.roles."+n.author.role.toLowerCase())),") "),D(6),Le(ee(19,27,"diaryNotesPage.table.note")),D(2),ae("ngClass",lc(31,hk,!i.diaryNoteCompleted(n.status)))("innerHTML",ee(21,29,n.content),Dq),D(2),de((n.attachments==null?null:n.attachments.length)>0?22:-1)}}function zle(e,t){if(e&1&&(O(0,"mat-card")(1,"mat-card-content")(2,"div",0),ue(3,Rle,3,4,"span",1)(4,Vle,26,33),N()()()),e&2){let n=t.$implicit;D(3),de(n!=null&&n.error?3:4)}}var jle=(()=>{const t=class t{constructor(){this.diarynoteService=k(no),this.dialog=k(ts),this.destroyRef=k(Pi)}diaryNoteCompleted(i){return no.isDiaryNoteCompleted(i)}onDownloadFile(i,a){this.diarynoteService.downloadSpecificDiaryNoteAttachment(i.id,i.version,i.source,i.subject.ssin,a)}onDeleteNote(i){this.dialog.open(Ole).beforeClosed().pipe(Qt(a=>a),Vo(this.destroyRef)).subscribe(()=>{this.diarynoteService.deleteDiaryNote(this.services,i.id,i.version,i.source,i.subject.ssin)})}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ee({type:t,selectors:[["vidis-diarynotes-table"]],inputs:{diaryNoteDataItems:"diaryNoteDataItems",services:"services"},decls:2,vars:0,consts:[[1,"content-wrapper"],[1,"error-text"],[3,"ngClass","innerHTML"],["align","end"],["mat-icon-button","","aria-label","Delete",3,"click"],["fontIcon","delete"],[1,"no-colon"],[1,"mh-black","mh-no-overlay",3,"disableRipple"],[3,"ngClass"],["clickable",""],["clickable","",3,"click"],["aria-hidden","true","fontIcon","insert_drive_file"]],template:function(i,a){i&1&&Si(0,zle,5,1,"mat-card",null,la),i&2&&Ei(a.diaryNoteDataItems)},dependencies:[Ao,Tx,sn,Km,j1,B1,On,ns,Vre,Aoe,Ed],styles:['mat-card[_ngcontent-%COMP%]{margin-bottom:10px;box-sizing:border-box}.content-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}mat-card-actions[_ngcontent-%COMP%]{margin:0;padding:0;display:flex;align-items:center}.strike-through[_ngcontent-%COMP%], .strike-through[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{text-decoration:line-through!important}dl[_ngcontent-%COMP%]{display:grid;grid-template-columns:auto 1fr;column-gap:16px;row-gap:6px;align-items:center}dt[_ngcontent-%COMP%]{font-weight:700;margin:0;position:relative}dt[_ngcontent-%COMP%]:not(.no-colon):after{content:":";position:absolute;right:-8px}dd[_ngcontent-%COMP%]{margin:0}']});let e=t;return e})(),Ble=()=>[10,25,50],Hle=e=>({addNote:e}),$le=()=>({height:"47px",margin:"0"});function Ule(e,t){e&1&&(O(0,"div"),q(1,"Component not properly initialized!"),N())}function Gle(e,t){if(e&1){let n=Je();O(0,"div",2),le(1,"vidis-diarynotes-filter-block",5),O(2,"vidis-sort-dropdown",6),ce("sortDataChange",function(i){ve(n);let a=j(3);return ye(a.handleSortEvent(i))}),N()()}if(e&2){let n=j(),i=j(2);D(),ae("filterOptions",n.data==null?null:n.data.availableFilters)("services",i.services)("disabled",n.status===i.loadingStatus.LOADING),D(),ae("sortItems",i.sortDropdownData)("sortData",i.sortDataState())("disabled",n.status===i.loadingStatus.LOADING)}}function qle(e,t){if(e&1&&le(0,"vidis-status-message",3),e&2){let n=j();ae("error",n.error)}}function Wle(e,t){if(e&1&&le(0,"vidis-error-display",8),e&2){let n=t.$implicit;ae("message",n.code)}}function Yle(e,t){if(e&1&&Si(0,Wle,1,1,"vidis-error-display",8,la),e&2){let n=j(2);Ei(n.data==null?null:n.data.errors)}}function Kle(e,t){if(e&1){let n=Je();le(0,"vidis-diarynotes-table",9),O(1,"mat-paginator",10),Y(2,"async"),ce("page",function(i){ve(n);let a=j(4);return ye(a.handlePageEvent(i))}),N()}if(e&2){let n=j(2),i=j(2);ae("diaryNoteDataItems",n.data==null?null:n.data.items)("services",i.services),D(),ae("length",n.data==null?null:n.data.totalItems)("pageSize",ee(2,7,i.paginationState$).pageSize)("pageIndex",n.data==null?null:n.data.page)("pageSizeOptions",hx(9,Ble))("disabled",(n.data==null?null:n.data.totalItems)<=0)}}function Zle(e,t){e&1&&(O(0,"h3"),q(1),Y(2,"translate"),N(),O(3,"div",11)(4,"p",12),q(5),Y(6,"translate"),le(7,"br"),q(8),Y(9,"translate"),Y(10,"translate"),N(),O(11,"p",12),q(12),Y(13,"translate"),le(14,"br"),q(15),Y(16,"translate"),le(17,"br"),q(18),Y(19,"translate"),le(20,"br"),q(21),Y(22,"translate"),N()()),e&2&&(D(),Le(ee(2,7,"diaryNotesPage.noDiaryNotes")),D(4),Me(" ",ee(6,9,"diaryNotesPage.noNote.part1"),""),D(3),Me(" ",$r(10,13,"diaryNotesPage.noNote.part2",lc(24,Hle,ee(9,11,"diaryNotesPage.table.addNote")))," "),D(4),Me(" ",ee(13,16,"diaryNotesPage.noNote.part3")," :"),D(3),Me(" ",ee(16,18,"diaryNotesPage.noNote.part4"),""),D(3),Me(" ",ee(19,20,"diaryNotesPage.noNote.part5"),""),D(3),Me(" ",ee(22,22,"diaryNotesPage.noNote.part6")," "))}function Xle(e,t){if(e&1){let n=Je();O(0,"p",7)(1,"span"),q(2),Y(3,"translate"),N(),O(4,"button",13),ce("click",function(){ve(n);let i=j(4);return ye(i.clearAllFilters())}),q(5),Y(6,"translate"),N()()}e&2&&(D(2),Le(ee(3,2,"diaryNotesPage.filters.nonefound")),D(3),Me(" ",ee(6,4,"diaryNotesPage.filters.clearfilters")," "))}function Qle(e,t){if(e&1&&(ue(0,Yle,2,0)(1,Kle,3,10),Y(2,"async"),ue(3,Zle,23,26)(4,Xle,7,6,"p",7)),e&2){let n=j(),i=j(2);de(!(n.data==null||n.data.errors==null)&&n.data.errors.length?0:-1),D(),de((n.data==null?null:n.data.totalItems)>0?1:ee(2,2,i.isFilterEmpty$)?3:4)}}function Jle(e,t){e&1&&le(0,"ngx-skeleton-loader",4),e&2&&ae("count",10)("theme",hx(2,$le))}function ece(e,t){if(e&1){let n=Je();O(0,"div")(1,"button",0),ce("click",function(){ve(n);let i=j(2);return ye(i.onAddNote())}),O(2,"mat-icon",1),q(3,"add_circle"),N(),q(4),Y(5,"translate"),N()(),ue(6,Gle,3,6,"div",2),Y(7,"async"),ue(8,qle,1,1,"vidis-status-message",3)(9,Qle,5,4)(10,Jle,1,3,"ngx-skeleton-loader",4)}if(e&2){let n,i=t,a=j(2);D(),ae("disabled",i.status===a.loadingStatus.LOADING),D(3),Me(" ",ee(5,4,"diaryNotesPage.table.addNote")," "),D(2),de((i.data==null?null:i.data.totalItems)>0||ee(7,6,a.isFilterEmpty$)===!1?6:-1),D(2),de((n=i.status)===a.loadingStatus.ERROR?8:n===a.loadingStatus.SUCCESS?9:n===a.loadingStatus.LOADING?10:-1)}}function tce(e,t){if(e&1&&(ue(0,ece,11,8),Y(1,"async"),O(2,"span"),q(3),Y(4,"translate"),N()),e&2){let n,i=j();de((n=ee(1,2,i.diarynotesState$))?0:-1,n),D(3),Le(ee(4,4,"diaryNotesPage.disclaimer"))}}var ice=(()=>{const t=class t extends Are{constructor(){super(...arguments),this.dialog=k(ts),this.destroyRef=k(Pi),this.getTotalItems=new se,this.loadingStatus=Sn,this.sortDropdownData=["date","author","role"]}fetchData(i){return mi(this,null,function*(){return this.diarynoteService.fetchDiarynotes(this.services,i)})}onAddNote(){this.dialog.open(Ioe).beforeClosed().pipe(Qt(i=>i),Vo(this.destroyRef)).subscribe(i=>{this.diarynoteService.postDiarynote(this.services,i.text,i.file)})}clearAllFilters(){this.diarynoteService.clearFilter(this.services)}handlePageEvent(i){let a={page:i.pageIndex,pageSize:i.pageSize};this.diarynoteService.updatePagination(this.services,a)}handleSortEvent(i){this.diarynoteService.updateSorting(this.services,i)}injectService(){this.diarynoteService=this.injector.get(no),this.diarynotesState$=this.diarynoteService.diarynotesState$,this.paginationState$=this.diarynoteService.paginationState$,$c(this.injector,()=>{this.sortDataState=fre(this.diarynoteService.sortState$)}),this.isFilterEmpty$=this.diarynoteService.filterState$.pipe(vt(i=>!i.dateRange.from&&!i.dateRange.until&&!i.author&&!i.role&&(!i.tags||i.tags.length===0))),this.diarynoteService.diarynotesState$.pipe(vt(i=>{var a;return((a=i==null?void 0:i.data)==null?void 0:a.totalItems)??0})).subscribe(i=>this.getTotalItems.emit(i))}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=li(t)))(a||t)}})(),t.ɵcmp=Ee({type:t,selectors:[["ng-component"]],outputs:{getTotalItems:"getTotalItems"},features:[ci([no,Z1,X1,loe]),Ot],decls:2,vars:1,consts:[["mat-button","","color","primary",3,"click","disabled"],[1,"mr-2"],[1,"filter-container"],[3,"error"],[3,"count","theme"],[3,"filterOptions","services","disabled"],[3,"sortDataChange","sortItems","sortData","disabled"],[1,"text-center"],[3,"message"],[3,"diaryNoteDataItems","services"],["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&&ue(0,Ule,2,0,"div")(1,tce,5,6),i&2&&de(a.isCorrectlySetup()?1:0)},dependencies:[Eie,Tn,On,jle,Tle,Rre,Kre,Yre,sn,Ax,jre,Ire],styles:["@media only screen and (min-width: 960px){.filter-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}div[_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})(),pk={};Se(pk,{default:()=>ace,friday:()=>yk,monday:()=>mk,saturday:()=>bk,sunday:()=>_k,thursday:()=>vk,tuesday:()=>fk,wednesday:()=>gk});var mk="Montag",fk="Dienstag",gk="Mittwoch",vk="Donnerstag",yk="Freitag",bk="Samstag",_k="Sonntag",ace={monday:mk,tuesday:fk,wednesday:gk,thursday:vk,friday:yk,saturday:bk,sunday:_k},xk={};Se(xk,{default:()=>nce,friday:()=>Ck,monday:()=>wk,saturday:()=>Dk,sunday:()=>Ik,thursday:()=>Ek,tuesday:()=>kk,wednesday:()=>Sk});var wk="Monday",kk="Tuesday",Sk="Wednesday",Ek="Thursday",Ck="Friday",Dk="Saturday",Ik="Sunday",nce={monday:wk,tuesday:kk,wednesday:Sk,thursday:Ek,friday:Ck,saturday:Dk,sunday:Ik},Ak={};Se(Ak,{default:()=>rce,friday:()=>Mk,monday:()=>Tk,saturday:()=>Pk,sunday:()=>Fk,thursday:()=>Rk,tuesday:()=>Ok,wednesday:()=>Nk});var Tk="Lundi",Ok="Mardi",Nk="Mercredi",Rk="Jeudi",Mk="Vendredi",Pk="Samedi",Fk="Dimanche",rce={monday:Tk,tuesday:Ok,wednesday:Nk,thursday:Rk,friday:Mk,saturday:Pk,sunday:Fk},Lk={};Se(Lk,{default:()=>sce,friday:()=>Hk,monday:()=>Vk,saturday:()=>$k,sunday:()=>Uk,thursday:()=>Bk,tuesday:()=>zk,wednesday:()=>jk});var Vk="Maandag",zk="Dinsdag",jk="Woensdag",Bk="Donderdag",Hk="Vrijdag",$k="Zaterdag",Uk="Zondag",sce={monday:Vk,tuesday:zk,wednesday:jk,thursday:Bk,friday:Hk,saturday:$k,sunday:Uk},oce={nl:Lk,fr:Ak,de:pk,en:xk},Gk={};Se(Gk,{VIDIS_0035:()=>qk,VIDIS_0050:()=>Wk,VIDIS_0090:()=>Yk,VIDIS_0100:()=>Kk,VIDIS_0110:()=>Zk,VIDIS_0120:()=>Xk,VIDIS_0121:()=>Qk,VIDIS_0122:()=>Jk,VIDIS_0123:()=>eS,VIDIS_0124:()=>tS,VIDIS_0125:()=>iS,VIDIS_0126:()=>aS,VIDIS_0190:()=>nS,VIDIS_0200:()=>rS,VIDIS_0210:()=>sS,VIDIS_0211:()=>oS,VIDIS_0230:()=>lS,VIDIS_0290:()=>cS,VIDIS_0330:()=>dS,VIDIS_0340:()=>uS,VIDIS_0341:()=>hS,VIDIS_0400:()=>pS,VIDIS_0435:()=>mS,VIDIS_0440:()=>fS,VIDIS_5000:()=>gS,VIDIS_7000:()=>vS,default:()=>lce,general:()=>bS,invalid_date_format:()=>SS,myHealth:()=>xS,myHealthUrl:()=>wS,network_error:()=>kS,"no-access":()=>_S,prescriptionList:()=>yS,"status-message-content":()=>CS,"status-message-title":()=>ES});var qk="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",Wk="Die Patienten-INSS fehlt. (VIDIS_0050)",Yk="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",Kk="Der Benutzer ist für diesen Vorgang nicht autorisiert. (VIDIS_0100)",Zk="Der Patient hat keine informierte Einwilligung für den Austausch von Gesundheitsdaten erteilt. (VIDIS_0110)",Xk="Es besteht keine therapeutische Beziehung zwischen der Bezugsperson und dem Patienten. (VIDIS_0120)",Qk="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",Jk="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",eS="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",tS="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",iS="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",aS="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",nS="Ungültige INSS-Patientennummer. (VIDIS_0190)",rS="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen. (VIDIS_0200)",sS="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",oS="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",lS="Der Vorgang ist ungültig (VIDIS_0230)",cS='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',dS="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)",uS="Sie sind nicht berechtigt, die Daten dieses Patienten abzurufen, da Ihr Visum nicht aktiv ist. Bitte wenden Sie sich per E-Mail unter visa@health.belgium.be an den FÖD Gesundheit. (VIDIS_0340)",hS="Sie sind nicht berechtigt, die Daten dieses Patienten abzurufen, entweder weil Ihr Visum nicht aktiv ist, bitte wenden Sie sich in diesem Fall per E-Mail an den FÖD Gesundheit unter visa@health.belgium.be, oder weil die LIKIV-Nummer der Apotheke ungültig ist, bitte kontaktieren Sie in diesem Fall das LIKIV per E-Mail unter dossierpharma@riziv-inami.fgov.be. (VIDIS_0341)",pS="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später nochmal. (VIDIS_0400)",mS="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",fS="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",gS="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",vS="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",yS="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",bS="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",_S="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",xS="Zurück zum Portal Meine Gesundheit",wS="https://wwwint.meinegesundheit.belgien.be/#/",kS="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",SS="Ungültiges Datumsformat.",ES="Dienst vorübergehend nicht verfügbar",CS=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
|
|
57
|
+
Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.`,lce={VIDIS_0035:qk,VIDIS_0050:Wk,VIDIS_0090:Yk,VIDIS_0100:Kk,VIDIS_0110:Zk,VIDIS_0120:Xk,VIDIS_0121:Qk,VIDIS_0122:Jk,VIDIS_0123:eS,VIDIS_0124:tS,VIDIS_0125:iS,VIDIS_0126:aS,VIDIS_0190:nS,VIDIS_0200:rS,VIDIS_0210:sS,VIDIS_0211:oS,VIDIS_0230:lS,VIDIS_0290:cS,VIDIS_0330:dS,VIDIS_0340:uS,VIDIS_0341:hS,VIDIS_0400:pS,VIDIS_0435:mS,VIDIS_0440:fS,VIDIS_5000:gS,VIDIS_7000:vS,prescriptionList:yS,general:bS,"no-access":_S,myHealth:xS,myHealthUrl:wS,network_error:kS,invalid_date_format:SS,"status-message-title":ES,"status-message-content":CS},DS={};Se(DS,{VIDIS_0035:()=>IS,VIDIS_0050:()=>AS,VIDIS_0090:()=>TS,VIDIS_0100:()=>OS,VIDIS_0110:()=>NS,VIDIS_0120:()=>RS,VIDIS_0121:()=>MS,VIDIS_0122:()=>PS,VIDIS_0123:()=>FS,VIDIS_0124:()=>LS,VIDIS_0125:()=>VS,VIDIS_0126:()=>zS,VIDIS_0190:()=>jS,VIDIS_0200:()=>BS,VIDIS_0210:()=>HS,VIDIS_0211:()=>$S,VIDIS_0230:()=>US,VIDIS_0290:()=>GS,VIDIS_0330:()=>qS,VIDIS_0340:()=>WS,VIDIS_0341:()=>YS,VIDIS_0400:()=>KS,VIDIS_0435:()=>ZS,VIDIS_0440:()=>XS,VIDIS_5000:()=>QS,VIDIS_7000:()=>JS,default:()=>cce,general:()=>tE,invalid_date_format:()=>sE,myHealth:()=>aE,myHealthUrl:()=>nE,network_error:()=>rE,"no-access":()=>iE,prescriptionList:()=>eE,"status-message-content":()=>lE,"status-message-title":()=>oE});var IS="Unfortunately, this did not succeed. Please try again. (VIDIS_0035)",AS="The patient's NISS number is missing (VIDIS_0050)",TS="The personal information provided was not recognised. (VIDIS_0090)",OS="The user is not allowed to perform the operation. (VIDIS_0100)",NS="The patient did not give informed consent to share personal health information. (VIDIS_0110)",RS="There is no therapeutic relationship between the healthcare provider and the patient. (VIDIS_0120)",MS="Consulting data of a Brussels patient is currently not authorised.",PS="Consulting data of a Walloon patient is currently not authorised.",FS="Consulting data of a Brussels child by a parent is currently not authorised.",LS="Consulting data of a Walloon child by a parent is currently not authorised.",VS="Consulting data of a Brussels patient by a power of attorney is currently not authorised.",zS="Consulting data of a Walloon patient by a power of attorney is currently not authorised.",jS="The patient's NISS number is invalid. (VIDIS_0190)",BS="The user is not allowed to perform the operation because an exclusion exists between the applicant and the patient. (VIDIS_0200)",HS="The login was unsuccessful. Please try again. (VIDIS_0210)",$S="The login was unsuccessful. Please try again. (VIDIS_0211)",US="The request is invalid. (VIDIS_0230)",GS="User role must be citizen. (VIDIS_0290)",qS="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)",WS="You are not authorised to view this patient's data because your visa is not active. Please contact the FPS Health via the email address visa@health.fgov.be",YS="You are not authorised to view this patient's details because - or your visa is not active. Please contact the FPS Health via the email address visa@health.fgov.be - or the NIHDI number of the pharmacy is not valid. Please contact the NIHDI via the e-mail address dossierpharma@riziv-inami.fgov.be (VIDIS_0341)",KS="You request in invalid. Please try again later. (VIDIS_0400)",ZS="Cannot determine the storage region of the medication scheme. (VIDIS_0435)",XS="Unfortunately, this did not succeed. Please try again. (VIDIS_0440)",QS="Unfortunately your data could not be retrieved. Please try again. (VIDIS_5000)",JS="Unfortunately, this did not succeed. Please try again. (VIDIS_7000)",eE="Unfortunately the details of the prescription could not be retrieved. Please try again.",tE="An internal technical error has occured. Please try again later.",iE="An internal technical error has occured. Please try again later.",aE="Back to the MyHealth portal.",nE="https://www.myhealth.belgium.be/",rE="A network error unfortunately has occured. Please contact your network manager if the problem persists.",sE="Invalid date format.",oE="Service temporarily unavailable",lE=`We are currently having a problem connecting to the server.
|
|
58
|
+
Please try again later.`,cce={VIDIS_0035:IS,VIDIS_0050:AS,VIDIS_0090:TS,VIDIS_0100:OS,VIDIS_0110:NS,VIDIS_0120:RS,VIDIS_0121:MS,VIDIS_0122:PS,VIDIS_0123:FS,VIDIS_0124:LS,VIDIS_0125:VS,VIDIS_0126:zS,VIDIS_0190:jS,VIDIS_0200:BS,VIDIS_0210:HS,VIDIS_0211:$S,VIDIS_0230:US,VIDIS_0290:GS,VIDIS_0330:qS,VIDIS_0340:WS,VIDIS_0341:YS,VIDIS_0400:KS,VIDIS_0435:ZS,VIDIS_0440:XS,VIDIS_5000:QS,VIDIS_7000:JS,prescriptionList:eE,general:tE,"no-access":iE,myHealth:aE,myHealthUrl:nE,network_error:rE,invalid_date_format:sE,"status-message-title":oE,"status-message-content":lE},cE={};Se(cE,{VIDIS_0035:()=>dE,VIDIS_0050:()=>uE,VIDIS_0090:()=>hE,VIDIS_0100:()=>pE,VIDIS_0110:()=>mE,VIDIS_0120:()=>fE,VIDIS_0121:()=>gE,VIDIS_0122:()=>vE,VIDIS_0123:()=>yE,VIDIS_0124:()=>bE,VIDIS_0125:()=>_E,VIDIS_0126:()=>xE,VIDIS_0190:()=>wE,VIDIS_0200:()=>kE,VIDIS_0210:()=>SE,VIDIS_0211:()=>EE,VIDIS_0230:()=>CE,VIDIS_0290:()=>DE,VIDIS_0330:()=>IE,VIDIS_0340:()=>AE,VIDIS_0341:()=>TE,VIDIS_0400:()=>OE,VIDIS_0435:()=>NE,VIDIS_0440:()=>RE,VIDIS_5000:()=>ME,VIDIS_7000:()=>PE,default:()=>dce,general:()=>LE,invalid_date_format:()=>HE,myHealth:()=>zE,myHealthUrl:()=>jE,network_error:()=>BE,"no-access":()=>VE,prescriptionList:()=>FE,"status-message-content":()=>UE,"status-message-title":()=>$E});var dE="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0035)",uE="Le NISS du patient est manquant. (VIDIS_0050)",hE="Les informations personnelles fournies n'ont pas été reconnues. (VIDIS_0090)",pE="L’utilisateur n’est pas autorisé à effectuer l’opération. (VIDIS_0100)",mE="Le patient n’a pas donné son consentement éclairé pour partager des informations personnelles sur sa santé. (VIDIS_0110)",fE="Il n’y a pas de relation thérapeutique entre le soignant et le patient. (VIDIS_0120)",gE="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",vE="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",yE="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",bE="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",_E="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",xE="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",wE="Le NISS du patient n’est pas valide. (VIDIS_0190)",kE="L’utilisateur n’est pas autorisé à effectuer l’opération en raison d’une exclusion entre le demandeur et le patient. (VIDIS_0200)",SE="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0210)",EE="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0211)",CE="L’opération n’est pas valide. (VIDIS_0230)",DE="Le rôle d’utilisateur doit être citoyen (VIDIS_0290)",IE="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)",AE="Vous n’êtes pas autorisé à consulter les données de ce patient parce que votre visa n’est pas actif. Veuillez prendre contact avec le SPF Santé publique à l’adresse e-mail suivante : visa@health.belgium.be (VIDIS_0340)",TE="Vous n’êtes pas autorisé à consulter les données de ce patient. - Soit votre visa n’est pas actif. Veuillez prendre contact avec le SPF Santé publique via l’adresse e-mail suivante : visa@health.belgium.be - Soit le numéro INAMI de la pharmacie n’est pas valide. Veuillez dans ce cas contacter l’INAMI à l’adresse e-mail dossierpharma@riziv-inami.fgov.be (VIDIS_0341)",OE="Votre requête est invalide. Veuillez réessayer plus tard. (VIDIS_0400)",NE="Impossible de déterminer la région de stockage du schéma de médication. (VIDIS_0435)",RE="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0440)",ME="Malheureusement, nous n'avons pas pu récupérer vos données. Voulez-vous réessayer ? (VIDIS_5000)",PE="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_7000)",FE="Malheureusement, il n’a pas été possible de retrouver les détails de la prescription. Essayez-vous à nouveau?",LE="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",VE="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",zE="Revenir au portail MaSanté",jE="https://wwwint.masante.belgique.be/#/",BE="Désolé, une erreur réseau s'est produite. Veuillez contacter votre administrateur réseau si le problème persiste.",HE="Le format de date est invalide.",$E="Service temporairement indisponible",UE=`Nous rencontrons actuellement un problème de connexion au serveur.
|
|
59
|
+
Veuillez réessayer plus tard.`,dce={VIDIS_0035:dE,VIDIS_0050:uE,VIDIS_0090:hE,VIDIS_0100:pE,VIDIS_0110:mE,VIDIS_0120:fE,VIDIS_0121:gE,VIDIS_0122:vE,VIDIS_0123:yE,VIDIS_0124:bE,VIDIS_0125:_E,VIDIS_0126:xE,VIDIS_0190:wE,VIDIS_0200:kE,VIDIS_0210:SE,VIDIS_0211:EE,VIDIS_0230:CE,VIDIS_0290:DE,VIDIS_0330:IE,VIDIS_0340:AE,VIDIS_0341:TE,VIDIS_0400:OE,VIDIS_0435:NE,VIDIS_0440:RE,VIDIS_5000:ME,VIDIS_7000:PE,prescriptionList:FE,general:LE,"no-access":VE,myHealth:zE,myHealthUrl:jE,network_error:BE,invalid_date_format:HE,"status-message-title":$E,"status-message-content":UE},GE={};Se(GE,{VIDIS_0035:()=>qE,VIDIS_0050:()=>WE,VIDIS_0090:()=>YE,VIDIS_0100:()=>KE,VIDIS_0110:()=>ZE,VIDIS_0120:()=>XE,VIDIS_0121:()=>QE,VIDIS_0122:()=>JE,VIDIS_0123:()=>eC,VIDIS_0124:()=>tC,VIDIS_0125:()=>iC,VIDIS_0126:()=>aC,VIDIS_0190:()=>nC,VIDIS_0200:()=>rC,VIDIS_0210:()=>sC,VIDIS_0211:()=>oC,VIDIS_0230:()=>lC,VIDIS_0290:()=>cC,VIDIS_0330:()=>dC,VIDIS_0340:()=>uC,VIDIS_0341:()=>hC,VIDIS_0400:()=>pC,VIDIS_0435:()=>mC,VIDIS_0440:()=>fC,VIDIS_5000:()=>gC,VIDIS_7000:()=>vC,default:()=>uce,general:()=>bC,invalid_date_format:()=>SC,myHealth:()=>xC,myHealthUrl:()=>wC,network_error:()=>kC,"no-access":()=>_C,prescriptionList:()=>yC,"status-message-content":()=>CC,"status-message-title":()=>EC});var qE="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0035)",WE="Het INSZ-patiëntnummer ontbreekt. (VIDIS_0050)",YE="De persoonlijke informatie verstrekt werd niet herkend. (VIDIS_0090)",KE="De gebruiker mag de bewerking niet uitvoeren. (VIDIS_0100)",ZE="De patiënt heeft geen geïnformeerde toestemming gegeven om persoonlijke gezondheidsinformatie te delen. (VIDIS_0110)",XE="Er is geen therapeutische relatie tussen de zorgverlener en de patiënt. (VIDIS_0120)",QE="Het raadplegen van gegevens van een Brusselse patiënt is momenteel niet toegelaten.",JE="Het raadplegen van gegevens van een Waalse patiënt is op dit moment niet toegelaten.",eC="Het raadplegen van gegevens van een Brusselse kind door een ouder is momenteel niet toegelaten.",tC="Het raadplegen van gegevens van een Waalse kind door een ouder is momenteel niet toegelaten.",iC="Het raadplegen van gegevens van een Brusselse patiënt door een volmacht is momenteel niet toegelaten.",aC="Het raadplegen van gegevens van een Waalse patiënt door een volmacht is momenteel niet toegelaten.",nC="Het INSZ-patiëntnummer is ongeldig. (VIDIS_0190)",rC="De gebruiker mag de bewerking niet uitvoeren omdat er een uitsluiting bestaat tussen de aanvrager en de patiënt. (VIDIS_0200)",sC="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0210)",oC="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0211)",lC="Het verzoek is ongeldig. (VIDIS_0230)",cC="Gebruikersrol moet burger zijn. (VIDIS_0290)",dC="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)",uC="U bent niet bevoegd om de gegevens van deze patiënt te bekijken omdat uw visum niet actief is. Gelieve contact op te nemen met de FOD Volksgezondheid via het e-mailadres visa@health.fgov.be (VIDIS_0340)",hC="U bent niet bevoegd om de gegevens van deze patiënt te bekijken omdat - ofwel uw visum niet actief is. Gelieve contact op te nemen met de FOD Volksgezondheid via het e-mailadres visa@health.fgov.be - ofwel het RIZIV nummer van de apotheek niet geldig is. Gelieve contact op te nemen met het RIZIV via het e-mailadres dossierpharma@riziv-inami.fgov.be (VIDIS_0341)",pC="Uw aanvraag is ongeldig. Probeer het later opnieuw. (VIDIS_0400)",mC="Kan de opslagregio van het medicatieschema niet bepalen. (VIDIS_0435)",fC="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0440)",gC="Het is jammer genoeg niet gelukt uw gegevens op te halen. Probeert u het even opnieuw? (VIDIS_5000)",vC="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_7000)",yC="Het is jammer genoeg niet gelukt de details van het voorschrift op te halen. Probeert u het even opnieuw?",bC="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",_C="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",xC="Terug naar het MijnGezondheid portaal",wC="http://wwwint.mijngezondheid.belgie.be/",kC="Er is helaas een netwerkfout opgetreden. Neem contact op met uw netwerkbeheerder als het probleem aanhoudt.",SC="Ongeldig datumformaat.",EC="Service tijdelijk niet beschikbaar",CC=`Er is momenteel een probleem met de verbinding met de server.
|
|
60
|
+
Probeer het later nog eens.`,uce={VIDIS_0035:qE,VIDIS_0050:WE,VIDIS_0090:YE,VIDIS_0100:KE,VIDIS_0110:ZE,VIDIS_0120:XE,VIDIS_0121:QE,VIDIS_0122:JE,VIDIS_0123:eC,VIDIS_0124:tC,VIDIS_0125:iC,VIDIS_0126:aC,VIDIS_0190:nC,VIDIS_0200:rC,VIDIS_0210:sC,VIDIS_0211:oC,VIDIS_0230:lC,VIDIS_0290:cC,VIDIS_0330:dC,VIDIS_0340:uC,VIDIS_0341:hC,VIDIS_0400:pC,VIDIS_0435:mC,VIDIS_0440:fC,VIDIS_5000:gC,VIDIS_7000:vC,prescriptionList:yC,general:bC,"no-access":_C,myHealth:xC,myHealthUrl:wC,network_error:kC,invalid_date_format:SC,"status-message-title":EC,"status-message-content":CC},hce={nl:GE,fr:cE,de:Gk,en:DS},DC={};Se(DC,{close:()=>IC,default:()=>pce,downloadLeaflet:()=>AC,file:()=>TC});var IC="Schließen",AC="Download Packungsbeilage (pdf)",TC="feile",pce={close:IC,downloadLeaflet:AC,file:TC},OC={};Se(OC,{close:()=>NC,default:()=>mce,downloadLeaflet:()=>RC,file:()=>MC});var NC="Close",RC="Download leaflet (pdf)",MC="file",mce={close:NC,downloadLeaflet:RC,file:MC},PC={};Se(PC,{close:()=>FC,default:()=>fce,downloadLeaflet:()=>LC,file:()=>VC});var FC="Fermer",LC="Télécharger la notice (pdf)",VC="fichier",fce={close:FC,downloadLeaflet:LC,file:VC},zC={};Se(zC,{close:()=>jC,default:()=>gce,downloadLeaflet:()=>BC,file:()=>HC});var jC="Sluiten",BC="Download bijsluiter (pdf)",HC="bestand",gce={close:jC,downloadLeaflet:BC,file:HC},vce={nl:zC,fr:PC,de:DC,en:OC},$C={};Se($C,{default:()=>yce,firstPage:()=>UC,itemsPerPage:()=>YC,lstPage:()=>GC,nextPage:()=>qC,prevPage:()=>WC});var UC="Erste Seite",GC="Letzte Seite",qC="Nächste Seite",WC="Vorherige Seite",YC="Anzahl pro Seite",yce={firstPage:UC,lstPage:GC,nextPage:qC,prevPage:WC,itemsPerPage:YC},KC={};Se(KC,{default:()=>bce,firstPage:()=>ZC,itemsPerPage:()=>eD,lastPage:()=>XC,nextPage:()=>QC,prevPage:()=>JC});var ZC="First page",XC="Last page",QC="Next page",JC="Previous page",eD="Number per page",bce={firstPage:ZC,lastPage:XC,nextPage:QC,prevPage:JC,itemsPerPage:eD},tD={};Se(tD,{default:()=>_ce,firstPage:()=>iD,itemsPerPage:()=>sD,lastPage:()=>aD,nextPage:()=>nD,prevPage:()=>rD});var iD="Première page",aD="Dernière page",nD="Page suivante",rD="Page précédente",sD="Nombre par page",_ce={firstPage:iD,lastPage:aD,nextPage:nD,prevPage:rD,itemsPerPage:sD},oD={};Se(oD,{default:()=>xce,firstPage:()=>lD,itemsPerPage:()=>hD,lastPage:()=>cD,nextPage:()=>dD,prevPage:()=>uD});var lD="Eerste pagina",cD="Laatste pagina",dD="Volgende pagina",uD="Vorige pagina",hD="Aantal per pagina",xce={firstPage:lD,lastPage:cD,nextPage:dD,prevPage:uD,itemsPerPage:hD},wce={nl:oD,fr:tD,de:$C,en:KC},pD={};Se(pD,{afterbreakfast:()=>mD,afterdinner:()=>fD,afterlunch:()=>gD,aftermeal:()=>vD,afternoon:()=>yD,beforebreakfast:()=>bD,beforedinner:()=>_D,beforelunch:()=>xD,betweenbreakfastandlunch:()=>wD,betweendinnerandsleep:()=>kD,betweenlunchanddinner:()=>SD,betweenmeals:()=>ED,breakfast:()=>CD,default:()=>kce,dinner:()=>DD,duringbreakfast:()=>ID,duringdinner:()=>AD,duringlunch:()=>TD,evening:()=>OD,lunch:()=>ND,morning:()=>RD,night:()=>MD,thehourofsleep:()=>PD});var mD="nach dem Frühstück",fD="nach dem Abendessen",gD="nach dem Mittagessen",vD="nach dem Essen",yD="Nachmittag",bD="vor dem Frühstück",_D="vor dem Abendessen",xD="vor dem Mittagessen",wD="zwischen Frühstück und Mittagessen",kD="zwischen Abendessen und Nachtruhe",SD="zwischen Mittagessen und Abendessen",ED="zwischen den Mahlzeiten",CD="Frühstück",DD="Abendessen",ID="zum Frühstück",AD="zum Abendessen",TD="zum Mittagessen",OD="Abend",ND="Mittagessen",RD="Vormittag",MD="Nacht",PD="Nachtruhe",kce={afterbreakfast:mD,afterdinner:fD,afterlunch:gD,aftermeal:vD,afternoon:yD,beforebreakfast:bD,beforedinner:_D,beforelunch:xD,betweenbreakfastandlunch:wD,betweendinnerandsleep:kD,betweenlunchanddinner:SD,betweenmeals:ED,breakfast:CD,dinner:DD,duringbreakfast:ID,duringdinner:AD,duringlunch:TD,evening:OD,lunch:ND,morning:RD,night:MD,thehourofsleep:PD},FD={};Se(FD,{afterbreakfast:()=>LD,afterdinner:()=>VD,afterlunch:()=>zD,aftermeal:()=>jD,afternoon:()=>BD,beforebreakfast:()=>HD,beforedinner:()=>$D,beforelunch:()=>UD,betweenbreakfastandlunch:()=>GD,betweendinnerandsleep:()=>qD,betweenlunchanddinner:()=>WD,betweenmeals:()=>YD,breakfast:()=>KD,default:()=>Sce,dinner:()=>ZD,duringbreakfast:()=>XD,duringdinner:()=>QD,duringlunch:()=>JD,evening:()=>eI,lunch:()=>tI,morning:()=>iI,night:()=>aI,thehourofsleep:()=>nI});var LD="after breakfast",VD="after dinner",zD="after lunch",jD="after meal",BD="afternoon",HD="before breakfast",$D="before dinner",UD="before lunch",GD="between breakfast and lunch",qD="between dinner and the hour of sleep",WD="between lunch and dinner",YD="between meals",KD="breakfast",ZD="dinner",XD="during breakfast",QD="during dinner",JD="during lunch",eI="evening",tI="lunch",iI="morning",aI="night",nI="the hour of sleep",Sce={afterbreakfast:LD,afterdinner:VD,afterlunch:zD,aftermeal:jD,afternoon:BD,beforebreakfast:HD,beforedinner:$D,beforelunch:UD,betweenbreakfastandlunch:GD,betweendinnerandsleep:qD,betweenlunchanddinner:WD,betweenmeals:YD,breakfast:KD,dinner:ZD,duringbreakfast:XD,duringdinner:QD,duringlunch:JD,evening:eI,lunch:tI,morning:iI,night:aI,thehourofsleep:nI},rI={};Se(rI,{afterbreakfast:()=>sI,afterdinner:()=>oI,afterlunch:()=>lI,aftermeal:()=>cI,afternoon:()=>dI,beforebreakfast:()=>uI,beforedinner:()=>hI,beforelunch:()=>pI,betweenbreakfastandlunch:()=>mI,betweendinnerandsleep:()=>fI,betweenlunchanddinner:()=>gI,betweenmeals:()=>vI,breakfast:()=>yI,default:()=>Ece,dinner:()=>bI,duringbreakfast:()=>_I,duringdinner:()=>xI,duringlunch:()=>wI,evening:()=>kI,lunch:()=>SI,morning:()=>EI,night:()=>CI,thehourofsleep:()=>DI});var sI="après le petit-déjeuner",oI="après le repas du soir",lI="après le repas du midi",cI="après le repas",dI="après-midi",uI="avant le petit-déjeuner",hI="avant le repas du soir",pI="avant le repas du midi",mI="entre le petit-déjeuner et le repas du midi",fI="entre le repas du soir et l’heure du coucher",gI="entre le repas du midi et le repas du soir",vI="entre les repas",yI="petit-déjeuner",bI="repas du soir",_I="pendant le petit-déjeuner",xI="pendant le repas du soir",wI="pendant le repas du midi",kI="soir",SI="repas du midi",EI="matin",CI="nuit",DI="heure du coucher",Ece={afterbreakfast:sI,afterdinner:oI,afterlunch:lI,aftermeal:cI,afternoon:dI,beforebreakfast:uI,beforedinner:hI,beforelunch:pI,betweenbreakfastandlunch:mI,betweendinnerandsleep:fI,betweenlunchanddinner:gI,betweenmeals:vI,breakfast:yI,dinner:bI,duringbreakfast:_I,duringdinner:xI,duringlunch:wI,evening:kI,lunch:SI,morning:EI,night:CI,thehourofsleep:DI},II={};Se(II,{afterbreakfast:()=>AI,afterdinner:()=>TI,afterlunch:()=>OI,aftermeal:()=>NI,afternoon:()=>RI,beforebreakfast:()=>MI,beforedinner:()=>PI,beforelunch:()=>FI,betweenbreakfastandlunch:()=>LI,betweendinnerandsleep:()=>VI,betweenlunchanddinner:()=>zI,betweenmeals:()=>jI,breakfast:()=>BI,default:()=>Cce,dinner:()=>HI,duringbreakfast:()=>$I,duringdinner:()=>UI,duringlunch:()=>GI,evening:()=>qI,lunch:()=>WI,morning:()=>YI,night:()=>KI,thehourofsleep:()=>ZI});var AI="na het ontbijt",TI="na het avondmaal",OI="na het middagmaal",NI="na de maaltijd",RI="namiddag",MI="voor het ontbijt",PI="voor het avondmaal",FI="voor het middagmaal",LI="tussen het ontbijt en het middagmaal",VI="tussen het avondmaal en het slapen gaan",zI="tussen het middagmaal en het avondmaal",jI="tussen de maaltijden",BI="ontbijt",HI="avondmaal",$I="tijdens het ontbijt",UI="tijdens het avondmaal",GI="tijdens het middagmaal",qI="'s avonds",WI="middagmaal",YI="'s ochtends",KI="'s nachts",ZI="voor het slapen gaan",Cce={afterbreakfast:AI,afterdinner:TI,afterlunch:OI,aftermeal:NI,afternoon:RI,beforebreakfast:MI,beforedinner:PI,beforelunch:FI,betweenbreakfastandlunch:LI,betweendinnerandsleep:VI,betweenlunchanddinner:zI,betweenmeals:jI,breakfast:BI,dinner:HI,duringbreakfast:$I,duringdinner:UI,duringlunch:GI,evening:qI,lunch:WI,morning:YI,night:KI,thehourofsleep:ZI},Dce={nl:II,fr:rI,de:pD,en:FD},XI={};Se(XI,{ambulance_driver:()=>QI,ambulance_first_aid:()=>JI,ambulance_rescuer:()=>eA,application:()=>tA,applied_psychology_bachelor:()=>iA,audician:()=>aA,audiologist:()=>nA,biologist_pharmacist:()=>rA,care_giver:()=>sA,certificateholder:()=>oA,citizen:()=>lA,clinical_orthopedic_pedagogue:()=>cA,clinical_psychologist:()=>dA,default:()=>Ice,dental_hygienist:()=>uA,dentist:()=>hA,deptalgology:()=>pA,deptanatomopathology:()=>mA,deptanesthesiology:()=>fA,deptbacteriology:()=>gA,deptcardiacsurgery:()=>vA,deptcardiology:()=>yA,deptchildandadolescentpsychiatry:()=>bA,deptdentistry:()=>_A,deptdermatology:()=>xA,deptdiabetology:()=>wA,deptdietetics:()=>kA,deptemergency:()=>SA,deptendocrinology:()=>EA,deptgastroenterology:()=>CA,deptgeneralpractice:()=>DA,deptgenetics:()=>IA,deptgeriatry:()=>AA,deptgynecology:()=>TA,depthandsurgery:()=>OA,depthematology:()=>NA,deptinfectiousdisease:()=>RA,deptintensivecare:()=>MA,deptkinesitherapy:()=>PA,deptlaboratory:()=>FA,deptmajorburns:()=>LA,deptmaxillofacialsurgery:()=>VA,deptmedicine:()=>zA,deptmolecularbiology:()=>jA,deptneonatalogy:()=>BA,deptnephrology:()=>HA,deptneurology:()=>$A,deptneurosurgery:()=>UA,deptnte:()=>GA,deptnuclear:()=>qA,deptnursing:()=>WA,deptnutritiondietetics:()=>YA,deptobstetrics:()=>KA,deptoccupationaltherapy:()=>ZA,deptoncology:()=>XA,deptophtalmology:()=>QA,deptorthopedy:()=>JA,deptpalliativecare:()=>e2,deptpediatricintensivecare:()=>t2,deptpediatricsurgery:()=>i2,deptpediatry:()=>a2,deptpharmacy:()=>n2,deptphysicalmedecine:()=>r2,deptphysiotherapy:()=>s2,deptplasticandreparatorysurgery:()=>o2,deptpneumology:()=>l2,deptpodiatry:()=>c2,deptpsychiatry:()=>d2,deptpsychology:()=>u2,deptradiology:()=>h2,deptradiotherapy:()=>p2,deptrevalidation:()=>m2,deptrheumatology:()=>f2,deptsenology:()=>g2,deptsocialservice:()=>v2,deptspeechtherapy:()=>y2,deptsportsmedecine:()=>b2,deptstomatology:()=>_2,deptsurgery:()=>x2,deptthoracicsurgery:()=>w2,depttoxicology:()=>k2,depttropicalmedecine:()=>S2,depturology:()=>E2,deptvascularsurgery:()=>C2,deptvisceraldigestiveabdominalsurgery:()=>D2,diabete_equipment_supplier:()=>I2,dietician:()=>A2,doctor:()=>T2,family_science_bachelor:()=>O2,gerontology_master:()=>N2,groupofnurses:()=>R2,groupofphysiciansdifferentaddress:()=>M2,groupofphysicianssameaddress:()=>P2,guardpost:()=>F2,hub:()=>L2,imaging_technologist:()=>V2,implantprovider:()=>z2,lab_technologist:()=>j2,logopedist:()=>B2,midwife:()=>H2,nurse:()=>$2,occupational_therapist:()=>U2,optician:()=>G2,orghospital:()=>q2,orginsurance:()=>W2,orglaboratory:()=>Y2,orgpharmacy:()=>K2,orgpolyclinic:()=>Z2,orgpractice:()=>X2,orgprevention:()=>Q2,orgprimaryhealthcarecenter:()=>J2,orgpsychiatriccarehome:()=>eT,orgpublichealth:()=>tT,orgretirementhome:()=>iT,orgrevalidationcenter:()=>aT,orgshelteredliving:()=>nT,orthopedagogist_master:()=>rT,orthopedist:()=>sT,orthoptist:()=>oT,orthotist:()=>lT,patient:()=>cT,pediatric_nurse:()=>dT,persadministrative:()=>uT,persambulancefirstaid:()=>hT,persaudician:()=>pT,persaudiologist:()=>mT,persbiologist:()=>fT,perscaregiver:()=>gT,persclinicalorthopedagogist:()=>vT,persclinicalpsychologist:()=>yT,persdentist:()=>bT,persdietician:()=>_T,perseducator:()=>xT,perslogopedist:()=>wT,persmidwife:()=>kT,persnurse:()=>ST,persoccupationaltherapist:()=>ET,persoptician:()=>CT,persoraldentalhygienist:()=>DT,persorthopedist:()=>IT,persorthoptist:()=>AT,persorthotist:()=>TT,persparamedical:()=>OT,perspatientdriver:()=>NT,perspharmacist:()=>RT,perspharmacistclinicalbiologist:()=>MT,perspharmacyassistant:()=>PT,persphysician:()=>FT,persphysiotherapist:()=>LT,perspodologist:()=>VT,perspracticalnurse:()=>zT,perspsychologist:()=>jT,perssocialworker:()=>BT,perstechnician:()=>HT,perstrussmaker:()=>$T,pharmacist:()=>UT,pharmacist_assistant:()=>GT,physician:()=>qT,physiotherapist:()=>WT,podologist:()=>YT,practical_nurse:()=>KT,prosthetist:()=>ZT,psychologist:()=>XT,psychomotor_therapy_master:()=>QT,readaptaion_bachelor:()=>JT,social_worker:()=>eO,specialized_educator:()=>tO,truss_maker:()=>iO});var QI="Rettungswagenfahrer",JI="Rettungssanitäter",eA="Rettungssanitäter",tA="Softwareapplikation",iA="Bachelor der angewandten Psychologie",aA="Hörgeräteakustiker",nA="Audiologe",rA="Fachapotheker für klinische Chemie",sA="Pflegekräfte",oA="Zertifikatinhaber",lA="Bürger",cA="Klinischer Heilpädagoge",dA="Klinischer Psychologe",uA="Dentalhygieniker",hA="Zahnarzt",pA="Algologie",mA="pathologische Anatomie",fA="Anästhesiologie",gA="Bakteriologie",vA="Herzchirurgie",yA="Kardiologie",bA="Kinder-und Jugendpsychiatrie",_A="Zahnheilkunde",xA="Dermatologie",wA="Diabetologie",kA="Diätetik",SA="Notaufnahme",EA="Endokrinologie",CA="Gastroenterologie",DA="Allgemeinmedizin",IA="Genetik",AA="Geriatrie",TA="Gynäkologie",OA="Handchirurgie",NA="Hämatologie",RA="Infektionskrankheit",MA="Intensivmedizin",PA="Physiotherapie",FA="Labordienst/-abteilung einer Einrichtung",LA="Schwerbrandverletztenzentrum",VA="Mund-Kiefer-Gesichtschirurgie",zA="Innere Medizin",jA="Molekularbiologie",BA="Neonatologie",HA="Nephrologie",$A="Neurologie",UA="Neurologie",GA="Hals-Nasen-Ohren-Heilkunde (HNO)",qA="Nuklearmedizin",WA="Krankenpflege",YA="Diätetik",KA="Geburtshilfe",ZA="Ergotherapie",XA="Onkologie",QA="Augenheilkunde",JA="Orthopädie",e2="Palliativpflege",t2="Kinder-Intensivstation",i2="Kinderchirurgie",a2="Pädiatrie",n2="Apothekendienst/-abteilung einer Einrichtung",r2="physikalische Medizin",s2="Physiotherapie",o2="plastische Chirurgie und rekonstruktive Chirurgie",l2="Pneumologie",c2="Podiatrie",d2="Psychiatrie",u2="Psychologie",h2="Radiologie",p2="Strahlentherapie",m2="Rehabilitation",f2="Rheumatologie",g2="Senologie",v2="Sozialdienst",y2="Logopädie",b2="Sportmedizin",_2="Stomatologie",x2="Chirurgie",w2="Thoraxchirurgie",k2="Toxikologie",S2="Tropenmedizin",E2="Urologie",C2="Vaskuläre Chirurgie",D2="Viszeralchirurgie/Abdominalchirurgie/Bauchchirurgie",I2="Lieferant von Material für Diabetesselbstverwaltung ",A2="Diätassistent",T2="Arzt",O2="Bachelor der Familienwissenschaften",N2="Master der Gerontologie",R2="Krankenpflegeverband",M2="Zusammenschluss von Ärzten, unterschiedliche Adresse",P2="Zusammenschluss von Ärzten, gleiche Adresse",F2="Schwesternstützpunkt",L2="Hub",V2="Technologe im bildgebenden Diagnoseverfahren",z2="Lieferant von Implantaten",j2="Labortechniker",B2="Logopäde",H2="Hebamme",$2="Fachkraft für Krankenpflege",U2="Ergotherapeut",G2="Optiker",q2="Krankenhaus",W2="Versicherung",Y2="Unabhängiges Labor",K2="Unabhängige Apotheke",Z2="Poliklinik",X2="Praxis",Q2="Präventionsdienst",J2="Gesundheits- und Sozialzentrum",eT="psychiatrische Klinik",tT="Gesundheitsbehörde",iT="Altenheim",aT="Reha-Klinik",nT="Initiative für begleitetes Wohnen",rT="Master der Heilpädagogik",sT="Orthopäde",oT="Orthoptist-Optometrist",lT="Orthopädietechniker",cT="Patient",dT="Kinderkrankenschwester",uT="Büroangestellter",hT="Rettungswagen",pT="Hörgeräteakustiker",mT="Audiologe",fT="medizinischer Labortechniker",gT="informelle Pflegeperson",vT="Klinischer Heilpädagoge",yT="Klinischer Psychologe",bT="Zahnarzt",_T="Diätassistent",xT="Erzieher",wT="Logopäde",kT="Hebamme",ST="Krankenpfleger",ET="Ergotherapeut",CT="Optiker",DT="Dentalhygieniker",IT="Orthopädist",AT="Orthoptist",TT="Orthopädietechniker/Prothesenbauer",OT="medizinische Hilfskraft",NT="Fahrdienst",RT="Apotheker",MT="Fachapotheker für klinische Chemie",PT="Apothekenhelfer",FT="Arzt",LT="Physiotherapeut",VT="Podologe",zT="Pfleger",jT="Psychologe",BT="Sozialarbeiter",HT="Techniker für medizinische Bildgebung",$T="Bandagist",UT="Apotheker",GT="Pharmazeutisch-technischer Assistent ",qT="Arzt",WT="Physiotherapeut",YT="Podologe",KT="Pflegehelfer",ZT="Prothesenhersteller",XT="Psychologe",QT="Master der psychomotorischen Therapie",JT="Bachelor der Rehabilitationswissenschaften",eO="Sozialassistent",tO="Bachelor der Erziehungswissenschaften",iO="Bandagist",Ice={ambulance_driver:QI,ambulance_first_aid:JI,ambulance_rescuer:eA,application:tA,applied_psychology_bachelor:iA,audician:aA,audiologist:nA,biologist_pharmacist:rA,care_giver:sA,certificateholder:oA,citizen:lA,clinical_orthopedic_pedagogue:cA,clinical_psychologist:dA,dental_hygienist:uA,dentist:hA,deptalgology:pA,deptanatomopathology:mA,deptanesthesiology:fA,deptbacteriology:gA,deptcardiacsurgery:vA,deptcardiology:yA,deptchildandadolescentpsychiatry:bA,deptdentistry:_A,deptdermatology:xA,deptdiabetology:wA,deptdietetics:kA,deptemergency:SA,deptendocrinology:EA,deptgastroenterology:CA,deptgeneralpractice:DA,deptgenetics:IA,deptgeriatry:AA,deptgynecology:TA,depthandsurgery:OA,depthematology:NA,deptinfectiousdisease:RA,deptintensivecare:MA,deptkinesitherapy:PA,deptlaboratory:FA,deptmajorburns:LA,deptmaxillofacialsurgery:VA,deptmedicine:zA,deptmolecularbiology:jA,deptneonatalogy:BA,deptnephrology:HA,deptneurology:$A,deptneurosurgery:UA,deptnte:GA,deptnuclear:qA,deptnursing:WA,deptnutritiondietetics:YA,deptobstetrics:KA,deptoccupationaltherapy:ZA,deptoncology:XA,deptophtalmology:QA,deptorthopedy:JA,deptpalliativecare:e2,deptpediatricintensivecare:t2,deptpediatricsurgery:i2,deptpediatry:a2,deptpharmacy:n2,deptphysicalmedecine:r2,deptphysiotherapy:s2,deptplasticandreparatorysurgery:o2,deptpneumology:l2,deptpodiatry:c2,deptpsychiatry:d2,deptpsychology:u2,deptradiology:h2,deptradiotherapy:p2,deptrevalidation:m2,deptrheumatology:f2,deptsenology:g2,deptsocialservice:v2,deptspeechtherapy:y2,deptsportsmedecine:b2,deptstomatology:_2,deptsurgery:x2,deptthoracicsurgery:w2,depttoxicology:k2,depttropicalmedecine:S2,depturology:E2,deptvascularsurgery:C2,deptvisceraldigestiveabdominalsurgery:D2,diabete_equipment_supplier:I2,dietician:A2,doctor:T2,family_science_bachelor:O2,gerontology_master:N2,groupofnurses:R2,groupofphysiciansdifferentaddress:M2,groupofphysicianssameaddress:P2,guardpost:F2,hub:L2,imaging_technologist:V2,implantprovider:z2,lab_technologist:j2,logopedist:B2,midwife:H2,nurse:$2,occupational_therapist:U2,optician:G2,orghospital:q2,orginsurance:W2,orglaboratory:Y2,orgpharmacy:K2,orgpolyclinic:Z2,orgpractice:X2,orgprevention:Q2,orgprimaryhealthcarecenter:J2,orgpsychiatriccarehome:eT,orgpublichealth:tT,orgretirementhome:iT,orgrevalidationcenter:aT,orgshelteredliving:nT,orthopedagogist_master:rT,orthopedist:sT,orthoptist:oT,orthotist:lT,patient:cT,pediatric_nurse:dT,persadministrative:uT,persambulancefirstaid:hT,persaudician:pT,persaudiologist:mT,persbiologist:fT,perscaregiver:gT,persclinicalorthopedagogist:vT,persclinicalpsychologist:yT,persdentist:bT,persdietician:_T,perseducator:xT,perslogopedist:wT,persmidwife:kT,persnurse:ST,persoccupationaltherapist:ET,persoptician:CT,persoraldentalhygienist:DT,persorthopedist:IT,persorthoptist:AT,persorthotist:TT,persparamedical:OT,perspatientdriver:NT,perspharmacist:RT,perspharmacistclinicalbiologist:MT,perspharmacyassistant:PT,persphysician:FT,persphysiotherapist:LT,perspodologist:VT,perspracticalnurse:zT,perspsychologist:jT,perssocialworker:BT,perstechnician:HT,perstrussmaker:$T,pharmacist:UT,pharmacist_assistant:GT,physician:qT,physiotherapist:WT,podologist:YT,practical_nurse:KT,prosthetist:ZT,psychologist:XT,psychomotor_therapy_master:QT,readaptaion_bachelor:JT,social_worker:eO,specialized_educator:tO,truss_maker:iO},aO={};Se(aO,{ambulance_driver:()=>nO,ambulance_first_aid:()=>rO,ambulance_rescuer:()=>sO,application:()=>oO,applied_psychology_bachelor:()=>lO,audician:()=>cO,audiologist:()=>dO,biologist_pharmacist:()=>uO,care_giver:()=>hO,certificateholder:()=>pO,citizen:()=>mO,clinical_orthopedic_pedagogue:()=>fO,clinical_psychologist:()=>gO,default:()=>Ace,dental_hygienist:()=>vO,dentist:()=>yO,deptalgology:()=>bO,deptanatomopathology:()=>_O,deptanesthesiology:()=>xO,deptbacteriology:()=>wO,deptcardiacsurgery:()=>kO,deptcardiology:()=>SO,deptchildandadolescentpsychiatry:()=>EO,deptdentistry:()=>CO,deptdermatology:()=>DO,deptdiabetology:()=>IO,deptdietetics:()=>AO,deptemergency:()=>TO,deptendocrinology:()=>OO,deptgastroenterology:()=>NO,deptgeneralpractice:()=>RO,deptgenetics:()=>MO,deptgeriatry:()=>PO,deptgynecology:()=>FO,depthandsurgery:()=>LO,depthematology:()=>VO,deptinfectiousdisease:()=>zO,deptintensivecare:()=>jO,deptkinesitherapy:()=>BO,deptlaboratory:()=>HO,deptmajorburns:()=>$O,deptmaxillofacialsurgery:()=>UO,deptmedicine:()=>GO,deptmolecularbiology:()=>qO,deptneonatalogy:()=>WO,deptnephrology:()=>YO,deptneurology:()=>KO,deptneurosurgery:()=>ZO,deptnte:()=>XO,deptnuclear:()=>QO,deptnursing:()=>JO,deptnutritiondietetics:()=>eN,deptobstetrics:()=>tN,deptoccupationaltherapy:()=>iN,deptoncology:()=>aN,deptophtalmology:()=>nN,deptorthopedy:()=>rN,deptpalliativecare:()=>sN,deptpediatricintensivecare:()=>oN,deptpediatricsurgery:()=>lN,deptpediatry:()=>cN,deptpharmacy:()=>dN,deptphysicalmedecine:()=>uN,deptphysiotherapy:()=>hN,deptplasticandreparatorysurgery:()=>pN,deptpneumology:()=>mN,deptpodiatry:()=>fN,deptpodology:()=>gN,deptpsychiatry:()=>vN,deptpsychogeriatry:()=>yN,deptpsychology:()=>bN,deptradiology:()=>_N,deptradiotherapy:()=>xN,deptrevalidation:()=>wN,deptrheumatology:()=>kN,deptrhumatology:()=>SN,deptsenology:()=>EN,deptsocialservice:()=>CN,deptspeechtherapy:()=>DN,deptsportsmedecine:()=>IN,deptstomatology:()=>AN,deptsurgery:()=>TN,deptthoracicsurgery:()=>ON,depttoxicology:()=>NN,depttropicalmedecine:()=>RN,depturology:()=>MN,deptvascularsurgery:()=>PN,deptvisceraldigestiveabdominalsurgery:()=>FN,diabete_equipment_supplier:()=>LN,dietician:()=>VN,doctor:()=>zN,family_science_bachelor:()=>jN,gerontology_master:()=>BN,groupofnurses:()=>HN,groupofphysiciansdifferentaddress:()=>$N,groupofphysicianssameaddress:()=>UN,guardpost:()=>GN,hub:()=>qN,imaging_technologist:()=>WN,implantprovider:()=>YN,lab_technologist:()=>KN,logopedist:()=>ZN,midwife:()=>XN,nurse:()=>QN,occupational_therapist:()=>JN,optician:()=>eR,orghospital:()=>tR,orginsurance:()=>iR,orglaboratory:()=>aR,orgpharmacy:()=>nR,orgpharmacyinvoicingoffice:()=>rR,orgpolyclinic:()=>sR,orgpractice:()=>oR,orgprevention:()=>lR,orgprimaryhealthcarecenter:()=>cR,orgpsychiatriccarehome:()=>dR,orgpublichealth:()=>uR,orgretirementhome:()=>hR,orgrevalidationcenter:()=>pR,orgshelteredliving:()=>mR,orthopedagogist_master:()=>fR,orthopedist:()=>gR,orthoptist:()=>vR,orthotist:()=>yR,patient:()=>bR,pediatric_nurse:()=>_R,persadministrative:()=>xR,persambulancefirstaid:()=>wR,persappliedpsychbachelor:()=>kR,persaudician:()=>SR,persaudiologist:()=>ER,persbandagistorthosiologist:()=>CR,persbiologist:()=>DR,perscaregiver:()=>IR,persclinicalorthopedagogist:()=>AR,persclinicalpsychologist:()=>TR,persdentist:()=>OR,persdietician:()=>NR,perseducator:()=>RR,persfamilysciencebachelor:()=>MR,persgerontologymaster:()=>PR,perslogopedist:()=>FR,persmidwife:()=>LR,persmobilityimprover:()=>VR,persnurse:()=>zR,persoccupationaltherapist:()=>jR,persoptician:()=>BR,persoptometrist:()=>HR,persoraldentalhygienist:()=>$R,persorthopedagogistmaster:()=>UR,persorthopedist:()=>GR,persorthoptist:()=>qR,persorthotist:()=>WR,persparamedical:()=>YR,perspatientdriver:()=>KR,perspharmacist:()=>ZR,perspharmacistclinicalbiologist:()=>XR,perspharmacyassistant:()=>QR,persphysician:()=>JR,persphysiotherapist:()=>eM,perspodologist:()=>tM,perspracticalnurse:()=>iM,persprosthesiologist:()=>aM,perspsychologist:()=>nM,perspsychomotortherapymaster:()=>rM,persreadaptationbachelor:()=>sM,persshoetechnologist:()=>oM,perssocialworker:()=>lM,perstechnician:()=>cM,perstrussmaker:()=>dM,pharmacist:()=>uM,pharmacist_assistant:()=>hM,physician:()=>pM,physiotherapist:()=>mM,podologist:()=>fM,practical_nurse:()=>gM,prosthetist:()=>vM,psychologist:()=>yM,psychomotor_therapy_master:()=>bM,readaptaion_bachelor:()=>_M,social_worker:()=>xM,specialized_educator:()=>wM,truss_maker:()=>kM});var nO="Ambulance Driver",rO="Ambulance First Aider",sO="Ambulance Rescuer",oO="Software application",lO="Bachelor in Applied Psychology",cO="Audician",dO="Audiologist",uO="Biologist Pharmacist",hO="Caregiver",pO="Certificate holder",mO="Citizen",fO="Clinical Orthopedic Pedagogue",gO="Clinical Psychologist",vO="Dental Hygienist",yO="Dentist",bO="Algology",_O="Anatomopathology",xO="Anesthesiology",wO="Bacteriology",kO="Cardiac surgery",SO="Cardiology",EO="Child and adolescent psychiatry",CO="Dentistry",DO="Dermatology",IO="Diabetology",AO="Dietetics",TO="Emergency",OO="Endocrinology",NO="Gastroenterology",RO="General practice",MO="Genetics",PO="Geriatry",FO="Gynecology",LO="Hand surgery",VO="Hematology",zO="Infectious disease",jO="Intensive care",BO="Kinesitherapy",HO="Laboratory service or department within an organisation",$O="Major burns",UO="Maxillofacial surgery",GO="Internal medecine",qO="Molecular biology",WO="Neonatalogy",YO="Nephrology",KO="Neurology",ZO="Neurology",XO="Nose-throat-ear",QO="Nuclear",JO="Nursing",eN="Nutritional dietetics",tN="Obstetrics",iN="Occupational therapy",aN="Oncology",nN="Ophthalmology",rN="Orthopedy",sN="Palliative care",oN="Pediatric intensive care",lN="Pediatric surgery",cN="Pediatry",dN="Pharmacy Service/Department within an organization",uN="Physical medecine",hN="Physiotherapy",pN="Plastic and reparatory surgery",mN="Pneumology",fN="Podiatry",gN="Podiatry",vN="Psychiatry",yN="Psychogeriatry",bN="Psychology",_N="Radiology",xN="Radiotherapy",wN="Revalidation",kN="Rheumatology",SN="Rhumatology",EN="Senology",CN="Social service",DN="Speech therapy",IN="Sports medecine",AN="Stomatology",TN="Surgery",ON="Thoracic surgery",NN="Toxicology",RN="Tropical medecine",MN="Urology",PN="Vascular surgery",FN="Visceral digestive abdominal surgery",LN="Diabetes Management Equipment Supplier",VN="Dietitian",zN="Doctor",jN="Bachelor in Family Science",BN="Master in Gerontology",HN="Group of nurses",$N="Group of physicians different address",UN="Group of physicians same address",GN="Guard post",qN="Hub",WN="Medical Imaging Technologist",YN="Implant Provider",KN="Laboratory Technologist",ZN="Logopedist",XN="Midwife",QN="Nurse",JN="Occupational Therapist",eR="Optician",tR="Hospital",iR="Insurance",aR="Independent laboratory",nR="Independent pharmacy",rR="Pharmacy invoicing office",sR="Polyclinic",oR="Practice organisation",lR="Prevention Service",cR="Primary health care center",dR="Psychiatric care home",uR="Public health organisation",hR="Retirementhome",pR="Revalidation center",mR="Sheltered living",fR="Master's in Orthopedagogy",gR="Orthopedist",vR="Orthoptist-Optometrist",yR="Orthotist",bR="Patient",_R="Pediatric Nurse",xR="Administrative",wR="Ambulance first aid",kR="Bachelor in Applied psychology",SR="Audician",ER="Audiologist",CR="Bandagist orthosiologist (orthopedic technologist)",DR="Medical laboratory technician",IR="Informal Caregiver",AR="Clinical orthopedagogist",TR="Clinical psychologist",OR="Dentist",NR="Dietician",RR="Educator",MR="Bachelor in Family sciences",PR="Master in Gerontological sciences",FR="Logopedist",LR="Midwife",VR="Mobility improver (orthopedic technologist)",zR="Nurse",jR="Occupational therapist",BR="Optician",HR="Optometrist",$R="Oral Dental Hygienist",UR="Master of orthopedagogist",GR="Orthopedist",qR="Orthoptist",WR="Orthotist/Prosthetist",YR="Paramedical staff",KR="Patient Transporter (non-urgent)",ZR="Pharmacist",XR="Pharmacist-clinical biologist",QR="Pharmacy assistant",JR="Physician",eM="Physiotherapist",tM="Podiologist",iM="Practical nurse",aM="Prosthesiologist (orthopedic technologist)",nM="Psychologist",rM="Master in Psychomotor Therapy",sM="Bachelor in Physiotherapy and Rehabilitation",oM="Shoe technologist (orthopedic technologist)",lM="Social worker",cM="Medical Imaging Technician",dM="Truss maker",uM="Pharmacist",hM="Pharmaceutical Technician Assistant",pM="Physician",mM="Physiotherapist",fM="Podiatrist",gM="Practical Nurse",vM="Prosthetist",yM="Clinical Psychologist",bM="Master's in Psychomotor Therapy",_M="Bachelor in Rehabilitation",xM="Social Worker",wM="Specialized Educator",kM="Truss Maker",Ace={ambulance_driver:nO,ambulance_first_aid:rO,ambulance_rescuer:sO,application:oO,applied_psychology_bachelor:lO,audician:cO,audiologist:dO,biologist_pharmacist:uO,care_giver:hO,certificateholder:pO,citizen:mO,clinical_orthopedic_pedagogue:fO,clinical_psychologist:gO,dental_hygienist:vO,dentist:yO,deptalgology:bO,deptanatomopathology:_O,deptanesthesiology:xO,deptbacteriology:wO,deptcardiacsurgery:kO,deptcardiology:SO,deptchildandadolescentpsychiatry:EO,deptdentistry:CO,deptdermatology:DO,deptdiabetology:IO,deptdietetics:AO,deptemergency:TO,deptendocrinology:OO,deptgastroenterology:NO,deptgeneralpractice:RO,deptgenetics:MO,deptgeriatry:PO,deptgynecology:FO,depthandsurgery:LO,depthematology:VO,deptinfectiousdisease:zO,deptintensivecare:jO,deptkinesitherapy:BO,deptlaboratory:HO,deptmajorburns:$O,deptmaxillofacialsurgery:UO,deptmedicine:GO,deptmolecularbiology:qO,deptneonatalogy:WO,deptnephrology:YO,deptneurology:KO,deptneurosurgery:ZO,deptnte:XO,deptnuclear:QO,deptnursing:JO,deptnutritiondietetics:eN,deptobstetrics:tN,deptoccupationaltherapy:iN,deptoncology:aN,deptophtalmology:nN,deptorthopedy:rN,deptpalliativecare:sN,deptpediatricintensivecare:oN,deptpediatricsurgery:lN,deptpediatry:cN,deptpharmacy:dN,deptphysicalmedecine:uN,deptphysiotherapy:hN,deptplasticandreparatorysurgery:pN,deptpneumology:mN,deptpodiatry:fN,deptpodology:gN,deptpsychiatry:vN,deptpsychogeriatry:yN,deptpsychology:bN,deptradiology:_N,deptradiotherapy:xN,deptrevalidation:wN,deptrheumatology:kN,deptrhumatology:SN,deptsenology:EN,deptsocialservice:CN,deptspeechtherapy:DN,deptsportsmedecine:IN,deptstomatology:AN,deptsurgery:TN,deptthoracicsurgery:ON,depttoxicology:NN,depttropicalmedecine:RN,depturology:MN,deptvascularsurgery:PN,deptvisceraldigestiveabdominalsurgery:FN,diabete_equipment_supplier:LN,dietician:VN,doctor:zN,family_science_bachelor:jN,gerontology_master:BN,groupofnurses:HN,groupofphysiciansdifferentaddress:$N,groupofphysicianssameaddress:UN,guardpost:GN,hub:qN,imaging_technologist:WN,implantprovider:YN,lab_technologist:KN,logopedist:ZN,midwife:XN,nurse:QN,occupational_therapist:JN,optician:eR,orghospital:tR,orginsurance:iR,orglaboratory:aR,orgpharmacy:nR,orgpharmacyinvoicingoffice:rR,orgpolyclinic:sR,orgpractice:oR,orgprevention:lR,orgprimaryhealthcarecenter:cR,orgpsychiatriccarehome:dR,orgpublichealth:uR,orgretirementhome:hR,orgrevalidationcenter:pR,orgshelteredliving:mR,orthopedagogist_master:fR,orthopedist:gR,orthoptist:vR,orthotist:yR,patient:bR,pediatric_nurse:_R,persadministrative:xR,persambulancefirstaid:wR,persappliedpsychbachelor:kR,persaudician:SR,persaudiologist:ER,persbandagistorthosiologist:CR,persbiologist:DR,perscaregiver:IR,persclinicalorthopedagogist:AR,persclinicalpsychologist:TR,persdentist:OR,persdietician:NR,perseducator:RR,persfamilysciencebachelor:MR,persgerontologymaster:PR,perslogopedist:FR,persmidwife:LR,persmobilityimprover:VR,persnurse:zR,persoccupationaltherapist:jR,persoptician:BR,persoptometrist:HR,persoraldentalhygienist:$R,persorthopedagogistmaster:UR,persorthopedist:GR,persorthoptist:qR,persorthotist:WR,persparamedical:YR,perspatientdriver:KR,perspharmacist:ZR,perspharmacistclinicalbiologist:XR,perspharmacyassistant:QR,persphysician:JR,persphysiotherapist:eM,perspodologist:tM,perspracticalnurse:iM,persprosthesiologist:aM,perspsychologist:nM,perspsychomotortherapymaster:rM,persreadaptationbachelor:sM,persshoetechnologist:oM,perssocialworker:lM,perstechnician:cM,perstrussmaker:dM,pharmacist:uM,pharmacist_assistant:hM,physician:pM,physiotherapist:mM,podologist:fM,practical_nurse:gM,prosthetist:vM,psychologist:yM,psychomotor_therapy_master:bM,readaptaion_bachelor:_M,social_worker:xM,specialized_educator:wM,truss_maker:kM},SM={};Se(SM,{ambulance_driver:()=>EM,ambulance_first_aid:()=>CM,ambulance_rescuer:()=>DM,application:()=>IM,applied_psychology_bachelor:()=>AM,audician:()=>TM,audiologist:()=>OM,biologist_pharmacist:()=>NM,care_giver:()=>RM,certificateholder:()=>MM,citizen:()=>PM,clinical_orthopedic_pedagogue:()=>FM,clinical_psychologist:()=>LM,default:()=>Tce,dental_hygienist:()=>VM,dentist:()=>zM,deptalgology:()=>jM,deptanatomopathology:()=>BM,deptanesthesiology:()=>HM,deptbacteriology:()=>$M,deptcardiacsurgery:()=>UM,deptcardiology:()=>GM,deptchildandadolescentpsychiatry:()=>qM,deptdentistry:()=>WM,deptdermatology:()=>YM,deptdiabetology:()=>KM,deptdietetics:()=>ZM,deptemergency:()=>XM,deptendocrinology:()=>QM,deptgastroenterology:()=>JM,deptgeneralpractice:()=>eP,deptgenetics:()=>tP,deptgeriatry:()=>iP,deptgynecology:()=>aP,depthandsurgery:()=>nP,depthematology:()=>rP,deptinfectiousdisease:()=>sP,deptintensivecare:()=>oP,deptkinesitherapy:()=>lP,deptlaboratory:()=>cP,deptmajorburns:()=>dP,deptmaxillofacialsurgery:()=>uP,deptmedicine:()=>hP,deptmolecularbiology:()=>pP,deptneonatalogy:()=>mP,deptnephrology:()=>fP,deptneurology:()=>gP,deptneurosurgery:()=>vP,deptnte:()=>yP,deptnuclear:()=>bP,deptnursing:()=>_P,deptnutritiondietetics:()=>xP,deptobstetrics:()=>wP,deptoccupationaltherapy:()=>kP,deptoncology:()=>SP,deptophtalmology:()=>EP,deptorthopedy:()=>CP,deptpalliativecare:()=>DP,deptpediatricintensivecare:()=>IP,deptpediatricsurgery:()=>AP,deptpediatry:()=>TP,deptpharmacy:()=>OP,deptphysicalmedecine:()=>NP,deptphysiotherapy:()=>RP,deptplasticandreparatorysurgery:()=>MP,deptpneumology:()=>PP,deptpodiatry:()=>FP,deptpsychiatry:()=>LP,deptpsychology:()=>VP,deptradiology:()=>zP,deptradiotherapy:()=>jP,deptrevalidation:()=>BP,deptrheumatology:()=>HP,deptsenology:()=>$P,deptsocialservice:()=>UP,deptspeechtherapy:()=>GP,deptsportsmedecine:()=>qP,deptstomatology:()=>WP,deptsurgery:()=>YP,deptthoracicsurgery:()=>KP,depttoxicology:()=>ZP,depttropicalmedecine:()=>XP,depturology:()=>QP,deptvascularsurgery:()=>JP,deptvisceraldigestiveabdominalsurgery:()=>eF,diabete_equipment_supplier:()=>tF,dietician:()=>iF,doctor:()=>aF,family_science_bachelor:()=>nF,gerontology_master:()=>rF,groupofnurses:()=>sF,groupofphysiciansdifferentaddress:()=>oF,groupofphysicianssameaddress:()=>lF,guardpost:()=>cF,hub:()=>dF,imaging_technologist:()=>uF,implantprovider:()=>hF,lab_technologist:()=>pF,logopedist:()=>mF,midwife:()=>fF,nurse:()=>gF,occupational_therapist:()=>vF,optician:()=>yF,orghospital:()=>bF,orginsurance:()=>_F,orglaboratory:()=>xF,orgpharmacy:()=>wF,orgpolyclinic:()=>kF,orgpractice:()=>SF,orgprevention:()=>EF,orgprimaryhealthcarecenter:()=>CF,orgpsychiatriccarehome:()=>DF,orgpublichealth:()=>IF,orgretirementhome:()=>AF,orgrevalidationcenter:()=>TF,orgshelteredliving:()=>OF,orthopedagogist_master:()=>NF,orthopedist:()=>RF,orthoptist:()=>MF,orthotist:()=>PF,patient:()=>FF,pediatric_nurse:()=>LF,persadministrative:()=>VF,persambulancefirstaid:()=>zF,persaudician:()=>jF,persaudiologist:()=>BF,persbiologist:()=>HF,perscaregiver:()=>$F,persclinicalorthopedagogist:()=>UF,persclinicalpsychologist:()=>GF,persdentist:()=>qF,persdietician:()=>WF,perseducator:()=>YF,perslogopedist:()=>KF,persmidwife:()=>ZF,persnurse:()=>XF,persoccupationaltherapist:()=>QF,persoptician:()=>JF,persoraldentalhygienist:()=>eL,persorthopedist:()=>tL,persorthoptist:()=>iL,persorthotist:()=>aL,persparamedical:()=>nL,perspatientdriver:()=>rL,perspharmacist:()=>sL,perspharmacistclinicalbiologist:()=>oL,perspharmacyassistant:()=>lL,persphysician:()=>cL,persphysiotherapist:()=>dL,perspodologist:()=>uL,perspracticalnurse:()=>hL,perspsychologist:()=>pL,perssocialworker:()=>mL,perstechnician:()=>fL,perstrussmaker:()=>gL,pharmacist:()=>vL,pharmacist_assistant:()=>yL,physician:()=>bL,physiotherapist:()=>_L,podologist:()=>xL,practical_nurse:()=>wL,prosthetist:()=>kL,psychologist:()=>SL,psychomotor_therapy_master:()=>EL,readaptaion_bachelor:()=>CL,social_worker:()=>DL,specialized_educator:()=>IL,truss_maker:()=>AL});var EM="Ambulancier",CM="Ambulancier secouriste",DM="Ambulancier secouriste",IM="application logicielle",AM="Bachelier en psychologie appliquée",TM="Audicien",OM="Audiologue",NM="Pharmacien biologiste",RM="Personnel soignant",MM="Titulaire du certificat",PM="Citoyen",FM="Orthopédagogue clinicien",LM="Psychologue clinicien",VM="Hygiéniste bucco-dentaire",zM="Dentiste",jM="algologie",BM="anatomopathologie",HM="anesthésiologie",$M="bactériologie",UM="chirurgie cardiaque",GM="cardiologie",qM="psychiatrie de l’enfant et de l’adolescent",WM="dentisterie",YM="dermatologie",KM="diabétologie",ZM="diététique",XM="services d’urgence",QM="endocrinologie",JM="gastroentérologie",eP="médecine générale",tP="génétique",iP="gériatrie",aP="gynécologie",nP="chirurgie de la main",rP="hématologie",sP="maladie infectieuse",oP="soins intensifs",lP="kinésithérapie",cP="Service/Département laboratoire au sein d’une organisation",dP="grands brûlés",uP="chirurgie maxillo-faciale",hP="médecine interne",pP="biologie moléculaire",mP="néonatologie",fP="néphrologie",gP="neurologie",vP="neurologie",yP="oto-rhino-laryngologie",bP="médecine nucléaire",_P="soins infirmiers",xP="diététique nutritionnelle",wP="obstétrique",kP="ergothérapie",SP="oncologie",EP="ophtalmologie",CP="orthopédie",DP="soins palliatifs",IP="soins intensifs pédiatriques",AP="chirurgie pédiatrique",TP="pédiatrie",OP="Service/Département pharmacie au sein d’une organisation",NP="médecine physique",RP="physiothérapie",MP="chirurgie esthétique et réparatrice",PP="pneumologie",FP="podiatrie",LP="psychiatrie",VP="psychologie",zP="radiologie",jP="radiothérapie",BP="rééducation",HP="rhumatologie",$P="sénologie",UP="service social",GP="logopédie",qP="médecine des sports",WP="stomatologie",YP="chirurgie",KP="chirurgie thoracique",ZP="toxicologie",XP="médecine tropicale",QP="urologie",JP="chirurgie vasculaire",eF="chirurgie abdominale, digestive et viscérale",tF="Fournisseur de matériel d’autogestion diabétique",iF="Diététicien",aF="Médecin",nF="Bachelier en science de la famille",rF="Master en gérontologie",sF="Regroupement d’infirmiers",oF="Regroupement de médecins adresse différente",lF="regroupement de médecins même adresse",cF="poste de garde",dF="hub",uF="Technologue en imagerie médicale",hF="Dispensateur d’implants",pF="Technologue de labo",mF="Logopède",fF="Sage-femme",gF="Infirmier\\Infirmière",vF="Ergothérapeute",yF="Opticien",bF="hôpital",_F="assurance",xF="laboratoire indépendant",wF="Pharmacie indépendante",kF="polyclinique",SF="cabinet",EF="Service de prévention",CF="Maison médicale",DF="maison de soins psychiatriques",IF="service public de santé",AF="maison de repos",TF="centre de revalidation",OF="initiative d’habitation protégée",NF="Master en Orthopédagogie",RF="Orthopédiste",MF="Orthoptiste-Optométriste",PF="Orthésiste",FF="Patient",LF="Puéricultrice",VF="personnel admistratif",zF="ambulance premier secours",jF="audicien",BF="audiologue",HF="technicien de laboratoire médical",$F="soignant informel",UF="Orthopédagogue clinicien",GF="Psychologue clinicien",qF="dentiste",WF="diététicien",YF="éducateur",KF="logopède",ZF="sage-femme",XF="infirmier",QF="ergothérapeute",JF="opticien",eL="Hygiéniste bucco-dentaire",tL="orthopédiste",iL="orthoptiste",aL="Orthésiste/Prothésiste",nL="personnel paramédical",rL="Transporteur de patient (non urgent)",sL="pharmacien",oL="pharmacien-biologiste clinicien",lL="assistant en pharmacie",cL="médecin",dL="kinésithérapeute",uL="podologue",hL="aide-soignante",pL="psychologue",mL="travailleur social",fL="Technicien d’imagerie médicale",gL="Bandagiste",vL="Pharmacien",yL="Assistant Pharmaceutico-Technique",bL="Médecin",_L="Physiothérapeute",xL="Podologue",wL="Aide-soignant",kL="Prothésiste",SL="Psychologue clinicien",EL="Master en thérapie psychomotrice",CL="Bachelier en réadaptation",DL="Assistant social",IL="Educateur spécialisé",AL="Bandagiste",Tce={ambulance_driver:EM,ambulance_first_aid:CM,ambulance_rescuer:DM,application:IM,applied_psychology_bachelor:AM,audician:TM,audiologist:OM,biologist_pharmacist:NM,care_giver:RM,certificateholder:MM,citizen:PM,clinical_orthopedic_pedagogue:FM,clinical_psychologist:LM,dental_hygienist:VM,dentist:zM,deptalgology:jM,deptanatomopathology:BM,deptanesthesiology:HM,deptbacteriology:$M,deptcardiacsurgery:UM,deptcardiology:GM,deptchildandadolescentpsychiatry:qM,deptdentistry:WM,deptdermatology:YM,deptdiabetology:KM,deptdietetics:ZM,deptemergency:XM,deptendocrinology:QM,deptgastroenterology:JM,deptgeneralpractice:eP,deptgenetics:tP,deptgeriatry:iP,deptgynecology:aP,depthandsurgery:nP,depthematology:rP,deptinfectiousdisease:sP,deptintensivecare:oP,deptkinesitherapy:lP,deptlaboratory:cP,deptmajorburns:dP,deptmaxillofacialsurgery:uP,deptmedicine:hP,deptmolecularbiology:pP,deptneonatalogy:mP,deptnephrology:fP,deptneurology:gP,deptneurosurgery:vP,deptnte:yP,deptnuclear:bP,deptnursing:_P,deptnutritiondietetics:xP,deptobstetrics:wP,deptoccupationaltherapy:kP,deptoncology:SP,deptophtalmology:EP,deptorthopedy:CP,deptpalliativecare:DP,deptpediatricintensivecare:IP,deptpediatricsurgery:AP,deptpediatry:TP,deptpharmacy:OP,deptphysicalmedecine:NP,deptphysiotherapy:RP,deptplasticandreparatorysurgery:MP,deptpneumology:PP,deptpodiatry:FP,deptpsychiatry:LP,deptpsychology:VP,deptradiology:zP,deptradiotherapy:jP,deptrevalidation:BP,deptrheumatology:HP,deptsenology:$P,deptsocialservice:UP,deptspeechtherapy:GP,deptsportsmedecine:qP,deptstomatology:WP,deptsurgery:YP,deptthoracicsurgery:KP,depttoxicology:ZP,depttropicalmedecine:XP,depturology:QP,deptvascularsurgery:JP,deptvisceraldigestiveabdominalsurgery:eF,diabete_equipment_supplier:tF,dietician:iF,doctor:aF,family_science_bachelor:nF,gerontology_master:rF,groupofnurses:sF,groupofphysiciansdifferentaddress:oF,groupofphysicianssameaddress:lF,guardpost:cF,hub:dF,imaging_technologist:uF,implantprovider:hF,lab_technologist:pF,logopedist:mF,midwife:fF,nurse:gF,occupational_therapist:vF,optician:yF,orghospital:bF,orginsurance:_F,orglaboratory:xF,orgpharmacy:wF,orgpolyclinic:kF,orgpractice:SF,orgprevention:EF,orgprimaryhealthcarecenter:CF,orgpsychiatriccarehome:DF,orgpublichealth:IF,orgretirementhome:AF,orgrevalidationcenter:TF,orgshelteredliving:OF,orthopedagogist_master:NF,orthopedist:RF,orthoptist:MF,orthotist:PF,patient:FF,pediatric_nurse:LF,persadministrative:VF,persambulancefirstaid:zF,persaudician:jF,persaudiologist:BF,persbiologist:HF,perscaregiver:$F,persclinicalorthopedagogist:UF,persclinicalpsychologist:GF,persdentist:qF,persdietician:WF,perseducator:YF,perslogopedist:KF,persmidwife:ZF,persnurse:XF,persoccupationaltherapist:QF,persoptician:JF,persoraldentalhygienist:eL,persorthopedist:tL,persorthoptist:iL,persorthotist:aL,persparamedical:nL,perspatientdriver:rL,perspharmacist:sL,perspharmacistclinicalbiologist:oL,perspharmacyassistant:lL,persphysician:cL,persphysiotherapist:dL,perspodologist:uL,perspracticalnurse:hL,perspsychologist:pL,perssocialworker:mL,perstechnician:fL,perstrussmaker:gL,pharmacist:vL,pharmacist_assistant:yL,physician:bL,physiotherapist:_L,podologist:xL,practical_nurse:wL,prosthetist:kL,psychologist:SL,psychomotor_therapy_master:EL,readaptaion_bachelor:CL,social_worker:DL,specialized_educator:IL,truss_maker:AL},TL={};Se(TL,{ambulance_driver:()=>OL,ambulance_first_aid:()=>NL,ambulance_rescuer:()=>RL,application:()=>ML,applied_psychology_bachelor:()=>PL,audician:()=>FL,audiologist:()=>LL,biologist_pharmacist:()=>VL,care_giver:()=>zL,certificateholder:()=>jL,citizen:()=>BL,clinical_orthopedic_pedagogue:()=>HL,clinical_psychologist:()=>$L,default:()=>Oce,dental_hygienist:()=>UL,dentist:()=>GL,deptalgology:()=>qL,deptanatomopathology:()=>WL,deptanesthesiology:()=>YL,deptbacteriology:()=>KL,deptcardiacsurgery:()=>ZL,deptcardiology:()=>XL,deptchildandadolescentpsychiatry:()=>QL,deptdentistry:()=>JL,deptdermatology:()=>eV,deptdiabetology:()=>tV,deptdietetics:()=>iV,deptemergency:()=>aV,deptendocrinology:()=>nV,deptgastroenterology:()=>rV,deptgeneralpractice:()=>sV,deptgenetics:()=>oV,deptgeriatry:()=>lV,deptgynecology:()=>cV,depthandsurgery:()=>dV,depthematology:()=>uV,deptinfectiousdisease:()=>hV,deptintensivecare:()=>pV,deptkinesitherapy:()=>mV,deptlaboratory:()=>fV,deptmajorburns:()=>gV,deptmaxillofacialsurgery:()=>vV,deptmedicine:()=>yV,deptmolecularbiology:()=>bV,deptneonatalogy:()=>_V,deptnephrology:()=>xV,deptneurology:()=>wV,deptneurosurgery:()=>kV,deptnte:()=>SV,deptnuclear:()=>EV,deptnursing:()=>CV,deptnutritiondietetics:()=>DV,deptobstetrics:()=>IV,deptoccupationaltherapy:()=>AV,deptoncology:()=>TV,deptophtalmology:()=>OV,deptorthopedy:()=>NV,deptpalliativecare:()=>RV,deptpediatricintensivecare:()=>MV,deptpediatricsurgery:()=>PV,deptpediatry:()=>FV,deptpharmacy:()=>LV,deptphysicalmedecine:()=>VV,deptphysiotherapy:()=>zV,deptplasticandreparatorysurgery:()=>jV,deptpneumology:()=>BV,deptpodiatry:()=>HV,deptpsychiatry:()=>$V,deptpsychology:()=>UV,deptradiology:()=>GV,deptradiotherapy:()=>qV,deptrevalidation:()=>WV,deptrheumatology:()=>YV,deptsenology:()=>KV,deptsocialservice:()=>ZV,deptspeechtherapy:()=>XV,deptsportsmedecine:()=>QV,deptstomatology:()=>JV,deptsurgery:()=>ez,deptthoracicsurgery:()=>tz,depttoxicology:()=>iz,depttropicalmedecine:()=>az,depturology:()=>nz,deptvascularsurgery:()=>rz,deptvisceraldigestiveabdominalsurgery:()=>sz,diabete_equipment_supplier:()=>oz,dietician:()=>lz,doctor:()=>cz,family_science_bachelor:()=>dz,gerontology_master:()=>uz,groupofnurses:()=>hz,groupofphysiciansdifferentaddress:()=>pz,groupofphysicianssameaddress:()=>mz,guardpost:()=>fz,hub:()=>gz,imaging_technologist:()=>vz,implantprovider:()=>yz,lab_technologist:()=>bz,logopedist:()=>_z,midwife:()=>xz,nurse:()=>wz,occupational_therapist:()=>kz,optician:()=>Sz,orghospital:()=>Ez,orginsurance:()=>Cz,orglaboratory:()=>Dz,orgpharmacy:()=>Iz,orgpolyclinic:()=>Az,orgpractice:()=>Tz,orgprevention:()=>Oz,orgprimaryhealthcarecenter:()=>Nz,orgpsychiatriccarehome:()=>Rz,orgpublichealth:()=>Mz,orgretirementhome:()=>Pz,orgrevalidationcenter:()=>Fz,orgshelteredliving:()=>Lz,orthopedagogist_master:()=>Vz,orthopedist:()=>zz,orthoptist:()=>jz,orthotist:()=>Bz,patient:()=>Hz,pediatric_nurse:()=>$z,persadministrative:()=>Uz,persambulancefirstaid:()=>Gz,persaudician:()=>qz,persaudiologist:()=>Wz,persbiologist:()=>Yz,perscaregiver:()=>Kz,persclinicalorthopedagogist:()=>Zz,persclinicalpsychologist:()=>Xz,persdentist:()=>Qz,persdietician:()=>Jz,perseducator:()=>ej,perslogopedist:()=>tj,persmidwife:()=>ij,persnurse:()=>aj,persoccupationaltherapist:()=>nj,persoptician:()=>rj,persoraldentalhygienist:()=>sj,persorthopedist:()=>oj,persorthoptist:()=>lj,persorthotist:()=>cj,persparamedical:()=>dj,perspatientdriver:()=>uj,perspharmacist:()=>hj,perspharmacistclinicalbiologist:()=>pj,perspharmacyassistant:()=>mj,persphysician:()=>fj,persphysiotherapist:()=>gj,perspodologist:()=>vj,perspracticalnurse:()=>yj,perspsychologist:()=>bj,perssocialworker:()=>_j,perstechnician:()=>xj,perstrussmaker:()=>wj,pharmacist:()=>kj,pharmacist_assistant:()=>Sj,physician:()=>Ej,physiotherapist:()=>Cj,podologist:()=>Dj,practical_nurse:()=>Ij,prosthetist:()=>Aj,psychologist:()=>Tj,psychomotor_therapy_master:()=>Oj,readaptaion_bachelor:()=>Nj,social_worker:()=>Rj,specialized_educator:()=>Mj,truss_maker:()=>Pj});var OL="Ambulancebestuurder",NL="Ambulancier eerste hulp",RL="Amublancier eerste hulp",ML="softwaretoepassing",PL="Bachelor toegepaste psychologie",FL="Audicien",LL="Audioloog",VL="Apotheker-bioloog",zL="Verzorgingspersoneel",jL="Houder van certificaat",BL="Burger",HL="Klinische orthopedagoog",$L="Klinische psycholoog",UL="Mondhygiënist",GL="Tandarts",qL="algologie",WL="anatomo-pathologie",YL="anesthesiologie",KL="bacteriologie",ZL="hartchirurgie",XL="cardiologie",QL="kinder- en jeugdpsychiatrie",JL="tandheelkunde",eV="dermatologie",tV="diabetologie",iV="diëtetiek",aV="spoeddiensten",nV="endocrinologie/hormonenleer",rV="gastro-enterologie",sV="algemene geneeskunde",oV="genetica",lV="geriatrie",cV="gynaecologie",dV="handchirurgie",uV="hematologie",hV="infectieziekte",pV="intensieve zorgen",mV="kinesitherapie",fV="Laboratoriumdienst of -afdeling binnen een organisatie",gV="brandwondencentrum",vV="mond-, kaak- en aangezichtschirurgie",yV="interne geneeskunde",bV="moleculaire biologie",_V="neonatologie",xV="nefrologie",wV="neurologie",kV="neurologie",SV="oto-rhino-laryngologie",EV="nucleaire geneeskunde",CV="verpleegkunde",DV="diëtetiek",IV="verloskunde",AV="ergotherapie",TV="oncologie",OV="oftalmologie",NV="orthopedie",RV="palliatieve zorg",MV="intensieve zorg voor kinderen",PV="kinderchirurgie",FV="pediatrie",LV="Apotheekdienst of -afdeling binnen een organisatie",VV="fysische geneeskunde",zV="fysiotherapie",jV="plastische en reconstructieve chirurgie",BV="pulmonologie",HV="podiatrie",$V="psychiatrie",UV="psychologie",GV="radiologie",qV="radiotherapie",WV="revalidatie",YV="reumatologie",KV="senologie",ZV="sociale dienst",XV="logopedie",QV="sportgeneeskunde",JV="stomatologie",ez="chirurgie",tz="thoraxchirurgie",iz="toxicologie",az="tropische geneeskunde",nz="urologie",rz="vasculaire chirurgie",sz="digestieve/viscerale chirurgie/buikchirurgie",oz="Leverancier van materiaal voor diabetische zelfzorg ",lz="Diëtist",cz="Arts",dz="Bachelor gezinswetenschappen",uz="Master gerontologie",hz="Groepering van verplegers",pz="Groepering van artsen verschillend adres",mz="groepering van artsen zelfde adres",fz="wachtpost",gz="hub",vz="Technoloog medische beeldvorming",yz="Leverancier implantaten",bz="Laboratoriumtechnoloog",_z="Logopedist",xz="Vroedvrouw",wz="verpleegkundige",kz="Ergotherapeut",Sz="Opticien",Ez="ziekenhuis",Cz="verzekering",Dz="Onafhankelijk laboratorium",Iz="Onafhankelijke apotheek",Az="polikliniek",Tz="praktijk",Oz="Preventiedienst",Nz="medisch huis",Rz="psychiatrisch verzorgingstehuis",Mz="openbare gezondheidsdienst",Pz="woonzorgcentrum",Fz="revalidatiecentrum",Lz="initiatief voor beschut wonen",Vz="Master orthopedagogie",zz="Orthopedist",jz="Orthoptist-optometrist",Bz="Orthesist",Hz="Patiënt",$z="Kinderverzorgsters",Uz="administratief medewerker",Gz="ambulance eerste hulp",qz="audicien",Wz="audioloog",Yz="medisch laboratoriumtechnoloog",Kz="mantelzorger",Zz="Klinisch orthopedagoog",Xz="Klinisch psycholoog",Qz="tandarts",Jz="diëtist",ej="opvoeder",tj="logopedist",ij="vroedvrouw",aj="verpleegkundige",nj="ergotherapeut",rj="opticien",sj="Mondhygiënist",oj="orthopedist",lj="orthoptist",cj="Orthopedisch technicus",dj="paramedisch personeel",uj="Ziekenvervoerder (niet urgent)",hj="apotheker",pj="apotheker-klinisch bioloog",mj="apothekersassistent",fj="arts",gj="kinesitherapeut",vj="podologist",yj="verzorgende",bj="psycholoog",_j="maatschappelijk werker",xj="Technicus medische beeldvorming",wj="Bandagist",kj="Apotheker",Sj="Farmaceutisch-technisch assistent",Ej="Arts",Cj="Fysiotherapeut",Dj="Podoloog",Ij="Zorgkundige",Aj="Prothesist",Tj="Psycholoog",Oj="Master psychomotorische therapie",Nj="Bachelor readaptatiewetenschappen",Rj="Sociaal assistent",Mj="Bachelor opvoedkunde",Pj="Bandagist",Oce={ambulance_driver:OL,ambulance_first_aid:NL,ambulance_rescuer:RL,application:ML,applied_psychology_bachelor:PL,audician:FL,audiologist:LL,biologist_pharmacist:VL,care_giver:zL,certificateholder:jL,citizen:BL,clinical_orthopedic_pedagogue:HL,clinical_psychologist:$L,dental_hygienist:UL,dentist:GL,deptalgology:qL,deptanatomopathology:WL,deptanesthesiology:YL,deptbacteriology:KL,deptcardiacsurgery:ZL,deptcardiology:XL,deptchildandadolescentpsychiatry:QL,deptdentistry:JL,deptdermatology:eV,deptdiabetology:tV,deptdietetics:iV,deptemergency:aV,deptendocrinology:nV,deptgastroenterology:rV,deptgeneralpractice:sV,deptgenetics:oV,deptgeriatry:lV,deptgynecology:cV,depthandsurgery:dV,depthematology:uV,deptinfectiousdisease:hV,deptintensivecare:pV,deptkinesitherapy:mV,deptlaboratory:fV,deptmajorburns:gV,deptmaxillofacialsurgery:vV,deptmedicine:yV,deptmolecularbiology:bV,deptneonatalogy:_V,deptnephrology:xV,deptneurology:wV,deptneurosurgery:kV,deptnte:SV,deptnuclear:EV,deptnursing:CV,deptnutritiondietetics:DV,deptobstetrics:IV,deptoccupationaltherapy:AV,deptoncology:TV,deptophtalmology:OV,deptorthopedy:NV,deptpalliativecare:RV,deptpediatricintensivecare:MV,deptpediatricsurgery:PV,deptpediatry:FV,deptpharmacy:LV,deptphysicalmedecine:VV,deptphysiotherapy:zV,deptplasticandreparatorysurgery:jV,deptpneumology:BV,deptpodiatry:HV,deptpsychiatry:$V,deptpsychology:UV,deptradiology:GV,deptradiotherapy:qV,deptrevalidation:WV,deptrheumatology:YV,deptsenology:KV,deptsocialservice:ZV,deptspeechtherapy:XV,deptsportsmedecine:QV,deptstomatology:JV,deptsurgery:ez,deptthoracicsurgery:tz,depttoxicology:iz,depttropicalmedecine:az,depturology:nz,deptvascularsurgery:rz,deptvisceraldigestiveabdominalsurgery:sz,diabete_equipment_supplier:oz,dietician:lz,doctor:cz,family_science_bachelor:dz,gerontology_master:uz,groupofnurses:hz,groupofphysiciansdifferentaddress:pz,groupofphysicianssameaddress:mz,guardpost:fz,hub:gz,imaging_technologist:vz,implantprovider:yz,lab_technologist:bz,logopedist:_z,midwife:xz,nurse:wz,occupational_therapist:kz,optician:Sz,orghospital:Ez,orginsurance:Cz,orglaboratory:Dz,orgpharmacy:Iz,orgpolyclinic:Az,orgpractice:Tz,orgprevention:Oz,orgprimaryhealthcarecenter:Nz,orgpsychiatriccarehome:Rz,orgpublichealth:Mz,orgretirementhome:Pz,orgrevalidationcenter:Fz,orgshelteredliving:Lz,orthopedagogist_master:Vz,orthopedist:zz,orthoptist:jz,orthotist:Bz,patient:Hz,pediatric_nurse:$z,persadministrative:Uz,persambulancefirstaid:Gz,persaudician:qz,persaudiologist:Wz,persbiologist:Yz,perscaregiver:Kz,persclinicalorthopedagogist:Zz,persclinicalpsychologist:Xz,persdentist:Qz,persdietician:Jz,perseducator:ej,perslogopedist:tj,persmidwife:ij,persnurse:aj,persoccupationaltherapist:nj,persoptician:rj,persoraldentalhygienist:sj,persorthopedist:oj,persorthoptist:lj,persorthotist:cj,persparamedical:dj,perspatientdriver:uj,perspharmacist:hj,perspharmacistclinicalbiologist:pj,perspharmacyassistant:mj,persphysician:fj,persphysiotherapist:gj,perspodologist:vj,perspracticalnurse:yj,perspsychologist:bj,perssocialworker:_j,perstechnician:xj,perstrussmaker:wj,pharmacist:kj,pharmacist_assistant:Sj,physician:Ej,physiotherapist:Cj,podologist:Dj,practical_nurse:Ij,prosthetist:Aj,psychologist:Tj,psychomotor_therapy_master:Oj,readaptaion_bachelor:Nj,social_worker:Rj,specialized_educator:Mj,truss_maker:Pj},Nce={nl:TL,fr:SM,de:XI,en:aO},Fj={};Se(Fj,{"00001":()=>Lj,"00002":()=>Vj,"00005":()=>zj,"00008":()=>jj,"00009":()=>Bj,"00010":()=>Hj,"00011":()=>$j,"00012":()=>Uj,"00013":()=>Gj,"00033":()=>qj,"00034":()=>Wj,"00035":()=>Yj,"00045":()=>Kj,"00046":()=>Zj,"00049":()=>Xj,"00051":()=>Qj,"00052":()=>Jj,"00053":()=>e5,"00054":()=>t5,"00055":()=>i5,"00056":()=>a5,"00060":()=>n5,"00064":()=>r5,"00066":()=>s5,"00067":()=>o5,"00068":()=>l5,"00070":()=>c5,"00071":()=>d5,"00072":()=>u5,"00073":()=>h5,"both-ears":()=>I5,"both-eyes":()=>E5,"both-nostrils":()=>w5,"cutaneous-injection":()=>y5,default:()=>Rce,derm:()=>p5,"dermal-injection":()=>b5,"ear-left":()=>C5,"ear-right":()=>D5,"eye-left":()=>k5,"eye-right":()=>S5,hyperdermoclyse:()=>O5,icut:()=>f5,ider:()=>g5,larter:()=>m5,"nose-left":()=>_5,"nose-right":()=>x5,oft:()=>v5,transdermal:()=>T5,"vitreal-injection":()=>A5});var Lj="ins Ohr",Vj="auf die Haut",zj="Injektion außerhalb der Hirnhaut",jj="in die Luftröhre",Bj="in den Gebärmutterhals einführen",Hj="Injektion in eine Arterie",$j="Injektion in den Penis",Uj="Injektion in die Haut",Gj="Injektion in einen Muskel",qj="Injektion ins Rückenmark",Wj="in die Gebärmutter einführen",Yj="Injektion in eine Vene",Kj="in die Harnblase",Zj="Infusion",Xj="Inhalation",Qj="Injektion",Jj="auf die Lippen",e5="lokal",t5="auf die Schleimhaut",i5="in die Nase",a5="in die Augen",n5="einnehmen",r5="durch den Mund",s5="durch Mund und Nase",o5="rektal",l5="Spritze unter die Haut",c5="unter die Zunge",d5="auf die Zähne",u5="in den Harnleiter",h5="vaginal",p5="dermatologisch",m5="intraarteriell",f5="intrakutan",g5="intradermal",v5="ophthalmologisch",y5="kutane Injektion",b5="dermale Injektion",_5="linke Nase",x5="rechte Nase",w5="beide Nasenlöcher",k5="linkes Auge",S5="rechtes Auge",E5="beide Augen",C5="linkes Ohr",D5="rechtes Ohr",I5="beide Ohren",A5="vitreale Injektion",T5="transdermal",O5="Hyperdermoklyse",Rce={"00001":Lj,"00002":Vj,"00005":zj,"00008":jj,"00009":Bj,"00010":Hj,"00011":$j,"00012":Uj,"00013":Gj,"00033":qj,"00034":Wj,"00035":Yj,"00045":Kj,"00046":Zj,"00049":Xj,"00051":Qj,"00052":Jj,"00053":e5,"00054":t5,"00055":i5,"00056":a5,"00060":n5,"00064":r5,"00066":s5,"00067":o5,"00068":l5,"00070":c5,"00071":d5,"00072":u5,"00073":h5,derm:p5,larter:m5,icut:f5,ider:g5,oft:v5,"cutaneous-injection":y5,"dermal-injection":b5,"nose-left":_5,"nose-right":x5,"both-nostrils":w5,"eye-left":k5,"eye-right":S5,"both-eyes":E5,"ear-left":C5,"ear-right":D5,"both-ears":I5,"vitreal-injection":A5,transdermal:T5,hyperdermoclyse:O5},N5={};Se(N5,{"00001":()=>R5,"00002":()=>M5,"00003":()=>P5,"00004":()=>F5,"00005":()=>L5,"00006":()=>V5,"00007":()=>z5,"00008":()=>j5,"00009":()=>B5,"00010":()=>H5,"00011":()=>$5,"00012":()=>U5,"00013":()=>G5,"00014":()=>q5,"00015":()=>W5,"00016":()=>Y5,"00017":()=>K5,"00018":()=>Z5,"00019":()=>X5,"00020":()=>Q5,"00021":()=>J5,"00022":()=>e3,"00023":()=>t3,"00024":()=>i3,"00025":()=>a3,"00026":()=>n3,"00027":()=>r3,"00028":()=>s3,"00029":()=>o3,"00030":()=>l3,"00031":()=>c3,"00032":()=>d3,"00033":()=>u3,"00034":()=>h3,"00035":()=>p3,"00036":()=>m3,"00037":()=>f3,"00038":()=>g3,"00039":()=>v3,"00040":()=>y3,"00041":()=>b3,"00042":()=>_3,"00043":()=>x3,"00044":()=>w3,"00045":()=>k3,"00046":()=>S3,"00047":()=>E3,"00048":()=>C3,"00049":()=>D3,"00050":()=>I3,"00051":()=>A3,"00052":()=>T3,"00053":()=>O3,"00054":()=>N3,"00055":()=>R3,"00056":()=>M3,"00057":()=>P3,"00058":()=>F3,"00059":()=>L3,"00060":()=>V3,"00061":()=>z3,"00062":()=>j3,"00063":()=>B3,"00064":()=>H3,"00065":()=>$3,"00066":()=>U3,"00067":()=>G3,"00068":()=>q3,"00069":()=>W3,"00070":()=>Y3,"00071":()=>K3,"00072":()=>Z3,"00073":()=>X3,"both-ears":()=>pB,"both-eyes":()=>dB,"both-nostrils":()=>oB,"cutaneous-injection":()=>aB,default:()=>Mce,derm:()=>Q3,"dermal-injection":()=>nB,"ear-left":()=>uB,"ear-right":()=>hB,"eye-left":()=>lB,"eye-right":()=>cB,hyperdermoclyse:()=>gB,icut:()=>eB,ider:()=>tB,larter:()=>J3,"nose-left":()=>rB,"nose-right":()=>sB,oft:()=>iB,transdermal:()=>fB,"vitreal-injection":()=>mB});var R5="auric.",M5="derm.",P5="derm./rect",F5="derm./vag.",L5="e.dur.",V5="e.dur./i.thec./local",z5="e.dur./local",j5="e.trach.",B5="endocerv.",H5="i.arter.",$5="i.cavern.",U5="i.derm.",G5="i.m.",q5="i.m./i.thec./e.dur./s.c.",W5="i.m./i.v.",Y5="i.m./i.v./inf.",K5="i.m./i.v./inf./e.dur./s.c.",Z5="i.m./i.v./inf./i.arter./i.thec.",X5="i.m./i.v./perf./i.artér./local/s.c.",Q5="i.m./i.v./inf./i.thec.",J5="i.m./i.v./inf./rect.",e3="i.m./i.v./inf./s.c.",t3="i.m./i.v./inhal.",i3="i.m./i.v./local",a3="i.m./i.v./or.",n3="i.m./i.v./rect",r3="i.m./i.v./s.c.",s3="i.m./inf.",o3="i.m./perf./local",l3="i.m./local",c3="i.m./local/rect.",d3="i.m./s.c.",u3="i.thec.",h3="i.ut.",p3="i.v.",m3="i.v./p.dur./local",f3="i.v./i.arter./i.ves.",g3="i.v./inf.",v3="i.v./perf./p.dur.",y3="i.v./perf./i.artér.",b3="i.v./perf./i.théc./s.c.",_3="i.v./perf./inhal.",x3="i.v./perf./s.c.",w3="i.v./s.c.",k3="i.ves.",S3="perf.",E3="perf./i.ves.",C3="perf./s.c.",D3="inhal.",I3="inhal./nas./local",A3="inj.",T3="lip",O3="local",N3="muc.",R3="nas.",M3="opht.",P3="opht./auric.",F3="opht./auric./nas.",L3="opht./auric./nas./local",V3="or.",z3="or./bucco-phar./derm.",j3="or./rect.",B3="or./s.l.",H3="bucco-phar.",$3="bucco-phar./derm.",U3="bucco-phar./nas.",G3="rect.",q3="s.c.",W3="s.c./i.derm.",Y3="s.l.",K3="teeth",Z3="urethr.",X3="vag.",Q3="dermatologically",J3="intra-arterial",eB="intracutaneous",tB="intradermally",iB="ophtalmological",aB="cutaneous injection",nB="dermal injection",rB="nose left",sB="nose right",oB="both nostrils",lB="eye left",cB="eye right",dB="both eyes",uB="ear left",hB="ear right",pB="both ears",mB="vitreal injection",fB="transdermal",gB="hyperdermoclyse",Mce={"00001":R5,"00002":M5,"00003":P5,"00004":F5,"00005":L5,"00006":V5,"00007":z5,"00008":j5,"00009":B5,"00010":H5,"00011":$5,"00012":U5,"00013":G5,"00014":q5,"00015":W5,"00016":Y5,"00017":K5,"00018":Z5,"00019":X5,"00020":Q5,"00021":J5,"00022":e3,"00023":t3,"00024":i3,"00025":a3,"00026":n3,"00027":r3,"00028":s3,"00029":o3,"00030":l3,"00031":c3,"00032":d3,"00033":u3,"00034":h3,"00035":p3,"00036":m3,"00037":f3,"00038":g3,"00039":v3,"00040":y3,"00041":b3,"00042":_3,"00043":x3,"00044":w3,"00045":k3,"00046":S3,"00047":E3,"00048":C3,"00049":D3,"00050":I3,"00051":A3,"00052":T3,"00053":O3,"00054":N3,"00055":R3,"00056":M3,"00057":P3,"00058":F3,"00059":L3,"00060":V3,"00061":z3,"00062":j3,"00063":B3,"00064":H3,"00065":$3,"00066":U3,"00067":G3,"00068":q3,"00069":W3,"00070":Y3,"00071":K3,"00072":Z3,"00073":X3,derm:Q3,larter:J3,icut:eB,ider:tB,oft:iB,"cutaneous-injection":aB,"dermal-injection":nB,"nose-left":rB,"nose-right":sB,"both-nostrils":oB,"eye-left":lB,"eye-right":cB,"both-eyes":dB,"ear-left":uB,"ear-right":hB,"both-ears":pB,"vitreal-injection":mB,transdermal:fB,hyperdermoclyse:gB},vB={};Se(vB,{"00001":()=>yB,"00002":()=>bB,"00005":()=>_B,"00008":()=>xB,"00009":()=>wB,"00010":()=>kB,"00011":()=>SB,"00012":()=>EB,"00013":()=>CB,"00033":()=>DB,"00034":()=>IB,"00035":()=>AB,"00045":()=>TB,"00046":()=>OB,"00049":()=>NB,"00051":()=>RB,"00052":()=>MB,"00053":()=>PB,"00054":()=>FB,"00055":()=>LB,"00056":()=>VB,"00060":()=>zB,"00064":()=>jB,"00066":()=>BB,"00067":()=>HB,"00068":()=>$B,"00070":()=>UB,"00071":()=>GB,"00072":()=>qB,"00073":()=>WB,"both-ears":()=>c4,"both-eyes":()=>s4,"both-nostrils":()=>a4,"cutaneous-injection":()=>JB,default:()=>Pce,derm:()=>YB,"dermal-injection":()=>e4,"ear-left":()=>o4,"ear-right":()=>l4,"eye-left":()=>n4,"eye-right":()=>r4,hyperdermoclyse:()=>h4,icut:()=>ZB,ider:()=>XB,larter:()=>KB,"nose-left":()=>t4,"nose-right":()=>i4,oft:()=>QB,transdermal:()=>u4,"vitreal-injection":()=>d4});var yB="dans l’oreille",bB="sur la peau",_B="injection en dehors de la méninge",xB="dans la trachée",wB="introduire dans le col de l’utérus",kB="injection dans l’artère",SB="injection dans le pénis",EB="injection dans la peau",CB="injection dans un muscle",DB="injection dans la moelle épinière",IB="introduire dans l’utérus",AB="injection dans une veine",TB="dans la vessie",OB="perfusion",NB="inhalation",RB="injection",MB="lèvre",PB="local",FB="sur la muqueuse",LB="dans le nez",VB="dans les yeux",zB="prendre/avaler",jB="par la bouche",BB="par la bouche et dans le nez",HB="par voie rectale",$B="injection sous-cutanée",UB="sous la langue",GB="sur les dents",qB="dans l’uretère",WB="par voie vaginale",YB="dermatologique",KB="intra-artérielle",ZB="intracutané",XB="intradermique",QB="ophtalmologique",JB="injection cutanée",e4="injection dermique",t4="nez gauche",i4="nez droite",a4="les deux narines",n4="oeil gauche",r4="oeil droite",s4="les deux yeux",o4="oreille gauche",l4="oreille droite",c4="les deux oreilles",d4="injection vitrale",u4="transdermique",h4="hyperdermoclyse",Pce={"00001":yB,"00002":bB,"00005":_B,"00008":xB,"00009":wB,"00010":kB,"00011":SB,"00012":EB,"00013":CB,"00033":DB,"00034":IB,"00035":AB,"00045":TB,"00046":OB,"00049":NB,"00051":RB,"00052":MB,"00053":PB,"00054":FB,"00055":LB,"00056":VB,"00060":zB,"00064":jB,"00066":BB,"00067":HB,"00068":$B,"00070":UB,"00071":GB,"00072":qB,"00073":WB,derm:YB,larter:KB,icut:ZB,ider:XB,oft:QB,"cutaneous-injection":JB,"dermal-injection":e4,"nose-left":t4,"nose-right":i4,"both-nostrils":a4,"eye-left":n4,"eye-right":r4,"both-eyes":s4,"ear-left":o4,"ear-right":l4,"both-ears":c4,"vitreal-injection":d4,transdermal:u4,hyperdermoclyse:h4},p4={};Se(p4,{"00001":()=>m4,"00002":()=>f4,"00005":()=>g4,"00008":()=>v4,"00009":()=>y4,"00010":()=>b4,"00011":()=>_4,"00012":()=>x4,"00013":()=>w4,"00033":()=>k4,"00034":()=>S4,"00035":()=>E4,"00045":()=>C4,"00046":()=>D4,"00049":()=>I4,"00051":()=>A4,"00052":()=>T4,"00053":()=>O4,"00054":()=>N4,"00055":()=>R4,"00056":()=>M4,"00060":()=>P4,"00064":()=>F4,"00066":()=>L4,"00067":()=>V4,"00068":()=>z4,"00070":()=>j4,"00071":()=>B4,"00072":()=>H4,"00073":()=>$4,"both-ears":()=>r9,"both-eyes":()=>i9,"both-nostrils":()=>J4,"cutaneous-injection":()=>K4,default:()=>Fce,derm:()=>U4,"dermal-injection":()=>Z4,"ear-left":()=>a9,"ear-right":()=>n9,"eye-left":()=>e9,"eye-right":()=>t9,hyperdermoclyse:()=>l9,icut:()=>q4,ider:()=>W4,larter:()=>G4,"nose-left":()=>X4,"nose-right":()=>Q4,oft:()=>Y4,transdermal:()=>o9,"vitreal-injection":()=>s9});var m4="in het oor",f4="op de huid",g4="inspuiting buiten het hersenvlies",v4="in de luchtpijp",y4="inbrengen in de baarmoederhals",b4="inspuiting in een slagader",_4="inspuiting in de penis",x4="inspuiting in de huid",w4="inspuiting in een spier",k4="inspuiting in het ruggenmerg",S4="inbrengen in de baarmoeder",E4="inspuiting in een ader",C4="in de urineblaas",D4="infuus",I4="inhalatie",A4="inspuiting",T4="op de lippen",O4="lokaal",N4="op het slijmvlies",R4="in de neus",M4="in de ogen",P4="innemen",F4="in de mond",L4="in de mond en in de neus",V4="anaal opsteken",z4="onderhuidse inspuiting",j4="onder de tong",B4="op de tanden",H4="in de urineleider",$4="vaginaal",U4="dermatologisch",G4="intra-arterieel",q4="intracutaan",W4="intradermaal",Y4="oftalmologisch",K4="cutane injectie",Z4="dermale injectie",X4="neus links",Q4="neus rechts",J4="beide neusgaten",e9="oog links",t9="oog rechts",i9="beide ogen",a9="oor links",n9="oor rechts",r9="beide oren",s9="vitreale injectie",o9="transdermaal",l9="hyperdermoclyse",Fce={"00001":m4,"00002":f4,"00005":g4,"00008":v4,"00009":y4,"00010":b4,"00011":_4,"00012":x4,"00013":w4,"00033":k4,"00034":S4,"00035":E4,"00045":C4,"00046":D4,"00049":I4,"00051":A4,"00052":T4,"00053":O4,"00054":N4,"00055":R4,"00056":M4,"00060":P4,"00064":F4,"00066":L4,"00067":V4,"00068":z4,"00070":j4,"00071":B4,"00072":H4,"00073":$4,derm:U4,larter:G4,icut:q4,ider:W4,oft:Y4,"cutaneous-injection":K4,"dermal-injection":Z4,"nose-left":X4,"nose-right":Q4,"both-nostrils":J4,"eye-left":e9,"eye-right":t9,"both-eyes":i9,"ear-left":a9,"ear-right":n9,"both-ears":r9,"vitreal-injection":s9,transdermal:o9,hyperdermoclyse:l9},Lce={nl:p4,fr:vB,de:Fj,en:N5},c9={};Se(c9,{default:()=>Vce,rsb:()=>h9,rsw:()=>u9,vitalink:()=>d9});var d9="Vitalink",u9="Réseau Santé Wallon",h9="Brüsseler Gesundheitsnetzwerk",Vce={vitalink:d9,rsw:u9,rsb:h9},p9={};Se(p9,{default:()=>zce,rsb:()=>g9,rsw:()=>f9,vitalink:()=>m9});var m9="Vitalink",f9="Réseau Santé Wallon",g9="Brussels Health Network",zce={vitalink:m9,rsw:f9,rsb:g9},v9={};Se(v9,{default:()=>jce,rsb:()=>_9,rsw:()=>b9,vitalink:()=>y9});var y9="Vitalink",b9="Réseau Santé Wallon",_9="Réseau Santé Bruxellois",jce={vitalink:y9,rsw:b9,rsb:_9},x9={};Se(x9,{default:()=>Bce,rsb:()=>S9,rsw:()=>k9,vitalink:()=>w9});var w9="Vitalink",k9="Réseau Santé Wallon",S9="Brusselse Gezondheidsnetwerk",Bce={vitalink:w9,rsw:k9,rsb:S9},Hce={nl:x9,fr:v9,de:c9,en:p9},E9={};Se(E9,{author:()=>I9,date:()=>A9,default:()=>$ce,medicationName:()=>C9,role:()=>T9,"sorting-ascendant":()=>O9,"sorting-descendent":()=>N9,validityDate:()=>D9});var C9="Arzneimittel",D9="Ablaufdatum",I9="Verfasser",A9="Datum",T9="Benutzerrolle",O9="Aufsteigend sortieren",N9="Absteigend sortieren",$ce={medicationName:C9,validityDate:D9,author:I9,date:A9,role:T9,"sorting-ascendant":O9,"sorting-descendent":N9},R9={};Se(R9,{author:()=>V9,date:()=>z9,default:()=>Uce,medicationName:()=>M9,role:()=>j9,"sorting-ascendant":()=>F9,"sorting-descendent":()=>L9,validityDate:()=>P9});var M9="Drug",P9="Validity",F9="Sort by ascending order",L9="Sort by descending order",V9="Author",z9="Date",j9="Role",Uce={medicationName:M9,validityDate:P9,"sorting-ascendant":F9,"sorting-descendent":L9,author:V9,date:z9,role:j9},B9={};Se(B9,{author:()=>U9,date:()=>G9,default:()=>Gce,medicationName:()=>H9,role:()=>q9,"sorting-ascendant":()=>W9,"sorting-descendent":()=>Y9,validityDate:()=>$9});var H9="Médicament",$9="Validité",U9="Auteur",G9="Date",q9="Qualité",W9="Trier par ordre croissant",Y9="Trier par ordre décroissant",Gce={medicationName:H9,validityDate:$9,author:U9,date:G9,role:q9,"sorting-ascendant":W9,"sorting-descendent":Y9},K9={};Se(K9,{author:()=>Q9,date:()=>J9,default:()=>qce,medicationName:()=>Z9,role:()=>e7,"sorting-ascendant":()=>t7,"sorting-descendent":()=>i7,validityDate:()=>X9});var Z9="Geneesmiddel",X9="Geldigheid",Q9="Auteur",J9="Datum",e7="Rol",t7="Oplopend sorteren",i7="Aflopend sorteren",qce={medicationName:Z9,validityDate:X9,author:Q9,date:J9,role:e7,"sorting-ascendant":t7,"sorting-descendent":i7},Wce={nl:K9,fr:B9,de:E9,en:R9},a7={};Se(a7,{antibiotherapy:()=>u7,default:()=>Yce,dentalcare:()=>p7,diabetes:()=>n7,infectiology:()=>h7,medication:()=>r7,movement:()=>s7,nutrition:()=>o7,oncology:()=>d7,pregnancy:()=>m7,renalinsufficiency:()=>l7,woundcare:()=>c7});var n7="Diabetes",r7="Medikation",s7="Bewegung",o7="Ernährung",l7="Nierinsuffizienz",c7="Wundversorgung",d7="Onkologie",u7="Antibiotikatherapie",h7="Infektiologie",p7="Zahnpflege",m7="Schwangerschaft",Yce={diabetes:n7,medication:r7,movement:s7,nutrition:o7,renalinsufficiency:l7,woundcare:c7,oncology:d7,antibiotherapy:u7,infectiology:h7,dentalcare:p7,pregnancy:m7},f7={};Se(f7,{antibiotherapy:()=>k7,default:()=>Kce,dentalcare:()=>E7,diabetes:()=>g7,infectiology:()=>S7,medication:()=>v7,movement:()=>y7,nutrition:()=>b7,oncology:()=>w7,pregnancy:()=>C7,renalinsufficiency:()=>_7,woundcare:()=>x7});var g7="Diabetes",v7="Medication",y7="Movement",b7="Nutrition",_7="Renal Insufficiency",x7="Wound Care",w7="Oncology",k7="Antibiotic Therapy",S7="Infectiology",E7="Dental Care",C7="Pregnancy",Kce={diabetes:g7,medication:v7,movement:y7,nutrition:b7,renalinsufficiency:_7,woundcare:x7,oncology:w7,antibiotherapy:k7,infectiology:S7,dentalcare:E7,pregnancy:C7},D7={};Se(D7,{antibiotherapy:()=>P7,default:()=>Zce,dentalcare:()=>L7,diabetes:()=>I7,infectiology:()=>F7,medication:()=>A7,movement:()=>T7,nutrition:()=>O7,oncology:()=>M7,pregnancy:()=>V7,renalinsufficiency:()=>N7,woundcare:()=>R7});var I7="Diabète",A7="Médication",T7="Mouvement",O7="Nutrition",N7="Insuffisante rénale",R7="Soins de plaie",M7="Oncologie",P7="Antibiothérapie",F7="Infectiologie",L7="Soins dentaires",V7="Grossesse",Zce={diabetes:I7,medication:A7,movement:T7,nutrition:O7,renalinsufficiency:N7,woundcare:R7,oncology:M7,antibiotherapy:P7,infectiology:F7,dentalcare:L7,pregnancy:V7},z7={};Se(z7,{antibiotherapy:()=>W7,default:()=>Xce,dentalcare:()=>K7,diabetes:()=>j7,infectiology:()=>Y7,medication:()=>B7,movement:()=>H7,nutrition:()=>$7,oncology:()=>q7,pregnancy:()=>Z7,renalinsufficiency:()=>U7,woundcare:()=>G7});var j7="Diabetes",B7="Medicatie",H7="Beweging",$7="Voeding",U7="Nierinsufficiëntie",G7="Wondzorg",q7="Oncologie",W7="Antibiotherapie",Y7="Infectiologie",K7="Tandheelkundige zorgen",Z7="Zwangerschap",Xce={diabetes:j7,medication:B7,movement:H7,nutrition:$7,renalinsufficiency:U7,woundcare:G7,oncology:q7,antibiotherapy:W7,infectiology:Y7,dentalcare:K7,pregnancy:Z7},Qce={nl:z7,fr:D7,de:a7,en:f7},X7={};Se(X7,{"add-note-dialog":()=>Q7,"add-note-error":()=>J7,cancel:()=>eH,confirm:()=>tH,default:()=>Jce,"delete-dialog":()=>uH,disclaimer:()=>hH,filters:()=>iH,history:()=>aH,noDiaryNotes:()=>nH,noNote:()=>rH,noteDetailsDialog:()=>sH,readContent:()=>lH,readmore:()=>oH,sorting:()=>cH,table:()=>dH});var Q7={cancel:"Abbrechen","character-counter":"maximale Zeichenanzahl",confirm:"Bestätigen",logout:"Abmelden","error-note-not-added":"Die Notiz konnte nicht hinzugefügt werden.","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.`},J7={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."},eH="Abbrechen",tH="Bestätigen",iH={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"},aH="Historisch",nH="Es sind keine gemeinsamen Journalnotizen verfügbar",rH={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."},sH={author:"Verfasser",date:"Datum",note:"Notiz",role:"Benutzerrolle"},oH="Weiterlesen",lH="Lesen Sie die Notiz",cH={numberPerPage:"Anzahl pro Seite","sorting-title":"Sortieren"},dH={addNote:"Eintrag hinzufügen",author:"Verfasser",date:"Datum",next:"Nächster",note:"Notiz",attachment:"{count, plural, one{Anhang} other{Anhänge}}",readMore:"Weiterlesen",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"}},uH={title:"Archivieren diese Journalnotiz",message:"Möchten Sie diese Journalnotiz archivieren?",confirm:"Archivieren diese Journalnotiz",cancel:"Abbrechen"},hH="Die Tagebuchnotizen werden von Ihrem Pflegeteam verwaltet und über Vitalink, Réseau Santé Wallon (RSW) und Réseau santé Bruxellois (RSB) geteilt.",Jce={"add-note-dialog":Q7,"add-note-error":J7,cancel:eH,confirm:tH,filters:iH,history:aH,noDiaryNotes:nH,noNote:rH,noteDetailsDialog:sH,readmore:oH,readContent:lH,sorting:cH,table:dH,"delete-dialog":uH,disclaimer:hH},pH={};Se(pH,{"add-note-dialog":()=>mH,"add-note-error":()=>fH,cancel:()=>gH,confirm:()=>vH,default:()=>ede,"delete-dialog":()=>DH,disclaimer:()=>IH,filters:()=>yH,history:()=>bH,noDiaryNotes:()=>_H,noNote:()=>xH,noteDetailsDialog:()=>wH,readContent:()=>SH,readmore:()=>kH,sorting:()=>EH,table:()=>CH});var mH={cancel:"Cancel","character-counter":"maximum characters",confirm:"Confirm",logout:"Log out","error-note-not-added":"The note could not be added.","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.'},fH={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."},gH="Cancel",vH="Confirm",yH={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"},bH="History",_H="There are no shared diary notes available",xH={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."},wH={author:"Author",date:"Date",note:"Note",role:"Role"},kH="Read more",SH="Read the note",EH={numberPerPage:"Number per page","sorting-title":"Sort"},CH={addNote:"Add a note",author:"Author",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"}},DH={title:"Archive this diary note",message:"Do you want to archive this diary note ?",confirm:"Archive this diary note",cancel:"Cancel"},IH="The journal notes are managed by your care team and shared via Vitalink, Réseau Santé Wallon (RSW), and Réseau Santé Bruxellois (RSB).",ede={"add-note-dialog":mH,"add-note-error":fH,cancel:gH,confirm:vH,filters:yH,history:bH,noDiaryNotes:_H,noNote:xH,noteDetailsDialog:wH,readmore:kH,readContent:SH,sorting:EH,table:CH,"delete-dialog":DH,disclaimer:IH},AH={};Se(AH,{"add-note-dialog":()=>TH,"add-note-error":()=>OH,cancel:()=>NH,confirm:()=>RH,default:()=>tde,"delete-dialog":()=>$H,disclaimer:()=>UH,filters:()=>MH,history:()=>PH,noDiaryNotes:()=>FH,noNote:()=>LH,noteDetailsDialog:()=>VH,readContent:()=>jH,readmore:()=>zH,sorting:()=>BH,table:()=>HH});var TH={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.","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.`},OH={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."},NH="Annuler",RH="Confirmer",MH={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"},PH="Historique",FH="Il n’y a pas de notes de journal partagées disponibles",LH={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."},VH={author:"Auteur",date:"Date",note:"Note",role:"Qualité"},zH="Lire la suite",jH="Lire la note",BH={numberPerPage:"Nombre par page","sorting-title":"Tri"},HH={addNote:"Ajouter une note",author:"Auteur",date:"Date",next:"Suivant",note:"Note",attachment:"{count, plural, one{Pièce jointe} other{Pièces jointes}}",readMore:"Lire la suite",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)"}},$H={title:"Archiver cette note de journal",message:"Voulez-vous archiver cette note de journal?",confirm:"Archiver cette note de journal",cancel:"Annuler"},UH="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).",tde={"add-note-dialog":TH,"add-note-error":OH,cancel:NH,confirm:RH,filters:MH,history:PH,noDiaryNotes:FH,noNote:LH,noteDetailsDialog:VH,readmore:zH,readContent:jH,sorting:BH,table:HH,"delete-dialog":$H,disclaimer:UH},GH={};Se(GH,{"add-note-dialog":()=>qH,"add-note-error":()=>WH,cancel:()=>YH,confirm:()=>KH,default:()=>ide,"delete-dialog":()=>r6,disclaimer:()=>s6,filters:()=>ZH,history:()=>XH,noDiaryNotes:()=>QH,noNote:()=>JH,noteDetailsDialog:()=>e6,readContent:()=>i6,readmore:()=>t6,sorting:()=>a6,table:()=>n6});var qH={cancel:"Annuleren","character-counter":"maximum aantal tekens",confirm:"Bevestigen",logout:"Afmelden","error-note-not-added":"De notitie kon niet worden toegevoegd.","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."},WH={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."},YH="Annuleren",KH="Bevestigen",ZH={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"},XH="Historiek",QH="Er zijn geen gedeelde journaalnota's beschikbaar",JH={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."},e6={author:"Auteur",date:"Datum",note:"Nota",role:"Rol"},t6="Lees meer",i6="Lees de nota",a6={numberPerPage:"Aantal per pagina","sorting-title":"Sortering"},n6={addNote:"Nota toevoegen",author:"Auteur",date:"Datum",next:"Volgende",note:"Nota",attachment:"{count, plural, one{Bijlage} other{Bijlagen}}",readMore:"Lees verder",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"}},r6={title:"Archiveren journaalnotitie",message:"Wilt U deze journaalnotitie archiveren?",confirm:"Archiveren journaalnotitie",cancel:"Annuleren"},s6="De journaalnota's worden beheerd door uw zorgteam en wordt gedeeld via Vitalink, Réseau Santé Wallon (RSW) en Réseau santé Bruxellois (RSB).",ide={"add-note-dialog":qH,"add-note-error":WH,cancel:YH,confirm:KH,filters:ZH,history:XH,noDiaryNotes:QH,noNote:JH,noteDetailsDialog:e6,readmore:t6,readContent:i6,sorting:a6,table:n6,"delete-dialog":r6,disclaimer:s6},ade={nl:GH,fr:AH,de:X7,en:pH},nde=class extends To{getTranslation(e){return mt({commons:Qe(Z({},vce[e]),{matPaginator:wce[e],days:oce[e],errors:hce[e],roles:Nce[e],safes:Hce[e],period:Dce[e],routes:Lce[e],sortDropdown:Wce[e],tags:Qce[e]}),diaryNotesPage:ade[e]})}};YX({providers:[lre,FQ({defaultLanguage:"fr",loader:{provide:To,useClass:nde},compiler:{provide:No,useClass:hre}})]}).then(e=>{let t=GZ(ice,{injector:e.injector});customElements.define("vidis-diarynote",t)}).catch(e=>console.error(e));
|